Documentation ¶
Index ¶
- func ValidateManagementGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScopeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateUserAssignedIdentityID(input interface{}, key string) (warnings []string, errors []error)
- type ManagementGroupId
- type ResourceGroupId
- type ScopeId
- type SubscriptionId
- type UserAssignedIdentityId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateManagementGroupID ¶
ValidateManagementGroupID checks that 'input' can be parsed as a Management Group ID
func ValidateResourceGroupID ¶
ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID
func ValidateScopeID ¶ added in v0.21.0
ValidateScopeID checks that 'input' can be parsed as a Scope ID
func ValidateSubscriptionID ¶
ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID
func ValidateUserAssignedIdentityID ¶
func ValidateUserAssignedIdentityID(input interface{}, key string) (warnings []string, errors []error)
ValidateUserAssignedIdentityID checks that 'input' can be parsed as a User Assigned Identity ID
Types ¶
type ManagementGroupId ¶
type ManagementGroupId struct {
GroupId string
}
ManagementGroupId is a struct representing the Resource ID for a Management Group
func NewManagementGroupID ¶
func NewManagementGroupID(groupId string) ManagementGroupId
NewManagementGroupID returns a new ManagementGroupId struct
func ParseManagementGroupID ¶
func ParseManagementGroupID(input string) (*ManagementGroupId, error)
ParseManagementGroupID parses 'input' into a ManagementGroupId
func ParseManagementGroupIDInsensitively ¶
func ParseManagementGroupIDInsensitively(input string) (*ManagementGroupId, error)
ParseManagementGroupIDInsensitively parses 'input' case-insensitively into a ManagementGroupId note: this method should only be used for API response data and not user input
func (ManagementGroupId) ID ¶
func (id ManagementGroupId) ID() string
ID returns the formatted Management Group ID
func (ManagementGroupId) Segments ¶
func (id ManagementGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Management Group ID
func (ManagementGroupId) String ¶
func (id ManagementGroupId) String() string
String returns a human-readable description of this Management Group ID
type ResourceGroupId ¶
ResourceGroupId is a struct representing the Resource ID for a Resource Group
func NewResourceGroupID ¶
func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId
NewResourceGroupID returns a new ResourceGroupId struct
func ParseResourceGroupID ¶
func ParseResourceGroupID(input string) (*ResourceGroupId, error)
ParseResourceGroupID parses 'input' into a ResourceGroupId
func ParseResourceGroupIDInsensitively ¶
func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)
ParseResourceGroupIDInsensitively parses 'input' case-insensitively into a ResourceGroupId note: this method should only be used for API response data and not user input
func (ResourceGroupId) ID ¶
func (id ResourceGroupId) ID() string
ID returns the formatted Resource Group ID
func (ResourceGroupId) Segments ¶
func (id ResourceGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource Group ID
func (ResourceGroupId) String ¶
func (id ResourceGroupId) String() string
String returns a human-readable description of this Resource Group ID
type ScopeId ¶ added in v0.21.0
type ScopeId struct {
Scope string
}
ScopeId is a struct representing the Resource ID for a Scope
func NewScopeID ¶ added in v0.21.0
NewScopeID returns a new ScopeId struct
func ParseScopeID ¶ added in v0.21.0
ParseScopeID parses 'input' into a ScopeId
func ParseScopeIDInsensitively ¶ added in v0.21.0
ParseScopeIDInsensitively parses 'input' case-insensitively into a ScopeId note: this method should only be used for API response data and not user input
func (ScopeId) Segments ¶ added in v0.21.0
func (id ScopeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scope ID
type SubscriptionId ¶
type SubscriptionId struct {
SubscriptionId string
}
SubscriptionId is a struct representing the Resource ID for a Subscription
func NewSubscriptionID ¶
func NewSubscriptionID(subscriptionId string) SubscriptionId
NewSubscriptionID returns a new SubscriptionId struct
func ParseSubscriptionID ¶
func ParseSubscriptionID(input string) (*SubscriptionId, error)
ParseSubscriptionID parses 'input' into a SubscriptionId
func ParseSubscriptionIDInsensitively ¶
func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)
ParseSubscriptionIDInsensitively parses 'input' case-insensitively into a SubscriptionId note: this method should only be used for API response data and not user input
func (SubscriptionId) ID ¶
func (id SubscriptionId) ID() string
ID returns the formatted Subscription ID
func (SubscriptionId) Segments ¶
func (id SubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription ID
func (SubscriptionId) String ¶
func (id SubscriptionId) String() string
String returns a human-readable description of this Subscription ID
type UserAssignedIdentityId ¶
type UserAssignedIdentityId struct { SubscriptionId string ResourceGroupName string ResourceName string }
UserAssignedIdentityId is a struct representing the Resource ID for a User Assigned Identity
func NewUserAssignedIdentityID ¶
func NewUserAssignedIdentityID(subscriptionId string, resourceGroupName string, resourceName string) UserAssignedIdentityId
NewUserAssignedIdentityID returns a new UserAssignedIdentityId struct
func ParseUserAssignedIdentityID ¶
func ParseUserAssignedIdentityID(input string) (*UserAssignedIdentityId, error)
ParseUserAssignedIdentityID parses 'input' into a UserAssignedIdentityId
func ParseUserAssignedIdentityIDInsensitively ¶
func ParseUserAssignedIdentityIDInsensitively(input string) (*UserAssignedIdentityId, error)
ParseUserAssignedIdentityIDInsensitively parses 'input' case-insensitively into a UserAssignedIdentityId note: this method should only be used for API response data and not user input
func (UserAssignedIdentityId) ID ¶
func (id UserAssignedIdentityId) ID() string
ID returns the formatted User Assigned Identity ID
func (UserAssignedIdentityId) Segments ¶
func (id UserAssignedIdentityId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this User Assigned Identity ID
func (UserAssignedIdentityId) String ¶
func (id UserAssignedIdentityId) String() string
String returns a human-readable description of this User Assigned Identities ID