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.
- Name
Regex string A regex string to filter results by instance name.
- Output
File 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.
Ali Cloud. CS. Outputs. Get Registry Enterprise Instances Instance> A list of matched Container Registry Enterprise Editioninstances. Each element contains the following attributes:
- Names List<string>
A list of instance names.
- Name
Regex string - Output
File 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
[]Get
Registry Enterprise Instances Instance A list of matched Container Registry Enterprise Editioninstances. Each element contains the following attributes:
- Names []string
A list of instance names.
- Name
Regex string - Output
File 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
Get
Registry Enterprise Instances Instance[] A list of matched Container Registry Enterprise Editioninstances. Each element contains the following attributes:
- names string[]
A list of instance names.
- name
Regex string - output
File 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[Get
Registry Enterprise Instances Instance] 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.
- Namespace
Quota string The max number of namespaces that an instance can create.
- Namespace
Usage string The number of namespaces already created.
- Public
Endpoints List<string> A list of domains for access on internet network.
- Region string
Region of Container Registry Enterprise Edition instance.
- Repo
Quota string The max number of repos that an instance can create.
- Repo
Usage string The number of repos already created.
- Specification string
Specification of Container Registry Enterprise Edition instance.
- Vpc
Endpoints 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.
- Namespace
Quota string The max number of namespaces that an instance can create.
- Namespace
Usage string The number of namespaces already created.
- Public
Endpoints []string A list of domains for access on internet network.
- Region string
Region of Container Registry Enterprise Edition instance.
- Repo
Quota string The max number of repos that an instance can create.
- Repo
Usage string The number of repos already created.
- Specification string
Specification of Container Registry Enterprise Edition instance.
- Vpc
Endpoints []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.
- namespace
Quota string The max number of namespaces that an instance can create.
- namespace
Usage string The number of namespaces already created.
- public
Endpoints string[] A list of domains for access on internet network.
- region string
Region of Container Registry Enterprise Edition instance.
- repo
Quota string The max number of repos that an instance can create.
- repo
Usage string The number of repos already created.
- specification string
Specification of Container Registry Enterprise Edition instance.
- vpc
Endpoints 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.
- namespace
Quota str The max number of namespaces that an instance can create.
- namespace
Usage str The number of namespaces already created.
- public
Endpoints List[str] A list of domains for access on internet network.
- region str
Region of Container Registry Enterprise Edition instance.
- repo
Quota str The max number of repos that an instance can create.
- repo
Usage str The number of repos already created.
- specification str
Specification of Container Registry Enterprise Edition instance.
- vpc
Endpoints 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
alicloudTerraform Provider.