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 ValidateResourceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResourceLockID(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 ResourceLockId, 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 ResourceLockId) (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 ResourceLockId) (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 ResourceId, ...) (result ListAtResourceLevelOperationResponse, err error)
- func (c ManagementLocksClient) ListAtResourceLevelComplete(ctx context.Context, id ResourceId, ...) (ListAtResourceLevelCompleteResult, error)
- func (c ManagementLocksClient) ListAtResourceLevelCompleteMatchingPredicate(ctx context.Context, id ResourceId, ...) (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
- type ResourceId
- type ResourceLockId
- 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 ValidateResourceID ¶
ValidateResourceID checks that 'input' can be parsed as a Resource ID
func ValidateResourceLockID ¶
ValidateResourceLockID checks that 'input' can be parsed as a Resource 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 OData *odata.OData Model *ManagementLockObject }
type CreateOrUpdateAtResourceLevelOperationResponse ¶
type CreateOrUpdateAtResourceLevelOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagementLockObject }
type CreateOrUpdateAtSubscriptionLevelOperationResponse ¶
type CreateOrUpdateAtSubscriptionLevelOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagementLockObject }
type CreateOrUpdateByScopeOperationResponse ¶
type CreateOrUpdateByScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagementLockObject }
type GetAtResourceGroupLevelOperationResponse ¶
type GetAtResourceGroupLevelOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagementLockObject }
type GetAtResourceLevelOperationResponse ¶
type GetAtResourceLevelOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagementLockObject }
type GetAtSubscriptionLevelOperationResponse ¶
type GetAtSubscriptionLevelOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagementLockObject }
type GetByScopeOperationResponse ¶
type GetByScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagementLockObject }
type ListAtResourceGroupLevelCompleteResult ¶
type ListAtResourceGroupLevelCompleteResult struct {
Items []ManagementLockObject
}
type ListAtResourceGroupLevelOperationOptions ¶
type ListAtResourceGroupLevelOperationOptions struct {
Filter *string
}
func DefaultListAtResourceGroupLevelOperationOptions ¶
func DefaultListAtResourceGroupLevelOperationOptions() ListAtResourceGroupLevelOperationOptions
func (ListAtResourceGroupLevelOperationOptions) ToHeaders ¶ added in v0.20230509.1154719
func (o ListAtResourceGroupLevelOperationOptions) ToHeaders() *client.Headers
func (ListAtResourceGroupLevelOperationOptions) ToOData ¶ added in v0.20230509.1154719
func (o ListAtResourceGroupLevelOperationOptions) ToOData() *odata.Query
func (ListAtResourceGroupLevelOperationOptions) ToQuery ¶ added in v0.20230509.1154719
func (o ListAtResourceGroupLevelOperationOptions) ToQuery() *client.QueryParams
type ListAtResourceGroupLevelOperationResponse ¶
type ListAtResourceGroupLevelOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagementLockObject }
type ListAtResourceLevelCompleteResult ¶
type ListAtResourceLevelCompleteResult struct {
Items []ManagementLockObject
}
type ListAtResourceLevelOperationOptions ¶
type ListAtResourceLevelOperationOptions struct {
Filter *string
}
func DefaultListAtResourceLevelOperationOptions ¶
func DefaultListAtResourceLevelOperationOptions() ListAtResourceLevelOperationOptions
func (ListAtResourceLevelOperationOptions) ToHeaders ¶ added in v0.20230509.1154719
func (o ListAtResourceLevelOperationOptions) ToHeaders() *client.Headers
func (ListAtResourceLevelOperationOptions) ToOData ¶ added in v0.20230509.1154719
func (o ListAtResourceLevelOperationOptions) ToOData() *odata.Query
func (ListAtResourceLevelOperationOptions) ToQuery ¶ added in v0.20230509.1154719
func (o ListAtResourceLevelOperationOptions) ToQuery() *client.QueryParams
type ListAtResourceLevelOperationResponse ¶
type ListAtResourceLevelOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagementLockObject }
type ListAtSubscriptionLevelCompleteResult ¶
type ListAtSubscriptionLevelCompleteResult struct {
Items []ManagementLockObject
}
type ListAtSubscriptionLevelOperationOptions ¶
type ListAtSubscriptionLevelOperationOptions struct {
Filter *string
}
func DefaultListAtSubscriptionLevelOperationOptions ¶
func DefaultListAtSubscriptionLevelOperationOptions() ListAtSubscriptionLevelOperationOptions
func (ListAtSubscriptionLevelOperationOptions) ToHeaders ¶ added in v0.20230509.1154719
func (o ListAtSubscriptionLevelOperationOptions) ToHeaders() *client.Headers
func (ListAtSubscriptionLevelOperationOptions) ToOData ¶ added in v0.20230509.1154719
func (o ListAtSubscriptionLevelOperationOptions) ToOData() *odata.Query
func (ListAtSubscriptionLevelOperationOptions) ToQuery ¶ added in v0.20230509.1154719
func (o ListAtSubscriptionLevelOperationOptions) ToQuery() *client.QueryParams
type ListAtSubscriptionLevelOperationResponse ¶
type ListAtSubscriptionLevelOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagementLockObject }
type ListByScopeCompleteResult ¶
type ListByScopeCompleteResult struct {
Items []ManagementLockObject
}
type ListByScopeOperationOptions ¶
type ListByScopeOperationOptions struct {
Filter *string
}
func DefaultListByScopeOperationOptions ¶
func DefaultListByScopeOperationOptions() ListByScopeOperationOptions
func (ListByScopeOperationOptions) ToHeaders ¶ added in v0.20230509.1154719
func (o ListByScopeOperationOptions) ToHeaders() *client.Headers
func (ListByScopeOperationOptions) ToOData ¶ added in v0.20230509.1154719
func (o ListByScopeOperationOptions) ToOData() *odata.Query
func (ListByScopeOperationOptions) ToQuery ¶ added in v0.20230509.1154719
func (o ListByScopeOperationOptions) ToQuery() *client.QueryParams
type ListByScopeOperationResponse ¶
type ListByScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagementLockObject }
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 LockLevel ¶
type LockLevel string
func (*LockLevel) UnmarshalJSON ¶ added in v0.20230509.1154719
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 *resourcemanager.Client
}
func NewManagementLocksClientWithBaseURI ¶
func NewManagementLocksClientWithBaseURI(api environments.Api) (*ManagementLocksClient, error)
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 ResourceLockId, 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 ResourceLockId) (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 ResourceLockId) (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) (result ListAtResourceGroupLevelOperationResponse, err error)
ListAtResourceGroupLevel ...
func (ManagementLocksClient) ListAtResourceGroupLevelComplete ¶
func (c ManagementLocksClient) ListAtResourceGroupLevelComplete(ctx context.Context, id commonids.ResourceGroupId, options ListAtResourceGroupLevelOperationOptions) (ListAtResourceGroupLevelCompleteResult, error)
ListAtResourceGroupLevelComplete retrieves all the results into a single object
func (ManagementLocksClient) ListAtResourceGroupLevelCompleteMatchingPredicate ¶
func (c ManagementLocksClient) ListAtResourceGroupLevelCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListAtResourceGroupLevelOperationOptions, predicate ManagementLockObjectOperationPredicate) (result ListAtResourceGroupLevelCompleteResult, err error)
ListAtResourceGroupLevelCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagementLocksClient) ListAtResourceLevel ¶
func (c ManagementLocksClient) ListAtResourceLevel(ctx context.Context, id ResourceId, options ListAtResourceLevelOperationOptions) (result ListAtResourceLevelOperationResponse, err error)
ListAtResourceLevel ...
func (ManagementLocksClient) ListAtResourceLevelComplete ¶
func (c ManagementLocksClient) ListAtResourceLevelComplete(ctx context.Context, id ResourceId, options ListAtResourceLevelOperationOptions) (ListAtResourceLevelCompleteResult, error)
ListAtResourceLevelComplete retrieves all the results into a single object
func (ManagementLocksClient) ListAtResourceLevelCompleteMatchingPredicate ¶
func (c ManagementLocksClient) ListAtResourceLevelCompleteMatchingPredicate(ctx context.Context, id ResourceId, options ListAtResourceLevelOperationOptions, predicate ManagementLockObjectOperationPredicate) (result ListAtResourceLevelCompleteResult, err error)
ListAtResourceLevelCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagementLocksClient) ListAtSubscriptionLevel ¶
func (c ManagementLocksClient) ListAtSubscriptionLevel(ctx context.Context, id commonids.SubscriptionId, options ListAtSubscriptionLevelOperationOptions) (result ListAtSubscriptionLevelOperationResponse, err error)
ListAtSubscriptionLevel ...
func (ManagementLocksClient) ListAtSubscriptionLevelComplete ¶
func (c ManagementLocksClient) ListAtSubscriptionLevelComplete(ctx context.Context, id commonids.SubscriptionId, options ListAtSubscriptionLevelOperationOptions) (ListAtSubscriptionLevelCompleteResult, error)
ListAtSubscriptionLevelComplete retrieves all the results into a single object
func (ManagementLocksClient) ListAtSubscriptionLevelCompleteMatchingPredicate ¶
func (c ManagementLocksClient) ListAtSubscriptionLevelCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListAtSubscriptionLevelOperationOptions, predicate ManagementLockObjectOperationPredicate) (result ListAtSubscriptionLevelCompleteResult, err error)
ListAtSubscriptionLevelCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagementLocksClient) ListByScope ¶
func (c ManagementLocksClient) ListByScope(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (result ListByScopeOperationResponse, err error)
ListByScope ...
func (ManagementLocksClient) ListByScopeComplete ¶
func (c ManagementLocksClient) ListByScopeComplete(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions) (ListByScopeCompleteResult, error)
ListByScopeComplete retrieves all the results into a single object
func (ManagementLocksClient) ListByScopeCompleteMatchingPredicate ¶
func (c ManagementLocksClient) ListByScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListByScopeOperationOptions, predicate ManagementLockObjectOperationPredicate) (result ListByScopeCompleteResult, err error)
ListByScopeCompleteMatchingPredicate retrieves all the results and then applies 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 ResourceId ¶
type ResourceId struct { SubscriptionId string ResourceGroupName string ProviderName string ParentResourcePath string ResourceType string ResourceName string }
ResourceId is a struct representing the Resource ID for a Resource
func NewResourceID ¶
func NewResourceID(subscriptionId string, resourceGroupName string, providerName string, parentResourcePath string, resourceType string, resourceName string) ResourceId
NewResourceID returns a new ResourceId struct
func ParseResourceID ¶
func ParseResourceID(input string) (*ResourceId, error)
ParseResourceID parses 'input' into a ResourceId
func ParseResourceIDInsensitively ¶
func ParseResourceIDInsensitively(input string) (*ResourceId, error)
ParseResourceIDInsensitively parses 'input' case-insensitively into a ResourceId note: this method should only be used for API response data and not user input
func (ResourceId) Segments ¶
func (id ResourceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource ID
func (ResourceId) String ¶
func (id ResourceId) String() string
String returns a human-readable description of this Resource ID
type ResourceLockId ¶
type ResourceLockId struct { SubscriptionId string ResourceGroupName string ProviderName string ParentResourcePath string ResourceType string ResourceName string LockName string }
ResourceLockId is a struct representing the Resource ID for a Resource Lock
func NewResourceLockID ¶
func NewResourceLockID(subscriptionId string, resourceGroupName string, providerName string, parentResourcePath string, resourceType string, resourceName string, lockName string) ResourceLockId
NewResourceLockID returns a new ResourceLockId struct
func ParseResourceLockID ¶
func ParseResourceLockID(input string) (*ResourceLockId, error)
ParseResourceLockID parses 'input' into a ResourceLockId
func ParseResourceLockIDInsensitively ¶
func ParseResourceLockIDInsensitively(input string) (*ResourceLockId, error)
ParseResourceLockIDInsensitively parses 'input' case-insensitively into a ResourceLockId note: this method should only be used for API response data and not user input
func (ResourceLockId) ID ¶
func (id ResourceLockId) ID() string
ID returns the formatted Resource Lock ID
func (ResourceLockId) Segments ¶
func (id ResourceLockId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource Lock ID
func (ResourceLockId) String ¶
func (id ResourceLockId) String() string
String returns a human-readable description of this Resource 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_resource.go
- id_resourcelock.go
- id_scopedlock.go
- method_createorupdateatresourcegrouplevel.go
- method_createorupdateatresourcelevel.go
- method_createorupdateatsubscriptionlevel.go
- method_createorupdatebyscope.go
- method_deleteatresourcegrouplevel.go
- method_deleteatresourcelevel.go
- method_deleteatsubscriptionlevel.go
- method_deletebyscope.go
- method_getatresourcegrouplevel.go
- method_getatresourcelevel.go
- method_getatsubscriptionlevel.go
- method_getbyscope.go
- method_listatresourcegrouplevel.go
- method_listatresourcelevel.go
- method_listatsubscriptionlevel.go
- method_listbyscope.go
- model_managementlockobject.go
- model_managementlockowner.go
- model_managementlockproperties.go
- predicates.go
- version.go