parse

package
v2.96.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssuerId

type IssuerId struct {
	KeyVaultBaseUrl string
	Name            string
}

func IssuerID

func IssuerID(id string) (*IssuerId, error)

type ManagedHSMId

type ManagedHSMId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func ManagedHSMID

func ManagedHSMID(input string) (*ManagedHSMId, error)

ManagedHSMID parses a ManagedHSM ID into an ManagedHSMId struct

func NewManagedHSMID

func NewManagedHSMID(subscriptionId, resourceGroup, name string) ManagedHSMId

func (ManagedHSMId) ID

func (id ManagedHSMId) ID() string

func (ManagedHSMId) String

func (id ManagedHSMId) String() string

type NestedItemId

type NestedItemId struct {
	KeyVaultBaseUrl string
	NestedItemType  string
	Name            string
	Version         string
}

func NewNestedItemID

func NewNestedItemID(keyVaultBaseUrl, nestedItemType, name, version string) (*NestedItemId, error)

func ParseNestedItemID

func ParseNestedItemID(input string) (*NestedItemId, error)

ParseNestedItemID parses a Key Vault Nested Item ID (such as a Certificate, Key or Secret) containing a version into a NestedItemId object

func ParseOptionallyVersionedNestedItemID

func ParseOptionallyVersionedNestedItemID(input string) (*NestedItemId, error)

ParseOptionallyVersionedNestedItemID parses a Key Vault Nested Item ID (such as a Certificate, Key or Secret) optionally containing a version into a NestedItemId object

func (NestedItemId) ID

func (n NestedItemId) ID() string

func (NestedItemId) VersionlessID

func (n NestedItemId) VersionlessID() string

type SasDefinitionId

type SasDefinitionId struct {
	KeyVaultBaseUrl    string
	StorageAccountName string
	Name               string
}

func SasDefinitionID

func SasDefinitionID(id string) (*SasDefinitionId, error)

type VaultId

type VaultId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NewVaultID

func NewVaultID(subscriptionId, resourceGroup, name string) VaultId

func VaultID

func VaultID(input string) (*VaultId, error)

VaultID parses a Vault ID into an VaultId struct

func (VaultId) ID

func (id VaultId) ID() string

func (VaultId) String

func (id VaultId) String() string

Jump to

Keyboard shortcuts

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