Versions in this module Expand all Collapse all v0 v0.0.1 Nov 7, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type BaseClient struct + BaseURI string + OperationResultID string + Skiptoken string + func New(operationResultID string, skiptoken string) BaseClient + func NewWithBaseURI(baseURI string, operationResultID string, skiptoken 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) + 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(operationResultID string, skiptoken string) Client + func NewClientWithBaseURI(baseURI string, operationResultID string, skiptoken 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) 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) (result ListResultPage, err error) + func (client Client) ListComplete(ctx context.Context, cacheControl string) (result ListResultIterator, err error) + func (client Client) ListPreparer(ctx context.Context, cacheControl 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 Details struct + Parent *ParentGroupInfo + UpdatedBy *string + UpdatedTime *date.Time + Version *float64 + type EntitiesClient struct + func NewEntitiesClient(operationResultID string, skiptoken string) EntitiesClient + func NewEntitiesClientWithBaseURI(baseURI string, operationResultID string, skiptoken string) EntitiesClient + func (client EntitiesClient) List(ctx context.Context, groupName string, cacheControl string) (result EntityListResultPage, err error) + func (client EntitiesClient) ListComplete(ctx context.Context, groupName string, cacheControl string) (result EntityListResultIterator, err error) + func (client EntitiesClient) ListPreparer(ctx context.Context, groupName string, cacheControl string) (*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 + Parent *EntityParentGroupInfo + Permissions Permissions + TenantID *string + type EntityListResult struct + 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 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 + Type *string + func (or *OperationResults) UnmarshalJSON(body []byte) error + func (or OperationResults) MarshalJSON() ([]byte, error) + type OperationResultsProperties struct + ProvisioningState ProvisioningState + type OperationsClient struct + func NewOperationsClient(operationResultID string, skiptoken string) OperationsClient + func NewOperationsClientWithBaseURI(baseURI string, operationResultID string, skiptoken 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 Permissions string + const Delete + const Edit + const Noaccess + const View + 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 + Roles *[]string + TenantID *string + type ProvisioningState string + const Updating + func PossibleProvisioningStateValues() []ProvisioningState + type Reason string + const AlreadyExists + const Invalid + func PossibleReasonValues() []Reason + type SetObject struct + Value interface{} + type SubscriptionsClient struct + func NewSubscriptionsClient(operationResultID string, skiptoken string) SubscriptionsClient + func NewSubscriptionsClientWithBaseURI(baseURI string, operationResultID string, skiptoken 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 Type string + const ProvidersMicrosoftManagementmanagementGroups + func PossibleTypeValues() []Type + type Type1 string + const Type1ProvidersMicrosoftManagementmanagementGroups + const Type1Subscriptions + func PossibleType1Values() []Type1 + type Type2 string + const Type2ProvidersMicrosoftManagementmanagementGroups + const Type2Subscriptions + func PossibleType2Values() []Type2