managementgroups

package
v17.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package managementgroups implements the Azure ARM Managementgroups service API version 2018-01-01-preview.

The Azure Management Groups API enables consolidation of multiple subscriptions/resources into an organizational hierarchy and centrally manage access control, policies, alerting and reporting for those resources.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Managementgroups
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

Copyright (c) Microsoft and contributors. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Code generated by Microsoft (R) AutoRest Code Generator. Changes may cause incorrect behavior and will be lost if the code is regenerated. Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. UserAgent returns the UserAgent string to use when sending http.Requests.

func Version deprecated

func Version() string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient deprecated

type BaseClient struct {
	autorest.Client
	BaseURI           string
	OperationResultID string
	Skiptoken         string
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. BaseClient is the base client for Managementgroups.

func New deprecated

func New(operationResultID string, skiptoken string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. New creates an instance of the BaseClient client.

func NewWithBaseURI deprecated

func NewWithBaseURI(baseURI string, operationResultID string, skiptoken string) BaseClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NewWithBaseURI creates an instance of the BaseClient client.

func (BaseClient) CheckNameAvailability deprecated

func (client BaseClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityRequest CheckNameAvailabilityRequest) (result CheckNameAvailabilityResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CheckNameAvailability checks if the specified management group name is valid and unique

checkNameAvailabilityRequest is management group name availability check parameters.

func (BaseClient) CheckNameAvailabilityPreparer deprecated

func (client BaseClient) CheckNameAvailabilityPreparer(ctx context.Context, checkNameAvailabilityRequest CheckNameAvailabilityRequest) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (BaseClient) CheckNameAvailabilityResponder deprecated

func (client BaseClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (BaseClient) CheckNameAvailabilitySender deprecated

func (client BaseClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

type CheckNameAvailabilityRequest deprecated

type CheckNameAvailabilityRequest struct {
	// Name - the name to check for availability
	Name *string `json:"name,omitempty"`
	// Type - fully qualified resource type which includes provider namespace. Possible values include: 'ProvidersMicrosoftManagementmanagementGroup'
	Type Type `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CheckNameAvailabilityRequest management group name availability check parameters.

type CheckNameAvailabilityResult deprecated

type CheckNameAvailabilityResult struct {
	autorest.Response `json:"-"`
	// NameAvailable - Required. True indicates name is valid and available. False indicates the name is invalid, unavailable, or both.
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - Required if nameAvailable == false. Invalid indicates the name provided does not match the resource provider's naming requirements (incorrect length, unsupported characters, etc.) AlreadyExists indicates that the name is already in use and is therefore unavailable. Possible values include: 'Invalid', 'AlreadyExists'
	Reason Reason `json:"reason,omitempty"`
	// Message - Required if nameAvailable == false. Localized. If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that is already in use, and direct them to select a different name.
	Message *string `json:"message,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CheckNameAvailabilityResult describes the result of the request to check management group name availability.

type ChildInfo deprecated

type ChildInfo struct {
	// Type - The fully qualified resource type which includes provider namespace (e.g. /providers/Microsoft.Management/managementGroups). Possible values include: 'ProvidersMicrosoftManagementmanagementGroups', 'Subscriptions'
	Type Type1 `json:"type,omitempty"`
	// ID - The fully qualified ID for the child resource (management group or subscription).  For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Name - The name of the child entity.
	Name *string `json:"name,omitempty"`
	// DisplayName - The friendly name of the child resource.
	DisplayName *string `json:"displayName,omitempty"`
	// Roles - The roles definitions associated with the management group.
	Roles *[]string `json:"roles,omitempty"`
	// Children - The list of children.
	Children *[]ChildInfo `json:"children,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ChildInfo the child information of a management group.

type Client deprecated

type Client struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Client is the the Azure Management Groups API enables consolidation of multiple subscriptions/resources into an organizational hierarchy and centrally manage access control, policies, alerting and reporting for those resources.

func NewClient deprecated

func NewClient(operationResultID string, skiptoken string) Client

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NewClient creates an instance of the Client client.

func NewClientWithBaseURI deprecated

func NewClientWithBaseURI(baseURI string, operationResultID string, skiptoken string) Client

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NewClientWithBaseURI creates an instance of the Client client.

func (Client) CreateOrUpdate deprecated

func (client Client) CreateOrUpdate(ctx context.Context, groupID string, createManagementGroupRequest CreateManagementGroupRequest, cacheControl string) (result CreateOrUpdateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreateOrUpdate create or update a management group. If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated.

groupID is management Group ID. createManagementGroupRequest is management group creation parameters. cacheControl is indicates that the request shouldn't utilize any caches.

func (Client) CreateOrUpdatePreparer deprecated

func (client Client) CreateOrUpdatePreparer(ctx context.Context, groupID string, createManagementGroupRequest CreateManagementGroupRequest, cacheControl string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (Client) CreateOrUpdateResponder deprecated

func (client Client) CreateOrUpdateResponder(resp *http.Response) (result SetObject, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (Client) CreateOrUpdateSender deprecated

func (client Client) CreateOrUpdateSender(req *http.Request) (future CreateOrUpdateFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (Client) Delete deprecated

func (client Client) Delete(ctx context.Context, groupID string, cacheControl string) (result DeleteFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Delete delete management group. If a management group contains child resources, the request will fail.

groupID is management Group ID. cacheControl is indicates that the request shouldn't utilize any caches.

func (Client) DeletePreparer deprecated

func (client Client) DeletePreparer(ctx context.Context, groupID string, cacheControl string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. DeletePreparer prepares the Delete request.

func (Client) DeleteResponder deprecated

func (client Client) DeleteResponder(resp *http.Response) (result OperationResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (Client) DeleteSender deprecated

func (client Client) DeleteSender(req *http.Request) (future DeleteFuture, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (Client) Get deprecated

func (client Client) Get(ctx context.Context, groupID string, expand string, recurse *bool, filter string, cacheControl string) (result ManagementGroup, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Get get the details of the management group.

groupID is management Group ID. expand is the $expand=children query string parameter allows clients to request inclusion of children in the response payload. recurse is the $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload. Note that $expand=children must be passed up if $recurse is set to true. filter is a filter which allows the exclusion of subscriptions from results (i.e. '$filter=children.childType ne Subscription') cacheControl is indicates that the request shouldn't utilize any caches.

func (Client) GetPreparer deprecated

func (client Client) GetPreparer(ctx context.Context, groupID string, expand string, recurse *bool, filter string, cacheControl string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. GetPreparer prepares the Get request.

func (Client) GetResponder deprecated

func (client Client) GetResponder(resp *http.Response) (result ManagementGroup, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (Client) GetSender deprecated

func (client Client) GetSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (Client) List deprecated

func (client Client) List(ctx context.Context, cacheControl string) (result ListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. List list management groups for the authenticated user.

cacheControl is indicates that the request shouldn't utilize any caches.

func (Client) ListComplete deprecated

func (client Client) ListComplete(ctx context.Context, cacheControl string) (result ListResultIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListComplete enumerates all values, automatically crossing page boundaries as required.

func (Client) ListPreparer deprecated

func (client Client) ListPreparer(ctx context.Context, cacheControl string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListPreparer prepares the List request.

func (Client) ListResponder deprecated

func (client Client) ListResponder(resp *http.Response) (result ListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (Client) ListSender deprecated

func (client Client) ListSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (Client) Update deprecated

func (client Client) Update(ctx context.Context, groupID string, patchGroupRequest PatchManagementGroupRequest, cacheControl string) (result ManagementGroup, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Update update a management group.

groupID is management Group ID. patchGroupRequest is management group patch parameters. cacheControl is indicates that the request shouldn't utilize any caches.

func (Client) UpdatePreparer deprecated

func (client Client) UpdatePreparer(ctx context.Context, groupID string, patchGroupRequest PatchManagementGroupRequest, cacheControl string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. UpdatePreparer prepares the Update request.

func (Client) UpdateResponder deprecated

func (client Client) UpdateResponder(resp *http.Response) (result ManagementGroup, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (Client) UpdateSender deprecated

func (client Client) UpdateSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type CreateManagementGroupChildInfo deprecated

type CreateManagementGroupChildInfo struct {
	// Type - The fully qualified resource type which includes provider namespace (e.g. /providers/Microsoft.Management/managementGroups). Possible values include: 'Type2ProvidersMicrosoftManagementmanagementGroups', 'Type2Subscriptions'
	Type Type2 `json:"type,omitempty"`
	// ID - The fully qualified ID for the child resource (management group or subscription).  For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Name - The name of the child entity.
	Name *string `json:"name,omitempty"`
	// DisplayName - The friendly name of the child resource.
	DisplayName *string `json:"displayName,omitempty"`
	// Roles - The roles definitions associated with the management group.
	Roles *[]string `json:"roles,omitempty"`
	// Children - The list of children.
	Children *[]CreateManagementGroupChildInfo `json:"children,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreateManagementGroupChildInfo the child information of a management group used during creation.

type CreateManagementGroupDetails deprecated

type CreateManagementGroupDetails struct {
	// Version - The version number of the object.
	Version *float64 `json:"version,omitempty"`
	// UpdatedTime - The date and time when this object was last updated.
	UpdatedTime *date.Time `json:"updatedTime,omitempty"`
	// UpdatedBy - The identity of the principal or process that updated the object.
	UpdatedBy *string                `json:"updatedBy,omitempty"`
	Parent    *CreateParentGroupInfo `json:"parent,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreateManagementGroupDetails the details of a management group used during creation.

type CreateManagementGroupProperties deprecated

type CreateManagementGroupProperties struct {
	// TenantID - The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000
	TenantID *string `json:"tenantId,omitempty"`
	// DisplayName - The friendly name of the management group. If no value is passed then this  field will be set to the groupId.
	DisplayName *string `json:"displayName,omitempty"`
	// Roles - The roles definitions associated with the management group.
	Roles   *[]string                     `json:"roles,omitempty"`
	Details *CreateManagementGroupDetails `json:"details,omitempty"`
	// Children - The list of children.
	Children *[]CreateManagementGroupChildInfo `json:"children,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreateManagementGroupProperties the generic properties of a management group used during creation.

type CreateManagementGroupRequest deprecated

type CreateManagementGroupRequest struct {
	// ID - The fully qualified ID for the management group.  For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Type - The type of the resource.  For example, /providers/Microsoft.Management/managementGroups
	Type *string `json:"type,omitempty"`
	// Name - The name of the management group. For example, 00000000-0000-0000-0000-000000000000
	Name                             *string `json:"name,omitempty"`
	*CreateManagementGroupProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreateManagementGroupRequest management group creation parameters.

func (CreateManagementGroupRequest) MarshalJSON deprecated

func (cmgr CreateManagementGroupRequest) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. MarshalJSON is the custom marshaler for CreateManagementGroupRequest.

func (*CreateManagementGroupRequest) UnmarshalJSON deprecated

func (cmgr *CreateManagementGroupRequest) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. UnmarshalJSON is the custom unmarshaler for CreateManagementGroupRequest struct.

type CreateOrUpdateFuture deprecated

type CreateOrUpdateFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (CreateOrUpdateFuture) Result deprecated

func (future CreateOrUpdateFuture) Result(client Client) (so SetObject, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type CreateParentGroupInfo deprecated

type CreateParentGroupInfo struct {
	// ID - The fully qualified ID for the parent management group.  For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Name - The name of the parent management group
	Name *string `json:"name,omitempty"`
	// DisplayName - The friendly name of the parent management group.
	DisplayName *string `json:"displayName,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreateParentGroupInfo (Optional) The ID of the parent management group used during creation.

type DeleteFuture deprecated

type DeleteFuture struct {
	azure.Future
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. DeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (DeleteFuture) Result deprecated

func (future DeleteFuture) Result(client Client) (or OperationResults, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type Details deprecated

type Details struct {
	// Version - The version number of the object.
	Version *float64 `json:"version,omitempty"`
	// UpdatedTime - The date and time when this object was last updated.
	UpdatedTime *date.Time `json:"updatedTime,omitempty"`
	// UpdatedBy - The identity of the principal or process that updated the object.
	UpdatedBy *string          `json:"updatedBy,omitempty"`
	Parent    *ParentGroupInfo `json:"parent,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Details the details of a management group.

type EntitiesClient deprecated

type EntitiesClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. EntitiesClient is the the Azure Management Groups API enables consolidation of multiple subscriptions/resources into an organizational hierarchy and centrally manage access control, policies, alerting and reporting for those resources.

func NewEntitiesClient deprecated

func NewEntitiesClient(operationResultID string, skiptoken string) EntitiesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NewEntitiesClient creates an instance of the EntitiesClient client.

func NewEntitiesClientWithBaseURI deprecated

func NewEntitiesClientWithBaseURI(baseURI string, operationResultID string, skiptoken string) EntitiesClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NewEntitiesClientWithBaseURI creates an instance of the EntitiesClient client.

func (EntitiesClient) List deprecated

func (client EntitiesClient) List(ctx context.Context, groupName string, cacheControl string) (result EntityListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. List list all entities (Management Groups, Subscriptions, etc.) for the authenticated user.

groupName is a filter which allows the call to be filtered for a specific group. cacheControl is indicates that the request shouldn't utilize any caches.

func (EntitiesClient) ListComplete deprecated

func (client EntitiesClient) ListComplete(ctx context.Context, groupName string, cacheControl string) (result EntityListResultIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListComplete enumerates all values, automatically crossing page boundaries as required.

func (EntitiesClient) ListPreparer deprecated

func (client EntitiesClient) ListPreparer(ctx context.Context, groupName string, cacheControl string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListPreparer prepares the List request.

func (EntitiesClient) ListResponder deprecated

func (client EntitiesClient) ListResponder(resp *http.Response) (result EntityListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (EntitiesClient) ListSender deprecated

func (client EntitiesClient) ListSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type EntityHierarchyItem deprecated

type EntityHierarchyItem struct {
	// ID - The fully qualified ID for the management group.  For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Type - The type of the resource.  For example, /providers/Microsoft.Management/managementGroups
	Type *string `json:"type,omitempty"`
	// Name - The name of the management group. For example, 00000000-0000-0000-0000-000000000000
	Name                           *string `json:"name,omitempty"`
	*EntityHierarchyItemProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. EntityHierarchyItem the management group details for the hierarchy view.

func (EntityHierarchyItem) MarshalJSON deprecated

func (ehi EntityHierarchyItem) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. MarshalJSON is the custom marshaler for EntityHierarchyItem.

func (*EntityHierarchyItem) UnmarshalJSON deprecated

func (ehi *EntityHierarchyItem) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. UnmarshalJSON is the custom unmarshaler for EntityHierarchyItem struct.

type EntityHierarchyItemProperties deprecated

type EntityHierarchyItemProperties struct {
	// DisplayName - The friendly name of the management group.
	DisplayName *string `json:"displayName,omitempty"`
	// Permissions - Possible values include: 'Permissions1Noaccess', 'Permissions1View', 'Permissions1Edit', 'Permissions1Delete'
	Permissions Permissions1 `json:"permissions,omitempty"`
	// Children - The list of children.
	Children *[]EntityHierarchyItem `json:"children,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. EntityHierarchyItemProperties the generic properties of a management group.

type EntityInfo deprecated

type EntityInfo struct {
	// ID - The fully qualified ID for the entity.  For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Type - The type of the resource. For example, /providers/Microsoft.Management/managementGroups
	Type *string `json:"type,omitempty"`
	// Name - The name of the entity. For example, 00000000-0000-0000-0000-000000000000
	Name                  *string `json:"name,omitempty"`
	*EntityInfoProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. EntityInfo the entity.

func (EntityInfo) MarshalJSON deprecated

func (ei EntityInfo) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. MarshalJSON is the custom marshaler for EntityInfo.

func (*EntityInfo) UnmarshalJSON deprecated

func (ei *EntityInfo) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. UnmarshalJSON is the custom unmarshaler for EntityInfo struct.

type EntityInfoProperties deprecated

type EntityInfoProperties struct {
	// TenantID - The AAD Tenant ID associated with the entity. For example, 00000000-0000-0000-0000-000000000000
	TenantID *string `json:"tenantId,omitempty"`
	// DisplayName - The friendly name of the management group.
	DisplayName *string                `json:"displayName,omitempty"`
	Parent      *EntityParentGroupInfo `json:"parent,omitempty"`
	// Permissions - Possible values include: 'Noaccess', 'View', 'Edit', 'Delete'
	Permissions Permissions `json:"permissions,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. EntityInfoProperties the generic properties of an entity.

type EntityListResult deprecated

type EntityListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of entities.
	Value *[]EntityInfo `json:"value,omitempty"`
	// NextLink - The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. EntityListResult describes the result of the request to view entities.

func (EntityListResult) IsEmpty deprecated

func (elr EntityListResult) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. IsEmpty returns true if the ListResult contains no values.

type EntityListResultIterator deprecated

type EntityListResultIterator struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. EntityListResultIterator provides access to a complete listing of EntityInfo values.

func (*EntityListResultIterator) Next deprecated

func (iter *EntityListResultIterator) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EntityListResultIterator) NotDone deprecated

func (iter EntityListResultIterator) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (EntityListResultIterator) Response deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Response returns the raw server response from the last page request.

func (EntityListResultIterator) Value deprecated

func (iter EntityListResultIterator) Value() EntityInfo

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EntityListResultPage deprecated

type EntityListResultPage struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. EntityListResultPage contains a page of EntityInfo values.

func (*EntityListResultPage) Next deprecated

func (page *EntityListResultPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EntityListResultPage) NotDone deprecated

func (page EntityListResultPage) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (EntityListResultPage) Response deprecated

func (page EntityListResultPage) Response() EntityListResult

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Response returns the raw server response from the last page request.

func (EntityListResultPage) Values deprecated

func (page EntityListResultPage) Values() []EntityInfo

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Values returns the slice of values for the current page or nil if there are no values.

type EntityParentGroupInfo deprecated

type EntityParentGroupInfo struct {
	// ID - The fully qualified ID for the parent management group.  For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. EntityParentGroupInfo (Optional) The ID of the parent management group.

type ErrorDetails deprecated

type ErrorDetails struct {
	// Code - One of a server-defined set of error codes.
	Code *string `json:"code,omitempty"`
	// Message - A human-readable representation of the error.
	Message *string `json:"message,omitempty"`
	// Details - A human-readable representation of the error's details.
	Details *string `json:"details,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ErrorDetails the details of the error.

type ErrorResponse deprecated

type ErrorResponse struct {
	Error *ErrorDetails `json:"error,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ErrorResponse the error object.

type Info deprecated

type Info struct {
	// ID - The fully qualified ID for the management group.  For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Type - The type of the resource. For example, /providers/Microsoft.Management/managementGroups
	Type *string `json:"type,omitempty"`
	// Name - The name of the management group. For example, 00000000-0000-0000-0000-000000000000
	Name            *string `json:"name,omitempty"`
	*InfoProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Info the management group resource.

func (Info) MarshalJSON deprecated

func (i Info) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. MarshalJSON is the custom marshaler for Info.

func (*Info) UnmarshalJSON deprecated

func (i *Info) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. UnmarshalJSON is the custom unmarshaler for Info struct.

type InfoProperties deprecated

type InfoProperties struct {
	// TenantID - The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000
	TenantID *string `json:"tenantId,omitempty"`
	// DisplayName - The friendly name of the management group.
	DisplayName *string `json:"displayName,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. InfoProperties the generic properties of a management group.

type ListResult deprecated

type ListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of management groups.
	Value *[]Info `json:"value,omitempty"`
	// NextLink - The URL to use for getting the next set of results.
	NextLink *string `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListResult describes the result of the request to list management groups.

func (ListResult) IsEmpty deprecated

func (lr ListResult) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. IsEmpty returns true if the ListResult contains no values.

type ListResultIterator deprecated

type ListResultIterator struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListResultIterator provides access to a complete listing of Info values.

func (*ListResultIterator) Next deprecated

func (iter *ListResultIterator) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListResultIterator) NotDone deprecated

func (iter ListResultIterator) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (ListResultIterator) Response deprecated

func (iter ListResultIterator) Response() ListResult

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Response returns the raw server response from the last page request.

func (ListResultIterator) Value deprecated

func (iter ListResultIterator) Value() Info

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListResultPage deprecated

type ListResultPage struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListResultPage contains a page of Info values.

func (*ListResultPage) Next deprecated

func (page *ListResultPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListResultPage) NotDone deprecated

func (page ListResultPage) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListResultPage) Response deprecated

func (page ListResultPage) Response() ListResult

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Response returns the raw server response from the last page request.

func (ListResultPage) Values deprecated

func (page ListResultPage) Values() []Info

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Values returns the slice of values for the current page or nil if there are no values.

type ManagementGroup deprecated

type ManagementGroup struct {
	autorest.Response `json:"-"`
	// ID - The fully qualified ID for the management group.  For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Type - The type of the resource.  For example, /providers/Microsoft.Management/managementGroups
	Type *string `json:"type,omitempty"`
	// Name - The name of the management group. For example, 00000000-0000-0000-0000-000000000000
	Name        *string `json:"name,omitempty"`
	*Properties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ManagementGroup the management group details.

func (ManagementGroup) MarshalJSON deprecated

func (mg ManagementGroup) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. MarshalJSON is the custom marshaler for ManagementGroup.

func (*ManagementGroup) UnmarshalJSON deprecated

func (mg *ManagementGroup) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. UnmarshalJSON is the custom unmarshaler for ManagementGroup struct.

type Operation deprecated

type Operation struct {
	// Name - Operation name: {provider}/{resource}/{operation}.
	Name    *string                     `json:"name,omitempty"`
	Display *OperationDisplayProperties `json:"display,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Operation operation supported by the Microsoft.Management resource provider.

type OperationDisplayProperties deprecated

type OperationDisplayProperties struct {
	// Provider - The name of the provider.
	Provider *string `json:"provider,omitempty"`
	// Resource - The resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
	// Operation - The operation that can be performed.
	Operation *string `json:"operation,omitempty"`
	// Description - Operation description.
	Description *string `json:"description,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. OperationDisplayProperties the object that represents the operation.

type OperationListResult deprecated

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - List of operations supported by the Microsoft.Management resource provider.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. OperationListResult describes the result of the request to list Microsoft.Management operations.

func (OperationListResult) IsEmpty deprecated

func (olr OperationListResult) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator deprecated

type OperationListResultIterator struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. OperationListResultIterator provides access to a complete listing of Operation values.

func (*OperationListResultIterator) Next deprecated

func (iter *OperationListResultIterator) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone deprecated

func (iter OperationListResultIterator) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage deprecated

type OperationListResultPage struct {
	// contains filtered or unexported fields
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. OperationListResultPage contains a page of Operation values.

func (*OperationListResultPage) Next deprecated

func (page *OperationListResultPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone deprecated

func (page OperationListResultPage) NotDone() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Response returns the raw server response from the last page request.

func (OperationListResultPage) Values deprecated

func (page OperationListResultPage) Values() []Operation

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Values returns the slice of values for the current page or nil if there are no values.

type OperationResults deprecated

type OperationResults struct {
	autorest.Response `json:"-"`
	// ID - The fully qualified ID for the management group.  For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Type - The type of the resource.  For example, /providers/Microsoft.Management/managementGroups
	Type *string `json:"type,omitempty"`
	// Name - The name of the management group. For example, 00000000-0000-0000-0000-000000000000
	Name                        *string `json:"name,omitempty"`
	*OperationResultsProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. OperationResults the results of an asynchronous operation.

func (OperationResults) MarshalJSON deprecated

func (or OperationResults) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. MarshalJSON is the custom marshaler for OperationResults.

func (*OperationResults) UnmarshalJSON deprecated

func (or *OperationResults) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. UnmarshalJSON is the custom unmarshaler for OperationResults struct.

type OperationResultsProperties deprecated

type OperationResultsProperties struct {
	// ProvisioningState - Possible values include: 'Updating'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. OperationResultsProperties ...

type OperationsClient deprecated

type OperationsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. OperationsClient is the the Azure Management Groups API enables consolidation of multiple subscriptions/resources into an organizational hierarchy and centrally manage access control, policies, alerting and reporting for those resources.

func NewOperationsClient deprecated

func NewOperationsClient(operationResultID string, skiptoken string) OperationsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI deprecated

func NewOperationsClientWithBaseURI(baseURI string, operationResultID string, skiptoken string) OperationsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List deprecated

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. List lists all of the available Management REST API operations.

func (OperationsClient) ListComplete deprecated

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer deprecated

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListPreparer prepares the List request.

func (OperationsClient) ListResponder deprecated

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender deprecated

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ParentGroupInfo deprecated

type ParentGroupInfo struct {
	// ID - The fully qualified ID for the parent management group.  For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Name - The name of the parent management group
	Name *string `json:"name,omitempty"`
	// DisplayName - The friendly name of the parent management group.
	DisplayName *string `json:"displayName,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ParentGroupInfo (Optional) The ID of the parent management group.

type PatchManagementGroupRequest deprecated

type PatchManagementGroupRequest struct {
	// DisplayName - The friendly name of the management group.
	DisplayName *string `json:"displayName,omitempty"`
	// ParentID - (Optional) The fully qualified ID for the parent management group.  For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
	ParentID *string `json:"parentId,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. PatchManagementGroupRequest management group patch parameters.

type Permissions deprecated

type Permissions string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Permissions enumerates the values for permissions.

const (
	// Delete ...
	Delete Permissions = "delete"
	// Edit ...
	Edit Permissions = "edit"
	// Noaccess ...
	Noaccess Permissions = "noaccess"
	// View ...
	View Permissions = "view"
)

func PossiblePermissionsValues deprecated

func PossiblePermissionsValues() []Permissions

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. PossiblePermissionsValues returns an array of possible values for the Permissions const type.

type Permissions1 deprecated

type Permissions1 string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Permissions1 enumerates the values for permissions 1.

const (
	// Permissions1Delete ...
	Permissions1Delete Permissions1 = "delete"
	// Permissions1Edit ...
	Permissions1Edit Permissions1 = "edit"
	// Permissions1Noaccess ...
	Permissions1Noaccess Permissions1 = "noaccess"
	// Permissions1View ...
	Permissions1View Permissions1 = "view"
)

func PossiblePermissions1Values deprecated

func PossiblePermissions1Values() []Permissions1

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. PossiblePermissions1Values returns an array of possible values for the Permissions1 const type.

type Properties deprecated

type Properties struct {
	// TenantID - The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000
	TenantID *string `json:"tenantId,omitempty"`
	// DisplayName - The friendly name of the management group.
	DisplayName *string `json:"displayName,omitempty"`
	// Roles - The role definitions associated with the management group.
	Roles   *[]string `json:"roles,omitempty"`
	Details *Details  `json:"details,omitempty"`
	// Children - The list of children.
	Children *[]ChildInfo `json:"children,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Properties the generic properties of a management group.

type ProvisioningState deprecated

type ProvisioningState string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. ProvisioningState enumerates the values for provisioning state.

const (
	// Updating ...
	Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues deprecated

func PossibleProvisioningStateValues() []ProvisioningState

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type Reason deprecated

type Reason string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Reason enumerates the values for reason.

const (
	// AlreadyExists ...
	AlreadyExists Reason = "AlreadyExists"
	// Invalid ...
	Invalid Reason = "Invalid"
)

func PossibleReasonValues deprecated

func PossibleReasonValues() []Reason

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. PossibleReasonValues returns an array of possible values for the Reason const type.

type SetObject deprecated

type SetObject struct {
	autorest.Response `json:"-"`
	Value             interface{} `json:"value,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. SetObject ...

type SubscriptionsClient deprecated

type SubscriptionsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. SubscriptionsClient is the the Azure Management Groups API enables consolidation of multiple subscriptions/resources into an organizational hierarchy and centrally manage access control, policies, alerting and reporting for those resources.

func NewSubscriptionsClient deprecated

func NewSubscriptionsClient(operationResultID string, skiptoken string) SubscriptionsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NewSubscriptionsClient creates an instance of the SubscriptionsClient client.

func NewSubscriptionsClientWithBaseURI deprecated

func NewSubscriptionsClientWithBaseURI(baseURI string, operationResultID string, skiptoken string) SubscriptionsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. NewSubscriptionsClientWithBaseURI creates an instance of the SubscriptionsClient client.

func (SubscriptionsClient) Create deprecated

func (client SubscriptionsClient) Create(ctx context.Context, groupID string, subscriptionID string, cacheControl string) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Create associates existing subscription with the management group.

groupID is management Group ID. subscriptionID is subscription ID. cacheControl is indicates that the request shouldn't utilize any caches.

func (SubscriptionsClient) CreatePreparer deprecated

func (client SubscriptionsClient) CreatePreparer(ctx context.Context, groupID string, subscriptionID string, cacheControl string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreatePreparer prepares the Create request.

func (SubscriptionsClient) CreateResponder deprecated

func (client SubscriptionsClient) CreateResponder(resp *http.Response) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SubscriptionsClient) CreateSender deprecated

func (client SubscriptionsClient) CreateSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SubscriptionsClient) Delete deprecated

func (client SubscriptionsClient) Delete(ctx context.Context, groupID string, subscriptionID string, cacheControl string) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Delete de-associates subscription from the management group.

groupID is management Group ID. subscriptionID is subscription ID. cacheControl is indicates that the request shouldn't utilize any caches.

func (SubscriptionsClient) DeletePreparer deprecated

func (client SubscriptionsClient) DeletePreparer(ctx context.Context, groupID string, subscriptionID string, cacheControl string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. DeletePreparer prepares the Delete request.

func (SubscriptionsClient) DeleteResponder deprecated

func (client SubscriptionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SubscriptionsClient) DeleteSender deprecated

func (client SubscriptionsClient) DeleteSender(req *http.Request) (*http.Response, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

type Type deprecated

type Type string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Type enumerates the values for type.

const (
	// ProvidersMicrosoftManagementmanagementGroup ...
	ProvidersMicrosoftManagementmanagementGroup Type = "/providers/Microsoft.Management/managementGroup"
)

func PossibleTypeValues deprecated

func PossibleTypeValues() []Type

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. PossibleTypeValues returns an array of possible values for the Type const type.

type Type1 deprecated

type Type1 string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Type1 enumerates the values for type 1.

const (
	// ProvidersMicrosoftManagementmanagementGroups ...
	ProvidersMicrosoftManagementmanagementGroups Type1 = "/providers/Microsoft.Management/managementGroups"
	// Subscriptions ...
	Subscriptions Type1 = "/subscriptions"
)

func PossibleType1Values deprecated

func PossibleType1Values() []Type1

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. PossibleType1Values returns an array of possible values for the Type1 const type.

type Type2 deprecated

type Type2 string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. Type2 enumerates the values for type 2.

const (
	// Type2ProvidersMicrosoftManagementmanagementGroups ...
	Type2ProvidersMicrosoftManagementmanagementGroups Type2 = "/providers/Microsoft.Management/managementGroups"
	// Type2Subscriptions ...
	Type2Subscriptions Type2 = "/subscriptions"
)

func PossibleType2Values deprecated

func PossibleType2Values() []Type2

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2018-01-01-preview/management instead. PossibleType2Values returns an array of possible values for the Type2 const type.

Jump to

Keyboard shortcuts

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