authorization

package
v21.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package authorization implements the Azure ARM Authorization service API version .

Role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role definitions and role assignments. A role definition describes the set of actions that can be performed on resources. A role assignment grants access to Azure Active Directory users.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Authorization
	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/authorization/mgmt/2018-01-01-preview/authorization 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/authorization/mgmt/2018-01-01-preview/authorization instead. Version returns the semantic version (see http://semver.org) of the client.

Types

type BaseClient deprecated

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

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

func New deprecated

func New(subscriptionID string) BaseClient

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

func NewWithBaseURI deprecated

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

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

type ClassicAdministrator deprecated

type ClassicAdministrator struct {
	// ID - The ID of the administrator.
	ID *string `json:"id,omitempty"`
	// Name - The name of the administrator.
	Name *string `json:"name,omitempty"`
	// Type - The type of the administrator.
	Type *string `json:"type,omitempty"`
	// ClassicAdministratorProperties - Properties for the classic administrator.
	*ClassicAdministratorProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ClassicAdministrator classic Administrators

func (ClassicAdministrator) MarshalJSON deprecated

func (ca ClassicAdministrator) MarshalJSON() ([]byte, error)

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

func (*ClassicAdministrator) UnmarshalJSON deprecated

func (ca *ClassicAdministrator) UnmarshalJSON(body []byte) error

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

type ClassicAdministratorListResult deprecated

type ClassicAdministratorListResult struct {
	autorest.Response `json:"-"`
	// Value - An array of administrators.
	Value *[]ClassicAdministrator `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/authorization/mgmt/2018-01-01-preview/authorization instead. ClassicAdministratorListResult classicAdministrator list result information.

func (ClassicAdministratorListResult) IsEmpty deprecated

func (calr ClassicAdministratorListResult) IsEmpty() bool

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

type ClassicAdministratorListResultIterator deprecated

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

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

func (*ClassicAdministratorListResultIterator) Next deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization 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 (ClassicAdministratorListResultIterator) NotDone deprecated

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

func (ClassicAdministratorListResultIterator) Response deprecated

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

func (ClassicAdministratorListResultIterator) Value deprecated

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

type ClassicAdministratorListResultPage deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ClassicAdministratorListResultPage contains a page of ClassicAdministrator values.

func (*ClassicAdministratorListResultPage) Next deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization 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 (ClassicAdministratorListResultPage) NotDone deprecated

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

func (ClassicAdministratorListResultPage) Response deprecated

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

func (ClassicAdministratorListResultPage) Values deprecated

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

type ClassicAdministratorProperties deprecated

type ClassicAdministratorProperties struct {
	// EmailAddress - The email address of the administrator.
	EmailAddress *string `json:"emailAddress,omitempty"`
	// Role - The role of the administrator.
	Role *string `json:"role,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ClassicAdministratorProperties classic Administrator properties.

type ClassicAdministratorsClient deprecated

type ClassicAdministratorsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ClassicAdministratorsClient is the role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role definitions and role assignments. A role definition describes the set of actions that can be performed on resources. A role assignment grants access to Azure Active Directory users.

func NewClassicAdministratorsClient deprecated

func NewClassicAdministratorsClient(subscriptionID string) ClassicAdministratorsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. NewClassicAdministratorsClient creates an instance of the ClassicAdministratorsClient client.

func NewClassicAdministratorsClientWithBaseURI deprecated

func NewClassicAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ClassicAdministratorsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. NewClassicAdministratorsClientWithBaseURI creates an instance of the ClassicAdministratorsClient client.

func (ClassicAdministratorsClient) List deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. List gets service administrator, account administrator, and co-administrators for the subscription.

func (ClassicAdministratorsClient) ListComplete deprecated

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

func (ClassicAdministratorsClient) ListPreparer deprecated

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

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

func (ClassicAdministratorsClient) ListResponder deprecated

func (client ClassicAdministratorsClient) ListResponder(resp *http.Response) (result ClassicAdministratorListResult, err error)

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

func (ClassicAdministratorsClient) ListSender deprecated

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

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

type Permission deprecated

type Permission struct {
	// Actions - Allowed actions.
	Actions *[]string `json:"actions,omitempty"`
	// NotActions - Denied actions.
	NotActions *[]string `json:"notActions,omitempty"`
	// DataActions - Allowed Data actions.
	DataActions *[]string `json:"dataActions,omitempty"`
	// NotDataActions - Denied Data actions.
	NotDataActions *[]string `json:"notDataActions,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. Permission role definition permissions.

type PermissionGetResult deprecated

type PermissionGetResult struct {
	autorest.Response `json:"-"`
	// Value - An array of permissions.
	Value *[]Permission `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/authorization/mgmt/2018-01-01-preview/authorization instead. PermissionGetResult permissions information.

func (PermissionGetResult) IsEmpty deprecated

func (pgr PermissionGetResult) IsEmpty() bool

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

type PermissionGetResultIterator deprecated

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

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

func (*PermissionGetResultIterator) Next deprecated

func (iter *PermissionGetResultIterator) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization 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 (PermissionGetResultIterator) NotDone deprecated

func (iter PermissionGetResultIterator) NotDone() bool

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

func (PermissionGetResultIterator) Response deprecated

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

func (PermissionGetResultIterator) Value deprecated

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

type PermissionGetResultPage deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. PermissionGetResultPage contains a page of Permission values.

func (*PermissionGetResultPage) Next deprecated

func (page *PermissionGetResultPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization 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 (PermissionGetResultPage) NotDone deprecated

func (page PermissionGetResultPage) NotDone() bool

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

func (PermissionGetResultPage) Response deprecated

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

func (PermissionGetResultPage) Values deprecated

func (page PermissionGetResultPage) Values() []Permission

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

type PermissionsClient deprecated

type PermissionsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. PermissionsClient is the role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role definitions and role assignments. A role definition describes the set of actions that can be performed on resources. A role assignment grants access to Azure Active Directory users.

func NewPermissionsClient deprecated

func NewPermissionsClient(subscriptionID string) PermissionsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. NewPermissionsClient creates an instance of the PermissionsClient client.

func NewPermissionsClientWithBaseURI deprecated

func NewPermissionsClientWithBaseURI(baseURI string, subscriptionID string) PermissionsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. NewPermissionsClientWithBaseURI creates an instance of the PermissionsClient client.

func (PermissionsClient) ListForResource deprecated

func (client PermissionsClient) ListForResource(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result PermissionGetResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ListForResource gets all permissions the caller has for a resource.

resourceGroupName is the name of the resource group. resourceProviderNamespace is the namespace of the resource provider. parentResourcePath is the parent resource identity. resourceType is the resource type of the resource. resourceName is the name of the resource to get the permissions for.

func (PermissionsClient) ListForResourceComplete deprecated

func (client PermissionsClient) ListForResourceComplete(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (result PermissionGetResultIterator, err error)

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

func (PermissionsClient) ListForResourceGroup deprecated

func (client PermissionsClient) ListForResourceGroup(ctx context.Context, resourceGroupName string) (result PermissionGetResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ListForResourceGroup gets all permissions the caller has for a resource group.

resourceGroupName is the name of the resource group.

func (PermissionsClient) ListForResourceGroupComplete deprecated

func (client PermissionsClient) ListForResourceGroupComplete(ctx context.Context, resourceGroupName string) (result PermissionGetResultIterator, err error)

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

func (PermissionsClient) ListForResourceGroupPreparer deprecated

func (client PermissionsClient) ListForResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ListForResourceGroupPreparer prepares the ListForResourceGroup request.

func (PermissionsClient) ListForResourceGroupResponder deprecated

func (client PermissionsClient) ListForResourceGroupResponder(resp *http.Response) (result PermissionGetResult, err error)

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

func (PermissionsClient) ListForResourceGroupSender deprecated

func (client PermissionsClient) ListForResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (PermissionsClient) ListForResourcePreparer deprecated

func (client PermissionsClient) ListForResourcePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ListForResourcePreparer prepares the ListForResource request.

func (PermissionsClient) ListForResourceResponder deprecated

func (client PermissionsClient) ListForResourceResponder(resp *http.Response) (result PermissionGetResult, err error)

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

func (PermissionsClient) ListForResourceSender deprecated

func (client PermissionsClient) ListForResourceSender(req *http.Request) (*http.Response, error)

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

type ProviderOperation deprecated

type ProviderOperation struct {
	// Name - The operation name.
	Name *string `json:"name,omitempty"`
	// DisplayName - The operation display name.
	DisplayName *string `json:"displayName,omitempty"`
	// Description - The operation description.
	Description *string `json:"description,omitempty"`
	// Origin - The operation origin.
	Origin *string `json:"origin,omitempty"`
	// Properties - The operation properties.
	Properties interface{} `json:"properties,omitempty"`
	// IsDataAction - The dataAction flag to specify the operation type.
	IsDataAction *bool `json:"isDataAction,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ProviderOperation operation

type ProviderOperationsMetadata deprecated

type ProviderOperationsMetadata struct {
	autorest.Response `json:"-"`
	// ID - The provider id.
	ID *string `json:"id,omitempty"`
	// Name - The provider name.
	Name *string `json:"name,omitempty"`
	// Type - The provider type.
	Type *string `json:"type,omitempty"`
	// DisplayName - The provider display name.
	DisplayName *string `json:"displayName,omitempty"`
	// ResourceTypes - The provider resource types
	ResourceTypes *[]ResourceType `json:"resourceTypes,omitempty"`
	// Operations - The provider operations.
	Operations *[]ProviderOperation `json:"operations,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ProviderOperationsMetadata provider Operations metadata

type ProviderOperationsMetadataClient deprecated

type ProviderOperationsMetadataClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ProviderOperationsMetadataClient is the role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role definitions and role assignments. A role definition describes the set of actions that can be performed on resources. A role assignment grants access to Azure Active Directory users.

func NewProviderOperationsMetadataClient deprecated

func NewProviderOperationsMetadataClient(subscriptionID string) ProviderOperationsMetadataClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. NewProviderOperationsMetadataClient creates an instance of the ProviderOperationsMetadataClient client.

func NewProviderOperationsMetadataClientWithBaseURI deprecated

func NewProviderOperationsMetadataClientWithBaseURI(baseURI string, subscriptionID string) ProviderOperationsMetadataClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. NewProviderOperationsMetadataClientWithBaseURI creates an instance of the ProviderOperationsMetadataClient client.

func (ProviderOperationsMetadataClient) Get deprecated

func (client ProviderOperationsMetadataClient) Get(ctx context.Context, resourceProviderNamespace string, expand string) (result ProviderOperationsMetadata, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. Get gets provider operations metadata for the specified resource provider.

resourceProviderNamespace is the namespace of the resource provider. expand is specifies whether to expand the values.

func (ProviderOperationsMetadataClient) GetPreparer deprecated

func (client ProviderOperationsMetadataClient) GetPreparer(ctx context.Context, resourceProviderNamespace string, expand string) (*http.Request, error)

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

func (ProviderOperationsMetadataClient) GetResponder deprecated

func (client ProviderOperationsMetadataClient) GetResponder(resp *http.Response) (result ProviderOperationsMetadata, err error)

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

func (ProviderOperationsMetadataClient) GetSender deprecated

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

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

func (ProviderOperationsMetadataClient) List deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. List gets provider operations metadata for all resource providers.

expand is specifies whether to expand the values.

func (ProviderOperationsMetadataClient) ListComplete deprecated

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

func (ProviderOperationsMetadataClient) ListPreparer deprecated

func (client ProviderOperationsMetadataClient) ListPreparer(ctx context.Context, expand string) (*http.Request, error)

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

func (ProviderOperationsMetadataClient) ListResponder deprecated

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

func (ProviderOperationsMetadataClient) ListSender deprecated

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

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

type ProviderOperationsMetadataListResult deprecated

type ProviderOperationsMetadataListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of providers.
	Value *[]ProviderOperationsMetadata `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/authorization/mgmt/2018-01-01-preview/authorization instead. ProviderOperationsMetadataListResult provider operations metadata list

func (ProviderOperationsMetadataListResult) IsEmpty deprecated

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

type ProviderOperationsMetadataListResultIterator deprecated

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

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

func (*ProviderOperationsMetadataListResultIterator) Next deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization 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 (ProviderOperationsMetadataListResultIterator) NotDone deprecated

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

func (ProviderOperationsMetadataListResultIterator) Response deprecated

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

func (ProviderOperationsMetadataListResultIterator) Value deprecated

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

type ProviderOperationsMetadataListResultPage deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ProviderOperationsMetadataListResultPage contains a page of ProviderOperationsMetadata values.

func (*ProviderOperationsMetadataListResultPage) Next deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization 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 (ProviderOperationsMetadataListResultPage) NotDone deprecated

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

func (ProviderOperationsMetadataListResultPage) Response deprecated

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

func (ProviderOperationsMetadataListResultPage) Values deprecated

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

type ResourceType deprecated

type ResourceType struct {
	// Name - The resource type name.
	Name *string `json:"name,omitempty"`
	// DisplayName - The resource type display name.
	DisplayName *string `json:"displayName,omitempty"`
	// Operations - The resource type operations.
	Operations *[]ProviderOperation `json:"operations,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ResourceType resource Type

type RoleAssignment deprecated

type RoleAssignment struct {
	autorest.Response `json:"-"`
	// ID - The role assignment ID.
	ID *string `json:"id,omitempty"`
	// Name - The role assignment name.
	Name *string `json:"name,omitempty"`
	// Type - The role assignment type.
	Type *string `json:"type,omitempty"`
	// RoleAssignmentPropertiesWithScope - Role assignment properties.
	*RoleAssignmentPropertiesWithScope `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. RoleAssignment role Assignments

func (RoleAssignment) MarshalJSON deprecated

func (ra RoleAssignment) MarshalJSON() ([]byte, error)

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

func (*RoleAssignment) UnmarshalJSON deprecated

func (ra *RoleAssignment) UnmarshalJSON(body []byte) error

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

type RoleAssignmentCreateParameters deprecated

type RoleAssignmentCreateParameters struct {
	// RoleAssignmentProperties - Role assignment properties.
	*RoleAssignmentProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. RoleAssignmentCreateParameters role assignment create parameters.

func (RoleAssignmentCreateParameters) MarshalJSON deprecated

func (racp RoleAssignmentCreateParameters) MarshalJSON() ([]byte, error)

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

func (*RoleAssignmentCreateParameters) UnmarshalJSON deprecated

func (racp *RoleAssignmentCreateParameters) UnmarshalJSON(body []byte) error

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

type RoleAssignmentFilter deprecated

type RoleAssignmentFilter struct {
	// PrincipalID - Returns role assignment of the specific principal.
	PrincipalID *string `json:"principalId,omitempty"`
	// CanDelegate - The Delegation flag for the roleassignment
	CanDelegate *bool `json:"canDelegate,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. RoleAssignmentFilter role Assignments filter

type RoleAssignmentListResult deprecated

type RoleAssignmentListResult struct {
	autorest.Response `json:"-"`
	// Value - Role assignment list.
	Value *[]RoleAssignment `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/authorization/mgmt/2018-01-01-preview/authorization instead. RoleAssignmentListResult role assignment list operation result.

func (RoleAssignmentListResult) IsEmpty deprecated

func (ralr RoleAssignmentListResult) IsEmpty() bool

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

type RoleAssignmentListResultIterator deprecated

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

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

func (*RoleAssignmentListResultIterator) Next deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization 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 (RoleAssignmentListResultIterator) NotDone deprecated

func (iter RoleAssignmentListResultIterator) NotDone() bool

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

func (RoleAssignmentListResultIterator) Response deprecated

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

func (RoleAssignmentListResultIterator) Value deprecated

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

type RoleAssignmentListResultPage deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. RoleAssignmentListResultPage contains a page of RoleAssignment values.

func (*RoleAssignmentListResultPage) Next deprecated

func (page *RoleAssignmentListResultPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization 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 (RoleAssignmentListResultPage) NotDone deprecated

func (page RoleAssignmentListResultPage) NotDone() bool

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

func (RoleAssignmentListResultPage) Response deprecated

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

func (RoleAssignmentListResultPage) Values deprecated

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

type RoleAssignmentProperties deprecated

type RoleAssignmentProperties struct {
	// RoleDefinitionID - The role definition ID used in the role assignment.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`
	// PrincipalID - The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group.
	PrincipalID *string `json:"principalId,omitempty"`
	// CanDelegate - The delgation flag used for creating a role assignment
	CanDelegate *bool `json:"canDelegate,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. RoleAssignmentProperties role assignment properties.

type RoleAssignmentPropertiesWithScope deprecated

type RoleAssignmentPropertiesWithScope struct {
	// Scope - The role assignment scope.
	Scope *string `json:"scope,omitempty"`
	// RoleDefinitionID - The role definition ID.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`
	// PrincipalID - The principal ID.
	PrincipalID *string `json:"principalId,omitempty"`
	// CanDelegate - The Delegation flag for the roleassignment
	CanDelegate *bool `json:"canDelegate,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. RoleAssignmentPropertiesWithScope role assignment properties with scope.

type RoleAssignmentsClient deprecated

type RoleAssignmentsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. RoleAssignmentsClient is the role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role definitions and role assignments. A role definition describes the set of actions that can be performed on resources. A role assignment grants access to Azure Active Directory users.

func NewRoleAssignmentsClient deprecated

func NewRoleAssignmentsClient(subscriptionID string) RoleAssignmentsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. NewRoleAssignmentsClient creates an instance of the RoleAssignmentsClient client.

func NewRoleAssignmentsClientWithBaseURI deprecated

func NewRoleAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) RoleAssignmentsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. NewRoleAssignmentsClientWithBaseURI creates an instance of the RoleAssignmentsClient client.

func (RoleAssignmentsClient) Create deprecated

func (client RoleAssignmentsClient) Create(ctx context.Context, scope string, roleAssignmentName string, parameters RoleAssignmentCreateParameters) (result RoleAssignment, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. Create creates a role assignment.

scope is the scope of the role assignment to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource. roleAssignmentName is the name of the role assignment to create. It can be any valid GUID. parameters is parameters for the role assignment.

func (RoleAssignmentsClient) CreateByID deprecated

func (client RoleAssignmentsClient) CreateByID(ctx context.Context, roleID string, parameters RoleAssignmentCreateParameters) (result RoleAssignment, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. CreateByID creates a role assignment by ID.

roleID is the ID of the role assignment to create. parameters is parameters for the role assignment.

func (RoleAssignmentsClient) CreateByIDPreparer deprecated

func (client RoleAssignmentsClient) CreateByIDPreparer(ctx context.Context, roleID string, parameters RoleAssignmentCreateParameters) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. CreateByIDPreparer prepares the CreateByID request.

func (RoleAssignmentsClient) CreateByIDResponder deprecated

func (client RoleAssignmentsClient) CreateByIDResponder(resp *http.Response) (result RoleAssignment, err error)

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

func (RoleAssignmentsClient) CreateByIDSender deprecated

func (client RoleAssignmentsClient) CreateByIDSender(req *http.Request) (*http.Response, error)

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

func (RoleAssignmentsClient) CreatePreparer deprecated

func (client RoleAssignmentsClient) CreatePreparer(ctx context.Context, scope string, roleAssignmentName string, parameters RoleAssignmentCreateParameters) (*http.Request, error)

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

func (RoleAssignmentsClient) CreateResponder deprecated

func (client RoleAssignmentsClient) CreateResponder(resp *http.Response) (result RoleAssignment, err error)

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

func (RoleAssignmentsClient) CreateSender deprecated

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

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

func (RoleAssignmentsClient) Delete deprecated

func (client RoleAssignmentsClient) Delete(ctx context.Context, scope string, roleAssignmentName string) (result RoleAssignment, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. Delete deletes a role assignment.

scope is the scope of the role assignment to delete. roleAssignmentName is the name of the role assignment to delete.

func (RoleAssignmentsClient) DeleteByID deprecated

func (client RoleAssignmentsClient) DeleteByID(ctx context.Context, roleID string) (result RoleAssignment, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. DeleteByID deletes a role assignment.

roleID is the ID of the role assignment to delete.

func (RoleAssignmentsClient) DeleteByIDPreparer deprecated

func (client RoleAssignmentsClient) DeleteByIDPreparer(ctx context.Context, roleID string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. DeleteByIDPreparer prepares the DeleteByID request.

func (RoleAssignmentsClient) DeleteByIDResponder deprecated

func (client RoleAssignmentsClient) DeleteByIDResponder(resp *http.Response) (result RoleAssignment, err error)

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

func (RoleAssignmentsClient) DeleteByIDSender deprecated

func (client RoleAssignmentsClient) DeleteByIDSender(req *http.Request) (*http.Response, error)

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

func (RoleAssignmentsClient) DeletePreparer deprecated

func (client RoleAssignmentsClient) DeletePreparer(ctx context.Context, scope string, roleAssignmentName string) (*http.Request, error)

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

func (RoleAssignmentsClient) DeleteResponder deprecated

func (client RoleAssignmentsClient) DeleteResponder(resp *http.Response) (result RoleAssignment, err error)

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

func (RoleAssignmentsClient) DeleteSender deprecated

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

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

func (RoleAssignmentsClient) Get deprecated

func (client RoleAssignmentsClient) Get(ctx context.Context, scope string, roleAssignmentName string) (result RoleAssignment, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. Get get the specified role assignment.

scope is the scope of the role assignment. roleAssignmentName is the name of the role assignment to get.

func (RoleAssignmentsClient) GetByID deprecated

func (client RoleAssignmentsClient) GetByID(ctx context.Context, roleID string) (result RoleAssignment, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. GetByID gets a role assignment by ID.

roleID is the ID of the role assignment to get.

func (RoleAssignmentsClient) GetByIDPreparer deprecated

func (client RoleAssignmentsClient) GetByIDPreparer(ctx context.Context, roleID string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. GetByIDPreparer prepares the GetByID request.

func (RoleAssignmentsClient) GetByIDResponder deprecated

func (client RoleAssignmentsClient) GetByIDResponder(resp *http.Response) (result RoleAssignment, err error)

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

func (RoleAssignmentsClient) GetByIDSender deprecated

func (client RoleAssignmentsClient) GetByIDSender(req *http.Request) (*http.Response, error)

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

func (RoleAssignmentsClient) GetPreparer deprecated

func (client RoleAssignmentsClient) GetPreparer(ctx context.Context, scope string, roleAssignmentName string) (*http.Request, error)

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

func (RoleAssignmentsClient) GetResponder deprecated

func (client RoleAssignmentsClient) GetResponder(resp *http.Response) (result RoleAssignment, err error)

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

func (RoleAssignmentsClient) GetSender deprecated

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

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

func (RoleAssignmentsClient) List deprecated

func (client RoleAssignmentsClient) List(ctx context.Context, filter string) (result RoleAssignmentListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. List gets all role assignments for the subscription.

filter is the filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.

func (RoleAssignmentsClient) ListComplete deprecated

func (client RoleAssignmentsClient) ListComplete(ctx context.Context, filter string) (result RoleAssignmentListResultIterator, err error)

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

func (RoleAssignmentsClient) ListForResource deprecated

func (client RoleAssignmentsClient) ListForResource(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, filter string) (result RoleAssignmentListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ListForResource gets role assignments for a resource.

resourceGroupName is the name of the resource group. resourceProviderNamespace is the namespace of the resource provider. parentResourcePath is the parent resource identity. resourceType is the resource type of the resource. resourceName is the name of the resource to get role assignments for. filter is the filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.

func (RoleAssignmentsClient) ListForResourceComplete deprecated

func (client RoleAssignmentsClient) ListForResourceComplete(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, filter string) (result RoleAssignmentListResultIterator, err error)

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

func (RoleAssignmentsClient) ListForResourceGroup deprecated

func (client RoleAssignmentsClient) ListForResourceGroup(ctx context.Context, resourceGroupName string, filter string) (result RoleAssignmentListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ListForResourceGroup gets role assignments for a resource group.

resourceGroupName is the name of the resource group. filter is the filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.

func (RoleAssignmentsClient) ListForResourceGroupComplete deprecated

func (client RoleAssignmentsClient) ListForResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string) (result RoleAssignmentListResultIterator, err error)

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

func (RoleAssignmentsClient) ListForResourceGroupPreparer deprecated

func (client RoleAssignmentsClient) ListForResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ListForResourceGroupPreparer prepares the ListForResourceGroup request.

func (RoleAssignmentsClient) ListForResourceGroupResponder deprecated

func (client RoleAssignmentsClient) ListForResourceGroupResponder(resp *http.Response) (result RoleAssignmentListResult, err error)

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

func (RoleAssignmentsClient) ListForResourceGroupSender deprecated

func (client RoleAssignmentsClient) ListForResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (RoleAssignmentsClient) ListForResourcePreparer deprecated

func (client RoleAssignmentsClient) ListForResourcePreparer(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, filter string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ListForResourcePreparer prepares the ListForResource request.

func (RoleAssignmentsClient) ListForResourceResponder deprecated

func (client RoleAssignmentsClient) ListForResourceResponder(resp *http.Response) (result RoleAssignmentListResult, err error)

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

func (RoleAssignmentsClient) ListForResourceSender deprecated

func (client RoleAssignmentsClient) ListForResourceSender(req *http.Request) (*http.Response, error)

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

func (RoleAssignmentsClient) ListForScope deprecated

func (client RoleAssignmentsClient) ListForScope(ctx context.Context, scope string, filter string) (result RoleAssignmentListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ListForScope gets role assignments for a scope.

scope is the scope of the role assignments. filter is the filter to apply on the operation. Use $filter=atScope() to return all role assignments at or above the scope. Use $filter=principalId eq {id} to return all role assignments at, above or below the scope for the specified principal.

func (RoleAssignmentsClient) ListForScopeComplete deprecated

func (client RoleAssignmentsClient) ListForScopeComplete(ctx context.Context, scope string, filter string) (result RoleAssignmentListResultIterator, err error)

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

func (RoleAssignmentsClient) ListForScopePreparer deprecated

func (client RoleAssignmentsClient) ListForScopePreparer(ctx context.Context, scope string, filter string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. ListForScopePreparer prepares the ListForScope request.

func (RoleAssignmentsClient) ListForScopeResponder deprecated

func (client RoleAssignmentsClient) ListForScopeResponder(resp *http.Response) (result RoleAssignmentListResult, err error)

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

func (RoleAssignmentsClient) ListForScopeSender deprecated

func (client RoleAssignmentsClient) ListForScopeSender(req *http.Request) (*http.Response, error)

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

func (RoleAssignmentsClient) ListPreparer deprecated

func (client RoleAssignmentsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)

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

func (RoleAssignmentsClient) ListResponder deprecated

func (client RoleAssignmentsClient) ListResponder(resp *http.Response) (result RoleAssignmentListResult, err error)

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

func (RoleAssignmentsClient) ListSender deprecated

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

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

type RoleDefinition deprecated

type RoleDefinition struct {
	autorest.Response `json:"-"`
	// ID - The role definition ID.
	ID *string `json:"id,omitempty"`
	// Name - The role definition name.
	Name *string `json:"name,omitempty"`
	// Type - The role definition type.
	Type *string `json:"type,omitempty"`
	// RoleDefinitionProperties - Role definition properties.
	*RoleDefinitionProperties `json:"properties,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. RoleDefinition role definition.

func (RoleDefinition) MarshalJSON deprecated

func (rd RoleDefinition) MarshalJSON() ([]byte, error)

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

func (*RoleDefinition) UnmarshalJSON deprecated

func (rd *RoleDefinition) UnmarshalJSON(body []byte) error

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

type RoleDefinitionFilter deprecated

type RoleDefinitionFilter struct {
	// RoleName - Returns role definition with the specific name.
	RoleName *string `json:"roleName,omitempty"`
	// Type - Returns role definition with the specific type.
	Type *string `json:"type,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. RoleDefinitionFilter role Definitions filter

type RoleDefinitionListResult deprecated

type RoleDefinitionListResult struct {
	autorest.Response `json:"-"`
	// Value - Role definition list.
	Value *[]RoleDefinition `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/authorization/mgmt/2018-01-01-preview/authorization instead. RoleDefinitionListResult role definition list operation result.

func (RoleDefinitionListResult) IsEmpty deprecated

func (rdlr RoleDefinitionListResult) IsEmpty() bool

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

type RoleDefinitionListResultIterator deprecated

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

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

func (*RoleDefinitionListResultIterator) Next deprecated

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization 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 (RoleDefinitionListResultIterator) NotDone deprecated

func (iter RoleDefinitionListResultIterator) NotDone() bool

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

func (RoleDefinitionListResultIterator) Response deprecated

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

func (RoleDefinitionListResultIterator) Value deprecated

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

type RoleDefinitionListResultPage deprecated

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

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. RoleDefinitionListResultPage contains a page of RoleDefinition values.

func (*RoleDefinitionListResultPage) Next deprecated

func (page *RoleDefinitionListResultPage) Next() error

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization 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 (RoleDefinitionListResultPage) NotDone deprecated

func (page RoleDefinitionListResultPage) NotDone() bool

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

func (RoleDefinitionListResultPage) Response deprecated

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

func (RoleDefinitionListResultPage) Values deprecated

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

type RoleDefinitionProperties deprecated

type RoleDefinitionProperties struct {
	// RoleName - The role name.
	RoleName *string `json:"roleName,omitempty"`
	// Description - The role definition description.
	Description *string `json:"description,omitempty"`
	// RoleType - The role type.
	RoleType *string `json:"type,omitempty"`
	// Permissions - Role definition permissions.
	Permissions *[]Permission `json:"permissions,omitempty"`
	// AssignableScopes - Role definition assignable scopes.
	AssignableScopes *[]string `json:"assignableScopes,omitempty"`
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. RoleDefinitionProperties role definition properties.

type RoleDefinitionsClient deprecated

type RoleDefinitionsClient struct {
	BaseClient
}

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. RoleDefinitionsClient is the role based access control provides you a way to apply granular level policy administration down to individual resources or resource groups. These operations enable you to manage role definitions and role assignments. A role definition describes the set of actions that can be performed on resources. A role assignment grants access to Azure Active Directory users.

func NewRoleDefinitionsClient deprecated

func NewRoleDefinitionsClient(subscriptionID string) RoleDefinitionsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. NewRoleDefinitionsClient creates an instance of the RoleDefinitionsClient client.

func NewRoleDefinitionsClientWithBaseURI deprecated

func NewRoleDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) RoleDefinitionsClient

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. NewRoleDefinitionsClientWithBaseURI creates an instance of the RoleDefinitionsClient client.

func (RoleDefinitionsClient) CreateOrUpdate deprecated

func (client RoleDefinitionsClient) CreateOrUpdate(ctx context.Context, scope string, roleDefinitionID string, roleDefinition RoleDefinition) (result RoleDefinition, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. CreateOrUpdate creates or updates a role definition.

scope is the scope of the role definition. roleDefinitionID is the ID of the role definition. roleDefinition is the values for the role definition.

func (RoleDefinitionsClient) CreateOrUpdatePreparer deprecated

func (client RoleDefinitionsClient) CreateOrUpdatePreparer(ctx context.Context, scope string, roleDefinitionID string, roleDefinition RoleDefinition) (*http.Request, error)

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

func (RoleDefinitionsClient) CreateOrUpdateResponder deprecated

func (client RoleDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result RoleDefinition, err error)

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

func (RoleDefinitionsClient) CreateOrUpdateSender deprecated

func (client RoleDefinitionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

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

func (RoleDefinitionsClient) Delete deprecated

func (client RoleDefinitionsClient) Delete(ctx context.Context, scope string, roleDefinitionID string) (result RoleDefinition, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. Delete deletes a role definition.

scope is the scope of the role definition. roleDefinitionID is the ID of the role definition to delete.

func (RoleDefinitionsClient) DeletePreparer deprecated

func (client RoleDefinitionsClient) DeletePreparer(ctx context.Context, scope string, roleDefinitionID string) (*http.Request, error)

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

func (RoleDefinitionsClient) DeleteResponder deprecated

func (client RoleDefinitionsClient) DeleteResponder(resp *http.Response) (result RoleDefinition, err error)

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

func (RoleDefinitionsClient) DeleteSender deprecated

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

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

func (RoleDefinitionsClient) Get deprecated

func (client RoleDefinitionsClient) Get(ctx context.Context, scope string, roleDefinitionID string) (result RoleDefinition, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. Get get role definition by name (GUID).

scope is the scope of the role definition. roleDefinitionID is the ID of the role definition.

func (RoleDefinitionsClient) GetByID deprecated

func (client RoleDefinitionsClient) GetByID(ctx context.Context, roleID string) (result RoleDefinition, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. GetByID gets a role definition by ID.

roleID is the fully qualified role definition ID. Use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for subscription level role definitions, or /providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for tenant level role definitions.

func (RoleDefinitionsClient) GetByIDPreparer deprecated

func (client RoleDefinitionsClient) GetByIDPreparer(ctx context.Context, roleID string) (*http.Request, error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. GetByIDPreparer prepares the GetByID request.

func (RoleDefinitionsClient) GetByIDResponder deprecated

func (client RoleDefinitionsClient) GetByIDResponder(resp *http.Response) (result RoleDefinition, err error)

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

func (RoleDefinitionsClient) GetByIDSender deprecated

func (client RoleDefinitionsClient) GetByIDSender(req *http.Request) (*http.Response, error)

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

func (RoleDefinitionsClient) GetPreparer deprecated

func (client RoleDefinitionsClient) GetPreparer(ctx context.Context, scope string, roleDefinitionID string) (*http.Request, error)

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

func (RoleDefinitionsClient) GetResponder deprecated

func (client RoleDefinitionsClient) GetResponder(resp *http.Response) (result RoleDefinition, err error)

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

func (RoleDefinitionsClient) GetSender deprecated

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

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

func (RoleDefinitionsClient) List deprecated

func (client RoleDefinitionsClient) List(ctx context.Context, scope string, filter string) (result RoleDefinitionListResultPage, err error)

Deprecated: Please use package github.com/Azure/azure-sdk-for-go/services/preview/authorization/mgmt/2018-01-01-preview/authorization instead. List get all role definitions that are applicable at scope and above.

scope is the scope of the role definition. filter is the filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well.

func (RoleDefinitionsClient) ListComplete deprecated

func (client RoleDefinitionsClient) ListComplete(ctx context.Context, scope string, filter string) (result RoleDefinitionListResultIterator, err error)

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

func (RoleDefinitionsClient) ListPreparer deprecated

func (client RoleDefinitionsClient) ListPreparer(ctx context.Context, scope string, filter string) (*http.Request, error)

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

func (RoleDefinitionsClient) ListResponder deprecated

func (client RoleDefinitionsClient) ListResponder(resp *http.Response) (result RoleDefinitionListResult, err error)

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

func (RoleDefinitionsClient) ListSender deprecated

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

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

Jump to

Keyboard shortcuts

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