commonids

package
v0.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2021 License: MPL-2.0 Imports: 3 Imported by: 4,724

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateManagementGroupID

func ValidateManagementGroupID(input interface{}, key string) (warnings []string, errors []error)

func ValidateResourceGroupID

func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)

func ValidateSubscriptionID

func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)

func ValidateUserAssignedIdentityID

func ValidateUserAssignedIdentityID(input interface{}, key string) (warnings []string, errors []error)

Types

type ManagementGroupId

type ManagementGroupId struct {
	GroupId string
}

func NewManagementGroupID

func NewManagementGroupID(groupId string) ManagementGroupId

func ParseManagementGroupID

func ParseManagementGroupID(input string) (*ManagementGroupId, error)

func ParseManagementGroupIDInsensitively

func ParseManagementGroupIDInsensitively(input string) (*ManagementGroupId, error)

func (ManagementGroupId) ID

func (id ManagementGroupId) ID() string

func (ManagementGroupId) Segments

func (id ManagementGroupId) Segments() []resourceids.Segment

func (ManagementGroupId) String

func (id ManagementGroupId) String() string

type ResourceGroupId

type ResourceGroupId struct {
	SubscriptionId    string
	ResourceGroupName string
}

func NewResourceGroupID

func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId

func ParseResourceGroupID

func ParseResourceGroupID(input string) (*ResourceGroupId, error)

func ParseResourceGroupIDInsensitively

func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)

func (ResourceGroupId) ID

func (id ResourceGroupId) ID() string

func (ResourceGroupId) Segments

func (id ResourceGroupId) Segments() []resourceids.Segment

func (ResourceGroupId) String

func (id ResourceGroupId) String() string

type SubscriptionId

type SubscriptionId struct {
	SubscriptionId string
}

func NewSubscriptionID

func NewSubscriptionID(subscriptionId string) SubscriptionId

func ParseSubscriptionID

func ParseSubscriptionID(input string) (*SubscriptionId, error)

func ParseSubscriptionIDInsensitively

func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)

func (SubscriptionId) ID

func (id SubscriptionId) ID() string

func (SubscriptionId) Segments

func (id SubscriptionId) Segments() []resourceids.Segment

func (SubscriptionId) String

func (id SubscriptionId) String() string

type UserAssignedIdentityId

type UserAssignedIdentityId struct {
	SubscriptionId    string
	ResourceGroupName string
	ResourceName      string
}

func NewUserAssignedIdentityID

func NewUserAssignedIdentityID(subscriptionId string, resourceGroupName string, resourceName string) UserAssignedIdentityId

func ParseUserAssignedIdentityID

func ParseUserAssignedIdentityID(input string) (*UserAssignedIdentityId, error)

func ParseUserAssignedIdentityIDInsensitively

func ParseUserAssignedIdentityIDInsensitively(input string) (*UserAssignedIdentityId, error)

func (UserAssignedIdentityId) ID

func (UserAssignedIdentityId) Segments

func (id UserAssignedIdentityId) Segments() []resourceids.Segment

func (UserAssignedIdentityId) String

func (id UserAssignedIdentityId) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL