Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForExpand() []string + func PossibleValuesForManagementGroupChildType() []string + func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error) + type AzureAsyncOperationResults struct + Id *string + Name *string + Properties *ManagementGroupInfoProperties + Status *string + Type *string + type CreateManagementGroupChildInfo struct + Children *[]CreateManagementGroupChildInfo + DisplayName *string + Id *string + Name *string + Type *ManagementGroupChildType + type CreateManagementGroupDetails struct + Parent *CreateParentGroupInfo + UpdatedBy *string + UpdatedTime *string + Version *float64 + func (o *CreateManagementGroupDetails) GetUpdatedTimeAsTime() (*time.Time, error) + func (o *CreateManagementGroupDetails) SetUpdatedTimeAsTime(input time.Time) + type CreateManagementGroupProperties struct + Children *[]CreateManagementGroupChildInfo + Details *CreateManagementGroupDetails + DisplayName *string + TenantId *string + type CreateManagementGroupRequest struct + Id *string + Name *string + Properties *CreateManagementGroupProperties + Type *string + type CreateOrUpdateOperationOptions struct + CacheControl *string + func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions + func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers + func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query + func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *ManagementGroup + OData *odata.OData + Poller pollers.Poller + type CreateOrUpdateSettingsProperties struct + DefaultManagementGroup *string + RequireAuthorizationForGroupCreation *bool + type CreateOrUpdateSettingsRequest struct + Properties *CreateOrUpdateSettingsProperties + type CreateParentGroupInfo struct + DisplayName *string + Id *string + Name *string + type DeleteOperationOptions struct + CacheControl *string + func DefaultDeleteOperationOptions() DeleteOperationOptions + func (o DeleteOperationOptions) ToHeaders() *client.Headers + func (o DeleteOperationOptions) ToOData() *odata.Query + func (o DeleteOperationOptions) ToQuery() *client.QueryParams + type DeleteOperationResponse struct + HttpResponse *http.Response + Model *AzureAsyncOperationResults + OData *odata.OData + Poller pollers.Poller + type DescendantInfo struct + Id *string + Name *string + Properties *DescendantInfoProperties + Type *string + type DescendantInfoOperationPredicate struct + Id *string + Name *string + Type *string + func (p DescendantInfoOperationPredicate) Matches(input DescendantInfo) bool + type DescendantInfoProperties struct + DisplayName *string + Parent *DescendantParentGroupInfo + type DescendantParentGroupInfo struct + Id *string + type Expand string + const ExpandChildren + const ExpandPath + func (s *Expand) UnmarshalJSON(bytes []byte) error + type GetDescendantsCompleteResult struct + Items []DescendantInfo + LatestHttpResponse *http.Response + type GetDescendantsCustomPager struct + NextLink *odata.Link + func (p *GetDescendantsCustomPager) NextPageLink() *odata.Link + type GetDescendantsOperationOptions struct + Top *int64 + func DefaultGetDescendantsOperationOptions() GetDescendantsOperationOptions + func (o GetDescendantsOperationOptions) ToHeaders() *client.Headers + func (o GetDescendantsOperationOptions) ToOData() *odata.Query + func (o GetDescendantsOperationOptions) ToQuery() *client.QueryParams + type GetDescendantsOperationResponse struct + HttpResponse *http.Response + Model *[]DescendantInfo + OData *odata.OData + type GetOperationOptions struct + CacheControl *string + Expand *Expand + Filter *string + Recurse *bool + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *ManagementGroup + OData *odata.OData + type HierarchySettings struct + Id *string + Name *string + Properties *HierarchySettingsProperties + Type *string + type HierarchySettingsCreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *HierarchySettings + OData *odata.OData + type HierarchySettingsDeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type HierarchySettingsGetOperationResponse struct + HttpResponse *http.Response + Model *HierarchySettings + OData *odata.OData + type HierarchySettingsInfo struct + Id *string + Name *string + Properties *HierarchySettingsProperties + Type *string + type HierarchySettingsList struct + NextLink *string + Value *[]HierarchySettingsInfo + type HierarchySettingsListOperationResponse struct + HttpResponse *http.Response + Model *HierarchySettingsList + OData *odata.OData + type HierarchySettingsProperties struct + DefaultManagementGroup *string + RequireAuthorizationForGroupCreation *bool + TenantId *string + type HierarchySettingsUpdateOperationResponse struct + HttpResponse *http.Response + Model *HierarchySettings + OData *odata.OData + type ListCompleteResult struct + Items []ManagementGroupInfo + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationOptions struct + CacheControl *string + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]ManagementGroupInfo + OData *odata.OData + type ManagementGroup struct + Id *string + Name *string + Properties *ManagementGroupProperties + Type *string + type ManagementGroupChildInfo struct + Children *[]ManagementGroupChildInfo + DisplayName *string + Id *string + Name *string + Type *ManagementGroupChildType + type ManagementGroupChildType string + const ManagementGroupChildTypeMicrosoftPointManagementManagementGroups + const ManagementGroupChildTypeSubscriptions + func (s *ManagementGroupChildType) UnmarshalJSON(bytes []byte) error + type ManagementGroupDetails struct + Parent *ParentGroupInfo + Path *[]ManagementGroupPathElement + UpdatedBy *string + UpdatedTime *string + Version *float64 + func (o *ManagementGroupDetails) GetUpdatedTimeAsTime() (*time.Time, error) + func (o *ManagementGroupDetails) SetUpdatedTimeAsTime(input time.Time) + type ManagementGroupInfo struct + Id *string + Name *string + Properties *ManagementGroupInfoProperties + Type *string + type ManagementGroupInfoOperationPredicate struct + Id *string + Name *string + Type *string + func (p ManagementGroupInfoOperationPredicate) Matches(input ManagementGroupInfo) bool + type ManagementGroupInfoProperties struct + DisplayName *string + TenantId *string + type ManagementGroupPathElement struct + DisplayName *string + Name *string + type ManagementGroupProperties struct + Children *[]ManagementGroupChildInfo + Details *ManagementGroupDetails + DisplayName *string + TenantId *string + type ManagementGroupsClient struct + Client *resourcemanager.Client + func NewManagementGroupsClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagementGroupsClient, error) + func (c ManagementGroupsClient) CreateOrUpdate(ctx context.Context, id commonids.ManagementGroupId, ...) (result CreateOrUpdateOperationResponse, err error) + func (c ManagementGroupsClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.ManagementGroupId, ...) error + func (c ManagementGroupsClient) Delete(ctx context.Context, id commonids.ManagementGroupId, ...) (result DeleteOperationResponse, err error) + func (c ManagementGroupsClient) DeleteThenPoll(ctx context.Context, id commonids.ManagementGroupId, ...) error + func (c ManagementGroupsClient) Get(ctx context.Context, id commonids.ManagementGroupId, ...) (result GetOperationResponse, err error) + func (c ManagementGroupsClient) GetDescendants(ctx context.Context, id commonids.ManagementGroupId, ...) (result GetDescendantsOperationResponse, err error) + func (c ManagementGroupsClient) GetDescendantsComplete(ctx context.Context, id commonids.ManagementGroupId, ...) (GetDescendantsCompleteResult, error) + func (c ManagementGroupsClient) GetDescendantsCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, ...) (result GetDescendantsCompleteResult, err error) + func (c ManagementGroupsClient) HierarchySettingsCreateOrUpdate(ctx context.Context, id commonids.ManagementGroupId, ...) (result HierarchySettingsCreateOrUpdateOperationResponse, err error) + func (c ManagementGroupsClient) HierarchySettingsDelete(ctx context.Context, id commonids.ManagementGroupId) (result HierarchySettingsDeleteOperationResponse, err error) + func (c ManagementGroupsClient) HierarchySettingsGet(ctx context.Context, id commonids.ManagementGroupId) (result HierarchySettingsGetOperationResponse, err error) + func (c ManagementGroupsClient) HierarchySettingsList(ctx context.Context, id commonids.ManagementGroupId) (result HierarchySettingsListOperationResponse, err error) + func (c ManagementGroupsClient) HierarchySettingsUpdate(ctx context.Context, id commonids.ManagementGroupId, ...) (result HierarchySettingsUpdateOperationResponse, err error) + func (c ManagementGroupsClient) List(ctx context.Context, options ListOperationOptions) (result ListOperationResponse, err error) + func (c ManagementGroupsClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error) + func (c ManagementGroupsClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, ...) (result ListCompleteResult, err error) + func (c ManagementGroupsClient) SubscriptionsCreate(ctx context.Context, id SubscriptionId, ...) (result SubscriptionsCreateOperationResponse, err error) + func (c ManagementGroupsClient) SubscriptionsDelete(ctx context.Context, id SubscriptionId, ...) (result SubscriptionsDeleteOperationResponse, err error) + func (c ManagementGroupsClient) SubscriptionsGetSubscription(ctx context.Context, id SubscriptionId, ...) (result SubscriptionsGetSubscriptionOperationResponse, err error) + func (c ManagementGroupsClient) SubscriptionsGetSubscriptionsUnderManagementGroup(ctx context.Context, id commonids.ManagementGroupId) (result SubscriptionsGetSubscriptionsUnderManagementGroupOperationResponse, ...) + func (c ManagementGroupsClient) SubscriptionsGetSubscriptionsUnderManagementGroupComplete(ctx context.Context, id commonids.ManagementGroupId) (SubscriptionsGetSubscriptionsUnderManagementGroupCompleteResult, error) + func (c ManagementGroupsClient) SubscriptionsGetSubscriptionsUnderManagementGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, ...) (result SubscriptionsGetSubscriptionsUnderManagementGroupCompleteResult, ...) + func (c ManagementGroupsClient) Update(ctx context.Context, id commonids.ManagementGroupId, ...) (result UpdateOperationResponse, err error) + type ParentGroupInfo struct + DisplayName *string + Id *string + Name *string + type PatchManagementGroupRequest struct + DisplayName *string + ParentGroupId *string + type SubscriptionId struct + GroupId string + SubscriptionId string + func NewSubscriptionID(groupId string, subscriptionId string) SubscriptionId + func ParseSubscriptionID(input string) (*SubscriptionId, error) + func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error) + func (id *SubscriptionId) FromParseResult(input resourceids.ParseResult) error + func (id SubscriptionId) ID() string + func (id SubscriptionId) Segments() []resourceids.Segment + func (id SubscriptionId) String() string + type SubscriptionUnderManagementGroup struct + Id *string + Name *string + Properties *SubscriptionUnderManagementGroupProperties + Type *string + type SubscriptionUnderManagementGroupOperationPredicate struct + Id *string + Name *string + Type *string + func (p SubscriptionUnderManagementGroupOperationPredicate) Matches(input SubscriptionUnderManagementGroup) bool + type SubscriptionUnderManagementGroupProperties struct + DisplayName *string + Parent *DescendantParentGroupInfo + State *string + Tenant *string + type SubscriptionsCreateOperationOptions struct + CacheControl *string + func DefaultSubscriptionsCreateOperationOptions() SubscriptionsCreateOperationOptions + func (o SubscriptionsCreateOperationOptions) ToHeaders() *client.Headers + func (o SubscriptionsCreateOperationOptions) ToOData() *odata.Query + func (o SubscriptionsCreateOperationOptions) ToQuery() *client.QueryParams + type SubscriptionsCreateOperationResponse struct + HttpResponse *http.Response + Model *SubscriptionUnderManagementGroup + OData *odata.OData + type SubscriptionsDeleteOperationOptions struct + CacheControl *string + func DefaultSubscriptionsDeleteOperationOptions() SubscriptionsDeleteOperationOptions + func (o SubscriptionsDeleteOperationOptions) ToHeaders() *client.Headers + func (o SubscriptionsDeleteOperationOptions) ToOData() *odata.Query + func (o SubscriptionsDeleteOperationOptions) ToQuery() *client.QueryParams + type SubscriptionsDeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type SubscriptionsGetSubscriptionOperationOptions struct + CacheControl *string + func DefaultSubscriptionsGetSubscriptionOperationOptions() SubscriptionsGetSubscriptionOperationOptions + func (o SubscriptionsGetSubscriptionOperationOptions) ToHeaders() *client.Headers + func (o SubscriptionsGetSubscriptionOperationOptions) ToOData() *odata.Query + func (o SubscriptionsGetSubscriptionOperationOptions) ToQuery() *client.QueryParams + type SubscriptionsGetSubscriptionOperationResponse struct + HttpResponse *http.Response + Model *SubscriptionUnderManagementGroup + OData *odata.OData + type SubscriptionsGetSubscriptionsUnderManagementGroupCompleteResult struct + Items []SubscriptionUnderManagementGroup + LatestHttpResponse *http.Response + type SubscriptionsGetSubscriptionsUnderManagementGroupCustomPager struct + NextLink *odata.Link + func (p *SubscriptionsGetSubscriptionsUnderManagementGroupCustomPager) NextPageLink() *odata.Link + type SubscriptionsGetSubscriptionsUnderManagementGroupOperationResponse struct + HttpResponse *http.Response + Model *[]SubscriptionUnderManagementGroup + OData *odata.OData + type UpdateOperationOptions struct + CacheControl *string + func DefaultUpdateOperationOptions() UpdateOperationOptions + func (o UpdateOperationOptions) ToHeaders() *client.Headers + func (o UpdateOperationOptions) ToOData() *odata.Query + func (o UpdateOperationOptions) ToQuery() *client.QueryParams + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *ManagementGroup + OData *odata.OData