Documentation ¶
Index ¶
- type AuthorizationOperationsClient
- type AuthorizationOperationsClientListOptions
- type AuthorizationOperationsClientListResponse
- type ClientFactory
- type LockLevel
- type ManagementLockListResult
- type ManagementLockObject
- type ManagementLockOwner
- type ManagementLockProperties
- type ManagementLocksClient
- func (client *ManagementLocksClient) CreateOrUpdateAtResourceGroupLevel(ctx context.Context, resourceGroupName string, lockName string, ...) (ManagementLocksClientCreateOrUpdateAtResourceGroupLevelResponse, error)
- func (client *ManagementLocksClient) CreateOrUpdateAtResourceLevel(ctx context.Context, resourceGroupName string, ...) (ManagementLocksClientCreateOrUpdateAtResourceLevelResponse, error)
- func (client *ManagementLocksClient) CreateOrUpdateAtSubscriptionLevel(ctx context.Context, lockName string, parameters ManagementLockObject, ...) (ManagementLocksClientCreateOrUpdateAtSubscriptionLevelResponse, error)
- func (client *ManagementLocksClient) CreateOrUpdateByScope(ctx context.Context, scope string, lockName string, ...) (ManagementLocksClientCreateOrUpdateByScopeResponse, error)
- func (client *ManagementLocksClient) DeleteAtResourceGroupLevel(ctx context.Context, resourceGroupName string, lockName string, ...) (ManagementLocksClientDeleteAtResourceGroupLevelResponse, error)
- func (client *ManagementLocksClient) DeleteAtResourceLevel(ctx context.Context, resourceGroupName string, ...) (ManagementLocksClientDeleteAtResourceLevelResponse, error)
- func (client *ManagementLocksClient) DeleteAtSubscriptionLevel(ctx context.Context, lockName string, ...) (ManagementLocksClientDeleteAtSubscriptionLevelResponse, error)
- func (client *ManagementLocksClient) DeleteByScope(ctx context.Context, scope string, lockName string, ...) (ManagementLocksClientDeleteByScopeResponse, error)
- func (client *ManagementLocksClient) GetAtResourceGroupLevel(ctx context.Context, resourceGroupName string, lockName string, ...) (ManagementLocksClientGetAtResourceGroupLevelResponse, error)
- func (client *ManagementLocksClient) GetAtResourceLevel(ctx context.Context, resourceGroupName string, ...) (ManagementLocksClientGetAtResourceLevelResponse, error)
- func (client *ManagementLocksClient) GetAtSubscriptionLevel(ctx context.Context, lockName string, ...) (ManagementLocksClientGetAtSubscriptionLevelResponse, error)
- func (client *ManagementLocksClient) GetByScope(ctx context.Context, scope string, lockName string, ...) (ManagementLocksClientGetByScopeResponse, error)
- func (client *ManagementLocksClient) NewListAtResourceGroupLevelPager(resourceGroupName string, ...) *runtime.Pager[ManagementLocksClientListAtResourceGroupLevelResponse]
- func (client *ManagementLocksClient) NewListAtResourceLevelPager(resourceGroupName string, resourceProviderNamespace string, ...) *runtime.Pager[ManagementLocksClientListAtResourceLevelResponse]
- func (client *ManagementLocksClient) NewListAtSubscriptionLevelPager(options *ManagementLocksClientListAtSubscriptionLevelOptions) *runtime.Pager[ManagementLocksClientListAtSubscriptionLevelResponse]
- func (client *ManagementLocksClient) NewListByScopePager(scope string, options *ManagementLocksClientListByScopeOptions) *runtime.Pager[ManagementLocksClientListByScopeResponse]
- type ManagementLocksClientCreateOrUpdateAtResourceGroupLevelOptions
- type ManagementLocksClientCreateOrUpdateAtResourceGroupLevelResponse
- type ManagementLocksClientCreateOrUpdateAtResourceLevelOptions
- type ManagementLocksClientCreateOrUpdateAtResourceLevelResponse
- type ManagementLocksClientCreateOrUpdateAtSubscriptionLevelOptions
- type ManagementLocksClientCreateOrUpdateAtSubscriptionLevelResponse
- type ManagementLocksClientCreateOrUpdateByScopeOptions
- type ManagementLocksClientCreateOrUpdateByScopeResponse
- type ManagementLocksClientDeleteAtResourceGroupLevelOptions
- type ManagementLocksClientDeleteAtResourceGroupLevelResponse
- type ManagementLocksClientDeleteAtResourceLevelOptions
- type ManagementLocksClientDeleteAtResourceLevelResponse
- type ManagementLocksClientDeleteAtSubscriptionLevelOptions
- type ManagementLocksClientDeleteAtSubscriptionLevelResponse
- type ManagementLocksClientDeleteByScopeOptions
- type ManagementLocksClientDeleteByScopeResponse
- type ManagementLocksClientGetAtResourceGroupLevelOptions
- type ManagementLocksClientGetAtResourceGroupLevelResponse
- type ManagementLocksClientGetAtResourceLevelOptions
- type ManagementLocksClientGetAtResourceLevelResponse
- type ManagementLocksClientGetAtSubscriptionLevelOptions
- type ManagementLocksClientGetAtSubscriptionLevelResponse
- type ManagementLocksClientGetByScopeOptions
- type ManagementLocksClientGetByScopeResponse
- type ManagementLocksClientListAtResourceGroupLevelOptions
- type ManagementLocksClientListAtResourceGroupLevelResponse
- type ManagementLocksClientListAtResourceLevelOptions
- type ManagementLocksClientListAtResourceLevelResponse
- type ManagementLocksClientListAtSubscriptionLevelOptions
- type ManagementLocksClientListAtSubscriptionLevelResponse
- type ManagementLocksClientListByScopeOptions
- type ManagementLocksClientListByScopeResponse
- type Operation
- type OperationDisplay
- type OperationListResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationOperationsClient ¶
type AuthorizationOperationsClient struct {
// contains filtered or unexported fields
}
AuthorizationOperationsClient contains the methods for the AuthorizationOperations group. Don't use this type directly, use NewAuthorizationOperationsClient() instead.
func NewAuthorizationOperationsClient ¶
func NewAuthorizationOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*AuthorizationOperationsClient, error)
NewAuthorizationOperationsClient creates a new instance of AuthorizationOperationsClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*AuthorizationOperationsClient) NewListPager ¶
func (client *AuthorizationOperationsClient) NewListPager(options *AuthorizationOperationsClientListOptions) *runtime.Pager[AuthorizationOperationsClientListResponse]
NewListPager - Lists all of the available Microsoft.Authorization REST API operations.
Generated from API version 2016-09-01
- options - AuthorizationOperationsClientListOptions contains the optional parameters for the AuthorizationOperationsClient.NewListPager method.
type AuthorizationOperationsClientListOptions ¶
type AuthorizationOperationsClientListOptions struct { }
AuthorizationOperationsClientListOptions contains the optional parameters for the AuthorizationOperationsClient.NewListPager method.
type AuthorizationOperationsClientListResponse ¶
type AuthorizationOperationsClientListResponse struct {
OperationListResult
}
AuthorizationOperationsClientListResponse contains the response from method AuthorizationOperationsClient.NewListPager.
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) NewAuthorizationOperationsClient ¶
func (c *ClientFactory) NewAuthorizationOperationsClient() *AuthorizationOperationsClient
func (*ClientFactory) NewManagementLocksClient ¶
func (c *ClientFactory) NewManagementLocksClient() *ManagementLocksClient
type LockLevel ¶
type LockLevel string
LockLevel - The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it.
func PossibleLockLevelValues ¶
func PossibleLockLevelValues() []LockLevel
PossibleLockLevelValues returns the possible values for the LockLevel const type.
type ManagementLockListResult ¶
type ManagementLockListResult struct { // The URL to use for getting the next set of results. NextLink *string `json:"nextLink,omitempty"` // The list of locks. Value []*ManagementLockObject `json:"value,omitempty"` }
ManagementLockListResult - The list of locks.
func (ManagementLockListResult) MarshalJSON ¶
func (m ManagementLockListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagementLockListResult.
func (*ManagementLockListResult) UnmarshalJSON ¶
func (m *ManagementLockListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ManagementLockListResult.
type ManagementLockObject ¶
type ManagementLockObject struct { // REQUIRED; The properties of the lock. Properties *ManagementLockProperties `json:"properties,omitempty"` // READ-ONLY; The resource ID of the lock. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the lock. Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; The resource type of the lock - Microsoft.Authorization/locks. Type *string `json:"type,omitempty" azure:"ro"` }
ManagementLockObject - The lock information.
func (ManagementLockObject) MarshalJSON ¶
func (m ManagementLockObject) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagementLockObject.
func (*ManagementLockObject) UnmarshalJSON ¶
func (m *ManagementLockObject) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ManagementLockObject.
type ManagementLockOwner ¶
type ManagementLockOwner struct { // The application ID of the lock owner. ApplicationID *string `json:"applicationId,omitempty"` }
ManagementLockOwner - Lock owner properties.
func (ManagementLockOwner) MarshalJSON ¶
func (m ManagementLockOwner) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagementLockOwner.
func (*ManagementLockOwner) UnmarshalJSON ¶
func (m *ManagementLockOwner) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ManagementLockOwner.
type ManagementLockProperties ¶
type ManagementLockProperties struct { // REQUIRED; The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized // users are able to read and modify the resources, but not delete. ReadOnly means // authorized users can only read from a resource, but they can't modify or delete it. Level *LockLevel `json:"level,omitempty"` // Notes about the lock. Maximum of 512 characters. Notes *string `json:"notes,omitempty"` // The owners of the lock. Owners []*ManagementLockOwner `json:"owners,omitempty"` }
ManagementLockProperties - The lock properties.
func (ManagementLockProperties) MarshalJSON ¶
func (m ManagementLockProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagementLockProperties.
func (*ManagementLockProperties) UnmarshalJSON ¶
func (m *ManagementLockProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ManagementLockProperties.
type ManagementLocksClient ¶
type ManagementLocksClient struct {
// contains filtered or unexported fields
}
ManagementLocksClient contains the methods for the ManagementLocks group. Don't use this type directly, use NewManagementLocksClient() instead.
func NewManagementLocksClient ¶
func NewManagementLocksClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ManagementLocksClient, error)
NewManagementLocksClient creates a new instance of ManagementLocksClient 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 (*ManagementLocksClient) CreateOrUpdateAtResourceGroupLevel ¶
func (client *ManagementLocksClient) CreateOrUpdateAtResourceGroupLevel(ctx context.Context, resourceGroupName string, lockName string, parameters ManagementLockObject, options *ManagementLocksClientCreateOrUpdateAtResourceGroupLevelOptions) (ManagementLocksClientCreateOrUpdateAtResourceGroupLevelResponse, error)
CreateOrUpdateAtResourceGroupLevel - When you apply a lock at a parent scope, all child resources inherit the same lock. To create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2016-09-01
- resourceGroupName - The name of the resource group to lock.
- lockName - The lock name. The lock name can be a maximum of 260 characters. It cannot contain %, &, :, \, ?, /, or any control characters.
- parameters - The management lock parameters.
- options - ManagementLocksClientCreateOrUpdateAtResourceGroupLevelOptions contains the optional parameters for the ManagementLocksClient.CreateOrUpdateAtResourceGroupLevel method.
func (*ManagementLocksClient) CreateOrUpdateAtResourceLevel ¶
func (client *ManagementLocksClient) CreateOrUpdateAtResourceLevel(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, lockName string, parameters ManagementLockObject, options *ManagementLocksClientCreateOrUpdateAtResourceLevelOptions) (ManagementLocksClientCreateOrUpdateAtResourceLevelResponse, error)
CreateOrUpdateAtResourceLevel - When you apply a lock at a parent scope, all child resources inherit the same lock. To create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2016-09-01
- resourceGroupName - The name of the resource group containing the resource to lock.
- resourceProviderNamespace - The resource provider namespace of the resource to lock.
- parentResourcePath - The parent resource identity.
- resourceType - The resource type of the resource to lock.
- resourceName - The name of the resource to lock.
- lockName - The name of lock. The lock name can be a maximum of 260 characters. It cannot contain %, &, :, \, ?, /, or any control characters.
- parameters - Parameters for creating or updating a management lock.
- options - ManagementLocksClientCreateOrUpdateAtResourceLevelOptions contains the optional parameters for the ManagementLocksClient.CreateOrUpdateAtResourceLevel method.
func (*ManagementLocksClient) CreateOrUpdateAtSubscriptionLevel ¶
func (client *ManagementLocksClient) CreateOrUpdateAtSubscriptionLevel(ctx context.Context, lockName string, parameters ManagementLockObject, options *ManagementLocksClientCreateOrUpdateAtSubscriptionLevelOptions) (ManagementLocksClientCreateOrUpdateAtSubscriptionLevelResponse, error)
CreateOrUpdateAtSubscriptionLevel - When you apply a lock at a parent scope, all child resources inherit the same lock. To create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2016-09-01
- lockName - The name of lock. The lock name can be a maximum of 260 characters. It cannot contain %, &, :, \, ?, /, or any control characters.
- parameters - The management lock parameters.
- options - ManagementLocksClientCreateOrUpdateAtSubscriptionLevelOptions contains the optional parameters for the ManagementLocksClient.CreateOrUpdateAtSubscriptionLevel method.
func (*ManagementLocksClient) CreateOrUpdateByScope ¶
func (client *ManagementLocksClient) CreateOrUpdateByScope(ctx context.Context, scope string, lockName string, parameters ManagementLockObject, options *ManagementLocksClientCreateOrUpdateByScopeOptions) (ManagementLocksClientCreateOrUpdateByScopeResponse, error)
CreateOrUpdateByScope - Create or update a management lock by scope. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2016-09-01
- scope - The scope for the lock. When providing a scope for the assignment, use '/subscriptions/{subscriptionId}' for subscriptions, '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}' for resources.
- lockName - The name of lock.
- parameters - Create or update management lock parameters.
- options - ManagementLocksClientCreateOrUpdateByScopeOptions contains the optional parameters for the ManagementLocksClient.CreateOrUpdateByScope method.
func (*ManagementLocksClient) DeleteAtResourceGroupLevel ¶
func (client *ManagementLocksClient) DeleteAtResourceGroupLevel(ctx context.Context, resourceGroupName string, lockName string, options *ManagementLocksClientDeleteAtResourceGroupLevelOptions) (ManagementLocksClientDeleteAtResourceGroupLevelResponse, error)
DeleteAtResourceGroupLevel - To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2016-09-01
- resourceGroupName - The name of the resource group containing the lock.
- lockName - The name of lock to delete.
- options - ManagementLocksClientDeleteAtResourceGroupLevelOptions contains the optional parameters for the ManagementLocksClient.DeleteAtResourceGroupLevel method.
func (*ManagementLocksClient) DeleteAtResourceLevel ¶
func (client *ManagementLocksClient) DeleteAtResourceLevel(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, lockName string, options *ManagementLocksClientDeleteAtResourceLevelOptions) (ManagementLocksClientDeleteAtResourceLevelResponse, error)
DeleteAtResourceLevel - To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2016-09-01
- resourceGroupName - The name of the resource group containing the resource with the lock to delete.
- resourceProviderNamespace - The resource provider namespace of the resource with the lock to delete.
- parentResourcePath - The parent resource identity.
- resourceType - The resource type of the resource with the lock to delete.
- resourceName - The name of the resource with the lock to delete.
- lockName - The name of the lock to delete.
- options - ManagementLocksClientDeleteAtResourceLevelOptions contains the optional parameters for the ManagementLocksClient.DeleteAtResourceLevel method.
func (*ManagementLocksClient) DeleteAtSubscriptionLevel ¶
func (client *ManagementLocksClient) DeleteAtSubscriptionLevel(ctx context.Context, lockName string, options *ManagementLocksClientDeleteAtSubscriptionLevelOptions) (ManagementLocksClientDeleteAtSubscriptionLevelResponse, error)
DeleteAtSubscriptionLevel - To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2016-09-01
- lockName - The name of lock to delete.
- options - ManagementLocksClientDeleteAtSubscriptionLevelOptions contains the optional parameters for the ManagementLocksClient.DeleteAtSubscriptionLevel method.
func (*ManagementLocksClient) DeleteByScope ¶
func (client *ManagementLocksClient) DeleteByScope(ctx context.Context, scope string, lockName string, options *ManagementLocksClientDeleteByScopeOptions) (ManagementLocksClientDeleteByScopeResponse, error)
DeleteByScope - Delete a management lock by scope. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2016-09-01
- scope - The scope for the lock.
- lockName - The name of lock.
- options - ManagementLocksClientDeleteByScopeOptions contains the optional parameters for the ManagementLocksClient.DeleteByScope method.
func (*ManagementLocksClient) GetAtResourceGroupLevel ¶
func (client *ManagementLocksClient) GetAtResourceGroupLevel(ctx context.Context, resourceGroupName string, lockName string, options *ManagementLocksClientGetAtResourceGroupLevelOptions) (ManagementLocksClientGetAtResourceGroupLevelResponse, error)
GetAtResourceGroupLevel - Gets a management lock at the resource group level. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2016-09-01
- resourceGroupName - The name of the locked resource group.
- lockName - The name of the lock to get.
- options - ManagementLocksClientGetAtResourceGroupLevelOptions contains the optional parameters for the ManagementLocksClient.GetAtResourceGroupLevel method.
func (*ManagementLocksClient) GetAtResourceLevel ¶
func (client *ManagementLocksClient) GetAtResourceLevel(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, lockName string, options *ManagementLocksClientGetAtResourceLevelOptions) (ManagementLocksClientGetAtResourceLevelResponse, error)
GetAtResourceLevel - Get the management lock of a resource or any level below resource. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2016-09-01
- resourceGroupName - The name of the resource group.
- resourceProviderNamespace - The namespace of the resource provider.
- parentResourcePath - An extra path parameter needed in some services, like SQL Databases.
- resourceType - The type of the resource.
- resourceName - The name of the resource.
- lockName - The name of lock.
- options - ManagementLocksClientGetAtResourceLevelOptions contains the optional parameters for the ManagementLocksClient.GetAtResourceLevel method.
func (*ManagementLocksClient) GetAtSubscriptionLevel ¶
func (client *ManagementLocksClient) GetAtSubscriptionLevel(ctx context.Context, lockName string, options *ManagementLocksClientGetAtSubscriptionLevelOptions) (ManagementLocksClientGetAtSubscriptionLevelResponse, error)
GetAtSubscriptionLevel - Gets a management lock at the subscription level. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2016-09-01
- lockName - The name of the lock to get.
- options - ManagementLocksClientGetAtSubscriptionLevelOptions contains the optional parameters for the ManagementLocksClient.GetAtSubscriptionLevel method.
func (*ManagementLocksClient) GetByScope ¶
func (client *ManagementLocksClient) GetByScope(ctx context.Context, scope string, lockName string, options *ManagementLocksClientGetByScopeOptions) (ManagementLocksClientGetByScopeResponse, error)
GetByScope - Get a management lock by scope. If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2016-09-01
- scope - The scope for the lock.
- lockName - The name of lock.
- options - ManagementLocksClientGetByScopeOptions contains the optional parameters for the ManagementLocksClient.GetByScope method.
func (*ManagementLocksClient) NewListAtResourceGroupLevelPager ¶
func (client *ManagementLocksClient) NewListAtResourceGroupLevelPager(resourceGroupName string, options *ManagementLocksClientListAtResourceGroupLevelOptions) *runtime.Pager[ManagementLocksClientListAtResourceGroupLevelResponse]
NewListAtResourceGroupLevelPager - Gets all the management locks for a resource group.
Generated from API version 2016-09-01
- resourceGroupName - The name of the resource group containing the locks to get.
- options - ManagementLocksClientListAtResourceGroupLevelOptions contains the optional parameters for the ManagementLocksClient.NewListAtResourceGroupLevelPager method.
func (*ManagementLocksClient) NewListAtResourceLevelPager ¶
func (client *ManagementLocksClient) NewListAtResourceLevelPager(resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, options *ManagementLocksClientListAtResourceLevelOptions) *runtime.Pager[ManagementLocksClientListAtResourceLevelResponse]
NewListAtResourceLevelPager - Gets all the management locks for a resource or any level below resource.
Generated from API version 2016-09-01
- resourceGroupName - The name of the resource group containing the locked resource. The name is case insensitive.
- resourceProviderNamespace - The namespace of the resource provider.
- parentResourcePath - The parent resource identity.
- resourceType - The resource type of the locked resource.
- resourceName - The name of the locked resource.
- options - ManagementLocksClientListAtResourceLevelOptions contains the optional parameters for the ManagementLocksClient.NewListAtResourceLevelPager method.
func (*ManagementLocksClient) NewListAtSubscriptionLevelPager ¶
func (client *ManagementLocksClient) NewListAtSubscriptionLevelPager(options *ManagementLocksClientListAtSubscriptionLevelOptions) *runtime.Pager[ManagementLocksClientListAtSubscriptionLevelResponse]
NewListAtSubscriptionLevelPager - Gets all the management locks for a subscription.
Generated from API version 2016-09-01
- options - ManagementLocksClientListAtSubscriptionLevelOptions contains the optional parameters for the ManagementLocksClient.NewListAtSubscriptionLevelPager method.
func (*ManagementLocksClient) NewListByScopePager ¶
func (client *ManagementLocksClient) NewListByScopePager(scope string, options *ManagementLocksClientListByScopeOptions) *runtime.Pager[ManagementLocksClientListByScopeResponse]
NewListByScopePager - Gets all the management locks for a scope.
Generated from API version 2016-09-01
- scope - The scope for the lock. When providing a scope for the assignment, use '/subscriptions/{subscriptionId}' for subscriptions, '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}' for resource groups, and '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePathIfPresent}/{resourceType}/{resourceName}' for resources.
- options - ManagementLocksClientListByScopeOptions contains the optional parameters for the ManagementLocksClient.NewListByScopePager method.
type ManagementLocksClientCreateOrUpdateAtResourceGroupLevelOptions ¶
type ManagementLocksClientCreateOrUpdateAtResourceGroupLevelOptions struct { }
ManagementLocksClientCreateOrUpdateAtResourceGroupLevelOptions contains the optional parameters for the ManagementLocksClient.CreateOrUpdateAtResourceGroupLevel method.
type ManagementLocksClientCreateOrUpdateAtResourceGroupLevelResponse ¶
type ManagementLocksClientCreateOrUpdateAtResourceGroupLevelResponse struct {
ManagementLockObject
}
ManagementLocksClientCreateOrUpdateAtResourceGroupLevelResponse contains the response from method ManagementLocksClient.CreateOrUpdateAtResourceGroupLevel.
type ManagementLocksClientCreateOrUpdateAtResourceLevelOptions ¶
type ManagementLocksClientCreateOrUpdateAtResourceLevelOptions struct { }
ManagementLocksClientCreateOrUpdateAtResourceLevelOptions contains the optional parameters for the ManagementLocksClient.CreateOrUpdateAtResourceLevel method.
type ManagementLocksClientCreateOrUpdateAtResourceLevelResponse ¶
type ManagementLocksClientCreateOrUpdateAtResourceLevelResponse struct {
ManagementLockObject
}
ManagementLocksClientCreateOrUpdateAtResourceLevelResponse contains the response from method ManagementLocksClient.CreateOrUpdateAtResourceLevel.
type ManagementLocksClientCreateOrUpdateAtSubscriptionLevelOptions ¶
type ManagementLocksClientCreateOrUpdateAtSubscriptionLevelOptions struct { }
ManagementLocksClientCreateOrUpdateAtSubscriptionLevelOptions contains the optional parameters for the ManagementLocksClient.CreateOrUpdateAtSubscriptionLevel method.
type ManagementLocksClientCreateOrUpdateAtSubscriptionLevelResponse ¶
type ManagementLocksClientCreateOrUpdateAtSubscriptionLevelResponse struct {
ManagementLockObject
}
ManagementLocksClientCreateOrUpdateAtSubscriptionLevelResponse contains the response from method ManagementLocksClient.CreateOrUpdateAtSubscriptionLevel.
type ManagementLocksClientCreateOrUpdateByScopeOptions ¶
type ManagementLocksClientCreateOrUpdateByScopeOptions struct { }
ManagementLocksClientCreateOrUpdateByScopeOptions contains the optional parameters for the ManagementLocksClient.CreateOrUpdateByScope method.
type ManagementLocksClientCreateOrUpdateByScopeResponse ¶
type ManagementLocksClientCreateOrUpdateByScopeResponse struct {
ManagementLockObject
}
ManagementLocksClientCreateOrUpdateByScopeResponse contains the response from method ManagementLocksClient.CreateOrUpdateByScope.
type ManagementLocksClientDeleteAtResourceGroupLevelOptions ¶
type ManagementLocksClientDeleteAtResourceGroupLevelOptions struct { }
ManagementLocksClientDeleteAtResourceGroupLevelOptions contains the optional parameters for the ManagementLocksClient.DeleteAtResourceGroupLevel method.
type ManagementLocksClientDeleteAtResourceGroupLevelResponse ¶
type ManagementLocksClientDeleteAtResourceGroupLevelResponse struct { }
ManagementLocksClientDeleteAtResourceGroupLevelResponse contains the response from method ManagementLocksClient.DeleteAtResourceGroupLevel.
type ManagementLocksClientDeleteAtResourceLevelOptions ¶
type ManagementLocksClientDeleteAtResourceLevelOptions struct { }
ManagementLocksClientDeleteAtResourceLevelOptions contains the optional parameters for the ManagementLocksClient.DeleteAtResourceLevel method.
type ManagementLocksClientDeleteAtResourceLevelResponse ¶
type ManagementLocksClientDeleteAtResourceLevelResponse struct { }
ManagementLocksClientDeleteAtResourceLevelResponse contains the response from method ManagementLocksClient.DeleteAtResourceLevel.
type ManagementLocksClientDeleteAtSubscriptionLevelOptions ¶
type ManagementLocksClientDeleteAtSubscriptionLevelOptions struct { }
ManagementLocksClientDeleteAtSubscriptionLevelOptions contains the optional parameters for the ManagementLocksClient.DeleteAtSubscriptionLevel method.
type ManagementLocksClientDeleteAtSubscriptionLevelResponse ¶
type ManagementLocksClientDeleteAtSubscriptionLevelResponse struct { }
ManagementLocksClientDeleteAtSubscriptionLevelResponse contains the response from method ManagementLocksClient.DeleteAtSubscriptionLevel.
type ManagementLocksClientDeleteByScopeOptions ¶
type ManagementLocksClientDeleteByScopeOptions struct { }
ManagementLocksClientDeleteByScopeOptions contains the optional parameters for the ManagementLocksClient.DeleteByScope method.
type ManagementLocksClientDeleteByScopeResponse ¶
type ManagementLocksClientDeleteByScopeResponse struct { }
ManagementLocksClientDeleteByScopeResponse contains the response from method ManagementLocksClient.DeleteByScope.
type ManagementLocksClientGetAtResourceGroupLevelOptions ¶
type ManagementLocksClientGetAtResourceGroupLevelOptions struct { }
ManagementLocksClientGetAtResourceGroupLevelOptions contains the optional parameters for the ManagementLocksClient.GetAtResourceGroupLevel method.
type ManagementLocksClientGetAtResourceGroupLevelResponse ¶
type ManagementLocksClientGetAtResourceGroupLevelResponse struct {
ManagementLockObject
}
ManagementLocksClientGetAtResourceGroupLevelResponse contains the response from method ManagementLocksClient.GetAtResourceGroupLevel.
type ManagementLocksClientGetAtResourceLevelOptions ¶
type ManagementLocksClientGetAtResourceLevelOptions struct { }
ManagementLocksClientGetAtResourceLevelOptions contains the optional parameters for the ManagementLocksClient.GetAtResourceLevel method.
type ManagementLocksClientGetAtResourceLevelResponse ¶
type ManagementLocksClientGetAtResourceLevelResponse struct {
ManagementLockObject
}
ManagementLocksClientGetAtResourceLevelResponse contains the response from method ManagementLocksClient.GetAtResourceLevel.
type ManagementLocksClientGetAtSubscriptionLevelOptions ¶
type ManagementLocksClientGetAtSubscriptionLevelOptions struct { }
ManagementLocksClientGetAtSubscriptionLevelOptions contains the optional parameters for the ManagementLocksClient.GetAtSubscriptionLevel method.
type ManagementLocksClientGetAtSubscriptionLevelResponse ¶
type ManagementLocksClientGetAtSubscriptionLevelResponse struct {
ManagementLockObject
}
ManagementLocksClientGetAtSubscriptionLevelResponse contains the response from method ManagementLocksClient.GetAtSubscriptionLevel.
type ManagementLocksClientGetByScopeOptions ¶
type ManagementLocksClientGetByScopeOptions struct { }
ManagementLocksClientGetByScopeOptions contains the optional parameters for the ManagementLocksClient.GetByScope method.
type ManagementLocksClientGetByScopeResponse ¶
type ManagementLocksClientGetByScopeResponse struct {
ManagementLockObject
}
ManagementLocksClientGetByScopeResponse contains the response from method ManagementLocksClient.GetByScope.
type ManagementLocksClientListAtResourceGroupLevelOptions ¶
type ManagementLocksClientListAtResourceGroupLevelOptions struct { // The filter to apply on the operation. Filter *string }
ManagementLocksClientListAtResourceGroupLevelOptions contains the optional parameters for the ManagementLocksClient.NewListAtResourceGroupLevelPager method.
type ManagementLocksClientListAtResourceGroupLevelResponse ¶
type ManagementLocksClientListAtResourceGroupLevelResponse struct {
ManagementLockListResult
}
ManagementLocksClientListAtResourceGroupLevelResponse contains the response from method ManagementLocksClient.NewListAtResourceGroupLevelPager.
type ManagementLocksClientListAtResourceLevelOptions ¶
type ManagementLocksClientListAtResourceLevelOptions struct { // The filter to apply on the operation. Filter *string }
ManagementLocksClientListAtResourceLevelOptions contains the optional parameters for the ManagementLocksClient.NewListAtResourceLevelPager method.
type ManagementLocksClientListAtResourceLevelResponse ¶
type ManagementLocksClientListAtResourceLevelResponse struct {
ManagementLockListResult
}
ManagementLocksClientListAtResourceLevelResponse contains the response from method ManagementLocksClient.NewListAtResourceLevelPager.
type ManagementLocksClientListAtSubscriptionLevelOptions ¶
type ManagementLocksClientListAtSubscriptionLevelOptions struct { // The filter to apply on the operation. Filter *string }
ManagementLocksClientListAtSubscriptionLevelOptions contains the optional parameters for the ManagementLocksClient.NewListAtSubscriptionLevelPager method.
type ManagementLocksClientListAtSubscriptionLevelResponse ¶
type ManagementLocksClientListAtSubscriptionLevelResponse struct {
ManagementLockListResult
}
ManagementLocksClientListAtSubscriptionLevelResponse contains the response from method ManagementLocksClient.NewListAtSubscriptionLevelPager.
type ManagementLocksClientListByScopeOptions ¶
type ManagementLocksClientListByScopeOptions struct { // The filter to apply on the operation. Filter *string }
ManagementLocksClientListByScopeOptions contains the optional parameters for the ManagementLocksClient.NewListByScopePager method.
type ManagementLocksClientListByScopeResponse ¶
type ManagementLocksClientListByScopeResponse struct {
ManagementLockListResult
}
ManagementLocksClientListByScopeResponse contains the response from method ManagementLocksClient.NewListByScopePager.
type Operation ¶
type Operation struct { // The object that represents the operation. Display *OperationDisplay `json:"display,omitempty"` // Operation name: {provider}/{resource}/{operation} Name *string `json:"name,omitempty"` }
Operation - Microsoft.Authorization operation
func (Operation) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Operation.
func (*Operation) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Operation.
type OperationDisplay ¶
type OperationDisplay struct { // Operation type: Read, write, delete, etc. Operation *string `json:"operation,omitempty"` // Service provider: Microsoft.Authorization Provider *string `json:"provider,omitempty"` // Resource on which the operation is performed: Profile, endpoint, etc. Resource *string `json:"resource,omitempty"` }
OperationDisplay - The object that represents the operation.
func (OperationDisplay) MarshalJSON ¶
func (o OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationDisplay.
func (*OperationDisplay) UnmarshalJSON ¶
func (o *OperationDisplay) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OperationDisplay.
type OperationListResult ¶
type OperationListResult struct { // URL to get the next set of operation list results if there are any. NextLink *string `json:"nextLink,omitempty"` // List of Microsoft.Authorization operations. Value []*Operation `json:"value,omitempty"` }
OperationListResult - Result of the request to list Microsoft.Authorization operations. It contains a list of operations and a URL link to get the next set of results.
func (OperationListResult) MarshalJSON ¶
func (o OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationListResult.
func (*OperationListResult) UnmarshalJSON ¶
func (o *OperationListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OperationListResult.