Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupManagementGroupArgs ¶
type LookupManagementGroupArgs struct { // Specifies the name or UUID of this Management Group. GroupId *string `pulumi:"groupId"` // Specifies the name or UUID of this Management Group. Name *string `pulumi:"name"` }
A collection of arguments for invoking getManagementGroup.
type LookupManagementGroupResult ¶
type LookupManagementGroupResult struct { // A friendly name for the Management Group. DisplayName string `pulumi:"displayName"` GroupId string `pulumi:"groupId"` // id is the provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // The ID of any Parent Management Group. ParentManagementGroupId string `pulumi:"parentManagementGroupId"` // A list of Subscription ID's which are assigned to the Management Group. SubscriptionIds []string `pulumi:"subscriptionIds"` }
A collection of values returned by getManagementGroup.
func LookupManagementGroup ¶
func LookupManagementGroup(ctx *pulumi.Context, args *LookupManagementGroupArgs, opts ...pulumi.InvokeOption) (*LookupManagementGroupResult, error)
Use this data source to access information about an existing Management Group.
type ManagementGroup ¶
type ManagementGroup struct { pulumi.CustomResourceState // A friendly name for this Management Group. If not specified, this'll be the same as the `name`. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The name or UUID for this Management Group, which needs to be unique across your tenant. A new UUID will be generated if not provided. Changing this forces a new resource to be created. GroupId pulumi.StringOutput `pulumi:"groupId"` // The name or UUID for this Management Group, which needs to be unique across your tenant. A new UUID will be generated if not provided. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the Parent Management Group. Changing this forces a new resource to be created. ParentManagementGroupId pulumi.StringOutput `pulumi:"parentManagementGroupId"` // A list of Subscription GUIDs which should be assigned to the Management Group. SubscriptionIds pulumi.StringArrayOutput `pulumi:"subscriptionIds"` }
Manages a Management Group.
func GetManagementGroup ¶
func GetManagementGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagementGroupState, opts ...pulumi.ResourceOption) (*ManagementGroup, error)
GetManagementGroup gets an existing ManagementGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewManagementGroup ¶
func NewManagementGroup(ctx *pulumi.Context, name string, args *ManagementGroupArgs, opts ...pulumi.ResourceOption) (*ManagementGroup, error)
NewManagementGroup registers a new resource with the given unique name, arguments, and options.
type ManagementGroupArgs ¶
type ManagementGroupArgs struct { // A friendly name for this Management Group. If not specified, this'll be the same as the `name`. DisplayName pulumi.StringPtrInput // The name or UUID for this Management Group, which needs to be unique across your tenant. A new UUID will be generated if not provided. Changing this forces a new resource to be created. GroupId pulumi.StringPtrInput // The name or UUID for this Management Group, which needs to be unique across your tenant. A new UUID will be generated if not provided. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Parent Management Group. Changing this forces a new resource to be created. ParentManagementGroupId pulumi.StringPtrInput // A list of Subscription GUIDs which should be assigned to the Management Group. SubscriptionIds pulumi.StringArrayInput }
The set of arguments for constructing a ManagementGroup resource.
func (ManagementGroupArgs) ElementType ¶
func (ManagementGroupArgs) ElementType() reflect.Type
type ManagementGroupState ¶
type ManagementGroupState struct { // A friendly name for this Management Group. If not specified, this'll be the same as the `name`. DisplayName pulumi.StringPtrInput // The name or UUID for this Management Group, which needs to be unique across your tenant. A new UUID will be generated if not provided. Changing this forces a new resource to be created. GroupId pulumi.StringPtrInput // The name or UUID for this Management Group, which needs to be unique across your tenant. A new UUID will be generated if not provided. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Parent Management Group. Changing this forces a new resource to be created. ParentManagementGroupId pulumi.StringPtrInput // A list of Subscription GUIDs which should be assigned to the Management Group. SubscriptionIds pulumi.StringArrayInput }
func (ManagementGroupState) ElementType ¶
func (ManagementGroupState) ElementType() reflect.Type
Click to show internal directories.
Click to hide internal directories.