managementgroups

package
v0.20230522.1151155 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2023 License: MPL-2.0 Imports: 14 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/managementgroups/2020-05-01/managementgroups Documentation

The managementgroups SDK allows for interaction with the Azure Resource Manager Service managementgroups (API Version 2020-05-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/managementgroups/2020-05-01/managementgroups"

Client Initialization

client := managementgroups.NewManagementGroupsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ManagementGroupsClient.CreateOrUpdate

ctx := context.TODO()
id := managementgroups.NewManagementGroupID("groupIdValue")

payload := managementgroups.CreateManagementGroupRequest{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload, managementgroups.DefaultCreateOrUpdateOperationOptions()); err != nil {
	// handle the error
}

Example Usage: ManagementGroupsClient.Delete

ctx := context.TODO()
id := managementgroups.NewManagementGroupID("groupIdValue")

if err := client.DeleteThenPoll(ctx, id, managementgroups.DefaultDeleteOperationOptions()); err != nil {
	// handle the error
}

Example Usage: ManagementGroupsClient.Get

ctx := context.TODO()
id := managementgroups.NewManagementGroupID("groupIdValue")

read, err := client.Get(ctx, id, managementgroups.DefaultGetOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagementGroupsClient.GetDescendants

ctx := context.TODO()
id := managementgroups.NewManagementGroupID("groupIdValue")

// alternatively `client.GetDescendants(ctx, id, managementgroups.DefaultGetDescendantsOperationOptions())` can be used to do batched pagination
items, err := client.GetDescendantsComplete(ctx, id, managementgroups.DefaultGetDescendantsOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagementGroupsClient.HierarchySettingsCreateOrUpdate

ctx := context.TODO()
id := managementgroups.NewManagementGroupID("groupIdValue")

payload := managementgroups.CreateOrUpdateSettingsRequest{
	// ...
}


read, err := client.HierarchySettingsCreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagementGroupsClient.HierarchySettingsDelete

ctx := context.TODO()
id := managementgroups.NewManagementGroupID("groupIdValue")

read, err := client.HierarchySettingsDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagementGroupsClient.HierarchySettingsGet

ctx := context.TODO()
id := managementgroups.NewManagementGroupID("groupIdValue")

read, err := client.HierarchySettingsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagementGroupsClient.HierarchySettingsList

ctx := context.TODO()
id := managementgroups.NewManagementGroupID("groupIdValue")

read, err := client.HierarchySettingsList(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagementGroupsClient.HierarchySettingsUpdate

ctx := context.TODO()
id := managementgroups.NewManagementGroupID("groupIdValue")

payload := managementgroups.CreateOrUpdateSettingsRequest{
	// ...
}


read, err := client.HierarchySettingsUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagementGroupsClient.List

ctx := context.TODO()


// alternatively `client.List(ctx, managementgroups.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, managementgroups.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagementGroupsClient.UbscriptionsCreate

ctx := context.TODO()
id := managementgroups.NewSubscriptionID("groupIdValue", "12345678-1234-9876-4563-123456789012")

read, err := client.UbscriptionsCreate(ctx, id, managementgroups.DefaultUbscriptionsCreateOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagementGroupsClient.UbscriptionsDelete

ctx := context.TODO()
id := managementgroups.NewSubscriptionID("groupIdValue", "12345678-1234-9876-4563-123456789012")

read, err := client.UbscriptionsDelete(ctx, id, managementgroups.DefaultUbscriptionsDeleteOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagementGroupsClient.UbscriptionsGetSubscription

ctx := context.TODO()
id := managementgroups.NewSubscriptionID("groupIdValue", "12345678-1234-9876-4563-123456789012")

read, err := client.UbscriptionsGetSubscription(ctx, id, managementgroups.DefaultUbscriptionsGetSubscriptionOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ManagementGroupsClient.UbscriptionsGetSubscriptionsUnderManagementGroup

ctx := context.TODO()
id := managementgroups.NewManagementGroupID("groupIdValue")

// alternatively `client.UbscriptionsGetSubscriptionsUnderManagementGroup(ctx, id)` can be used to do batched pagination
items, err := client.UbscriptionsGetSubscriptionsUnderManagementGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ManagementGroupsClient.Update

ctx := context.TODO()
id := managementgroups.NewManagementGroupID("groupIdValue")

payload := managementgroups.PatchManagementGroupRequest{
	// ...
}


read, err := client.Update(ctx, id, payload, managementgroups.DefaultUpdateOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForExpand

func PossibleValuesForExpand() []string

func PossibleValuesForType

func PossibleValuesForType() []string

func ValidateSubscriptionID

func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)

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 (CreateOrUpdateOperationOptions) ToOData added in v0.20230516.1215417

func (CreateOrUpdateOperationOptions) ToQuery added in v0.20230516.1215417

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type CreateOrUpdateSettingsProperties

type CreateOrUpdateSettingsProperties struct {
	DefaultManagementGroup               *string `json:"defaultManagementGroup,omitempty"`
	RequireAuthorizationForGroupCreation *bool   `json:"requireAuthorizationForGroupCreation,omitempty"`
}

type CreateOrUpdateSettingsRequest

type CreateOrUpdateSettingsRequest struct {
	Properties *CreateOrUpdateSettingsProperties `json:"properties,omitempty"`
}

type CreateParentGroupInfo

type CreateParentGroupInfo struct {
	DisplayName *string `json:"displayName,omitempty"`
	Id          *string `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
}

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

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

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

type DescendantInfoOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (DescendantInfoOperationPredicate) Matches

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 Expand

type Expand string
const (
	ExpandChildren Expand = "children"
	ExpandPath     Expand = "path"
)

func (*Expand) UnmarshalJSON added in v0.20230516.1215417

func (s *Expand) UnmarshalJSON(bytes []byte) error

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 (GetDescendantsOperationOptions) ToOData added in v0.20230516.1215417

func (GetDescendantsOperationOptions) ToQuery added in v0.20230516.1215417

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 HierarchySettingsDeleteOperationResponse

type HierarchySettingsDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

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 HierarchySettingsProperties

type HierarchySettingsProperties struct {
	DefaultManagementGroup               *string `json:"defaultManagementGroup,omitempty"`
	RequireAuthorizationForGroupCreation *bool   `json:"requireAuthorizationForGroupCreation,omitempty"`
	TenantId                             *string `json:"tenantId,omitempty"`
}

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

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

type ManagementGroupInfoOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (ManagementGroupInfoOperationPredicate) Matches

type ManagementGroupInfoProperties

type ManagementGroupInfoProperties struct {
	DisplayName *string `json:"displayName,omitempty"`
	TenantId    *string `json:"tenantId,omitempty"`
}

type ManagementGroupPathElement

type ManagementGroupPathElement struct {
	DisplayName *string `json:"displayName,omitempty"`
	Name        *string `json:"name,omitempty"`
}

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

CreateOrUpdate ...

func (ManagementGroupsClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (ManagementGroupsClient) Delete

Delete ...

func (ManagementGroupsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (ManagementGroupsClient) Get

Get ...

func (ManagementGroupsClient) GetDescendants

GetDescendants ...

func (ManagementGroupsClient) GetDescendantsComplete

GetDescendantsComplete retrieves all the results into a single object

func (ManagementGroupsClient) GetDescendantsCompleteMatchingPredicate

GetDescendantsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ManagementGroupsClient) HierarchySettingsCreateOrUpdate

HierarchySettingsCreateOrUpdate ...

func (ManagementGroupsClient) HierarchySettingsDelete

HierarchySettingsDelete ...

func (ManagementGroupsClient) HierarchySettingsGet

HierarchySettingsGet ...

func (ManagementGroupsClient) HierarchySettingsList

HierarchySettingsList ...

func (ManagementGroupsClient) HierarchySettingsUpdate

HierarchySettingsUpdate ...

func (ManagementGroupsClient) List

List ...

func (ManagementGroupsClient) ListComplete

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

UbscriptionsCreate ...

func (ManagementGroupsClient) UbscriptionsDelete

UbscriptionsDelete ...

func (ManagementGroupsClient) UbscriptionsGetSubscription

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

Update ...

type ParentGroupInfo

type ParentGroupInfo struct {
	DisplayName *string `json:"displayName,omitempty"`
	Id          *string `json:"id,omitempty"`
	Name        *string `json:"name,omitempty"`
}

type PatchManagementGroupRequest

type PatchManagementGroupRequest struct {
	DisplayName   *string `json:"displayName,omitempty"`
	ParentGroupId *string `json:"parentGroupId,omitempty"`
}

type SubscriptionId

type SubscriptionId struct {
	GroupId        string
	SubscriptionId string
}

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

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 Type

type Type string
const (
	TypeMicrosoftPointManagementManagementGroups Type = "Microsoft.Management/managementGroups"
	TypeSubscriptions                            Type = "/subscriptions"
)

func (*Type) UnmarshalJSON added in v0.20230516.1215417

func (s *Type) UnmarshalJSON(bytes []byte) error

type UbscriptionsCreateOperationOptions

type UbscriptionsCreateOperationOptions struct {
	CacheControl *string
}

func DefaultUbscriptionsCreateOperationOptions

func DefaultUbscriptionsCreateOperationOptions() UbscriptionsCreateOperationOptions

func (UbscriptionsCreateOperationOptions) ToHeaders added in v0.20230516.1215417

func (UbscriptionsCreateOperationOptions) ToOData added in v0.20230516.1215417

func (UbscriptionsCreateOperationOptions) ToQuery added in v0.20230516.1215417

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 (UbscriptionsDeleteOperationOptions) ToOData added in v0.20230516.1215417

func (UbscriptionsDeleteOperationOptions) ToQuery added in v0.20230516.1215417

type UbscriptionsDeleteOperationResponse

type UbscriptionsDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type UbscriptionsGetSubscriptionOperationOptions

type UbscriptionsGetSubscriptionOperationOptions struct {
	CacheControl *string
}

func DefaultUbscriptionsGetSubscriptionOperationOptions

func DefaultUbscriptionsGetSubscriptionOperationOptions() UbscriptionsGetSubscriptionOperationOptions

func (UbscriptionsGetSubscriptionOperationOptions) ToHeaders added in v0.20230516.1215417

func (UbscriptionsGetSubscriptionOperationOptions) ToOData added in v0.20230516.1215417

func (UbscriptionsGetSubscriptionOperationOptions) ToQuery added in v0.20230516.1215417

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

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ManagementGroup
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL