Documentation ¶
Index ¶
- func PossibleValuesForExpand() []string
- func PossibleValuesForType() []string
- func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- type AzureAsyncOperationResults
- type CreateManagementGroupChildInfo
- type CreateManagementGroupDetails
- type CreateManagementGroupProperties
- type CreateManagementGroupRequest
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type CreateOrUpdateSettingsProperties
- type CreateOrUpdateSettingsRequest
- type CreateParentGroupInfo
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DescendantInfo
- type DescendantInfoOperationPredicate
- type DescendantInfoProperties
- type DescendantParentGroupInfo
- type Expand
- type GetDescendantsCompleteResult
- type GetDescendantsOperationOptions
- type GetDescendantsOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type HierarchySettings
- type HierarchySettingsCreateOrUpdateOperationResponse
- type HierarchySettingsDeleteOperationResponse
- type HierarchySettingsGetOperationResponse
- type HierarchySettingsInfo
- type HierarchySettingsList
- type HierarchySettingsListOperationResponse
- type HierarchySettingsProperties
- type HierarchySettingsUpdateOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ManagementGroup
- type ManagementGroupChildInfo
- type ManagementGroupDetails
- type ManagementGroupInfo
- type ManagementGroupInfoOperationPredicate
- type ManagementGroupInfoProperties
- type ManagementGroupPathElement
- type ManagementGroupProperties
- type ManagementGroupsClient
- 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) UbscriptionsCreate(ctx context.Context, id SubscriptionId, ...) (result UbscriptionsCreateOperationResponse, err error)
- func (c ManagementGroupsClient) UbscriptionsDelete(ctx context.Context, id SubscriptionId, ...) (result UbscriptionsDeleteOperationResponse, err error)
- func (c ManagementGroupsClient) UbscriptionsGetSubscription(ctx context.Context, id SubscriptionId, ...) (result UbscriptionsGetSubscriptionOperationResponse, err error)
- func (c ManagementGroupsClient) UbscriptionsGetSubscriptionsUnderManagementGroup(ctx context.Context, id commonids.ManagementGroupId) (result UbscriptionsGetSubscriptionsUnderManagementGroupOperationResponse, ...)
- func (c ManagementGroupsClient) UbscriptionsGetSubscriptionsUnderManagementGroupComplete(ctx context.Context, id commonids.ManagementGroupId) (UbscriptionsGetSubscriptionsUnderManagementGroupCompleteResult, error)
- func (c ManagementGroupsClient) UbscriptionsGetSubscriptionsUnderManagementGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, ...) (result UbscriptionsGetSubscriptionsUnderManagementGroupCompleteResult, ...)
- func (c ManagementGroupsClient) Update(ctx context.Context, id commonids.ManagementGroupId, ...) (result UpdateOperationResponse, err error)
- type ParentGroupInfo
- type PatchManagementGroupRequest
- type SubscriptionId
- type SubscriptionUnderManagementGroup
- type SubscriptionUnderManagementGroupOperationPredicate
- type SubscriptionUnderManagementGroupProperties
- type Type
- type UbscriptionsCreateOperationOptions
- type UbscriptionsCreateOperationResponse
- type UbscriptionsDeleteOperationOptions
- type UbscriptionsDeleteOperationResponse
- type UbscriptionsGetSubscriptionOperationOptions
- type UbscriptionsGetSubscriptionOperationResponse
- type UbscriptionsGetSubscriptionsUnderManagementGroupCompleteResult
- type UbscriptionsGetSubscriptionsUnderManagementGroupOperationResponse
- type UpdateOperationOptions
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExpand ¶
func PossibleValuesForExpand() []string
func PossibleValuesForType ¶
func PossibleValuesForType() []string
func ValidateSubscriptionID ¶
ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID
Types ¶
type AzureAsyncOperationResults ¶
type AzureAsyncOperationResults struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ManagementGroupInfoProperties `json:"properties,omitempty"` Status *string `json:"status,omitempty"` Type *string `json:"type,omitempty"` }
type CreateManagementGroupChildInfo ¶
type CreateManagementGroupChildInfo struct { Children *[]CreateManagementGroupChildInfo `json:"children,omitempty"` DisplayName *string `json:"displayName,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *Type `json:"type,omitempty"` }
type CreateManagementGroupDetails ¶
type CreateManagementGroupDetails struct { Parent *CreateParentGroupInfo `json:"parent,omitempty"` UpdatedBy *string `json:"updatedBy,omitempty"` UpdatedTime *string `json:"updatedTime,omitempty"` Version *float64 `json:"version,omitempty"` }
func (*CreateManagementGroupDetails) GetUpdatedTimeAsTime ¶
func (o *CreateManagementGroupDetails) GetUpdatedTimeAsTime() (*time.Time, error)
func (*CreateManagementGroupDetails) SetUpdatedTimeAsTime ¶
func (o *CreateManagementGroupDetails) SetUpdatedTimeAsTime(input time.Time)
type CreateManagementGroupProperties ¶
type CreateManagementGroupProperties struct { Children *[]CreateManagementGroupChildInfo `json:"children,omitempty"` Details *CreateManagementGroupDetails `json:"details,omitempty"` DisplayName *string `json:"displayName,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type CreateManagementGroupRequest ¶
type CreateManagementGroupRequest struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CreateManagementGroupProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
CacheControl *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶ added in v0.20230516.1215417
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶ added in v0.20230516.1215417
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶ added in v0.20230516.1215417
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateSettingsRequest ¶
type CreateOrUpdateSettingsRequest struct {
Properties *CreateOrUpdateSettingsProperties `json:"properties,omitempty"`
}
type CreateParentGroupInfo ¶
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
CacheControl *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20230516.1215417
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20230516.1215417
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20230516.1215417
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type DescendantInfo ¶
type DescendantInfo struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DescendantInfoProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DescendantInfoOperationPredicate ¶
func (DescendantInfoOperationPredicate) Matches ¶
func (p DescendantInfoOperationPredicate) Matches(input DescendantInfo) bool
type DescendantInfoProperties ¶
type DescendantInfoProperties struct { DisplayName *string `json:"displayName,omitempty"` Parent *DescendantParentGroupInfo `json:"parent,omitempty"` }
type DescendantParentGroupInfo ¶
type DescendantParentGroupInfo struct {
Id *string `json:"id,omitempty"`
}
type GetDescendantsCompleteResult ¶
type GetDescendantsCompleteResult struct {
Items []DescendantInfo
}
type GetDescendantsOperationOptions ¶
type GetDescendantsOperationOptions struct {
Top *int64
}
func DefaultGetDescendantsOperationOptions ¶
func DefaultGetDescendantsOperationOptions() GetDescendantsOperationOptions
func (GetDescendantsOperationOptions) ToHeaders ¶ added in v0.20230516.1215417
func (o GetDescendantsOperationOptions) ToHeaders() *client.Headers
func (GetDescendantsOperationOptions) ToOData ¶ added in v0.20230516.1215417
func (o GetDescendantsOperationOptions) ToOData() *odata.Query
func (GetDescendantsOperationOptions) ToQuery ¶ added in v0.20230516.1215417
func (o GetDescendantsOperationOptions) ToQuery() *client.QueryParams
type GetDescendantsOperationResponse ¶
type GetDescendantsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DescendantInfo }
type GetOperationOptions ¶
type GetOperationOptions struct { CacheControl *string Expand *Expand Filter *string Recurse *bool }
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶ added in v0.20230516.1215417
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶ added in v0.20230516.1215417
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶ added in v0.20230516.1215417
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagementGroup }
type HierarchySettings ¶
type HierarchySettings struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *HierarchySettingsProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type HierarchySettingsCreateOrUpdateOperationResponse ¶
type HierarchySettingsCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HierarchySettings }
type HierarchySettingsGetOperationResponse ¶
type HierarchySettingsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HierarchySettings }
type HierarchySettingsInfo ¶
type HierarchySettingsInfo struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *HierarchySettingsProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type HierarchySettingsList ¶
type HierarchySettingsList struct { NextLink *string `json:"@nextLink,omitempty"` Value *[]HierarchySettingsInfo `json:"value,omitempty"` }
type HierarchySettingsListOperationResponse ¶
type HierarchySettingsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HierarchySettingsList }
type HierarchySettingsUpdateOperationResponse ¶
type HierarchySettingsUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HierarchySettings }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ManagementGroupInfo
}
type ListOperationOptions ¶
type ListOperationOptions struct {
CacheControl *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230516.1215417
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230516.1215417
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230516.1215417
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagementGroupInfo }
type ManagementGroup ¶
type ManagementGroup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ManagementGroupProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ManagementGroupChildInfo ¶
type ManagementGroupChildInfo struct { Children *[]ManagementGroupChildInfo `json:"children,omitempty"` DisplayName *string `json:"displayName,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *Type `json:"type,omitempty"` }
type ManagementGroupDetails ¶
type ManagementGroupDetails struct { Parent *ParentGroupInfo `json:"parent,omitempty"` Path *[]ManagementGroupPathElement `json:"path,omitempty"` UpdatedBy *string `json:"updatedBy,omitempty"` UpdatedTime *string `json:"updatedTime,omitempty"` Version *float64 `json:"version,omitempty"` }
func (*ManagementGroupDetails) GetUpdatedTimeAsTime ¶
func (o *ManagementGroupDetails) GetUpdatedTimeAsTime() (*time.Time, error)
func (*ManagementGroupDetails) SetUpdatedTimeAsTime ¶
func (o *ManagementGroupDetails) SetUpdatedTimeAsTime(input time.Time)
type ManagementGroupInfo ¶
type ManagementGroupInfo struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ManagementGroupInfoProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ManagementGroupInfoOperationPredicate ¶
func (ManagementGroupInfoOperationPredicate) Matches ¶
func (p ManagementGroupInfoOperationPredicate) Matches(input ManagementGroupInfo) bool
type ManagementGroupProperties ¶
type ManagementGroupProperties struct { Children *[]ManagementGroupChildInfo `json:"children,omitempty"` Details *ManagementGroupDetails `json:"details,omitempty"` DisplayName *string `json:"displayName,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type ManagementGroupsClient ¶
type ManagementGroupsClient struct {
Client *resourcemanager.Client
}
func NewManagementGroupsClientWithBaseURI ¶
func NewManagementGroupsClientWithBaseURI(api environments.Api) (*ManagementGroupsClient, error)
func (ManagementGroupsClient) CreateOrUpdate ¶
func (c ManagementGroupsClient) CreateOrUpdate(ctx context.Context, id commonids.ManagementGroupId, input CreateManagementGroupRequest, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ManagementGroupsClient) CreateOrUpdateThenPoll ¶
func (c ManagementGroupsClient) CreateOrUpdateThenPoll(ctx context.Context, id commonids.ManagementGroupId, input CreateManagementGroupRequest, options CreateOrUpdateOperationOptions) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ManagementGroupsClient) Delete ¶
func (c ManagementGroupsClient) Delete(ctx context.Context, id commonids.ManagementGroupId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ManagementGroupsClient) DeleteThenPoll ¶
func (c ManagementGroupsClient) DeleteThenPoll(ctx context.Context, id commonids.ManagementGroupId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (ManagementGroupsClient) Get ¶
func (c ManagementGroupsClient) Get(ctx context.Context, id commonids.ManagementGroupId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (ManagementGroupsClient) GetDescendants ¶
func (c ManagementGroupsClient) GetDescendants(ctx context.Context, id commonids.ManagementGroupId, options GetDescendantsOperationOptions) (result GetDescendantsOperationResponse, err error)
GetDescendants ...
func (ManagementGroupsClient) GetDescendantsComplete ¶
func (c ManagementGroupsClient) GetDescendantsComplete(ctx context.Context, id commonids.ManagementGroupId, options GetDescendantsOperationOptions) (GetDescendantsCompleteResult, error)
GetDescendantsComplete retrieves all the results into a single object
func (ManagementGroupsClient) GetDescendantsCompleteMatchingPredicate ¶
func (c ManagementGroupsClient) GetDescendantsCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, options GetDescendantsOperationOptions, predicate DescendantInfoOperationPredicate) (result GetDescendantsCompleteResult, err error)
GetDescendantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagementGroupsClient) HierarchySettingsCreateOrUpdate ¶
func (c ManagementGroupsClient) HierarchySettingsCreateOrUpdate(ctx context.Context, id commonids.ManagementGroupId, input CreateOrUpdateSettingsRequest) (result HierarchySettingsCreateOrUpdateOperationResponse, err error)
HierarchySettingsCreateOrUpdate ...
func (ManagementGroupsClient) HierarchySettingsDelete ¶
func (c ManagementGroupsClient) HierarchySettingsDelete(ctx context.Context, id commonids.ManagementGroupId) (result HierarchySettingsDeleteOperationResponse, err error)
HierarchySettingsDelete ...
func (ManagementGroupsClient) HierarchySettingsGet ¶
func (c ManagementGroupsClient) HierarchySettingsGet(ctx context.Context, id commonids.ManagementGroupId) (result HierarchySettingsGetOperationResponse, err error)
HierarchySettingsGet ...
func (ManagementGroupsClient) HierarchySettingsList ¶
func (c ManagementGroupsClient) HierarchySettingsList(ctx context.Context, id commonids.ManagementGroupId) (result HierarchySettingsListOperationResponse, err error)
HierarchySettingsList ...
func (ManagementGroupsClient) HierarchySettingsUpdate ¶
func (c ManagementGroupsClient) HierarchySettingsUpdate(ctx context.Context, id commonids.ManagementGroupId, input CreateOrUpdateSettingsRequest) (result HierarchySettingsUpdateOperationResponse, err error)
HierarchySettingsUpdate ...
func (ManagementGroupsClient) List ¶
func (c ManagementGroupsClient) List(ctx context.Context, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ManagementGroupsClient) ListComplete ¶
func (c ManagementGroupsClient) ListComplete(ctx context.Context, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ManagementGroupsClient) ListCompleteMatchingPredicate ¶
func (c ManagementGroupsClient) ListCompleteMatchingPredicate(ctx context.Context, options ListOperationOptions, predicate ManagementGroupInfoOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagementGroupsClient) UbscriptionsCreate ¶
func (c ManagementGroupsClient) UbscriptionsCreate(ctx context.Context, id SubscriptionId, options UbscriptionsCreateOperationOptions) (result UbscriptionsCreateOperationResponse, err error)
UbscriptionsCreate ...
func (ManagementGroupsClient) UbscriptionsDelete ¶
func (c ManagementGroupsClient) UbscriptionsDelete(ctx context.Context, id SubscriptionId, options UbscriptionsDeleteOperationOptions) (result UbscriptionsDeleteOperationResponse, err error)
UbscriptionsDelete ...
func (ManagementGroupsClient) UbscriptionsGetSubscription ¶
func (c ManagementGroupsClient) UbscriptionsGetSubscription(ctx context.Context, id SubscriptionId, options UbscriptionsGetSubscriptionOperationOptions) (result UbscriptionsGetSubscriptionOperationResponse, err error)
UbscriptionsGetSubscription ...
func (ManagementGroupsClient) UbscriptionsGetSubscriptionsUnderManagementGroup ¶
func (c ManagementGroupsClient) UbscriptionsGetSubscriptionsUnderManagementGroup(ctx context.Context, id commonids.ManagementGroupId) (result UbscriptionsGetSubscriptionsUnderManagementGroupOperationResponse, err error)
UbscriptionsGetSubscriptionsUnderManagementGroup ...
func (ManagementGroupsClient) UbscriptionsGetSubscriptionsUnderManagementGroupComplete ¶
func (c ManagementGroupsClient) UbscriptionsGetSubscriptionsUnderManagementGroupComplete(ctx context.Context, id commonids.ManagementGroupId) (UbscriptionsGetSubscriptionsUnderManagementGroupCompleteResult, error)
UbscriptionsGetSubscriptionsUnderManagementGroupComplete retrieves all the results into a single object
func (ManagementGroupsClient) UbscriptionsGetSubscriptionsUnderManagementGroupCompleteMatchingPredicate ¶
func (c ManagementGroupsClient) UbscriptionsGetSubscriptionsUnderManagementGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ManagementGroupId, predicate SubscriptionUnderManagementGroupOperationPredicate) (result UbscriptionsGetSubscriptionsUnderManagementGroupCompleteResult, err error)
UbscriptionsGetSubscriptionsUnderManagementGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagementGroupsClient) Update ¶
func (c ManagementGroupsClient) Update(ctx context.Context, id commonids.ManagementGroupId, input PatchManagementGroupRequest, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type ParentGroupInfo ¶
type SubscriptionId ¶
SubscriptionId is a struct representing the Resource ID for a Subscription
func NewSubscriptionID ¶
func NewSubscriptionID(groupId string, subscriptionId string) SubscriptionId
NewSubscriptionID returns a new SubscriptionId struct
func ParseSubscriptionID ¶
func ParseSubscriptionID(input string) (*SubscriptionId, error)
ParseSubscriptionID parses 'input' into a SubscriptionId
func ParseSubscriptionIDInsensitively ¶
func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)
ParseSubscriptionIDInsensitively parses 'input' case-insensitively into a SubscriptionId note: this method should only be used for API response data and not user input
func (SubscriptionId) ID ¶
func (id SubscriptionId) ID() string
ID returns the formatted Subscription ID
func (SubscriptionId) Segments ¶
func (id SubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription ID
func (SubscriptionId) String ¶
func (id SubscriptionId) String() string
String returns a human-readable description of this Subscription ID
type SubscriptionUnderManagementGroup ¶
type SubscriptionUnderManagementGroup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SubscriptionUnderManagementGroupProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SubscriptionUnderManagementGroupOperationPredicate ¶
type SubscriptionUnderManagementGroupOperationPredicate struct { Id *string Name *string Type *string }
func (SubscriptionUnderManagementGroupOperationPredicate) Matches ¶
func (p SubscriptionUnderManagementGroupOperationPredicate) Matches(input SubscriptionUnderManagementGroup) bool
type SubscriptionUnderManagementGroupProperties ¶
type SubscriptionUnderManagementGroupProperties struct { DisplayName *string `json:"displayName,omitempty"` Parent *DescendantParentGroupInfo `json:"parent,omitempty"` State *string `json:"state,omitempty"` Tenant *string `json:"tenant,omitempty"` }
type UbscriptionsCreateOperationOptions ¶
type UbscriptionsCreateOperationOptions struct {
CacheControl *string
}
func DefaultUbscriptionsCreateOperationOptions ¶
func DefaultUbscriptionsCreateOperationOptions() UbscriptionsCreateOperationOptions
func (UbscriptionsCreateOperationOptions) ToHeaders ¶ added in v0.20230516.1215417
func (o UbscriptionsCreateOperationOptions) ToHeaders() *client.Headers
func (UbscriptionsCreateOperationOptions) ToOData ¶ added in v0.20230516.1215417
func (o UbscriptionsCreateOperationOptions) ToOData() *odata.Query
func (UbscriptionsCreateOperationOptions) ToQuery ¶ added in v0.20230516.1215417
func (o UbscriptionsCreateOperationOptions) ToQuery() *client.QueryParams
type UbscriptionsCreateOperationResponse ¶
type UbscriptionsCreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SubscriptionUnderManagementGroup }
type UbscriptionsDeleteOperationOptions ¶
type UbscriptionsDeleteOperationOptions struct {
CacheControl *string
}
func DefaultUbscriptionsDeleteOperationOptions ¶
func DefaultUbscriptionsDeleteOperationOptions() UbscriptionsDeleteOperationOptions
func (UbscriptionsDeleteOperationOptions) ToHeaders ¶ added in v0.20230516.1215417
func (o UbscriptionsDeleteOperationOptions) ToHeaders() *client.Headers
func (UbscriptionsDeleteOperationOptions) ToOData ¶ added in v0.20230516.1215417
func (o UbscriptionsDeleteOperationOptions) ToOData() *odata.Query
func (UbscriptionsDeleteOperationOptions) ToQuery ¶ added in v0.20230516.1215417
func (o UbscriptionsDeleteOperationOptions) ToQuery() *client.QueryParams
type UbscriptionsGetSubscriptionOperationOptions ¶
type UbscriptionsGetSubscriptionOperationOptions struct {
CacheControl *string
}
func DefaultUbscriptionsGetSubscriptionOperationOptions ¶
func DefaultUbscriptionsGetSubscriptionOperationOptions() UbscriptionsGetSubscriptionOperationOptions
func (UbscriptionsGetSubscriptionOperationOptions) ToHeaders ¶ added in v0.20230516.1215417
func (o UbscriptionsGetSubscriptionOperationOptions) ToHeaders() *client.Headers
func (UbscriptionsGetSubscriptionOperationOptions) ToOData ¶ added in v0.20230516.1215417
func (o UbscriptionsGetSubscriptionOperationOptions) ToOData() *odata.Query
func (UbscriptionsGetSubscriptionOperationOptions) ToQuery ¶ added in v0.20230516.1215417
func (o UbscriptionsGetSubscriptionOperationOptions) ToQuery() *client.QueryParams
type UbscriptionsGetSubscriptionOperationResponse ¶
type UbscriptionsGetSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SubscriptionUnderManagementGroup }
type UbscriptionsGetSubscriptionsUnderManagementGroupCompleteResult ¶
type UbscriptionsGetSubscriptionsUnderManagementGroupCompleteResult struct {
Items []SubscriptionUnderManagementGroup
}
type UbscriptionsGetSubscriptionsUnderManagementGroupOperationResponse ¶
type UbscriptionsGetSubscriptionsUnderManagementGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SubscriptionUnderManagementGroup }
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
CacheControl *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶ added in v0.20230516.1215417
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶ added in v0.20230516.1215417
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶ added in v0.20230516.1215417
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagementGroup }
Source Files ¶
- client.go
- constants.go
- id_subscription.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getdescendants.go
- method_hierarchysettingscreateorupdate.go
- method_hierarchysettingsdelete.go
- method_hierarchysettingsget.go
- method_hierarchysettingslist.go
- method_hierarchysettingsupdate.go
- method_list.go
- method_ubscriptionscreate.go
- method_ubscriptionsdelete.go
- method_ubscriptionsgetsubscription.go
- method_ubscriptionsgetsubscriptionsundermanagementgroup.go
- method_update.go
- model_azureasyncoperationresults.go
- model_createmanagementgroupchildinfo.go
- model_createmanagementgroupdetails.go
- model_createmanagementgroupproperties.go
- model_createmanagementgrouprequest.go
- model_createorupdatesettingsproperties.go
- model_createorupdatesettingsrequest.go
- model_createparentgroupinfo.go
- model_descendantinfo.go
- model_descendantinfoproperties.go
- model_descendantparentgroupinfo.go
- model_hierarchysettings.go
- model_hierarchysettingsinfo.go
- model_hierarchysettingslist.go
- model_hierarchysettingsproperties.go
- model_managementgroup.go
- model_managementgroupchildinfo.go
- model_managementgroupdetails.go
- model_managementgroupinfo.go
- model_managementgroupinfoproperties.go
- model_managementgrouppathelement.go
- model_managementgroupproperties.go
- model_parentgroupinfo.go
- model_patchmanagementgrouprequest.go
- model_subscriptionundermanagementgroup.go
- model_subscriptionundermanagementgroupproperties.go
- predicates.go
- version.go