1. Packages
  2. Volcengine
  3. API Docs
  4. cr
  5. Registries
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.cr.Registries

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 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.Registries({
    statuses: [{
        condition: "Ok",
        phase: "Running",
    }],
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.cr.registries(statuses=[volcengine.cr.RegistriesStatusArgs(
    condition="Ok",
    phase="Running",
)])
Copy
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
	})
}
Copy
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",
            },
        },
    });

});
Copy
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());

    }
}
Copy
variables:
  foo:
    fn::invoke:
      Function: volcengine:cr:Registries
      Arguments:
        statuses:
          - condition: Ok
            phase: Running
Copy

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>
Copy
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]
Copy
func Registries(ctx *Context, args *RegistriesArgs, opts ...InvokeOption) (*RegistriesResult, error)
func RegistriesOutput(ctx *Context, args *RegistriesOutputArgs, opts ...InvokeOption) RegistriesResultOutput
Copy
public static class Registries 
{
    public static Task<RegistriesResult> InvokeAsync(RegistriesArgs args, InvokeOptions? opts = null)
    public static Output<RegistriesResult> Invoke(RegistriesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<RegistriesResult> registries(RegistriesArgs args, InvokeOptions options)
public static Output<RegistriesResult> registries(RegistriesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:cr:Registries
  arguments:
    # arguments dictionary
Copy

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<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<RegistriesRegistry>
The collection of registry query.
TotalCount int
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 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 This property is required. string
The charge type of registry.
CreateTime This property is required. string
The creation time of registry.
Domains This property is required. List<RegistriesRegistryDomain>
The domain of registry.
Name This property is required. string
The name of registry.
Status This property is required. RegistriesRegistryStatus
The status of registry.
Type This property is required. string
The type of registry.
UserStatus This property is required. string
The status of user.
Username This property is required. string
The username of cr instance.
ChargeType This property is required. string
The charge type of registry.
CreateTime This property is required. string
The creation time of registry.
Domains This property is required. []RegistriesRegistryDomain
The domain of registry.
Name This property is required. string
The name of registry.
Status This property is required. RegistriesRegistryStatus
The status of registry.
Type This property is required. string
The type of registry.
UserStatus This property is required. string
The status of user.
Username This property is required. string
The username of cr instance.
chargeType This property is required. String
The charge type of registry.
createTime This property is required. String
The creation time of registry.
domains This property is required. List<RegistriesRegistryDomain>
The domain of registry.
name This property is required. String
The name of registry.
status This property is required. RegistriesRegistryStatus
The status of registry.
type This property is required. String
The type of registry.
userStatus This property is required. String
The status of user.
username This property is required. String
The username of cr instance.
chargeType This property is required. string
The charge type of registry.
createTime This property is required. string
The creation time of registry.
domains This property is required. RegistriesRegistryDomain[]
The domain of registry.
name This property is required. string
The name of registry.
status This property is required. RegistriesRegistryStatus
The status of registry.
type This property is required. string
The type of registry.
userStatus This property is required. string
The status of user.
username This property is required. string
The username of cr instance.
charge_type This property is required. str
The charge type of registry.
create_time This property is required. str
The creation time of registry.
domains This property is required. Sequence[RegistriesRegistryDomain]
The domain of registry.
name This property is required. str
The name of registry.
status This property is required. RegistriesRegistryStatus
The status of registry.
type This property is required. str
The type of registry.
user_status This property is required. str
The status of user.
username This property is required. str
The username of cr instance.
chargeType This property is required. String
The charge type of registry.
createTime This property is required. String
The creation time of registry.
domains This property is required. List<Property Map>
The domain of registry.
name This property is required. String
The name of registry.
status This property is required. Property Map
The status of registry.
type This property is required. String
The type of registry.
userStatus This property is required. String
The status of user.
username This property is required. String
The username of cr instance.

RegistriesRegistryDomain

Domain This property is required. string
The domain of registry.
Type This property is required. string
The type of registry.
Domain This property is required. string
The domain of registry.
Type This property is required. string
The type of registry.
domain This property is required. String
The domain of registry.
type This property is required. String
The type of registry.
domain This property is required. string
The domain of registry.
type This property is required. string
The type of registry.
domain This property is required. str
The domain of registry.
type This property is required. str
The type of registry.
domain This property is required. String
The domain of registry.
type This property is required. String
The type of registry.

RegistriesRegistryStatus

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

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 v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine