managementgroups

package
v18.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package managementgroups implements the Azure ARM Managementgroups service API version 2017-08-31-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/2017-08-31-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/2017-08-31-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
	GroupID uuid.UUID
}

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

func New deprecated

func New(groupID uuid.UUID) BaseClient

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

func NewWithBaseURI deprecated

func NewWithBaseURI(baseURI string, groupID uuid.UUID) BaseClient

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

type ChildInfo deprecated

type ChildInfo struct {
	// ChildType - Possible values include: 'Enrollment', 'Department', 'Account', 'Subscription'
	ChildType ChildType `json:"childType,omitempty"`
	// ChildID - The ID of the child resource (management group or subscription). E.g. /providers/Microsoft.Management/managementGroups/40000000-0000-0000-0000-000000000000
	ChildID *string `json:"childId,omitempty"`
	// DisplayName - The friendly name of the child resource.
	DisplayName *string `json:"displayName,omitempty"`
	// TenantID - (Optional) The AAD Tenant ID associated with the child resource.
	TenantID *uuid.UUID `json:"tenantId,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. ChildInfo the unique identifier (ID) of a management group.

type ChildType deprecated

type ChildType string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. ChildType enumerates the values for child type.

const (
	// Account ...
	Account ChildType = "Account"
	// Department ...
	Department ChildType = "Department"
	// Enrollment ...
	Enrollment ChildType = "Enrollment"
	// Subscription ...
	Subscription ChildType = "Subscription"
)

func PossibleChildTypeValues deprecated

func PossibleChildTypeValues() []ChildType

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. PossibleChildTypeValues returns an array of possible values for the ChildType const type.

type ChildType1 deprecated

type ChildType1 string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. ChildType1 enumerates the values for child type 1.

const (
	// ChildType1Account ...
	ChildType1Account ChildType1 = "Account"
	// ChildType1Department ...
	ChildType1Department ChildType1 = "Department"
	// ChildType1Enrollment ...
	ChildType1Enrollment ChildType1 = "Enrollment"
	// ChildType1Subscription ...
	ChildType1Subscription ChildType1 = "Subscription"
)

func PossibleChildType1Values deprecated

func PossibleChildType1Values() []ChildType1

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. PossibleChildType1Values returns an array of possible values for the ChildType1 const type.

type Client deprecated

type Client struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-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(groupID uuid.UUID) Client

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

func NewClientWithBaseURI deprecated

func NewClientWithBaseURI(baseURI string, groupID uuid.UUID) Client

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

func (Client) Get deprecated

func (client Client) Get(ctx context.Context, expand string, recurse *bool) (result WithHierarchy, err error)

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

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.

func (Client) GetPreparer deprecated

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

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

func (Client) GetResponder deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-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/2017-08-31-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, skiptoken string) (result ListResultPage, err error)

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

skiptoken is page continuation token is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a token parameter that specifies a starting point to use for subsequent calls.

func (Client) ListComplete deprecated

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

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

func (Client) ListPreparer deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-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/2017-08-31-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/2017-08-31-preview/management instead. ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type DetailsProperties deprecated

type DetailsProperties 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"`
	// ManagementGroupType - Possible values include: 'ManagementGroupTypeEnrollment', 'ManagementGroupTypeDepartment', 'ManagementGroupTypeAccount', 'ManagementGroupTypeSubscription'
	ManagementGroupType ManagementGroupType `json:"managementGroupType,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. DetailsProperties the details properties of a 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"`
	// Target - (Optional) The target of the error.
	Target *string `json:"target,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-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/2017-08-31-preview/management instead. ErrorResponse the error object.

type Info deprecated

type Info struct {
	// ID - The ID of the management group. E.g. /providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Type - The type of the resource. E.g. /providers/Microsoft.Management/managementGroups
	Type *string `json:"type,omitempty"`
	// Name - The name of the management group. E.g. 20000000-0000-0000-0000-000000000000
	Name            *uuid.UUID `json:"name,omitempty"`
	*InfoProperties `json:"properties,omitempty"`
}

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

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/2017-08-31-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/2017-08-31-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. E.g. 10000000-0000-0000-0000-000000000000
	TenantID *uuid.UUID `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/2017-08-31-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 the next page of results.
	NextLink *string `json:"nextLink,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. ListResult the result of listing 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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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 {
	// ID - The ID of the management group. E.g. /providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Type - The type of the resource. E.g. /providers/Microsoft.Management/managementGroups
	Type *string `json:"type,omitempty"`
	// Name - The name of the management group. E.g. 20000000-0000-0000-0000-000000000000
	Name        *uuid.UUID `json:"name,omitempty"`
	*Properties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-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/2017-08-31-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/2017-08-31-preview/management instead. UnmarshalJSON is the custom unmarshaler for ManagementGroup struct.

type ManagementGroupType deprecated

type ManagementGroupType string

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. ManagementGroupType enumerates the values for management group type.

const (
	// ManagementGroupTypeAccount ...
	ManagementGroupTypeAccount ManagementGroupType = "Account"
	// ManagementGroupTypeDepartment ...
	ManagementGroupTypeDepartment ManagementGroupType = "Department"
	// ManagementGroupTypeEnrollment ...
	ManagementGroupTypeEnrollment ManagementGroupType = "Enrollment"
	// ManagementGroupTypeSubscription ...
	ManagementGroupTypeSubscription ManagementGroupType = "Subscription"
)

func PossibleManagementGroupTypeValues deprecated

func PossibleManagementGroupTypeValues() []ManagementGroupType

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. PossibleManagementGroupTypeValues returns an array of possible values for the ManagementGroupType const type.

type Operation deprecated

type Operation struct {
	// Name - Operation name: {provider}/{resource}/{operation}.
	Name *string `json:"name,omitempty"`
	// Display - The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. Operation a Management REST API operation.

type OperationDisplay deprecated

type OperationDisplay struct {
	// Provider - Service provider: Microsoft.Management.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed: Invoice, etc.
	Resource *string `json:"resource,omitempty"`
	// Operation - Operation type: Read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. OperationDisplay the object that represents the operation.

type OperationListResult deprecated

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - List of management 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/2017-08-31-preview/management instead. OperationListResult result listing operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty deprecated

func (olr OperationListResult) IsEmpty() bool

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-preview/management instead. Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient deprecated

type OperationsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-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(groupID uuid.UUID) OperationsClient

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

func NewOperationsClientWithBaseURI deprecated

func NewOperationsClientWithBaseURI(baseURI string, groupID uuid.UUID) OperationsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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/2017-08-31-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 {
	// ParentID - The ID of the parent management group. E.g. /providers/Microsoft.Management/managementGroups/30000000-0000-0000-0000-000000000000
	ParentID *string `json:"parentId,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/2017-08-31-preview/management instead. ParentGroupInfo (Optional) The ID of the parent management group.

type Properties deprecated

type Properties struct {
	// TenantID - The AAD Tenant ID associated with the management group. E.g. 10000000-0000-0000-0000-000000000000
	TenantID *uuid.UUID `json:"tenantId,omitempty"`
	// DisplayName - The friendly name of the management group.
	DisplayName *string            `json:"displayName,omitempty"`
	Details     *DetailsProperties `json:"details,omitempty"`
}

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

type PropertiesWithChildren deprecated

type PropertiesWithChildren struct {
	// TenantID - The AAD Tenant ID associated with the management group. E.g. 10000000-0000-0000-0000-000000000000
	TenantID *uuid.UUID `json:"tenantId,omitempty"`
	// DisplayName - The friendly name of the management group.
	DisplayName *string            `json:"displayName,omitempty"`
	Details     *DetailsProperties `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/2017-08-31-preview/management instead. PropertiesWithChildren the generic properties of a management group.

type PropertiesWithHierarchy deprecated

type PropertiesWithHierarchy struct {
	// TenantID - The AAD Tenant ID associated with the management group. E.g. 10000000-0000-0000-0000-000000000000
	TenantID *uuid.UUID `json:"tenantId,omitempty"`
	// DisplayName - The friendly name of the management group.
	DisplayName *string            `json:"displayName,omitempty"`
	Details     *DetailsProperties `json:"details,omitempty"`
	// Children - The list of children.
	Children *[]RecursiveChildInfo `json:"children,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. PropertiesWithHierarchy the generic properties of a management group.

type RecursiveChildInfo deprecated

type RecursiveChildInfo struct {
	// ChildType - Possible values include: 'ChildType1Enrollment', 'ChildType1Department', 'ChildType1Account', 'ChildType1Subscription'
	ChildType ChildType1 `json:"childType,omitempty"`
	// ChildID - The ID of the child resource (management group or subscription). E.g. /providers/Microsoft.Management/managementGroups/40000000-0000-0000-0000-000000000000
	ChildID *string `json:"childId,omitempty"`
	// DisplayName - The friendly name of the child resource.
	DisplayName *string `json:"displayName,omitempty"`
	// TenantID - (Optional) The AAD Tenant ID associated with the child resource.
	TenantID *uuid.UUID `json:"tenantId,omitempty"`
	// Children - The list of children.
	Children *[]RecursiveChildInfo `json:"children,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. RecursiveChildInfo the unique identifier (ID) of a management group.

type WithChildren deprecated

type WithChildren struct {
	// ID - The ID of the management group. E.g. /providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Type - The type of the resource. E.g. /providers/Microsoft.Management/managementGroups
	Type *string `json:"type,omitempty"`
	// Name - The name of the management group. E.g. 20000000-0000-0000-0000-000000000000
	Name                    *uuid.UUID `json:"name,omitempty"`
	*PropertiesWithChildren `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. WithChildren the management group details.

func (WithChildren) MarshalJSON deprecated

func (wc WithChildren) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. MarshalJSON is the custom marshaler for WithChildren.

func (*WithChildren) UnmarshalJSON deprecated

func (wc *WithChildren) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. UnmarshalJSON is the custom unmarshaler for WithChildren struct.

type WithHierarchy deprecated

type WithHierarchy struct {
	autorest.Response `json:"-"`
	// ID - The ID of the management group. E.g. /providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000000
	ID *string `json:"id,omitempty"`
	// Type - The type of the resource. E.g. /providers/Microsoft.Management/managementGroups
	Type *string `json:"type,omitempty"`
	// Name - The name of the management group. E.g. 20000000-0000-0000-0000-000000000000
	Name                     *uuid.UUID `json:"name,omitempty"`
	*PropertiesWithHierarchy `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. WithHierarchy the management group details.

func (WithHierarchy) MarshalJSON deprecated

func (wh WithHierarchy) MarshalJSON() ([]byte, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. MarshalJSON is the custom marshaler for WithHierarchy.

func (*WithHierarchy) UnmarshalJSON deprecated

func (wh *WithHierarchy) UnmarshalJSON(body []byte) error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/resources/mgmt/2017-08-31-preview/management instead. UnmarshalJSON is the custom unmarshaler for WithHierarchy struct.

Jump to

Keyboard shortcuts

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