Documentation ¶
Index ¶
- type ClientFactory
- func (c *ClientFactory) NewGlobalAdministratorClient() *GlobalAdministratorClient
- func (c *ClientFactory) NewPermissionsClient() *PermissionsClient
- func (c *ClientFactory) NewProviderOperationsMetadataClient() *ProviderOperationsMetadataClient
- func (c *ClientFactory) NewRoleAssignmentsClient() *RoleAssignmentsClient
- func (c *ClientFactory) NewRoleDefinitionsClient() *RoleDefinitionsClient
- type ErrorAdditionalInfo
- type ErrorDetail
- type ErrorResponse
- type GlobalAdministratorClient
- type GlobalAdministratorClientElevateAccessOptions
- type GlobalAdministratorClientElevateAccessResponse
- type Permission
- type PermissionGetResult
- type PermissionsClient
- func (client *PermissionsClient) NewListForResourceGroupPager(resourceGroupName string, ...) *runtime.Pager[PermissionsClientListForResourceGroupResponse]
- func (client *PermissionsClient) NewListForResourcePager(resourceGroupName string, resourceProviderNamespace string, ...) *runtime.Pager[PermissionsClientListForResourceResponse]
- type PermissionsClientListForResourceGroupOptions
- type PermissionsClientListForResourceGroupResponse
- type PermissionsClientListForResourceOptions
- type PermissionsClientListForResourceResponse
- type ProviderOperation
- type ProviderOperationsMetadata
- type ProviderOperationsMetadataClient
- func (client *ProviderOperationsMetadataClient) Get(ctx context.Context, resourceProviderNamespace string, ...) (ProviderOperationsMetadataClientGetResponse, error)
- func (client *ProviderOperationsMetadataClient) NewListPager(options *ProviderOperationsMetadataClientListOptions) *runtime.Pager[ProviderOperationsMetadataClientListResponse]
- type ProviderOperationsMetadataClientGetOptions
- type ProviderOperationsMetadataClientGetResponse
- type ProviderOperationsMetadataClientListOptions
- type ProviderOperationsMetadataClientListResponse
- type ProviderOperationsMetadataListResult
- type ResourceType
- type RoleAssignment
- type RoleAssignmentCreateParameters
- type RoleAssignmentFilter
- type RoleAssignmentListResult
- type RoleAssignmentProperties
- type RoleAssignmentPropertiesWithScope
- type RoleAssignmentsClient
- func (client *RoleAssignmentsClient) Create(ctx context.Context, scope string, roleAssignmentName string, ...) (RoleAssignmentsClientCreateResponse, error)
- func (client *RoleAssignmentsClient) CreateByID(ctx context.Context, roleAssignmentID string, ...) (RoleAssignmentsClientCreateByIDResponse, error)
- func (client *RoleAssignmentsClient) Delete(ctx context.Context, scope string, roleAssignmentName string, ...) (RoleAssignmentsClientDeleteResponse, error)
- func (client *RoleAssignmentsClient) DeleteByID(ctx context.Context, roleAssignmentID string, ...) (RoleAssignmentsClientDeleteByIDResponse, error)
- func (client *RoleAssignmentsClient) Get(ctx context.Context, scope string, roleAssignmentName string, ...) (RoleAssignmentsClientGetResponse, error)
- func (client *RoleAssignmentsClient) GetByID(ctx context.Context, roleAssignmentID string, ...) (RoleAssignmentsClientGetByIDResponse, error)
- func (client *RoleAssignmentsClient) NewListForResourceGroupPager(resourceGroupName string, ...) *runtime.Pager[RoleAssignmentsClientListForResourceGroupResponse]
- func (client *RoleAssignmentsClient) NewListForResourcePager(resourceGroupName string, resourceProviderNamespace string, ...) *runtime.Pager[RoleAssignmentsClientListForResourceResponse]
- func (client *RoleAssignmentsClient) NewListForScopePager(scope string, options *RoleAssignmentsClientListForScopeOptions) *runtime.Pager[RoleAssignmentsClientListForScopeResponse]
- func (client *RoleAssignmentsClient) NewListPager(options *RoleAssignmentsClientListOptions) *runtime.Pager[RoleAssignmentsClientListResponse]
- type RoleAssignmentsClientCreateByIDOptions
- type RoleAssignmentsClientCreateByIDResponse
- type RoleAssignmentsClientCreateOptions
- type RoleAssignmentsClientCreateResponse
- type RoleAssignmentsClientDeleteByIDOptions
- type RoleAssignmentsClientDeleteByIDResponse
- type RoleAssignmentsClientDeleteOptions
- type RoleAssignmentsClientDeleteResponse
- type RoleAssignmentsClientGetByIDOptions
- type RoleAssignmentsClientGetByIDResponse
- type RoleAssignmentsClientGetOptions
- type RoleAssignmentsClientGetResponse
- type RoleAssignmentsClientListForResourceGroupOptions
- type RoleAssignmentsClientListForResourceGroupResponse
- type RoleAssignmentsClientListForResourceOptions
- type RoleAssignmentsClientListForResourceResponse
- type RoleAssignmentsClientListForScopeOptions
- type RoleAssignmentsClientListForScopeResponse
- type RoleAssignmentsClientListOptions
- type RoleAssignmentsClientListResponse
- type RoleDefinition
- type RoleDefinitionFilter
- type RoleDefinitionListResult
- type RoleDefinitionProperties
- type RoleDefinitionsClient
- func (client *RoleDefinitionsClient) CreateOrUpdate(ctx context.Context, scope string, roleDefinitionID string, ...) (RoleDefinitionsClientCreateOrUpdateResponse, error)
- func (client *RoleDefinitionsClient) Delete(ctx context.Context, scope string, roleDefinitionID string, ...) (RoleDefinitionsClientDeleteResponse, error)
- func (client *RoleDefinitionsClient) Get(ctx context.Context, scope string, roleDefinitionID string, ...) (RoleDefinitionsClientGetResponse, error)
- func (client *RoleDefinitionsClient) GetByID(ctx context.Context, roleDefinitionID string, ...) (RoleDefinitionsClientGetByIDResponse, error)
- func (client *RoleDefinitionsClient) NewListPager(scope string, options *RoleDefinitionsClientListOptions) *runtime.Pager[RoleDefinitionsClientListResponse]
- type RoleDefinitionsClientCreateOrUpdateOptions
- type RoleDefinitionsClientCreateOrUpdateResponse
- type RoleDefinitionsClientDeleteOptions
- type RoleDefinitionsClientDeleteResponse
- type RoleDefinitionsClientGetByIDOptions
- type RoleDefinitionsClientGetByIDResponse
- type RoleDefinitionsClientGetOptions
- type RoleDefinitionsClientGetResponse
- type RoleDefinitionsClientListOptions
- type RoleDefinitionsClientListResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientFactory ¶
type ClientFactory struct {
// contains filtered or unexported fields
}
ClientFactory is a client factory used to create any client in this module. Don't use this type directly, use NewClientFactory instead.
func NewClientFactory ¶
func NewClientFactory(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ClientFactory, error)
NewClientFactory creates a new instance of ClientFactory with the specified values. The parameter values will be propagated to any client created from this factory.
- subscriptionID - The ID of the target subscription.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*ClientFactory) NewGlobalAdministratorClient ¶
func (c *ClientFactory) NewGlobalAdministratorClient() *GlobalAdministratorClient
func (*ClientFactory) NewPermissionsClient ¶
func (c *ClientFactory) NewPermissionsClient() *PermissionsClient
func (*ClientFactory) NewProviderOperationsMetadataClient ¶
func (c *ClientFactory) NewProviderOperationsMetadataClient() *ProviderOperationsMetadataClient
func (*ClientFactory) NewRoleAssignmentsClient ¶
func (c *ClientFactory) NewRoleAssignmentsClient() *RoleAssignmentsClient
func (*ClientFactory) NewRoleDefinitionsClient ¶
func (c *ClientFactory) NewRoleDefinitionsClient() *RoleDefinitionsClient
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { // READ-ONLY; The additional info. Info any `json:"info,omitempty" azure:"ro"` // READ-ONLY; The additional info type. Type *string `json:"type,omitempty" azure:"ro"` }
ErrorAdditionalInfo - The resource management error additional info.
func (ErrorAdditionalInfo) MarshalJSON ¶
func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorAdditionalInfo.
func (*ErrorAdditionalInfo) UnmarshalJSON ¶
func (e *ErrorAdditionalInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorAdditionalInfo.
type ErrorDetail ¶
type ErrorDetail struct { // READ-ONLY; The error additional info. AdditionalInfo []*ErrorAdditionalInfo `json:"additionalInfo,omitempty" azure:"ro"` // READ-ONLY; The error code. Code *string `json:"code,omitempty" azure:"ro"` // READ-ONLY; The error details. Details []*ErrorDetail `json:"details,omitempty" azure:"ro"` // READ-ONLY; The error message. Message *string `json:"message,omitempty" azure:"ro"` // READ-ONLY; The error target. Target *string `json:"target,omitempty" azure:"ro"` }
ErrorDetail - The error detail.
func (ErrorDetail) MarshalJSON ¶
func (e ErrorDetail) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorDetail.
func (*ErrorDetail) UnmarshalJSON ¶
func (e *ErrorDetail) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorDetail.
type ErrorResponse ¶
type ErrorResponse struct { // The error object. Error *ErrorDetail `json:"error,omitempty"` }
ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
func (ErrorResponse) MarshalJSON ¶
func (e ErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorResponse.
func (*ErrorResponse) UnmarshalJSON ¶
func (e *ErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorResponse.
type GlobalAdministratorClient ¶
type GlobalAdministratorClient struct {
// contains filtered or unexported fields
}
GlobalAdministratorClient contains the methods for the GlobalAdministrator group. Don't use this type directly, use NewGlobalAdministratorClient() instead.
func NewGlobalAdministratorClient ¶
func NewGlobalAdministratorClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*GlobalAdministratorClient, error)
NewGlobalAdministratorClient creates a new instance of GlobalAdministratorClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*GlobalAdministratorClient) ElevateAccess ¶
func (client *GlobalAdministratorClient) ElevateAccess(ctx context.Context, options *GlobalAdministratorClientElevateAccessOptions) (GlobalAdministratorClientElevateAccessResponse, error)
ElevateAccess - Elevates access for a Global Administrator. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2015-07-01
- options - GlobalAdministratorClientElevateAccessOptions contains the optional parameters for the GlobalAdministratorClient.ElevateAccess method.
type GlobalAdministratorClientElevateAccessOptions ¶
type GlobalAdministratorClientElevateAccessOptions struct { }
GlobalAdministratorClientElevateAccessOptions contains the optional parameters for the GlobalAdministratorClient.ElevateAccess method.
type GlobalAdministratorClientElevateAccessResponse ¶
type GlobalAdministratorClientElevateAccessResponse struct { }
GlobalAdministratorClientElevateAccessResponse contains the response from method GlobalAdministratorClient.ElevateAccess.
type Permission ¶
type Permission struct { // Allowed actions. Actions []*string `json:"actions,omitempty"` // Denied actions. NotActions []*string `json:"notActions,omitempty"` }
Permission - Role definition permissions.
func (Permission) MarshalJSON ¶
func (p Permission) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type Permission.
func (*Permission) UnmarshalJSON ¶
func (p *Permission) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type Permission.
type PermissionGetResult ¶
type PermissionGetResult struct { // The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty"` // An array of permissions. Value []*Permission `json:"value,omitempty"` }
PermissionGetResult - Permissions information.
func (PermissionGetResult) MarshalJSON ¶
func (p PermissionGetResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type PermissionGetResult.
func (*PermissionGetResult) UnmarshalJSON ¶
func (p *PermissionGetResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type PermissionGetResult.
type PermissionsClient ¶
type PermissionsClient struct {
// contains filtered or unexported fields
}
PermissionsClient contains the methods for the Permissions group. Don't use this type directly, use NewPermissionsClient() instead.
func NewPermissionsClient ¶
func NewPermissionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*PermissionsClient, error)
NewPermissionsClient creates a new instance of PermissionsClient with the specified values.
- subscriptionID - The ID of the target subscription.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*PermissionsClient) NewListForResourceGroupPager ¶
func (client *PermissionsClient) NewListForResourceGroupPager(resourceGroupName string, options *PermissionsClientListForResourceGroupOptions) *runtime.Pager[PermissionsClientListForResourceGroupResponse]
NewListForResourceGroupPager - Gets all permissions the caller has for a resource group.
Generated from API version 2015-07-01
- resourceGroupName - The name of the resource group. The name is case insensitive.
- options - PermissionsClientListForResourceGroupOptions contains the optional parameters for the PermissionsClient.NewListForResourceGroupPager method.
func (*PermissionsClient) NewListForResourcePager ¶
func (client *PermissionsClient) NewListForResourcePager(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, options *PermissionsClientListForResourceOptions) *runtime.Pager[PermissionsClientListForResourceResponse]
NewListForResourcePager - Gets all permissions the caller has for a resource.
Generated from API version 2015-07-01
- resourceGroupName - The name of the resource group. The name is case insensitive.
- resourceProviderNamespace - The namespace of the resource provider.
- parentResourcePath - The parent resource identity.
- resourceType - The resource type of the resource.
- resourceName - The name of the resource to get the permissions for.
- options - PermissionsClientListForResourceOptions contains the optional parameters for the PermissionsClient.NewListForResourcePager method.
type PermissionsClientListForResourceGroupOptions ¶
type PermissionsClientListForResourceGroupOptions struct { }
PermissionsClientListForResourceGroupOptions contains the optional parameters for the PermissionsClient.NewListForResourceGroupPager method.
type PermissionsClientListForResourceGroupResponse ¶
type PermissionsClientListForResourceGroupResponse struct {
PermissionGetResult
}
PermissionsClientListForResourceGroupResponse contains the response from method PermissionsClient.NewListForResourceGroupPager.
type PermissionsClientListForResourceOptions ¶
type PermissionsClientListForResourceOptions struct { }
PermissionsClientListForResourceOptions contains the optional parameters for the PermissionsClient.NewListForResourcePager method.
type PermissionsClientListForResourceResponse ¶
type PermissionsClientListForResourceResponse struct {
PermissionGetResult
}
PermissionsClientListForResourceResponse contains the response from method PermissionsClient.NewListForResourcePager.
type ProviderOperation ¶
type ProviderOperation struct { // The operation description. Description *string `json:"description,omitempty"` // The operation display name. DisplayName *string `json:"displayName,omitempty"` // The operation name. Name *string `json:"name,omitempty"` // The operation origin. Origin *string `json:"origin,omitempty"` // The operation properties. Properties any `json:"properties,omitempty"` }
ProviderOperation - Operation
func (ProviderOperation) MarshalJSON ¶
func (p ProviderOperation) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ProviderOperation.
func (*ProviderOperation) UnmarshalJSON ¶
func (p *ProviderOperation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ProviderOperation.
type ProviderOperationsMetadata ¶
type ProviderOperationsMetadata struct { // The provider display name. DisplayName *string `json:"displayName,omitempty"` // The provider id. ID *string `json:"id,omitempty"` // The provider name. Name *string `json:"name,omitempty"` // The provider operations. Operations []*ProviderOperation `json:"operations,omitempty"` // The provider resource types ResourceTypes []*ResourceType `json:"resourceTypes,omitempty"` // The provider type. Type *string `json:"type,omitempty"` }
ProviderOperationsMetadata - Provider Operations metadata
func (ProviderOperationsMetadata) MarshalJSON ¶
func (p ProviderOperationsMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ProviderOperationsMetadata.
func (*ProviderOperationsMetadata) UnmarshalJSON ¶
func (p *ProviderOperationsMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ProviderOperationsMetadata.
type ProviderOperationsMetadataClient ¶
type ProviderOperationsMetadataClient struct {
// contains filtered or unexported fields
}
ProviderOperationsMetadataClient contains the methods for the ProviderOperationsMetadata group. Don't use this type directly, use NewProviderOperationsMetadataClient() instead.
func NewProviderOperationsMetadataClient ¶
func NewProviderOperationsMetadataClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*ProviderOperationsMetadataClient, error)
NewProviderOperationsMetadataClient creates a new instance of ProviderOperationsMetadataClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*ProviderOperationsMetadataClient) Get ¶
func (client *ProviderOperationsMetadataClient) Get(ctx context.Context, resourceProviderNamespace string, options *ProviderOperationsMetadataClientGetOptions) (ProviderOperationsMetadataClientGetResponse, error)
Get - Gets provider operations metadata for the specified resource provider. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2015-07-01
- resourceProviderNamespace - The namespace of the resource provider.
- options - ProviderOperationsMetadataClientGetOptions contains the optional parameters for the ProviderOperationsMetadataClient.Get method.
func (*ProviderOperationsMetadataClient) NewListPager ¶
func (client *ProviderOperationsMetadataClient) NewListPager(options *ProviderOperationsMetadataClientListOptions) *runtime.Pager[ProviderOperationsMetadataClientListResponse]
NewListPager - Gets provider operations metadata for all resource providers.
Generated from API version 2015-07-01
- options - ProviderOperationsMetadataClientListOptions contains the optional parameters for the ProviderOperationsMetadataClient.NewListPager method.
type ProviderOperationsMetadataClientGetOptions ¶
type ProviderOperationsMetadataClientGetOptions struct { // Specifies whether to expand the values. Expand *string }
ProviderOperationsMetadataClientGetOptions contains the optional parameters for the ProviderOperationsMetadataClient.Get method.
type ProviderOperationsMetadataClientGetResponse ¶
type ProviderOperationsMetadataClientGetResponse struct {
ProviderOperationsMetadata
}
ProviderOperationsMetadataClientGetResponse contains the response from method ProviderOperationsMetadataClient.Get.
type ProviderOperationsMetadataClientListOptions ¶
type ProviderOperationsMetadataClientListOptions struct { // Specifies whether to expand the values. Expand *string }
ProviderOperationsMetadataClientListOptions contains the optional parameters for the ProviderOperationsMetadataClient.NewListPager method.
type ProviderOperationsMetadataClientListResponse ¶
type ProviderOperationsMetadataClientListResponse struct {
ProviderOperationsMetadataListResult
}
ProviderOperationsMetadataClientListResponse contains the response from method ProviderOperationsMetadataClient.NewListPager.
type ProviderOperationsMetadataListResult ¶
type ProviderOperationsMetadataListResult struct { // The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty"` // The list of providers. Value []*ProviderOperationsMetadata `json:"value,omitempty"` }
ProviderOperationsMetadataListResult - Provider operations metadata list
func (ProviderOperationsMetadataListResult) MarshalJSON ¶
func (p ProviderOperationsMetadataListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ProviderOperationsMetadataListResult.
func (*ProviderOperationsMetadataListResult) UnmarshalJSON ¶
func (p *ProviderOperationsMetadataListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ProviderOperationsMetadataListResult.
type ResourceType ¶
type ResourceType struct { // The resource type display name. DisplayName *string `json:"displayName,omitempty"` // The resource type name. Name *string `json:"name,omitempty"` // The resource type operations. Operations []*ProviderOperation `json:"operations,omitempty"` }
ResourceType - Resource Type
func (ResourceType) MarshalJSON ¶
func (r ResourceType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceType.
func (*ResourceType) UnmarshalJSON ¶
func (r *ResourceType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ResourceType.
type RoleAssignment ¶
type RoleAssignment struct { // Role assignment properties. Properties *RoleAssignmentPropertiesWithScope `json:"properties,omitempty"` // READ-ONLY; The role assignment ID. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The role assignment name. Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; The role assignment type. Type *string `json:"type,omitempty" azure:"ro"` }
RoleAssignment - Role Assignments
func (RoleAssignment) MarshalJSON ¶
func (r RoleAssignment) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RoleAssignment.
func (*RoleAssignment) UnmarshalJSON ¶
func (r *RoleAssignment) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RoleAssignment.
type RoleAssignmentCreateParameters ¶
type RoleAssignmentCreateParameters struct { // REQUIRED; Role assignment properties. Properties *RoleAssignmentProperties `json:"properties,omitempty"` }
RoleAssignmentCreateParameters - Role assignment create parameters.
func (RoleAssignmentCreateParameters) MarshalJSON ¶
func (r RoleAssignmentCreateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RoleAssignmentCreateParameters.
func (*RoleAssignmentCreateParameters) UnmarshalJSON ¶
func (r *RoleAssignmentCreateParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RoleAssignmentCreateParameters.
type RoleAssignmentFilter ¶
type RoleAssignmentFilter struct { // Returns role assignment of the specific principal. PrincipalID *string `json:"principalId,omitempty"` }
RoleAssignmentFilter - Role Assignments filter
func (RoleAssignmentFilter) MarshalJSON ¶
func (r RoleAssignmentFilter) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RoleAssignmentFilter.
func (*RoleAssignmentFilter) UnmarshalJSON ¶
func (r *RoleAssignmentFilter) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RoleAssignmentFilter.
type RoleAssignmentListResult ¶
type RoleAssignmentListResult struct { // The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty"` // Role assignment list. Value []*RoleAssignment `json:"value,omitempty"` }
RoleAssignmentListResult - Role assignment list operation result.
func (RoleAssignmentListResult) MarshalJSON ¶
func (r RoleAssignmentListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RoleAssignmentListResult.
func (*RoleAssignmentListResult) UnmarshalJSON ¶
func (r *RoleAssignmentListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RoleAssignmentListResult.
type RoleAssignmentProperties ¶
type RoleAssignmentProperties struct { // REQUIRED; 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"` // REQUIRED; The role definition ID used in the role assignment. RoleDefinitionID *string `json:"roleDefinitionId,omitempty"` }
RoleAssignmentProperties - Role assignment properties.
func (RoleAssignmentProperties) MarshalJSON ¶
func (r RoleAssignmentProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RoleAssignmentProperties.
func (*RoleAssignmentProperties) UnmarshalJSON ¶
func (r *RoleAssignmentProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RoleAssignmentProperties.
type RoleAssignmentPropertiesWithScope ¶
type RoleAssignmentPropertiesWithScope struct { // The principal ID. PrincipalID *string `json:"principalId,omitempty"` // The role definition ID. RoleDefinitionID *string `json:"roleDefinitionId,omitempty"` // The role assignment scope. Scope *string `json:"scope,omitempty"` }
RoleAssignmentPropertiesWithScope - Role assignment properties with scope.
func (RoleAssignmentPropertiesWithScope) MarshalJSON ¶
func (r RoleAssignmentPropertiesWithScope) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RoleAssignmentPropertiesWithScope.
func (*RoleAssignmentPropertiesWithScope) UnmarshalJSON ¶
func (r *RoleAssignmentPropertiesWithScope) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RoleAssignmentPropertiesWithScope.
type RoleAssignmentsClient ¶
type RoleAssignmentsClient struct {
// contains filtered or unexported fields
}
RoleAssignmentsClient contains the methods for the RoleAssignments group. Don't use this type directly, use NewRoleAssignmentsClient() instead.
func NewRoleAssignmentsClient ¶
func NewRoleAssignmentsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*RoleAssignmentsClient, error)
NewRoleAssignmentsClient creates a new instance of RoleAssignmentsClient with the specified values.
- subscriptionID - The ID of the target subscription.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*RoleAssignmentsClient) Create ¶
func (client *RoleAssignmentsClient) Create(ctx context.Context, scope string, roleAssignmentName string, parameters RoleAssignmentCreateParameters, options *RoleAssignmentsClientCreateOptions) (RoleAssignmentsClientCreateResponse, error)
Create - Creates a role assignment. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2015-07-01
- scope - 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 - A GUID for the role assignment to create. The name must be unique and different for each role assignment.
- parameters - Parameters for the role assignment.
- options - RoleAssignmentsClientCreateOptions contains the optional parameters for the RoleAssignmentsClient.Create method.
func (*RoleAssignmentsClient) CreateByID ¶
func (client *RoleAssignmentsClient) CreateByID(ctx context.Context, roleAssignmentID string, parameters RoleAssignmentCreateParameters, options *RoleAssignmentsClientCreateByIDOptions) (RoleAssignmentsClientCreateByIDResponse, error)
CreateByID - Creates a role assignment by ID. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2015-07-01
- roleAssignmentID - The fully qualified ID of the role assignment, including the scope, resource name and resource type. Use the format, /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/{subId}/resourcegroups/{rgname}//providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}.
- parameters - Parameters for the role assignment.
- options - RoleAssignmentsClientCreateByIDOptions contains the optional parameters for the RoleAssignmentsClient.CreateByID method.
func (*RoleAssignmentsClient) Delete ¶
func (client *RoleAssignmentsClient) Delete(ctx context.Context, scope string, roleAssignmentName string, options *RoleAssignmentsClientDeleteOptions) (RoleAssignmentsClientDeleteResponse, error)
Delete - Deletes a role assignment. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2015-07-01
- scope - The scope of the role assignment to delete.
- roleAssignmentName - The name of the role assignment to delete.
- options - RoleAssignmentsClientDeleteOptions contains the optional parameters for the RoleAssignmentsClient.Delete method.
func (*RoleAssignmentsClient) DeleteByID ¶
func (client *RoleAssignmentsClient) DeleteByID(ctx context.Context, roleAssignmentID string, options *RoleAssignmentsClientDeleteByIDOptions) (RoleAssignmentsClientDeleteByIDResponse, error)
DeleteByID - Deletes a role assignment. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2015-07-01
- roleAssignmentID - The fully qualified ID of the role assignment, including the scope, resource name and resource type. Use the format, /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/{subId}/resourcegroups/{rgname}//providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}.
- options - RoleAssignmentsClientDeleteByIDOptions contains the optional parameters for the RoleAssignmentsClient.DeleteByID method.
func (*RoleAssignmentsClient) Get ¶
func (client *RoleAssignmentsClient) Get(ctx context.Context, scope string, roleAssignmentName string, options *RoleAssignmentsClientGetOptions) (RoleAssignmentsClientGetResponse, error)
Get - Get the specified role assignment. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2015-07-01
- scope - The scope of the role assignment.
- roleAssignmentName - The name of the role assignment to get.
- options - RoleAssignmentsClientGetOptions contains the optional parameters for the RoleAssignmentsClient.Get method.
func (*RoleAssignmentsClient) GetByID ¶
func (client *RoleAssignmentsClient) GetByID(ctx context.Context, roleAssignmentID string, options *RoleAssignmentsClientGetByIDOptions) (RoleAssignmentsClientGetByIDResponse, error)
GetByID - Gets a role assignment by ID. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2015-07-01
- roleAssignmentID - The fully qualified ID of the role assignment, including the scope, resource name and resource type. Use the format, /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}. Example: /subscriptions/{subId}/resourcegroups/{rgname}//providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}.
- options - RoleAssignmentsClientGetByIDOptions contains the optional parameters for the RoleAssignmentsClient.GetByID method.
func (*RoleAssignmentsClient) NewListForResourceGroupPager ¶
func (client *RoleAssignmentsClient) NewListForResourceGroupPager(resourceGroupName string, options *RoleAssignmentsClientListForResourceGroupOptions) *runtime.Pager[RoleAssignmentsClientListForResourceGroupResponse]
NewListForResourceGroupPager - Gets role assignments for a resource group.
Generated from API version 2015-07-01
- resourceGroupName - The name of the resource group. The name is case insensitive.
- options - RoleAssignmentsClientListForResourceGroupOptions contains the optional parameters for the RoleAssignmentsClient.NewListForResourceGroupPager method.
func (*RoleAssignmentsClient) NewListForResourcePager ¶
func (client *RoleAssignmentsClient) NewListForResourcePager(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, options *RoleAssignmentsClientListForResourceOptions) *runtime.Pager[RoleAssignmentsClientListForResourceResponse]
NewListForResourcePager - Gets role assignments for a resource.
Generated from API version 2015-07-01
- resourceGroupName - The name of the resource group. The name is case insensitive.
- resourceProviderNamespace - The namespace of the resource provider.
- parentResourcePath - The parent resource identity.
- resourceType - The resource type of the resource.
- resourceName - The name of the resource to get role assignments for.
- options - RoleAssignmentsClientListForResourceOptions contains the optional parameters for the RoleAssignmentsClient.NewListForResourcePager method.
func (*RoleAssignmentsClient) NewListForScopePager ¶
func (client *RoleAssignmentsClient) NewListForScopePager(scope string, options *RoleAssignmentsClientListForScopeOptions) *runtime.Pager[RoleAssignmentsClientListForScopeResponse]
NewListForScopePager - Gets role assignments for a scope.
Generated from API version 2015-07-01
- scope - The scope of the role assignments.
- options - RoleAssignmentsClientListForScopeOptions contains the optional parameters for the RoleAssignmentsClient.NewListForScopePager method.
func (*RoleAssignmentsClient) NewListPager ¶
func (client *RoleAssignmentsClient) NewListPager(options *RoleAssignmentsClientListOptions) *runtime.Pager[RoleAssignmentsClientListResponse]
NewListPager - Gets all role assignments for the subscription.
Generated from API version 2015-07-01
- options - RoleAssignmentsClientListOptions contains the optional parameters for the RoleAssignmentsClient.NewListPager method.
type RoleAssignmentsClientCreateByIDOptions ¶
type RoleAssignmentsClientCreateByIDOptions struct { }
RoleAssignmentsClientCreateByIDOptions contains the optional parameters for the RoleAssignmentsClient.CreateByID method.
type RoleAssignmentsClientCreateByIDResponse ¶
type RoleAssignmentsClientCreateByIDResponse struct {
RoleAssignment
}
RoleAssignmentsClientCreateByIDResponse contains the response from method RoleAssignmentsClient.CreateByID.
type RoleAssignmentsClientCreateOptions ¶
type RoleAssignmentsClientCreateOptions struct { }
RoleAssignmentsClientCreateOptions contains the optional parameters for the RoleAssignmentsClient.Create method.
type RoleAssignmentsClientCreateResponse ¶
type RoleAssignmentsClientCreateResponse struct {
RoleAssignment
}
RoleAssignmentsClientCreateResponse contains the response from method RoleAssignmentsClient.Create.
type RoleAssignmentsClientDeleteByIDOptions ¶
type RoleAssignmentsClientDeleteByIDOptions struct { }
RoleAssignmentsClientDeleteByIDOptions contains the optional parameters for the RoleAssignmentsClient.DeleteByID method.
type RoleAssignmentsClientDeleteByIDResponse ¶
type RoleAssignmentsClientDeleteByIDResponse struct {
RoleAssignment
}
RoleAssignmentsClientDeleteByIDResponse contains the response from method RoleAssignmentsClient.DeleteByID.
type RoleAssignmentsClientDeleteOptions ¶
type RoleAssignmentsClientDeleteOptions struct { }
RoleAssignmentsClientDeleteOptions contains the optional parameters for the RoleAssignmentsClient.Delete method.
type RoleAssignmentsClientDeleteResponse ¶
type RoleAssignmentsClientDeleteResponse struct {
RoleAssignment
}
RoleAssignmentsClientDeleteResponse contains the response from method RoleAssignmentsClient.Delete.
type RoleAssignmentsClientGetByIDOptions ¶
type RoleAssignmentsClientGetByIDOptions struct { }
RoleAssignmentsClientGetByIDOptions contains the optional parameters for the RoleAssignmentsClient.GetByID method.
type RoleAssignmentsClientGetByIDResponse ¶
type RoleAssignmentsClientGetByIDResponse struct {
RoleAssignment
}
RoleAssignmentsClientGetByIDResponse contains the response from method RoleAssignmentsClient.GetByID.
type RoleAssignmentsClientGetOptions ¶
type RoleAssignmentsClientGetOptions struct { }
RoleAssignmentsClientGetOptions contains the optional parameters for the RoleAssignmentsClient.Get method.
type RoleAssignmentsClientGetResponse ¶
type RoleAssignmentsClientGetResponse struct {
RoleAssignment
}
RoleAssignmentsClientGetResponse contains the response from method RoleAssignmentsClient.Get.
type RoleAssignmentsClientListForResourceGroupOptions ¶
type RoleAssignmentsClientListForResourceGroupOptions struct { // 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. Filter *string }
RoleAssignmentsClientListForResourceGroupOptions contains the optional parameters for the RoleAssignmentsClient.NewListForResourceGroupPager method.
type RoleAssignmentsClientListForResourceGroupResponse ¶
type RoleAssignmentsClientListForResourceGroupResponse struct {
RoleAssignmentListResult
}
RoleAssignmentsClientListForResourceGroupResponse contains the response from method RoleAssignmentsClient.NewListForResourceGroupPager.
type RoleAssignmentsClientListForResourceOptions ¶
type RoleAssignmentsClientListForResourceOptions struct { // 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. Filter *string }
RoleAssignmentsClientListForResourceOptions contains the optional parameters for the RoleAssignmentsClient.NewListForResourcePager method.
type RoleAssignmentsClientListForResourceResponse ¶
type RoleAssignmentsClientListForResourceResponse struct {
RoleAssignmentListResult
}
RoleAssignmentsClientListForResourceResponse contains the response from method RoleAssignmentsClient.NewListForResourcePager.
type RoleAssignmentsClientListForScopeOptions ¶
type RoleAssignmentsClientListForScopeOptions struct { // 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. Filter *string }
RoleAssignmentsClientListForScopeOptions contains the optional parameters for the RoleAssignmentsClient.NewListForScopePager method.
type RoleAssignmentsClientListForScopeResponse ¶
type RoleAssignmentsClientListForScopeResponse struct {
RoleAssignmentListResult
}
RoleAssignmentsClientListForScopeResponse contains the response from method RoleAssignmentsClient.NewListForScopePager.
type RoleAssignmentsClientListOptions ¶
type RoleAssignmentsClientListOptions struct { // 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. Filter *string }
RoleAssignmentsClientListOptions contains the optional parameters for the RoleAssignmentsClient.NewListPager method.
type RoleAssignmentsClientListResponse ¶
type RoleAssignmentsClientListResponse struct {
RoleAssignmentListResult
}
RoleAssignmentsClientListResponse contains the response from method RoleAssignmentsClient.NewListPager.
type RoleDefinition ¶
type RoleDefinition struct { // Role definition properties. Properties *RoleDefinitionProperties `json:"properties,omitempty"` // READ-ONLY; The role definition ID. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The role definition name. Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; The role definition type. Type *string `json:"type,omitempty" azure:"ro"` }
RoleDefinition - Role definition.
func (RoleDefinition) MarshalJSON ¶
func (r RoleDefinition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RoleDefinition.
func (*RoleDefinition) UnmarshalJSON ¶
func (r *RoleDefinition) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RoleDefinition.
type RoleDefinitionFilter ¶
type RoleDefinitionFilter struct { // Returns role definition with the specific name. RoleName *string `json:"roleName,omitempty"` }
RoleDefinitionFilter - Role Definitions filter
func (RoleDefinitionFilter) MarshalJSON ¶
func (r RoleDefinitionFilter) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RoleDefinitionFilter.
func (*RoleDefinitionFilter) UnmarshalJSON ¶
func (r *RoleDefinitionFilter) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RoleDefinitionFilter.
type RoleDefinitionListResult ¶
type RoleDefinitionListResult struct { // The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty"` // Role definition list. Value []*RoleDefinition `json:"value,omitempty"` }
RoleDefinitionListResult - Role definition list operation result.
func (RoleDefinitionListResult) MarshalJSON ¶
func (r RoleDefinitionListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RoleDefinitionListResult.
func (*RoleDefinitionListResult) UnmarshalJSON ¶
func (r *RoleDefinitionListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RoleDefinitionListResult.
type RoleDefinitionProperties ¶
type RoleDefinitionProperties struct { // Role definition assignable scopes. AssignableScopes []*string `json:"assignableScopes,omitempty"` // The role definition description. Description *string `json:"description,omitempty"` // Role definition permissions. Permissions []*Permission `json:"permissions,omitempty"` // The role name. RoleName *string `json:"roleName,omitempty"` // The role type. RoleType *string `json:"type,omitempty"` }
RoleDefinitionProperties - Role definition properties.
func (RoleDefinitionProperties) MarshalJSON ¶
func (r RoleDefinitionProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RoleDefinitionProperties.
func (*RoleDefinitionProperties) UnmarshalJSON ¶
func (r *RoleDefinitionProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RoleDefinitionProperties.
type RoleDefinitionsClient ¶
type RoleDefinitionsClient struct {
// contains filtered or unexported fields
}
RoleDefinitionsClient contains the methods for the RoleDefinitions group. Don't use this type directly, use NewRoleDefinitionsClient() instead.
func NewRoleDefinitionsClient ¶
func NewRoleDefinitionsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*RoleDefinitionsClient, error)
NewRoleDefinitionsClient creates a new instance of RoleDefinitionsClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*RoleDefinitionsClient) CreateOrUpdate ¶
func (client *RoleDefinitionsClient) CreateOrUpdate(ctx context.Context, scope string, roleDefinitionID string, roleDefinition RoleDefinition, options *RoleDefinitionsClientCreateOrUpdateOptions) (RoleDefinitionsClientCreateOrUpdateResponse, error)
CreateOrUpdate - Creates or updates a role definition. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2015-07-01
- scope - The scope of the role definition.
- roleDefinitionID - The ID of the role definition.
- roleDefinition - The values for the role definition.
- options - RoleDefinitionsClientCreateOrUpdateOptions contains the optional parameters for the RoleDefinitionsClient.CreateOrUpdate method.
func (*RoleDefinitionsClient) Delete ¶
func (client *RoleDefinitionsClient) Delete(ctx context.Context, scope string, roleDefinitionID string, options *RoleDefinitionsClientDeleteOptions) (RoleDefinitionsClientDeleteResponse, error)
Delete - Deletes a role definition. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2015-07-01
- scope - The scope of the role definition.
- roleDefinitionID - The ID of the role definition to delete.
- options - RoleDefinitionsClientDeleteOptions contains the optional parameters for the RoleDefinitionsClient.Delete method.
func (*RoleDefinitionsClient) Get ¶
func (client *RoleDefinitionsClient) Get(ctx context.Context, scope string, roleDefinitionID string, options *RoleDefinitionsClientGetOptions) (RoleDefinitionsClientGetResponse, error)
Get - Get role definition by name (GUID). If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2015-07-01
- scope - The scope of the role definition.
- roleDefinitionID - The ID of the role definition.
- options - RoleDefinitionsClientGetOptions contains the optional parameters for the RoleDefinitionsClient.Get method.
func (*RoleDefinitionsClient) GetByID ¶
func (client *RoleDefinitionsClient) GetByID(ctx context.Context, roleDefinitionID string, options *RoleDefinitionsClientGetByIDOptions) (RoleDefinitionsClientGetByIDResponse, error)
GetByID - Gets a role definition by ID. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2015-07-01
- roleDefinitionID - 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.
- options - RoleDefinitionsClientGetByIDOptions contains the optional parameters for the RoleDefinitionsClient.GetByID method.
func (*RoleDefinitionsClient) NewListPager ¶
func (client *RoleDefinitionsClient) NewListPager(scope string, options *RoleDefinitionsClientListOptions) *runtime.Pager[RoleDefinitionsClientListResponse]
NewListPager - Get all role definitions that are applicable at scope and above.
Generated from API version 2015-07-01
- scope - The scope of the role definition.
- options - RoleDefinitionsClientListOptions contains the optional parameters for the RoleDefinitionsClient.NewListPager method.
type RoleDefinitionsClientCreateOrUpdateOptions ¶
type RoleDefinitionsClientCreateOrUpdateOptions struct { }
RoleDefinitionsClientCreateOrUpdateOptions contains the optional parameters for the RoleDefinitionsClient.CreateOrUpdate method.
type RoleDefinitionsClientCreateOrUpdateResponse ¶
type RoleDefinitionsClientCreateOrUpdateResponse struct {
RoleDefinition
}
RoleDefinitionsClientCreateOrUpdateResponse contains the response from method RoleDefinitionsClient.CreateOrUpdate.
type RoleDefinitionsClientDeleteOptions ¶
type RoleDefinitionsClientDeleteOptions struct { }
RoleDefinitionsClientDeleteOptions contains the optional parameters for the RoleDefinitionsClient.Delete method.
type RoleDefinitionsClientDeleteResponse ¶
type RoleDefinitionsClientDeleteResponse struct {
RoleDefinition
}
RoleDefinitionsClientDeleteResponse contains the response from method RoleDefinitionsClient.Delete.
type RoleDefinitionsClientGetByIDOptions ¶
type RoleDefinitionsClientGetByIDOptions struct { }
RoleDefinitionsClientGetByIDOptions contains the optional parameters for the RoleDefinitionsClient.GetByID method.
type RoleDefinitionsClientGetByIDResponse ¶
type RoleDefinitionsClientGetByIDResponse struct {
RoleDefinition
}
RoleDefinitionsClientGetByIDResponse contains the response from method RoleDefinitionsClient.GetByID.
type RoleDefinitionsClientGetOptions ¶
type RoleDefinitionsClientGetOptions struct { }
RoleDefinitionsClientGetOptions contains the optional parameters for the RoleDefinitionsClient.Get method.
type RoleDefinitionsClientGetResponse ¶
type RoleDefinitionsClientGetResponse struct {
RoleDefinition
}
RoleDefinitionsClientGetResponse contains the response from method RoleDefinitionsClient.Get.
type RoleDefinitionsClientListOptions ¶
type RoleDefinitionsClientListOptions struct { // The filter to apply on the operation. Use atScopeAndBelow filter to search below the given scope as well. Filter *string }
RoleDefinitionsClientListOptions contains the optional parameters for the RoleDefinitionsClient.NewListPager method.
type RoleDefinitionsClientListResponse ¶
type RoleDefinitionsClientListResponse struct {
RoleDefinitionListResult
}
RoleDefinitionsClientListResponse contains the response from method RoleDefinitionsClient.NewListPager.