Class GetRepos
Inheritance
System.Object
GetRepos
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.CR
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetRepos
Methods
View SourceInvokeAsync(GetReposArgs, InvokeOptions)
This data source provides a list Container Registry repositories on Alibaba Cloud.
NOTE: Available in v1.35.0+
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var myRepos = Output.Create(AliCloud.CR.GetRepos.InvokeAsync(new AliCloud.CR.GetReposArgs
{
NameRegex = "my-repos",
OutputFile = "my-repo-json",
}));
this.Output = myRepos.Apply(myRepos => myRepos.Repos);
}
[Output("output")]
public Output<string> Output { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetReposResult> InvokeAsync(GetReposArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetReposArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetReposResult> |