Show / Hide Table of Contents

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 Source

InvokeAsync(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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.