parse

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceId

type ResourceId struct {
	AzureResourceId   string
	ApiVersion        string
	AzureResourceType string
	Name              string
	ParentId          string
	ResourceDef       *types.ResourceType
}

func NewResourceID

func NewResourceID(name, parentId, resourceType string) (ResourceId, error)

func ResourceIDWithApiVersion added in v0.6.0

func ResourceIDWithApiVersion(input string) (ResourceId, error)

ResourceIDWithApiVersion parses a Resource ID which contains api-version into an ResourceId struct

func ResourceIDWithResourceType added in v0.6.0

func ResourceIDWithResourceType(azureResourceId, resourceType string) (ResourceId, error)

ResourceIDWithResourceType parses a Resource ID and resource type into an ResourceId struct

func (ResourceId) ID

func (id ResourceId) ID() string

func (ResourceId) String

func (id ResourceId) String() string

type UserAssignedIdentitiesId

type UserAssignedIdentitiesId struct {
	SubscriptionId           string
	ResourceGroup            string
	UserAssignedIdentityName string
}

func NewUserAssignedIdentitiesID

func NewUserAssignedIdentitiesID(subscriptionId, resourceGroup, userAssignedIdentityName string) UserAssignedIdentitiesId

func UserAssignedIdentitiesID

func UserAssignedIdentitiesID(input string) (*UserAssignedIdentitiesId, error)

UserAssignedIdentitiesID parses a UserAssignedIdentities ID into an UserAssignedIdentitiesId struct

func (UserAssignedIdentitiesId) ID

func (UserAssignedIdentitiesId) String

func (id UserAssignedIdentitiesId) String() string

Jump to

Keyboard shortcuts

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