Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.cr.Registries
Explore with Pulumi AI
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.
- Output
File string - File name where to save data source results.
- Statuses
List<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.
- Statuses
[]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.
- statuses
List<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.
- statuses
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.
- statuses
Sequence[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.
- 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<Registries
Registry> - The collection of registry query.
- Total
Count int - The total count of registry query.
- Names List<string>
- Output
File string - Statuses
List<Registries
Status> - Types List<string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Registries
[]Registries
Registry - The collection of registry query.
- Total
Count int - The total count of registry query.
- Names []string
- Output
File string - Statuses
[]Registries
Status - Types []string
- id String
- The provider-assigned unique ID for this managed resource.
- registries
List<Registries
Registry> - The collection of registry query.
- total
Count Integer - The total count of registry query.
- names List<String>
- output
File String - statuses
List<Registries
Status> - types List<String>
- id string
- The provider-assigned unique ID for this managed resource.
- registries
Registries
Registry[] - The collection of registry query.
- total
Count number - The total count of registry query.
- names string[]
- output
File string - statuses
Registries
Status[] - types string[]
- id str
- The provider-assigned unique ID for this managed resource.
- registries
Sequence[Registries
Registry] - The collection of registry query.
- total_
count int - The total count of registry query.
- names Sequence[str]
- output_
file str - statuses
Sequence[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 - statuses List<Property Map>
- types List<String>
Supporting Types
RegistriesRegistry
- Charge
Type string - The charge type of registry.
- Create
Time string - The creation time of registry.
- Domains
List<Registries
Registry Domain> - The domain of registry.
- Name string
- The name of registry.
- Status
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
[]Registries
Registry Domain - The domain of registry.
- Name string
- The name of registry.
- Status
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<Registries
Registry Domain> - The domain of registry.
- name String
- The name of registry.
- status
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
Registries
Registry Domain[] - The domain of registry.
- name string
- The name of registry.
- status
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[Registries
Registry Domain] - The domain of registry.
- name str
- The name of registry.
- status
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.
- 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.
RegistriesRegistryDomain
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
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.