Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForLockLevel() []string + func ValidateLockID(input interface{}, key string) (warnings []string, errors []error) + func ValidateProviderLockID(input interface{}, key string) (warnings []string, errors []error) + func ValidateScopedLockID(input interface{}, key string) (warnings []string, errors []error) + type CreateOrUpdateAtResourceGroupLevelOperationResponse struct + HttpResponse *http.Response + Model *ManagementLockObject + OData *odata.OData + type CreateOrUpdateAtResourceLevelOperationResponse struct + HttpResponse *http.Response + Model *ManagementLockObject + OData *odata.OData + type CreateOrUpdateAtSubscriptionLevelOperationResponse struct + HttpResponse *http.Response + Model *ManagementLockObject + OData *odata.OData + type CreateOrUpdateByScopeOperationResponse struct + HttpResponse *http.Response + Model *ManagementLockObject + OData *odata.OData + type DeleteAtResourceGroupLevelOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DeleteAtResourceLevelOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DeleteAtSubscriptionLevelOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DeleteByScopeOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetAtResourceGroupLevelOperationResponse struct + HttpResponse *http.Response + Model *ManagementLockObject + OData *odata.OData + type GetAtResourceLevelOperationResponse struct + HttpResponse *http.Response + Model *ManagementLockObject + OData *odata.OData + type GetAtSubscriptionLevelOperationResponse struct + HttpResponse *http.Response + Model *ManagementLockObject + OData *odata.OData + type GetByScopeOperationResponse struct + HttpResponse *http.Response + Model *ManagementLockObject + OData *odata.OData + type ListAtResourceGroupLevelCompleteResult struct + Items []ManagementLockObject + LatestHttpResponse *http.Response + type ListAtResourceGroupLevelCustomPager struct + NextLink *odata.Link + func (p *ListAtResourceGroupLevelCustomPager) NextPageLink() *odata.Link + type ListAtResourceGroupLevelOperationOptions struct + Filter *string + func DefaultListAtResourceGroupLevelOperationOptions() ListAtResourceGroupLevelOperationOptions + func (o ListAtResourceGroupLevelOperationOptions) ToHeaders() *client.Headers + func (o ListAtResourceGroupLevelOperationOptions) ToOData() *odata.Query + func (o ListAtResourceGroupLevelOperationOptions) ToQuery() *client.QueryParams + type ListAtResourceGroupLevelOperationResponse struct + HttpResponse *http.Response + Model *[]ManagementLockObject + OData *odata.OData + type ListAtResourceLevelCompleteResult struct + Items []ManagementLockObject + LatestHttpResponse *http.Response + type ListAtResourceLevelCustomPager struct + NextLink *odata.Link + func (p *ListAtResourceLevelCustomPager) NextPageLink() *odata.Link + type ListAtResourceLevelOperationOptions struct + Filter *string + func DefaultListAtResourceLevelOperationOptions() ListAtResourceLevelOperationOptions + func (o ListAtResourceLevelOperationOptions) ToHeaders() *client.Headers + func (o ListAtResourceLevelOperationOptions) ToOData() *odata.Query + func (o ListAtResourceLevelOperationOptions) ToQuery() *client.QueryParams + type ListAtResourceLevelOperationResponse struct + HttpResponse *http.Response + Model *[]ManagementLockObject + OData *odata.OData + type ListAtSubscriptionLevelCompleteResult struct + Items []ManagementLockObject + LatestHttpResponse *http.Response + type ListAtSubscriptionLevelCustomPager struct + NextLink *odata.Link + func (p *ListAtSubscriptionLevelCustomPager) NextPageLink() *odata.Link + type ListAtSubscriptionLevelOperationOptions struct + Filter *string + func DefaultListAtSubscriptionLevelOperationOptions() ListAtSubscriptionLevelOperationOptions + func (o ListAtSubscriptionLevelOperationOptions) ToHeaders() *client.Headers + func (o ListAtSubscriptionLevelOperationOptions) ToOData() *odata.Query + func (o ListAtSubscriptionLevelOperationOptions) ToQuery() *client.QueryParams + type ListAtSubscriptionLevelOperationResponse struct + HttpResponse *http.Response + Model *[]ManagementLockObject + OData *odata.OData + type ListByScopeCompleteResult struct + Items []ManagementLockObject + LatestHttpResponse *http.Response + type ListByScopeCustomPager struct + NextLink *odata.Link + func (p *ListByScopeCustomPager) NextPageLink() *odata.Link + type ListByScopeOperationOptions struct + Filter *string + func DefaultListByScopeOperationOptions() ListByScopeOperationOptions + func (o ListByScopeOperationOptions) ToHeaders() *client.Headers + func (o ListByScopeOperationOptions) ToOData() *odata.Query + func (o ListByScopeOperationOptions) ToQuery() *client.QueryParams + type ListByScopeOperationResponse struct + HttpResponse *http.Response + Model *[]ManagementLockObject + OData *odata.OData + type LockId struct + LockName string + SubscriptionId string + func NewLockID(subscriptionId string, lockName string) LockId + func ParseLockID(input string) (*LockId, error) + func ParseLockIDInsensitively(input string) (*LockId, error) + func (id *LockId) FromParseResult(input resourceids.ParseResult) error + func (id LockId) ID() string + func (id LockId) Segments() []resourceids.Segment + func (id LockId) String() string + type LockLevel string + const LockLevelCanNotDelete + const LockLevelNotSpecified + const LockLevelReadOnly + func (s *LockLevel) UnmarshalJSON(bytes []byte) error + type ManagementLockObject struct + Id *string + Name *string + Properties ManagementLockProperties + SystemData *systemdata.SystemData + Type *string + type ManagementLockObjectOperationPredicate struct + Id *string + Name *string + Type *string + func (p ManagementLockObjectOperationPredicate) Matches(input ManagementLockObject) bool + type ManagementLockOwner struct + ApplicationId *string + type ManagementLockProperties struct + Level LockLevel + Notes *string + Owners *[]ManagementLockOwner + type ManagementLocksClient struct + Client *resourcemanager.Client + func NewManagementLocksClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagementLocksClient, error) + func (c ManagementLocksClient) CreateOrUpdateAtResourceGroupLevel(ctx context.Context, id ProviderLockId, input ManagementLockObject) (result CreateOrUpdateAtResourceGroupLevelOperationResponse, err error) + func (c ManagementLocksClient) CreateOrUpdateAtResourceLevel(ctx context.Context, id ScopedLockId, input ManagementLockObject) (result CreateOrUpdateAtResourceLevelOperationResponse, err error) + func (c ManagementLocksClient) CreateOrUpdateAtSubscriptionLevel(ctx context.Context, id LockId, input ManagementLockObject) (result CreateOrUpdateAtSubscriptionLevelOperationResponse, err error) + func (c ManagementLocksClient) CreateOrUpdateByScope(ctx context.Context, id ScopedLockId, input ManagementLockObject) (result CreateOrUpdateByScopeOperationResponse, err error) + func (c ManagementLocksClient) DeleteAtResourceGroupLevel(ctx context.Context, id ProviderLockId) (result DeleteAtResourceGroupLevelOperationResponse, err error) + func (c ManagementLocksClient) DeleteAtResourceLevel(ctx context.Context, id ScopedLockId) (result DeleteAtResourceLevelOperationResponse, err error) + func (c ManagementLocksClient) DeleteAtSubscriptionLevel(ctx context.Context, id LockId) (result DeleteAtSubscriptionLevelOperationResponse, err error) + func (c ManagementLocksClient) DeleteByScope(ctx context.Context, id ScopedLockId) (result DeleteByScopeOperationResponse, err error) + func (c ManagementLocksClient) GetAtResourceGroupLevel(ctx context.Context, id ProviderLockId) (result GetAtResourceGroupLevelOperationResponse, err error) + func (c ManagementLocksClient) GetAtResourceLevel(ctx context.Context, id ScopedLockId) (result GetAtResourceLevelOperationResponse, err error) + func (c ManagementLocksClient) GetAtSubscriptionLevel(ctx context.Context, id LockId) (result GetAtSubscriptionLevelOperationResponse, err error) + func (c ManagementLocksClient) GetByScope(ctx context.Context, id ScopedLockId) (result GetByScopeOperationResponse, err error) + func (c ManagementLocksClient) ListAtResourceGroupLevel(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListAtResourceGroupLevelOperationResponse, err error) + func (c ManagementLocksClient) ListAtResourceGroupLevelComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListAtResourceGroupLevelCompleteResult, error) + func (c ManagementLocksClient) ListAtResourceGroupLevelCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListAtResourceGroupLevelCompleteResult, err error) + func (c ManagementLocksClient) ListAtResourceLevel(ctx context.Context, id commonids.ScopeId, ...) (result ListAtResourceLevelOperationResponse, err error) + func (c ManagementLocksClient) ListAtResourceLevelComplete(ctx context.Context, id commonids.ScopeId, ...) (ListAtResourceLevelCompleteResult, error) + func (c ManagementLocksClient) ListAtResourceLevelCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListAtResourceLevelCompleteResult, err error) + func (c ManagementLocksClient) ListAtSubscriptionLevel(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAtSubscriptionLevelOperationResponse, err error) + func (c ManagementLocksClient) ListAtSubscriptionLevelComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListAtSubscriptionLevelCompleteResult, error) + func (c ManagementLocksClient) ListAtSubscriptionLevelCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAtSubscriptionLevelCompleteResult, err error) + func (c ManagementLocksClient) ListByScope(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (result ListByScopeOperationResponse, err error) + func (c ManagementLocksClient) ListByScopeComplete(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (ListByScopeCompleteResult, error) + func (c ManagementLocksClient) ListByScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions, ...) (result ListByScopeCompleteResult, err error) + type ProviderLockId struct + LockName string + ResourceGroupName string + SubscriptionId string + func NewProviderLockID(subscriptionId string, resourceGroupName string, lockName string) ProviderLockId + func ParseProviderLockID(input string) (*ProviderLockId, error) + func ParseProviderLockIDInsensitively(input string) (*ProviderLockId, error) + func (id *ProviderLockId) FromParseResult(input resourceids.ParseResult) error + func (id ProviderLockId) ID() string + func (id ProviderLockId) Segments() []resourceids.Segment + func (id ProviderLockId) String() string + type ScopedLockId struct + LockName string + Scope string + func NewScopedLockID(scope string, lockName string) ScopedLockId + func ParseScopedLockID(input string) (*ScopedLockId, error) + func ParseScopedLockIDInsensitively(input string) (*ScopedLockId, error) + func (id *ScopedLockId) FromParseResult(input resourceids.ParseResult) error + func (id ScopedLockId) ID() string + func (id ScopedLockId) Segments() []resourceids.Segment + func (id ScopedLockId) String() string