Documentation ¶
Index ¶
- 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
- type CreateOrUpdateAtResourceLevelOperationResponse
- type CreateOrUpdateAtSubscriptionLevelOperationResponse
- type CreateOrUpdateByScopeOperationResponse
- type DeleteAtResourceGroupLevelOperationResponse
- type DeleteAtResourceLevelOperationResponse
- type DeleteAtSubscriptionLevelOperationResponse
- type DeleteByScopeOperationResponse
- type GetAtResourceGroupLevelOperationResponse
- type GetAtResourceLevelOperationResponse
- type GetAtSubscriptionLevelOperationResponse
- type GetByScopeOperationResponse
- type ListAtResourceGroupLevelCompleteResult
- type ListAtResourceGroupLevelOperationOptions
- type ListAtResourceGroupLevelOperationResponse
- type ListAtResourceLevelCompleteResult
- type ListAtResourceLevelOperationOptions
- type ListAtResourceLevelOperationResponse
- type ListAtSubscriptionLevelCompleteResult
- type ListAtSubscriptionLevelOperationOptions
- type ListAtSubscriptionLevelOperationResponse
- type ListByScopeCompleteResult
- type ListByScopeOperationOptions
- type ListByScopeOperationResponse
- type LockId
- type LockLevel
- type ManagementLockObject
- type ManagementLockObjectOperationPredicate
- type ManagementLockOwner
- type ManagementLockProperties
- type ManagementLocksClient
- 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, ...) (resp 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, ...) (resp ListAtResourceGroupLevelCompleteResult, err error)
- func (c ManagementLocksClient) ListAtResourceLevel(ctx context.Context, id commonids.ScopeId, ...) (resp 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, ...) (resp ListAtResourceLevelCompleteResult, err error)
- func (c ManagementLocksClient) ListAtSubscriptionLevel(ctx context.Context, id commonids.SubscriptionId, ...) (resp 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, ...) (resp ListAtSubscriptionLevelCompleteResult, err error)
- func (c ManagementLocksClient) ListByScope(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (resp 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, ...) (resp ListByScopeCompleteResult, err error)
- type ProviderLockId
- type ScopedLockId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLockLevel ¶
func PossibleValuesForLockLevel() []string
func ValidateLockID ¶
ValidateLockID checks that 'input' can be parsed as a Lock ID
func ValidateProviderLockID ¶
ValidateProviderLockID checks that 'input' can be parsed as a Provider Lock ID
func ValidateScopedLockID ¶
ValidateScopedLockID checks that 'input' can be parsed as a Scoped Lock ID
Types ¶
type CreateOrUpdateAtResourceGroupLevelOperationResponse ¶
type CreateOrUpdateAtResourceGroupLevelOperationResponse struct { HttpResponse *http.Response Model *ManagementLockObject }
type CreateOrUpdateAtResourceLevelOperationResponse ¶
type CreateOrUpdateAtResourceLevelOperationResponse struct { HttpResponse *http.Response Model *ManagementLockObject }
type CreateOrUpdateAtSubscriptionLevelOperationResponse ¶
type CreateOrUpdateAtSubscriptionLevelOperationResponse struct { HttpResponse *http.Response Model *ManagementLockObject }
type CreateOrUpdateByScopeOperationResponse ¶
type CreateOrUpdateByScopeOperationResponse struct { HttpResponse *http.Response Model *ManagementLockObject }
type GetAtResourceGroupLevelOperationResponse ¶
type GetAtResourceGroupLevelOperationResponse struct { HttpResponse *http.Response Model *ManagementLockObject }
type GetAtResourceLevelOperationResponse ¶
type GetAtResourceLevelOperationResponse struct { HttpResponse *http.Response Model *ManagementLockObject }
type GetAtSubscriptionLevelOperationResponse ¶
type GetAtSubscriptionLevelOperationResponse struct { HttpResponse *http.Response Model *ManagementLockObject }
type GetByScopeOperationResponse ¶
type GetByScopeOperationResponse struct { HttpResponse *http.Response Model *ManagementLockObject }
type ListAtResourceGroupLevelCompleteResult ¶
type ListAtResourceGroupLevelCompleteResult struct {
Items []ManagementLockObject
}
type ListAtResourceGroupLevelOperationOptions ¶
type ListAtResourceGroupLevelOperationOptions struct {
Filter *string
}
func DefaultListAtResourceGroupLevelOperationOptions ¶
func DefaultListAtResourceGroupLevelOperationOptions() ListAtResourceGroupLevelOperationOptions
type ListAtResourceGroupLevelOperationResponse ¶
type ListAtResourceGroupLevelOperationResponse struct { HttpResponse *http.Response Model *[]ManagementLockObject // contains filtered or unexported fields }
func (ListAtResourceGroupLevelOperationResponse) HasMore ¶
func (r ListAtResourceGroupLevelOperationResponse) HasMore() bool
func (ListAtResourceGroupLevelOperationResponse) LoadMore ¶
func (r ListAtResourceGroupLevelOperationResponse) LoadMore(ctx context.Context) (resp ListAtResourceGroupLevelOperationResponse, err error)
type ListAtResourceLevelCompleteResult ¶
type ListAtResourceLevelCompleteResult struct {
Items []ManagementLockObject
}
type ListAtResourceLevelOperationOptions ¶
type ListAtResourceLevelOperationOptions struct {
Filter *string
}
func DefaultListAtResourceLevelOperationOptions ¶
func DefaultListAtResourceLevelOperationOptions() ListAtResourceLevelOperationOptions
type ListAtResourceLevelOperationResponse ¶
type ListAtResourceLevelOperationResponse struct { HttpResponse *http.Response Model *[]ManagementLockObject // contains filtered or unexported fields }
func (ListAtResourceLevelOperationResponse) HasMore ¶
func (r ListAtResourceLevelOperationResponse) HasMore() bool
func (ListAtResourceLevelOperationResponse) LoadMore ¶
func (r ListAtResourceLevelOperationResponse) LoadMore(ctx context.Context) (resp ListAtResourceLevelOperationResponse, err error)
type ListAtSubscriptionLevelCompleteResult ¶
type ListAtSubscriptionLevelCompleteResult struct {
Items []ManagementLockObject
}
type ListAtSubscriptionLevelOperationOptions ¶
type ListAtSubscriptionLevelOperationOptions struct {
Filter *string
}
func DefaultListAtSubscriptionLevelOperationOptions ¶
func DefaultListAtSubscriptionLevelOperationOptions() ListAtSubscriptionLevelOperationOptions
type ListAtSubscriptionLevelOperationResponse ¶
type ListAtSubscriptionLevelOperationResponse struct { HttpResponse *http.Response Model *[]ManagementLockObject // contains filtered or unexported fields }
func (ListAtSubscriptionLevelOperationResponse) HasMore ¶
func (r ListAtSubscriptionLevelOperationResponse) HasMore() bool
func (ListAtSubscriptionLevelOperationResponse) LoadMore ¶
func (r ListAtSubscriptionLevelOperationResponse) LoadMore(ctx context.Context) (resp ListAtSubscriptionLevelOperationResponse, err error)
type ListByScopeCompleteResult ¶
type ListByScopeCompleteResult struct {
Items []ManagementLockObject
}
type ListByScopeOperationOptions ¶
type ListByScopeOperationOptions struct {
Filter *string
}
func DefaultListByScopeOperationOptions ¶
func DefaultListByScopeOperationOptions() ListByScopeOperationOptions
type ListByScopeOperationResponse ¶
type ListByScopeOperationResponse struct { HttpResponse *http.Response Model *[]ManagementLockObject // contains filtered or unexported fields }
func (ListByScopeOperationResponse) HasMore ¶
func (r ListByScopeOperationResponse) HasMore() bool
func (ListByScopeOperationResponse) LoadMore ¶
func (r ListByScopeOperationResponse) LoadMore(ctx context.Context) (resp ListByScopeOperationResponse, err error)
type LockId ¶
LockId is a struct representing the Resource ID for a Lock
func ParseLockID ¶
ParseLockID parses 'input' into a LockId
func ParseLockIDInsensitively ¶
ParseLockIDInsensitively parses 'input' case-insensitively into a LockId note: this method should only be used for API response data and not user input
func (LockId) Segments ¶
func (id LockId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Lock ID
type ManagementLockObject ¶
type ManagementLockObject struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ManagementLockProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ManagementLockObjectOperationPredicate ¶
func (ManagementLockObjectOperationPredicate) Matches ¶
func (p ManagementLockObjectOperationPredicate) Matches(input ManagementLockObject) bool
type ManagementLockOwner ¶
type ManagementLockOwner struct {
ApplicationId *string `json:"applicationId,omitempty"`
}
type ManagementLockProperties ¶
type ManagementLockProperties struct { Level LockLevel `json:"level"` Notes *string `json:"notes,omitempty"` Owners *[]ManagementLockOwner `json:"owners,omitempty"` }
type ManagementLocksClient ¶
type ManagementLocksClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewManagementLocksClientWithBaseURI ¶
func NewManagementLocksClientWithBaseURI(endpoint string) ManagementLocksClient
func (ManagementLocksClient) CreateOrUpdateAtResourceGroupLevel ¶
func (c ManagementLocksClient) CreateOrUpdateAtResourceGroupLevel(ctx context.Context, id ProviderLockId, input ManagementLockObject) (result CreateOrUpdateAtResourceGroupLevelOperationResponse, err error)
CreateOrUpdateAtResourceGroupLevel ...
func (ManagementLocksClient) CreateOrUpdateAtResourceLevel ¶
func (c ManagementLocksClient) CreateOrUpdateAtResourceLevel(ctx context.Context, id ScopedLockId, input ManagementLockObject) (result CreateOrUpdateAtResourceLevelOperationResponse, err error)
CreateOrUpdateAtResourceLevel ...
func (ManagementLocksClient) CreateOrUpdateAtSubscriptionLevel ¶
func (c ManagementLocksClient) CreateOrUpdateAtSubscriptionLevel(ctx context.Context, id LockId, input ManagementLockObject) (result CreateOrUpdateAtSubscriptionLevelOperationResponse, err error)
CreateOrUpdateAtSubscriptionLevel ...
func (ManagementLocksClient) CreateOrUpdateByScope ¶
func (c ManagementLocksClient) CreateOrUpdateByScope(ctx context.Context, id ScopedLockId, input ManagementLockObject) (result CreateOrUpdateByScopeOperationResponse, err error)
CreateOrUpdateByScope ...
func (ManagementLocksClient) DeleteAtResourceGroupLevel ¶
func (c ManagementLocksClient) DeleteAtResourceGroupLevel(ctx context.Context, id ProviderLockId) (result DeleteAtResourceGroupLevelOperationResponse, err error)
DeleteAtResourceGroupLevel ...
func (ManagementLocksClient) DeleteAtResourceLevel ¶
func (c ManagementLocksClient) DeleteAtResourceLevel(ctx context.Context, id ScopedLockId) (result DeleteAtResourceLevelOperationResponse, err error)
DeleteAtResourceLevel ...
func (ManagementLocksClient) DeleteAtSubscriptionLevel ¶
func (c ManagementLocksClient) DeleteAtSubscriptionLevel(ctx context.Context, id LockId) (result DeleteAtSubscriptionLevelOperationResponse, err error)
DeleteAtSubscriptionLevel ...
func (ManagementLocksClient) DeleteByScope ¶
func (c ManagementLocksClient) DeleteByScope(ctx context.Context, id ScopedLockId) (result DeleteByScopeOperationResponse, err error)
DeleteByScope ...
func (ManagementLocksClient) GetAtResourceGroupLevel ¶
func (c ManagementLocksClient) GetAtResourceGroupLevel(ctx context.Context, id ProviderLockId) (result GetAtResourceGroupLevelOperationResponse, err error)
GetAtResourceGroupLevel ...
func (ManagementLocksClient) GetAtResourceLevel ¶
func (c ManagementLocksClient) GetAtResourceLevel(ctx context.Context, id ScopedLockId) (result GetAtResourceLevelOperationResponse, err error)
GetAtResourceLevel ...
func (ManagementLocksClient) GetAtSubscriptionLevel ¶
func (c ManagementLocksClient) GetAtSubscriptionLevel(ctx context.Context, id LockId) (result GetAtSubscriptionLevelOperationResponse, err error)
GetAtSubscriptionLevel ...
func (ManagementLocksClient) GetByScope ¶
func (c ManagementLocksClient) GetByScope(ctx context.Context, id ScopedLockId) (result GetByScopeOperationResponse, err error)
GetByScope ...
func (ManagementLocksClient) ListAtResourceGroupLevel ¶
func (c ManagementLocksClient) ListAtResourceGroupLevel(ctx context.Context, id commonids.ResourceGroupId, options ListAtResourceGroupLevelOperationOptions) (resp ListAtResourceGroupLevelOperationResponse, err error)
ListAtResourceGroupLevel ...
func (ManagementLocksClient) ListAtResourceGroupLevelComplete ¶
func (c ManagementLocksClient) ListAtResourceGroupLevelComplete(ctx context.Context, id commonids.ResourceGroupId, options ListAtResourceGroupLevelOperationOptions) (ListAtResourceGroupLevelCompleteResult, error)
ListAtResourceGroupLevelComplete retrieves all of the results into a single object
func (ManagementLocksClient) ListAtResourceGroupLevelCompleteMatchingPredicate ¶
func (c ManagementLocksClient) ListAtResourceGroupLevelCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListAtResourceGroupLevelOperationOptions, predicate ManagementLockObjectOperationPredicate) (resp ListAtResourceGroupLevelCompleteResult, err error)
ListAtResourceGroupLevelCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ManagementLocksClient) ListAtResourceLevel ¶
func (c ManagementLocksClient) ListAtResourceLevel(ctx context.Context, id commonids.ScopeId, options ListAtResourceLevelOperationOptions) (resp ListAtResourceLevelOperationResponse, err error)
ListAtResourceLevel ...
func (ManagementLocksClient) ListAtResourceLevelComplete ¶
func (c ManagementLocksClient) ListAtResourceLevelComplete(ctx context.Context, id commonids.ScopeId, options ListAtResourceLevelOperationOptions) (ListAtResourceLevelCompleteResult, error)
ListAtResourceLevelComplete retrieves all of the results into a single object
func (ManagementLocksClient) ListAtResourceLevelCompleteMatchingPredicate ¶
func (c ManagementLocksClient) ListAtResourceLevelCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListAtResourceLevelOperationOptions, predicate ManagementLockObjectOperationPredicate) (resp ListAtResourceLevelCompleteResult, err error)
ListAtResourceLevelCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ManagementLocksClient) ListAtSubscriptionLevel ¶
func (c ManagementLocksClient) ListAtSubscriptionLevel(ctx context.Context, id commonids.SubscriptionId, options ListAtSubscriptionLevelOperationOptions) (resp ListAtSubscriptionLevelOperationResponse, err error)
ListAtSubscriptionLevel ...
func (ManagementLocksClient) ListAtSubscriptionLevelComplete ¶
func (c ManagementLocksClient) ListAtSubscriptionLevelComplete(ctx context.Context, id commonids.SubscriptionId, options ListAtSubscriptionLevelOperationOptions) (ListAtSubscriptionLevelCompleteResult, error)
ListAtSubscriptionLevelComplete retrieves all of the results into a single object
func (ManagementLocksClient) ListAtSubscriptionLevelCompleteMatchingPredicate ¶
func (c ManagementLocksClient) ListAtSubscriptionLevelCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListAtSubscriptionLevelOperationOptions, predicate ManagementLockObjectOperationPredicate) (resp ListAtSubscriptionLevelCompleteResult, err error)
ListAtSubscriptionLevelCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ManagementLocksClient) ListByScope ¶
func (c ManagementLocksClient) ListByScope(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (resp ListByScopeOperationResponse, err error)
ListByScope ...
func (ManagementLocksClient) ListByScopeComplete ¶
func (c ManagementLocksClient) ListByScopeComplete(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (ListByScopeCompleteResult, error)
ListByScopeComplete retrieves all of the results into a single object
func (ManagementLocksClient) ListByScopeCompleteMatchingPredicate ¶
func (c ManagementLocksClient) ListByScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions, predicate ManagementLockObjectOperationPredicate) (resp ListByScopeCompleteResult, err error)
ListByScopeCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ProviderLockId ¶
ProviderLockId is a struct representing the Resource ID for a Provider Lock
func NewProviderLockID ¶
func NewProviderLockID(subscriptionId string, resourceGroupName string, lockName string) ProviderLockId
NewProviderLockID returns a new ProviderLockId struct
func ParseProviderLockID ¶
func ParseProviderLockID(input string) (*ProviderLockId, error)
ParseProviderLockID parses 'input' into a ProviderLockId
func ParseProviderLockIDInsensitively ¶
func ParseProviderLockIDInsensitively(input string) (*ProviderLockId, error)
ParseProviderLockIDInsensitively parses 'input' case-insensitively into a ProviderLockId note: this method should only be used for API response data and not user input
func (ProviderLockId) ID ¶
func (id ProviderLockId) ID() string
ID returns the formatted Provider Lock ID
func (ProviderLockId) Segments ¶
func (id ProviderLockId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Lock ID
func (ProviderLockId) String ¶
func (id ProviderLockId) String() string
String returns a human-readable description of this Provider Lock ID
type ScopedLockId ¶
ScopedLockId is a struct representing the Resource ID for a Scoped Lock
func NewScopedLockID ¶
func NewScopedLockID(scope string, lockName string) ScopedLockId
NewScopedLockID returns a new ScopedLockId struct
func ParseScopedLockID ¶
func ParseScopedLockID(input string) (*ScopedLockId, error)
ParseScopedLockID parses 'input' into a ScopedLockId
func ParseScopedLockIDInsensitively ¶
func ParseScopedLockIDInsensitively(input string) (*ScopedLockId, error)
ParseScopedLockIDInsensitively parses 'input' case-insensitively into a ScopedLockId note: this method should only be used for API response data and not user input
func (ScopedLockId) Segments ¶
func (id ScopedLockId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Lock ID
func (ScopedLockId) String ¶
func (id ScopedLockId) String() string
String returns a human-readable description of this Scoped Lock ID
Source Files ¶
- client.go
- constants.go
- id_lock.go
- id_providerlock.go
- id_scopedlock.go
- method_createorupdateatresourcegrouplevel_autorest.go
- method_createorupdateatresourcelevel_autorest.go
- method_createorupdateatsubscriptionlevel_autorest.go
- method_createorupdatebyscope_autorest.go
- method_deleteatresourcegrouplevel_autorest.go
- method_deleteatresourcelevel_autorest.go
- method_deleteatsubscriptionlevel_autorest.go
- method_deletebyscope_autorest.go
- method_getatresourcegrouplevel_autorest.go
- method_getatresourcelevel_autorest.go
- method_getatsubscriptionlevel_autorest.go
- method_getbyscope_autorest.go
- method_listatresourcegrouplevel_autorest.go
- method_listatresourcelevel_autorest.go
- method_listatsubscriptionlevel_autorest.go
- method_listbyscope_autorest.go
- model_managementlockobject.go
- model_managementlockowner.go
- model_managementlockproperties.go
- predicates.go
- version.go