Documentation
¶
Overview ¶
nolint: lll
nolint: lll
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupManagementGroupArgs ¶ added in v1.12.0
type LookupManagementGroupArgs struct { // Specifies the UUID of this Management Group. GroupId string `pulumi:"groupId"` }
A collection of arguments for invoking getManagementGroup.
type LookupManagementGroupResult ¶ added in v1.12.0
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"` // 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/management_group_legacy.html.markdown.
type ManagementGroup ¶
type ManagementGroup struct { pulumi.CustomResourceState // A friendly name for this Management Group. If not specified, this'll be the same as the `groupId`. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The UUID for this Management Group, which needs to be unique across your tenant - which will be generated if not provided. Changing this forces a new resource to be created. GroupId pulumi.StringOutput `pulumi:"groupId"` // 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/management_group_legacy.html.markdown.
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 `groupId`. DisplayName pulumi.StringPtrInput // The UUID for this Management Group, which needs to be unique across your tenant - which will be generated if not provided. Changing this forces a new resource to be created. GroupId 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 ¶ added in v1.12.0
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 `groupId`. DisplayName pulumi.StringPtrInput // The UUID for this Management Group, which needs to be unique across your tenant - which will be generated if not provided. Changing this forces a new resource to be created. GroupId 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 ¶ added in v1.12.0
func (ManagementGroupState) ElementType() reflect.Type