GetRegistryEnterpriseInstances

This data source provides a list Container Registry Enterprise Edition instances on Alibaba Cloud.

NOTE: Available in v1.86.0+

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var myInstances = Output.Create(AliCloud.CS.GetRegistryEnterpriseInstances.InvokeAsync(new AliCloud.CS.GetRegistryEnterpriseInstancesArgs
        {
            NameRegex = "my-instances",
            OutputFile = "my-instances-json",
        }));
        this.Output = myInstances.Apply(myInstances => myInstances.Instances);
    }

    [Output("output")]
    public Output<string> Output { get; set; }
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

my_instances = alicloud.cs.get_registry_enterprise_instances(name_regex="my-instances",
    output_file="my-instances-json")
pulumi.export("output", my_instances.instances)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

// Declare the data source
const myInstances = pulumi.output(alicloud.cs.getRegistryEnterpriseInstances({
    nameRegex: "my-instances",
    outputFile: "my-instances-json",
}, { async: true }));

export const output = myInstances.instances;

Using GetRegistryEnterpriseInstances

function getRegistryEnterpriseInstances(args: GetRegistryEnterpriseInstancesArgs, opts?: InvokeOptions): Promise<GetRegistryEnterpriseInstancesResult>
function  get_registry_enterprise_instances(ids=None, name_regex=None, output_file=None, opts=None)
func GetRegistryEnterpriseInstances(ctx *Context, args *GetRegistryEnterpriseInstancesArgs, opts ...InvokeOption) (*GetRegistryEnterpriseInstancesResult, error)
public static class GetRegistryEnterpriseInstances {
    public static Task<GetRegistryEnterpriseInstancesResult> InvokeAsync(GetRegistryEnterpriseInstancesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Ids List<string>

A list of ids to filter results by instance id.

NameRegex string

A regex string to filter results by instance name.

OutputFile string
Ids []string

A list of ids to filter results by instance id.

NameRegex string

A regex string to filter results by instance name.

OutputFile string
ids string[]

A list of ids to filter results by instance id.

nameRegex string

A regex string to filter results by instance name.

outputFile string
ids List[str]

A list of ids to filter results by instance id.

name_regex str

A regex string to filter results by instance name.

output_file str

GetRegistryEnterpriseInstances Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of matched Container Registry Enterprise Edition instances. Its element is an instance uuid.

Instances List<Pulumi.AliCloud.CS.Outputs.GetRegistryEnterpriseInstancesInstance>

A list of matched Container Registry Enterprise Editioninstances. Each element contains the following attributes:

Names List<string>

A list of instance names.

NameRegex string
OutputFile string
Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of matched Container Registry Enterprise Edition instances. Its element is an instance uuid.

Instances []GetRegistryEnterpriseInstancesInstance

A list of matched Container Registry Enterprise Editioninstances. Each element contains the following attributes:

Names []string

A list of instance names.

NameRegex string
OutputFile string
id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of matched Container Registry Enterprise Edition instances. Its element is an instance uuid.

instances GetRegistryEnterpriseInstancesInstance[]

A list of matched Container Registry Enterprise Editioninstances. Each element contains the following attributes:

names string[]

A list of instance names.

nameRegex string
outputFile string
id str

The provider-assigned unique ID for this managed resource.

ids List[str]

A list of matched Container Registry Enterprise Edition instances. Its element is an instance uuid.

instances List[GetRegistryEnterpriseInstancesInstance]

A list of matched Container Registry Enterprise Editioninstances. Each element contains the following attributes:

names List[str]

A list of instance names.

name_regex str
output_file str

Supporting Types

GetRegistryEnterpriseInstancesInstance

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Id string

ID of Container Registry Enterprise Edition instance.

Name string

Name of Container Registry Enterprise Edition instance.

NamespaceQuota string

The max number of namespaces that an instance can create.

NamespaceUsage string

The number of namespaces already created.

PublicEndpoints List<string>

A list of domains for access on internet network.

Region string

Region of Container Registry Enterprise Edition instance.

RepoQuota string

The max number of repos that an instance can create.

RepoUsage string

The number of repos already created.

Specification string

Specification of Container Registry Enterprise Edition instance.

VpcEndpoints List<string>

A list of domains for access on vpc network.

Id string

ID of Container Registry Enterprise Edition instance.

Name string

Name of Container Registry Enterprise Edition instance.

NamespaceQuota string

The max number of namespaces that an instance can create.

NamespaceUsage string

The number of namespaces already created.

PublicEndpoints []string

A list of domains for access on internet network.

Region string

Region of Container Registry Enterprise Edition instance.

RepoQuota string

The max number of repos that an instance can create.

RepoUsage string

The number of repos already created.

Specification string

Specification of Container Registry Enterprise Edition instance.

VpcEndpoints []string

A list of domains for access on vpc network.

id string

ID of Container Registry Enterprise Edition instance.

name string

Name of Container Registry Enterprise Edition instance.

namespaceQuota string

The max number of namespaces that an instance can create.

namespaceUsage string

The number of namespaces already created.

publicEndpoints string[]

A list of domains for access on internet network.

region string

Region of Container Registry Enterprise Edition instance.

repoQuota string

The max number of repos that an instance can create.

repoUsage string

The number of repos already created.

specification string

Specification of Container Registry Enterprise Edition instance.

vpcEndpoints string[]

A list of domains for access on vpc network.

id str

ID of Container Registry Enterprise Edition instance.

name str

Name of Container Registry Enterprise Edition instance.

namespaceQuota str

The max number of namespaces that an instance can create.

namespaceUsage str

The number of namespaces already created.

publicEndpoints List[str]

A list of domains for access on internet network.

region str

Region of Container Registry Enterprise Edition instance.

repoQuota str

The max number of repos that an instance can create.

repoUsage str

The number of repos already created.

specification str

Specification of Container Registry Enterprise Edition instance.

vpcEndpoints List[str]

A list of domains for access on vpc network.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.