Class GetRegistry
Inheritance
System.Object
GetRegistry
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.Azure.ContainerService
Assembly: Pulumi.Azure.dll
Syntax
public static class GetRegistry
Methods
View SourceInvokeAsync(GetRegistryArgs, InvokeOptions)
Use this data source to access information about an existing Container Registry.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.ContainerService.GetRegistry.InvokeAsync(new Azure.ContainerService.GetRegistryArgs
{
Name = "testacr",
ResourceGroupName = "test",
}));
this.LoginServer = example.Apply(example => example.LoginServer);
}
[Output("loginServer")]
public Output<string> LoginServer { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetRegistryResult> InvokeAsync(GetRegistryArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetRegistryArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetRegistryResult> |