Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of cr registries
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.cr.getRegistries({
statuses: [{
condition: "Ok",
phase: "Running",
}],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.cr.get_registries(statuses=[volcengine.cr.GetRegistriesStatusArgs(
condition="Ok",
phase="Running",
)])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cr"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cr.GetRegistries(ctx, &cr.GetRegistriesArgs{
Statuses: []cr.GetRegistriesStatus{
{
Condition: pulumi.StringRef("Ok"),
Phase: pulumi.StringRef("Running"),
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Cr.GetRegistries.Invoke(new()
{
Statuses = new[]
{
new Volcengine.Cr.Inputs.GetRegistriesStatusInputArgs
{
Condition = "Ok",
Phase = "Running",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.cr.CrFunctions;
import com.pulumi.volcengine.cr.inputs.GetRegistriesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = CrFunctions.getRegistries(GetRegistriesArgs.builder()
.statuses(GetRegistriesStatusArgs.builder()
.condition("Ok")
.phase("Running")
.build())
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:cr:getRegistries
Arguments:
statuses:
- condition: Ok
phase: Running
Using getRegistries
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRegistries(args: GetRegistriesArgs, opts?: InvokeOptions): Promise<GetRegistriesResult>
function getRegistriesOutput(args: GetRegistriesOutputArgs, opts?: InvokeOptions): Output<GetRegistriesResult>def get_registries(names: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
projects: Optional[Sequence[str]] = None,
resource_tags: Optional[Sequence[GetRegistriesResourceTag]] = None,
statuses: Optional[Sequence[GetRegistriesStatus]] = None,
types: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetRegistriesResult
def get_registries_output(names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
projects: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
resource_tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetRegistriesResourceTagArgs]]]] = None,
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[GetRegistriesStatusArgs]]]] = None,
types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegistriesResult]func GetRegistries(ctx *Context, args *GetRegistriesArgs, opts ...InvokeOption) (*GetRegistriesResult, error)
func GetRegistriesOutput(ctx *Context, args *GetRegistriesOutputArgs, opts ...InvokeOption) GetRegistriesResultOutput> Note: This function is named GetRegistries in the Go SDK.
public static class GetRegistries
{
public static Task<GetRegistriesResult> InvokeAsync(GetRegistriesArgs args, InvokeOptions? opts = null)
public static Output<GetRegistriesResult> Invoke(GetRegistriesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRegistriesResult> getRegistries(GetRegistriesArgs args, InvokeOptions options)
public static Output<GetRegistriesResult> getRegistries(GetRegistriesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:cr/getRegistries:getRegistries
arguments:
# arguments dictionaryThe following arguments are supported:
- Names List<string>
- The list of registry names to query.
- Output
File string - File name where to save data source results.
- Projects List<string>
- The list of project names to query.
-
List<Get
Registries Resource Tag> - The tags of cr registry.
- Statuses
List<Get
Registries Status> - The list of registry statuses.
- Types List<string>
- The list of registry types to query.
- Names []string
- The list of registry names to query.
- Output
File string - File name where to save data source results.
- Projects []string
- The list of project names to query.
-
[]Get
Registries Resource Tag - The tags of cr registry.
- Statuses
[]Get
Registries Status - The list of registry statuses.
- Types []string
- The list of registry types to query.
- names List<String>
- The list of registry names to query.
- output
File String - File name where to save data source results.
- projects List<String>
- The list of project names to query.
-
List<Get
Registries Resource Tag> - The tags of cr registry.
- statuses
List<Get
Registries Status> - The list of registry statuses.
- types List<String>
- The list of registry types to query.
- names string[]
- The list of registry names to query.
- output
File string - File name where to save data source results.
- projects string[]
- The list of project names to query.
-
Get
Registries Resource Tag[] - The tags of cr registry.
- statuses
Get
Registries Status[] - The list of registry statuses.
- types string[]
- The list of registry types to query.
- names Sequence[str]
- The list of registry names to query.
- output_
file str - File name where to save data source results.
- projects Sequence[str]
- The list of project names to query.
-
Sequence[Get
Registries Resource Tag] - The tags of cr registry.
- statuses
Sequence[Get
Registries Status] - The list of registry statuses.
- types Sequence[str]
- The list of registry types to query.
- names List<String>
- The list of registry names to query.
- output
File String - File name where to save data source results.
- projects List<String>
- The list of project names to query.
- List<Property Map>
- The tags of cr registry.
- statuses List<Property Map>
- The list of registry statuses.
- types List<String>
- The list of registry types to query.
getRegistries Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Registries
List<Get
Registries Registry> - The collection of registry query.
- Total
Count int - The total count of registry query.
- Names List<string>
- Output
File string - Projects List<string>
-
List<Get
Registries Resource Tag> - Tags.
- Statuses
List<Get
Registries Status> - Types List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Registries
[]Get
Registries Registry - The collection of registry query.
- Total
Count int - The total count of registry query.
- Names []string
- Output
File string - Projects []string
-
[]Get
Registries Resource Tag - Tags.
- Statuses
[]Get
Registries Status - Types []string
- id String
- The provider-assigned unique ID for this managed resource.
- registries
List<Get
Registries Registry> - The collection of registry query.
- total
Count Integer - The total count of registry query.
- names List<String>
- output
File String - projects List<String>
-
List<Get
Registries Resource Tag> - Tags.
- statuses
List<Get
Registries Status> - types List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- registries
Get
Registries Registry[] - The collection of registry query.
- total
Count number - The total count of registry query.
- names string[]
- output
File string - projects string[]
-
Get
Registries Resource Tag[] - Tags.
- statuses
Get
Registries Status[] - types string[]
- id str
- The provider-assigned unique ID for this managed resource.
- registries
Sequence[Get
Registries Registry] - The collection of registry query.
- total_
count int - The total count of registry query.
- names Sequence[str]
- output_
file str - projects Sequence[str]
-
Sequence[Get
Registries Resource Tag] - Tags.
- statuses
Sequence[Get
Registries Status] - types Sequence[str]
- id String
- The provider-assigned unique ID for this managed resource.
- registries List<Property Map>
- The collection of registry query.
- total
Count Number - The total count of registry query.
- names List<String>
- output
File String - projects List<String>
- List<Property Map>
- Tags.
- statuses List<Property Map>
- types List<String>
Supporting Types
GetRegistriesRegistry
- Charge
Type string - The charge type of registry.
- Create
Time string - The creation time of registry.
- Domains
List<Get
Registries Registry Domain> - The domain of registry.
- Name string
- The name of registry.
- Project string
- The ProjectName of the cr registry.
- Proxy
Cache boolEnabled - Whether to enable proxy cache.
- Proxy
Caches List<GetRegistries Registry Proxy Cach> - The proxy cache of registry. This field is valid when proxy_cache_enabled is true.
-
List<Get
Registries Registry Resource Tag> - The tags of cr registry.
- Status
Get
Registries Registry Status - The status of registry.
- Type string
- The type of registry.
- User
Status string - The status of user.
- Username string
- The username of cr instance.
- Charge
Type string - The charge type of registry.
- Create
Time string - The creation time of registry.
- Domains
[]Get
Registries Registry Domain - The domain of registry.
- Name string
- The name of registry.
- Project string
- The ProjectName of the cr registry.
- Proxy
Cache boolEnabled - Whether to enable proxy cache.
- Proxy
Caches []GetRegistries Registry Proxy Cach - The proxy cache of registry. This field is valid when proxy_cache_enabled is true.
-
[]Get
Registries Registry Resource Tag - The tags of cr registry.
- Status
Get
Registries Registry Status - The status of registry.
- Type string
- The type of registry.
- User
Status string - The status of user.
- Username string
- The username of cr instance.
- charge
Type String - The charge type of registry.
- create
Time String - The creation time of registry.
- domains
List<Get
Registries Registry Domain> - The domain of registry.
- name String
- The name of registry.
- project String
- The ProjectName of the cr registry.
- proxy
Cache BooleanEnabled - Whether to enable proxy cache.
- proxy
Caches List<GetRegistries Registry Proxy Cach> - The proxy cache of registry. This field is valid when proxy_cache_enabled is true.
-
List<Get
Registries Registry Resource Tag> - The tags of cr registry.
- status
Get
Registries Registry Status - The status of registry.
- type String
- The type of registry.
- user
Status String - The status of user.
- username String
- The username of cr instance.
- charge
Type string - The charge type of registry.
- create
Time string - The creation time of registry.
- domains
Get
Registries Registry Domain[] - The domain of registry.
- name string
- The name of registry.
- project string
- The ProjectName of the cr registry.
- proxy
Cache booleanEnabled - Whether to enable proxy cache.
- proxy
Caches GetRegistries Registry Proxy Cach[] - The proxy cache of registry. This field is valid when proxy_cache_enabled is true.
-
Get
Registries Registry Resource Tag[] - The tags of cr registry.
- status
Get
Registries Registry Status - The status of registry.
- type string
- The type of registry.
- user
Status string - The status of user.
- username string
- The username of cr instance.
- charge_
type str - The charge type of registry.
- create_
time str - The creation time of registry.
- domains
Sequence[Get
Registries Registry Domain] - The domain of registry.
- name str
- The name of registry.
- project str
- The ProjectName of the cr registry.
- proxy_
cache_ boolenabled - Whether to enable proxy cache.
- proxy_
caches Sequence[GetRegistries Registry Proxy Cach] - The proxy cache of registry. This field is valid when proxy_cache_enabled is true.
-
Sequence[Get
Registries Registry Resource Tag] - The tags of cr registry.
- status
Get
Registries Registry Status - The status of registry.
- type str
- The type of registry.
- user_
status str - The status of user.
- username str
- The username of cr instance.
- charge
Type String - The charge type of registry.
- create
Time String - The creation time of registry.
- domains List<Property Map>
- The domain of registry.
- name String
- The name of registry.
- project String
- The ProjectName of the cr registry.
- proxy
Cache BooleanEnabled - Whether to enable proxy cache.
- proxy
Caches List<Property Map> - The proxy cache of registry. This field is valid when proxy_cache_enabled is true.
- List<Property Map>
- The tags of cr registry.
- status Property Map
- The status of registry.
- type String
- The type of registry.
- user
Status String - The status of user.
- username String
- The username of cr instance.
GetRegistriesRegistryDomain
GetRegistriesRegistryProxyCach
- Endpoint string
- The endpoint of proxy cache.
- Skip
Ssl boolVerify - Whether to skip ssl verify.
- Type string
- The type of registry.
- Username string
- The username of cr instance.
- Endpoint string
- The endpoint of proxy cache.
- Skip
Ssl boolVerify - Whether to skip ssl verify.
- Type string
- The type of registry.
- Username string
- The username of cr instance.
- endpoint String
- The endpoint of proxy cache.
- skip
Ssl BooleanVerify - Whether to skip ssl verify.
- type String
- The type of registry.
- username String
- The username of cr instance.
- endpoint string
- The endpoint of proxy cache.
- skip
Ssl booleanVerify - Whether to skip ssl verify.
- type string
- The type of registry.
- username string
- The username of cr instance.
- endpoint str
- The endpoint of proxy cache.
- skip_
ssl_ boolverify - Whether to skip ssl verify.
- type str
- The type of registry.
- username str
- The username of cr instance.
- endpoint String
- The endpoint of proxy cache.
- skip
Ssl BooleanVerify - Whether to skip ssl verify.
- type String
- The type of registry.
- username String
- The username of cr instance.
GetRegistriesRegistryResourceTag
GetRegistriesRegistryStatus
- Conditions List<string>
- The condition of registry.
- Phase string
- The phase status of registry.
- Conditions []string
- The condition of registry.
- Phase string
- The phase status of registry.
- conditions List<String>
- The condition of registry.
- phase String
- The phase status of registry.
- conditions string[]
- The condition of registry.
- phase string
- The phase status of registry.
- conditions Sequence[str]
- The condition of registry.
- phase str
- The phase status of registry.
- conditions List<String>
- The condition of registry.
- phase String
- The phase status of registry.
GetRegistriesResourceTag
GetRegistriesStatus
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
