1. Packages
  2. Volcengine
  3. API Docs
  4. cr
  5. Registries
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.cr.Registries

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Use this data source to query detailed information of cr registries

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Volcengine.Cr.Registries.Invoke(new()
        {
            Statuses = new[]
            {
                new Volcengine.Cr.Inputs.RegistriesStatusInputArgs
                {
                    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.Registries(ctx, &cr.RegistriesArgs{
    			Statuses: []cr.RegistriesStatus{
    				{
    					Condition: pulumi.StringRef("Ok"),
    					Phase:     pulumi.StringRef("Running"),
    				},
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.RegistriesArgs;
    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.Registries(RegistriesArgs.builder()
                .statuses(RegistriesStatusArgs.builder()
                    .condition("Ok")
                    .phase("Running")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.cr.registries(statuses=[volcengine.cr.RegistriesStatusArgs(
        condition="Ok",
        phase="Running",
    )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const foo = volcengine.cr.Registries({
        statuses: [{
            condition: "Ok",
            phase: "Running",
        }],
    });
    
    variables:
      foo:
        fn::invoke:
          Function: volcengine:cr:Registries
          Arguments:
            statuses:
              - condition: Ok
                phase: Running
    

    Using Registries

    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 registries(args: RegistriesArgs, opts?: InvokeOptions): Promise<RegistriesResult>
    function registriesOutput(args: RegistriesOutputArgs, opts?: InvokeOptions): Output<RegistriesResult>
    def registries(names: Optional[Sequence[str]] = None,
                   output_file: Optional[str] = None,
                   statuses: Optional[Sequence[RegistriesStatus]] = None,
                   types: Optional[Sequence[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> RegistriesResult
    def registries_output(names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   output_file: Optional[pulumi.Input[str]] = None,
                   statuses: Optional[pulumi.Input[Sequence[pulumi.Input[RegistriesStatusArgs]]]] = None,
                   types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[RegistriesResult]
    func Registries(ctx *Context, args *RegistriesArgs, opts ...InvokeOption) (*RegistriesResult, error)
    func RegistriesOutput(ctx *Context, args *RegistriesOutputArgs, opts ...InvokeOption) RegistriesResultOutput
    public static class Registries 
    {
        public static Task<RegistriesResult> InvokeAsync(RegistriesArgs args, InvokeOptions? opts = null)
        public static Output<RegistriesResult> Invoke(RegistriesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<RegistriesResult> registries(RegistriesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:cr:Registries
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Names List<string>
    The list of registry names to query.
    OutputFile string
    File name where to save data source results.
    Statuses List<Pulumi.Volcengine.Cr.Inputs.RegistriesStatus>
    The list of registry statuses.
    Types List<string>
    The list of registry types to query.
    Names []string
    The list of registry names to query.
    OutputFile string
    File name where to save data source results.
    Statuses []RegistriesStatus
    The list of registry statuses.
    Types []string
    The list of registry types to query.
    names List<String>
    The list of registry names to query.
    outputFile String
    File name where to save data source results.
    statuses List<RegistriesStatus>
    The list of registry statuses.
    types List<String>
    The list of registry types to query.
    names string[]
    The list of registry names to query.
    outputFile string
    File name where to save data source results.
    statuses RegistriesStatus[]
    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.
    statuses Sequence[RegistriesStatus]
    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.
    outputFile String
    File name where to save data source results.
    statuses List<Property Map>
    The list of registry statuses.
    types List<String>
    The list of registry types to query.

    Registries Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Registries List<Pulumi.Volcengine.Cr.Outputs.RegistriesRegistry>
    The collection of registry query.
    TotalCount int
    The total count of registry query.
    Names List<string>
    OutputFile string
    Statuses List<Pulumi.Volcengine.Cr.Outputs.RegistriesStatus>
    Types List<string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Registries []RegistriesRegistry
    The collection of registry query.
    TotalCount int
    The total count of registry query.
    Names []string
    OutputFile string
    Statuses []RegistriesStatus
    Types []string
    id String
    The provider-assigned unique ID for this managed resource.
    registries List<RegistriesRegistry>
    The collection of registry query.
    totalCount Integer
    The total count of registry query.
    names List<String>
    outputFile String
    statuses List<RegistriesStatus>
    types List<String>
    id string
    The provider-assigned unique ID for this managed resource.
    registries RegistriesRegistry[]
    The collection of registry query.
    totalCount number
    The total count of registry query.
    names string[]
    outputFile string
    statuses RegistriesStatus[]
    types string[]
    id str
    The provider-assigned unique ID for this managed resource.
    registries Sequence[RegistriesRegistry]
    The collection of registry query.
    total_count int
    The total count of registry query.
    names Sequence[str]
    output_file str
    statuses Sequence[RegistriesStatus]
    types Sequence[str]
    id String
    The provider-assigned unique ID for this managed resource.
    registries List<Property Map>
    The collection of registry query.
    totalCount Number
    The total count of registry query.
    names List<String>
    outputFile String
    statuses List<Property Map>
    types List<String>

    Supporting Types

    RegistriesRegistry

    ChargeType string
    The charge type of registry.
    CreateTime string
    The creation time of registry.
    Domains List<Pulumi.Volcengine.Cr.Inputs.RegistriesRegistryDomain>
    The domain of registry.
    Name string
    The name of registry.
    Status Pulumi.Volcengine.Cr.Inputs.RegistriesRegistryStatus
    The status of registry.
    Type string
    The type of registry.
    UserStatus string
    The status of user.
    Username string
    The username of cr instance.
    ChargeType string
    The charge type of registry.
    CreateTime string
    The creation time of registry.
    Domains []RegistriesRegistryDomain
    The domain of registry.
    Name string
    The name of registry.
    Status RegistriesRegistryStatus
    The status of registry.
    Type string
    The type of registry.
    UserStatus string
    The status of user.
    Username string
    The username of cr instance.
    chargeType String
    The charge type of registry.
    createTime String
    The creation time of registry.
    domains List<RegistriesRegistryDomain>
    The domain of registry.
    name String
    The name of registry.
    status RegistriesRegistryStatus
    The status of registry.
    type String
    The type of registry.
    userStatus String
    The status of user.
    username String
    The username of cr instance.
    chargeType string
    The charge type of registry.
    createTime string
    The creation time of registry.
    domains RegistriesRegistryDomain[]
    The domain of registry.
    name string
    The name of registry.
    status RegistriesRegistryStatus
    The status of registry.
    type string
    The type of registry.
    userStatus 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[RegistriesRegistryDomain]
    The domain of registry.
    name str
    The name of registry.
    status RegistriesRegistryStatus
    The status of registry.
    type str
    The type of registry.
    user_status str
    The status of user.
    username str
    The username of cr instance.
    chargeType String
    The charge type of registry.
    createTime String
    The creation time of registry.
    domains List<Property Map>
    The domain of registry.
    name String
    The name of registry.
    status Property Map
    The status of registry.
    type String
    The type of registry.
    userStatus String
    The status of user.
    username String
    The username of cr instance.

    RegistriesRegistryDomain

    Domain string
    The domain of registry.
    Type string
    The type of registry.
    Domain string
    The domain of registry.
    Type string
    The type of registry.
    domain String
    The domain of registry.
    type String
    The type of registry.
    domain string
    The domain of registry.
    type string
    The type of registry.
    domain str
    The domain of registry.
    type str
    The type of registry.
    domain String
    The domain of registry.
    type String
    The type of registry.

    RegistriesRegistryStatus

    Conditions List<string>
    The condition of registry.
    Phase string
    The phase of status.
    Conditions []string
    The condition of registry.
    Phase string
    The phase of status.
    conditions List<String>
    The condition of registry.
    phase String
    The phase of status.
    conditions string[]
    The condition of registry.
    phase string
    The phase of status.
    conditions Sequence[str]
    The condition of registry.
    phase str
    The phase of status.
    conditions List<String>
    The condition of registry.
    phase String
    The phase of status.

    RegistriesStatus

    Condition string
    The condition of registry.
    Phase string
    The phase of status.
    Condition string
    The condition of registry.
    Phase string
    The phase of status.
    condition String
    The condition of registry.
    phase String
    The phase of status.
    condition string
    The condition of registry.
    phase string
    The phase of status.
    condition str
    The condition of registry.
    phase str
    The phase of status.
    condition String
    The condition of registry.
    phase String
    The phase of status.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine