Class GetAccount
Inheritance
System.Object
GetAccount
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.NetApp
Assembly: Pulumi.Azure.dll
Syntax
public static class GetAccount
Methods
View SourceInvokeAsync(GetAccountArgs, InvokeOptions)
Uses this data source to access information about an existing NetApp Account.
NetApp Account Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.NetApp.GetAccount.InvokeAsync(new Azure.NetApp.GetAccountArgs
{
ResourceGroupName = "acctestRG",
Name = "acctestnetappaccount",
}));
this.NetappAccountId = example.Apply(example => example.Id);
}
[Output("netappAccountId")]
public Output<string> NetappAccountId { get; set; }
}
Declaration
public static Task<GetAccountResult> InvokeAsync(GetAccountArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAccountArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetAccountResult> |