Class GetGroup
Inheritance
System.Object
GetGroup
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.Management
Assembly: Pulumi.Azure.dll
Syntax
public static class GetGroup
Methods
View SourceInvokeAsync(GetGroupArgs, InvokeOptions)
Use this data source to access information about an existing Management Group.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.Management.GetGroup.InvokeAsync(new Azure.Management.GetGroupArgs
{
Name = "00000000-0000-0000-0000-000000000000",
}));
this.DisplayName = example.Apply(example => example.DisplayName);
}
[Output("displayName")]
public Output<string> DisplayName { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetGroupResult> InvokeAsync(GetGroupArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetGroupArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetGroupResult> |