GetRegistryEnterpriseRepos
This data source provides a list Container Registry Enterprise Edition repositories on Alibaba Cloud.
NOTE: Available in v1.87.0+
Example Usage
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var myRepos = Output.Create(AliCloud.CS.GetRegistryEnterpriseRepos.InvokeAsync(new AliCloud.CS.GetRegistryEnterpriseReposArgs
{
InstanceId = "cri-xx",
NameRegex = "my-repos",
OutputFile = "my-repo-json",
}));
this.Output = myRepos.Apply(myRepos => myRepos.Repos);
}
[Output("output")]
public Output<string> Output { get; set; }
}
Coming soon!
import pulumi
import pulumi_alicloud as alicloud
my_repos = alicloud.cs.get_registry_enterprise_repos(instance_id="cri-xx",
name_regex="my-repos",
output_file="my-repo-json")
pulumi.export("output", my_repos.repos)import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
// Declare the data source
const myRepos = pulumi.output(alicloud.cs.getRegistryEnterpriseRepos({
instanceId: "cri-xx",
nameRegex: "my-repos",
outputFile: "my-repo-json",
}, { async: true }));
export const output = myRepos.repos;Using GetRegistryEnterpriseRepos
function getRegistryEnterpriseRepos(args: GetRegistryEnterpriseReposArgs, opts?: InvokeOptions): Promise<GetRegistryEnterpriseReposResult>function get_registry_enterprise_repos(enable_details=None, ids=None, instance_id=None, name_regex=None, namespace=None, output_file=None, opts=None)func GetRegistryEnterpriseRepos(ctx *Context, args *GetRegistryEnterpriseReposArgs, opts ...InvokeOption) (*GetRegistryEnterpriseReposResult, error)public static class GetRegistryEnterpriseRepos {
public static Task<GetRegistryEnterpriseReposResult> InvokeAsync(GetRegistryEnterpriseReposArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Instance
Id string ID of Container Registry Enterprise Edition instance.
- Enable
Details bool Boolean, false by default, only repository attributes are exported. Set to true if tags belong to this repository are needed. See
tagsin attributes.- Ids List<string>
A list of ids to filter results by repository id.
- Name
Regex string A regex string to filter results by repository name.
- Namespace string
Name of Container Registry Enterprise Edition namespace where the repositories are located in.
- Output
File string
- Instance
Id string ID of Container Registry Enterprise Edition instance.
- Enable
Details bool Boolean, false by default, only repository attributes are exported. Set to true if tags belong to this repository are needed. See
tagsin attributes.- Ids []string
A list of ids to filter results by repository id.
- Name
Regex string A regex string to filter results by repository name.
- Namespace string
Name of Container Registry Enterprise Edition namespace where the repositories are located in.
- Output
File string
- instance
Id string ID of Container Registry Enterprise Edition instance.
- enable
Details boolean Boolean, false by default, only repository attributes are exported. Set to true if tags belong to this repository are needed. See
tagsin attributes.- ids string[]
A list of ids to filter results by repository id.
- name
Regex string A regex string to filter results by repository name.
- namespace string
Name of Container Registry Enterprise Edition namespace where the repositories are located in.
- output
File string
- instance_
id str ID of Container Registry Enterprise Edition instance.
- enable_
details bool Boolean, false by default, only repository attributes are exported. Set to true if tags belong to this repository are needed. See
tagsin attributes.- ids List[str]
A list of ids to filter results by repository id.
- name_
regex str A regex string to filter results by repository name.
- namespace str
Name of Container Registry Enterprise Edition namespace where the repositories are located in.
- output_
file str
GetRegistryEnterpriseRepos 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 repositories. Its element is a repository id.
- Instance
Id string ID of Container Registry Enterprise Edition instance.
- Names List<string>
A list of repository names.
- Repos
List<Pulumi.
Ali Cloud. CS. Outputs. Get Registry Enterprise Repos Repo> A list of matched Container Registry Enterprise Edition namespaces. Each element contains the following attributes:
- Enable
Details bool - Name
Regex string - Namespace string
Name of Container Registry Enterprise Edition namespace where repo is located.
- Output
File string
- Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
A list of matched Container Registry Enterprise Edition repositories. Its element is a repository id.
- Instance
Id string ID of Container Registry Enterprise Edition instance.
- Names []string
A list of repository names.
- Repos
[]Get
Registry Enterprise Repos Repo A list of matched Container Registry Enterprise Edition namespaces. Each element contains the following attributes:
- Enable
Details bool - Name
Regex string - Namespace string
Name of Container Registry Enterprise Edition namespace where repo is located.
- Output
File string
- id string
The provider-assigned unique ID for this managed resource.
- ids string[]
A list of matched Container Registry Enterprise Edition repositories. Its element is a repository id.
- instance
Id string ID of Container Registry Enterprise Edition instance.
- names string[]
A list of repository names.
- repos
Get
Registry Enterprise Repos Repo[] A list of matched Container Registry Enterprise Edition namespaces. Each element contains the following attributes:
- enable
Details boolean - name
Regex string - namespace string
Name of Container Registry Enterprise Edition namespace where repo is located.
- 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 repositories. Its element is a repository id.
- instance_
id str ID of Container Registry Enterprise Edition instance.
- names List[str]
A list of repository names.
- repos
List[Get
Registry Enterprise Repos Repo] A list of matched Container Registry Enterprise Edition namespaces. Each element contains the following attributes:
- enable_
details bool - name_
regex str - namespace str
Name of Container Registry Enterprise Edition namespace where repo is located.
- output_
file str
Supporting Types
GetRegistryEnterpriseReposRepo
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 repository.
- Instance
Id string ID of Container Registry Enterprise Edition instance.
- Name string
Name of Container Registry Enterprise Edition repository.
- Namespace string
Name of Container Registry Enterprise Edition namespace where the repositories are located in.
- Repo
Type string PUBLICorPRIVATE, repository’s visibility.- Summary string
The repository general information.
-
List<Pulumi.
Ali Cloud. CS. Inputs. Get Registry Enterprise Repos Repo Tag Args> A list of image tags belong to this repository. Each contains several attributes, see
Block Tag.
- Id string
ID of Container Registry Enterprise Edition repository.
- Instance
Id string ID of Container Registry Enterprise Edition instance.
- Name string
Name of Container Registry Enterprise Edition repository.
- Namespace string
Name of Container Registry Enterprise Edition namespace where the repositories are located in.
- Repo
Type string PUBLICorPRIVATE, repository’s visibility.- Summary string
The repository general information.
-
[]Get
Registry Enterprise Repos Repo Tag A list of image tags belong to this repository. Each contains several attributes, see
Block Tag.
- id string
ID of Container Registry Enterprise Edition repository.
- instance
Id string ID of Container Registry Enterprise Edition instance.
- name string
Name of Container Registry Enterprise Edition repository.
- namespace string
Name of Container Registry Enterprise Edition namespace where the repositories are located in.
- repo
Type string PUBLICorPRIVATE, repository’s visibility.- summary string
The repository general information.
-
Get
Registry Enterprise Repos Repo Tag[] A list of image tags belong to this repository. Each contains several attributes, see
Block Tag.
- id str
ID of Container Registry Enterprise Edition repository.
- instance_
id str ID of Container Registry Enterprise Edition instance.
- name str
Name of Container Registry Enterprise Edition repository.
- namespace str
Name of Container Registry Enterprise Edition namespace where the repositories are located in.
- repo_
type str PUBLICorPRIVATE, repository’s visibility.- summary str
The repository general information.
-
List[Get
Registry Enterprise Repos Repo Tag] A list of image tags belong to this repository. Each contains several attributes, see
Block Tag.
GetRegistryEnterpriseReposRepoTag
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Digest string
Digest of this image.
- Image
Create string Create time of this image, unix time in nanoseconds.
- Image
Id string Id of this image.
- Image
Size int Status of this image, in bytes.
- Image
Update string Last update time of this image, unix time in nanoseconds.
- Status string
Status of this image.
- Tag string
Tag of this image.
- Digest string
Digest of this image.
- Image
Create string Create time of this image, unix time in nanoseconds.
- Image
Id string Id of this image.
- Image
Size int Status of this image, in bytes.
- Image
Update string Last update time of this image, unix time in nanoseconds.
- Status string
Status of this image.
- Tag string
Tag of this image.
- digest string
Digest of this image.
- image
Create string Create time of this image, unix time in nanoseconds.
- image
Id string Id of this image.
- image
Size number Status of this image, in bytes.
- image
Update string Last update time of this image, unix time in nanoseconds.
- status string
Status of this image.
- tag string
Tag of this image.
- digest str
Digest of this image.
- image
Create str Create time of this image, unix time in nanoseconds.
- image
Size float Status of this image, in bytes.
- image
Update str Last update time of this image, unix time in nanoseconds.
- image_
id str Id of this image.
- status str
Status of this image.
- tag str
Tag of this image.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.