Versions in this module Expand all Collapse all v1 v1.0.1 Sep 13, 2022 v1.0.0 Sep 12, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type BaseClient struct + BaseURI string + func New() BaseClient + func NewWithBaseURI(baseURI string) BaseClient + func (client BaseClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityRequest CheckNameAvailabilityRequest) (result CheckNameAvailabilityResult, err error) + func (client BaseClient) CheckNameAvailabilityPreparer(ctx context.Context, checkNameAvailabilityRequest CheckNameAvailabilityRequest) (*http.Request, error) + func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error) + func (client BaseClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) + func (client BaseClient) StartTenantBackfill(ctx context.Context) (result TenantBackfillStatusResult, err error) + func (client BaseClient) StartTenantBackfillPreparer(ctx context.Context) (*http.Request, error) + func (client BaseClient) StartTenantBackfillResponder(resp *http.Response) (result TenantBackfillStatusResult, err error) + func (client BaseClient) StartTenantBackfillSender(req *http.Request) (*http.Response, error) + func (client BaseClient) TenantBackfillStatus(ctx context.Context) (result TenantBackfillStatusResult, err error) + func (client BaseClient) TenantBackfillStatusPreparer(ctx context.Context) (*http.Request, error) + func (client BaseClient) TenantBackfillStatusResponder(resp *http.Response) (result TenantBackfillStatusResult, err error) + func (client BaseClient) TenantBackfillStatusSender(req *http.Request) (*http.Response, error) + type CheckNameAvailabilityRequest struct + Name *string + Type Type + type CheckNameAvailabilityResult struct + Message *string + NameAvailable *bool + Reason Reason + func (cnar CheckNameAvailabilityResult) MarshalJSON() ([]byte, error) + type ChildInfo struct + Children *[]ChildInfo + DisplayName *string + ID *string + Name *string + Roles *[]string + Type Type1 + type Client struct + func NewClient() Client + func NewClientWithBaseURI(baseURI string) Client + func (client Client) CreateOrUpdate(ctx context.Context, groupID string, ...) (result CreateOrUpdateFuture, err error) + func (client Client) CreateOrUpdatePreparer(ctx context.Context, groupID string, ...) (*http.Request, error) + func (client Client) CreateOrUpdateResponder(resp *http.Response) (result SetObject, err error) + func (client Client) CreateOrUpdateSender(req *http.Request) (future CreateOrUpdateFuture, err error) + func (client Client) Delete(ctx context.Context, groupID string, cacheControl string) (result DeleteFuture, err error) + func (client Client) DeletePreparer(ctx context.Context, groupID string, cacheControl string) (*http.Request, error) + func (client Client) DeleteResponder(resp *http.Response) (result OperationResults, err error) + func (client Client) DeleteSender(req *http.Request) (future DeleteFuture, err error) + func (client Client) Get(ctx context.Context, groupID string, expand string, recurse *bool, ...) (result ManagementGroup, err error) + func (client Client) GetDescendants(ctx context.Context, groupID string, skiptoken string, top *int32) (result DescendantListResultPage, err error) + func (client Client) GetDescendantsComplete(ctx context.Context, groupID string, skiptoken string, top *int32) (result DescendantListResultIterator, err error) + func (client Client) GetDescendantsPreparer(ctx context.Context, groupID string, skiptoken string, top *int32) (*http.Request, error) + func (client Client) GetDescendantsResponder(resp *http.Response) (result DescendantListResult, err error) + func (client Client) GetDescendantsSender(req *http.Request) (*http.Response, error) + func (client Client) GetPreparer(ctx context.Context, groupID string, expand string, recurse *bool, ...) (*http.Request, error) + func (client Client) GetResponder(resp *http.Response) (result ManagementGroup, err error) + func (client Client) GetSender(req *http.Request) (*http.Response, error) + func (client Client) List(ctx context.Context, cacheControl string, skiptoken string) (result ListResultPage, err error) + func (client Client) ListComplete(ctx context.Context, cacheControl string, skiptoken string) (result ListResultIterator, err error) + func (client Client) ListPreparer(ctx context.Context, cacheControl string, skiptoken string) (*http.Request, error) + func (client Client) ListResponder(resp *http.Response) (result ListResult, err error) + func (client Client) ListSender(req *http.Request) (*http.Response, error) + func (client Client) Update(ctx context.Context, groupID string, ...) (result ManagementGroup, err error) + func (client Client) UpdatePreparer(ctx context.Context, groupID string, ...) (*http.Request, error) + func (client Client) UpdateResponder(resp *http.Response) (result ManagementGroup, err error) + func (client Client) UpdateSender(req *http.Request) (*http.Response, error) + type CreateManagementGroupChildInfo struct + Children *[]CreateManagementGroupChildInfo + DisplayName *string + ID *string + Name *string + Roles *[]string + Type Type2 + func (cmgci CreateManagementGroupChildInfo) MarshalJSON() ([]byte, error) + type CreateManagementGroupDetails struct + Parent *CreateParentGroupInfo + UpdatedBy *string + UpdatedTime *date.Time + Version *float64 + func (cmgd CreateManagementGroupDetails) MarshalJSON() ([]byte, error) + type CreateManagementGroupProperties struct + Children *[]CreateManagementGroupChildInfo + Details *CreateManagementGroupDetails + DisplayName *string + Roles *[]string + TenantID *string + func (cmgp CreateManagementGroupProperties) MarshalJSON() ([]byte, error) + type CreateManagementGroupRequest struct + ID *string + Name *string + Type *string + func (cmgr *CreateManagementGroupRequest) UnmarshalJSON(body []byte) error + func (cmgr CreateManagementGroupRequest) MarshalJSON() ([]byte, error) + type CreateOrUpdateFuture struct + Result func(Client) (SetObject, error) + func (future *CreateOrUpdateFuture) UnmarshalJSON(body []byte) error + type CreateParentGroupInfo struct + DisplayName *string + ID *string + Name *string + func (cpgi CreateParentGroupInfo) MarshalJSON() ([]byte, error) + type DeleteFuture struct + Result func(Client) (OperationResults, error) + func (future *DeleteFuture) UnmarshalJSON(body []byte) error + type DescendantInfo struct + ID *string + Name *string + Type *string + func (di *DescendantInfo) UnmarshalJSON(body []byte) error + func (di DescendantInfo) MarshalJSON() ([]byte, error) + type DescendantInfoProperties struct + DisplayName *string + Parent *DescendantParentGroupInfo + type DescendantListResult struct + NextLink *string + Value *[]DescendantInfo + func (dlr DescendantListResult) IsEmpty() bool + func (dlr DescendantListResult) MarshalJSON() ([]byte, error) + type DescendantListResultIterator struct + func NewDescendantListResultIterator(page DescendantListResultPage) DescendantListResultIterator + func (iter *DescendantListResultIterator) Next() error + func (iter *DescendantListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter DescendantListResultIterator) NotDone() bool + func (iter DescendantListResultIterator) Response() DescendantListResult + func (iter DescendantListResultIterator) Value() DescendantInfo + type DescendantListResultPage struct + func NewDescendantListResultPage(cur DescendantListResult, ...) DescendantListResultPage + func (page *DescendantListResultPage) Next() error + func (page *DescendantListResultPage) NextWithContext(ctx context.Context) (err error) + func (page DescendantListResultPage) NotDone() bool + func (page DescendantListResultPage) Response() DescendantListResult + func (page DescendantListResultPage) Values() []DescendantInfo + type DescendantParentGroupInfo struct + ID *string + type Details struct + Parent *ParentGroupInfo + UpdatedBy *string + UpdatedTime *date.Time + Version *float64 + type EntitiesClient struct + func NewEntitiesClient() EntitiesClient + func NewEntitiesClientWithBaseURI(baseURI string) EntitiesClient + func (client EntitiesClient) List(ctx context.Context, skiptoken string, skip *int32, top *int32, ...) (result EntityListResultPage, err error) + func (client EntitiesClient) ListComplete(ctx context.Context, skiptoken string, skip *int32, top *int32, ...) (result EntityListResultIterator, err error) + func (client EntitiesClient) ListPreparer(ctx context.Context, skiptoken string, skip *int32, top *int32, ...) (*http.Request, error) + func (client EntitiesClient) ListResponder(resp *http.Response) (result EntityListResult, err error) + func (client EntitiesClient) ListSender(req *http.Request) (*http.Response, error) + type EntityHierarchyItem struct + ID *string + Name *string + Type *string + func (ehi *EntityHierarchyItem) UnmarshalJSON(body []byte) error + func (ehi EntityHierarchyItem) MarshalJSON() ([]byte, error) + type EntityHierarchyItemProperties struct + Children *[]EntityHierarchyItem + DisplayName *string + Permissions Permissions1 + type EntityInfo struct + ID *string + Name *string + Type *string + func (ei *EntityInfo) UnmarshalJSON(body []byte) error + func (ei EntityInfo) MarshalJSON() ([]byte, error) + type EntityInfoProperties struct + DisplayName *string + InheritedPermissions InheritedPermissions + NumberOfChildGroups *int32 + NumberOfChildren *int32 + NumberOfDescendants *int32 + Parent *EntityParentGroupInfo + ParentDisplayNameChain *[]string + ParentNameChain *[]string + Permissions Permissions + TenantID *string + type EntityListResult struct + Count *int32 + NextLink *string + Value *[]EntityInfo + func (elr EntityListResult) IsEmpty() bool + func (elr EntityListResult) MarshalJSON() ([]byte, error) + type EntityListResultIterator struct + func NewEntityListResultIterator(page EntityListResultPage) EntityListResultIterator + func (iter *EntityListResultIterator) Next() error + func (iter *EntityListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter EntityListResultIterator) NotDone() bool + func (iter EntityListResultIterator) Response() EntityListResult + func (iter EntityListResultIterator) Value() EntityInfo + type EntityListResultPage struct + func NewEntityListResultPage(cur EntityListResult, ...) EntityListResultPage + func (page *EntityListResultPage) Next() error + func (page *EntityListResultPage) NextWithContext(ctx context.Context) (err error) + func (page EntityListResultPage) NotDone() bool + func (page EntityListResultPage) Response() EntityListResult + func (page EntityListResultPage) Values() []EntityInfo + type EntityParentGroupInfo struct + ID *string + type ErrorDetails struct + Code *string + Details *string + Message *string + type ErrorResponse struct + Error *ErrorDetails + type Info struct + ID *string + Name *string + Type *string + func (i *Info) UnmarshalJSON(body []byte) error + func (i Info) MarshalJSON() ([]byte, error) + type InfoProperties struct + DisplayName *string + TenantID *string + type InheritedPermissions string + const Delete + const Edit + const Noaccess + const View + func PossibleInheritedPermissionsValues() []InheritedPermissions + type ListResult struct + NextLink *string + Value *[]Info + func (lr ListResult) IsEmpty() bool + func (lr ListResult) MarshalJSON() ([]byte, error) + type ListResultIterator struct + func NewListResultIterator(page ListResultPage) ListResultIterator + func (iter *ListResultIterator) Next() error + func (iter *ListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ListResultIterator) NotDone() bool + func (iter ListResultIterator) Response() ListResult + func (iter ListResultIterator) Value() Info + type ListResultPage struct + func NewListResultPage(cur ListResult, ...) ListResultPage + func (page *ListResultPage) Next() error + func (page *ListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ListResultPage) NotDone() bool + func (page ListResultPage) Response() ListResult + func (page ListResultPage) Values() []Info + type ManagementGroup struct + ID *string + Name *string + Type *string + func (mg *ManagementGroup) UnmarshalJSON(body []byte) error + func (mg ManagementGroup) MarshalJSON() ([]byte, error) + type Operation struct + Display *OperationDisplayProperties + Name *string + func (o Operation) MarshalJSON() ([]byte, error) + type OperationDisplayProperties struct + Description *string + Operation *string + Provider *string + Resource *string + func (odp OperationDisplayProperties) MarshalJSON() ([]byte, error) + type OperationListResult struct + NextLink *string + Value *[]Operation + func (olr OperationListResult) IsEmpty() bool + func (olr OperationListResult) MarshalJSON() ([]byte, error) + type OperationListResultIterator struct + func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator + func (iter *OperationListResultIterator) Next() error + func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter OperationListResultIterator) NotDone() bool + func (iter OperationListResultIterator) Response() OperationListResult + func (iter OperationListResultIterator) Value() Operation + type OperationListResultPage struct + func NewOperationListResultPage(cur OperationListResult, ...) OperationListResultPage + func (page *OperationListResultPage) Next() error + func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error) + func (page OperationListResultPage) NotDone() bool + func (page OperationListResultPage) Response() OperationListResult + func (page OperationListResultPage) Values() []Operation + type OperationResults struct + ID *string + Name *string + Status *string + Type *string + func (or OperationResults) MarshalJSON() ([]byte, error) + type OperationsClient struct + func NewOperationsClient() OperationsClient + func NewOperationsClientWithBaseURI(baseURI string) OperationsClient + func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error) + func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error) + func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type ParentGroupInfo struct + DisplayName *string + ID *string + Name *string + type PatchManagementGroupRequest struct + DisplayName *string + ParentID *string + type PathElement struct + DisplayName *string + Name *string + type Permissions string + const PermissionsDelete + const PermissionsEdit + const PermissionsNoaccess + const PermissionsView + func PossiblePermissionsValues() []Permissions + type Permissions1 string + const Permissions1Delete + const Permissions1Edit + const Permissions1Noaccess + const Permissions1View + func PossiblePermissions1Values() []Permissions1 + type Properties struct + Children *[]ChildInfo + Details *Details + DisplayName *string + Path *[]PathElement + Roles *[]string + TenantID *string + type Reason string + const AlreadyExists + const Invalid + func PossibleReasonValues() []Reason + type SetObject struct + Value interface{} + type Status string + const Cancelled + const Completed + const Failed + const NotStarted + const NotStartedButGroupsExist + const Started + func PossibleStatusValues() []Status + type SubscriptionsClient struct + func NewSubscriptionsClient() SubscriptionsClient + func NewSubscriptionsClientWithBaseURI(baseURI string) SubscriptionsClient + func (client SubscriptionsClient) Create(ctx context.Context, groupID string, subscriptionID string, ...) (result autorest.Response, err error) + func (client SubscriptionsClient) CreatePreparer(ctx context.Context, groupID string, subscriptionID string, ...) (*http.Request, error) + func (client SubscriptionsClient) CreateResponder(resp *http.Response) (result autorest.Response, err error) + func (client SubscriptionsClient) CreateSender(req *http.Request) (*http.Response, error) + func (client SubscriptionsClient) Delete(ctx context.Context, groupID string, subscriptionID string, ...) (result autorest.Response, err error) + func (client SubscriptionsClient) DeletePreparer(ctx context.Context, groupID string, subscriptionID string, ...) (*http.Request, error) + func (client SubscriptionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client SubscriptionsClient) DeleteSender(req *http.Request) (*http.Response, error) + type TenantBackfillStatusResult struct + Status Status + TenantID *string + func (tbsr TenantBackfillStatusResult) MarshalJSON() ([]byte, error) + type Type string + const MicrosoftManagementmanagementGroups + func PossibleTypeValues() []Type + type Type1 string + const Type1MicrosoftManagementmanagementGroups + const Type1Subscriptions + func PossibleType1Values() []Type1 + type Type2 string + const Type2MicrosoftManagementmanagementGroups + const Type2Subscriptions + func PossibleType2Values() []Type2