parse

package
v1.44.1-0...-2cd6497 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleNestedItemObjectTypeValues

func PossibleNestedItemObjectTypeValues() []string

PossibleNestedItemObjectTypeValues returns a string slice of possible "NestedItemObjectType" values.

Types

type AccessPolicyApplicationId

type AccessPolicyApplicationId struct {
	SubscriptionId    string
	ResourceGroup     string
	VaultName         string
	ObjectIdName      string
	ApplicationIdName string
}

func AccessPolicyApplicationID

func AccessPolicyApplicationID(input string) (*AccessPolicyApplicationId, error)

AccessPolicyApplicationID parses a AccessPolicyApplication ID into an AccessPolicyApplicationId struct

func NewAccessPolicyApplicationID

func NewAccessPolicyApplicationID(subscriptionId, resourceGroup, vaultName, objectIdName, applicationIdName string) AccessPolicyApplicationId

func (AccessPolicyApplicationId) ID

func (AccessPolicyApplicationId) String

func (id AccessPolicyApplicationId) String() string

type AccessPolicyId

type AccessPolicyId struct {
	// contains filtered or unexported fields
}

func AccessPolicyID

func AccessPolicyID(input string) (*AccessPolicyId, error)

func NewAccessPolicyId

func NewAccessPolicyId(keyVaultId commonids.KeyVaultId, objectId, applicationId string) AccessPolicyId

func (AccessPolicyId) ApplicationId

func (a AccessPolicyId) ApplicationId() string

func (AccessPolicyId) ID

func (a AccessPolicyId) ID() string

func (AccessPolicyId) KeyVaultId

func (a AccessPolicyId) KeyVaultId() commonids.KeyVaultId

func (AccessPolicyId) ObjectID

func (a AccessPolicyId) ObjectID() string

func (AccessPolicyId) String

func (a AccessPolicyId) String() string

type AccessPolicyObjectId

type AccessPolicyObjectId struct {
	SubscriptionId string
	ResourceGroup  string
	VaultName      string
	ObjectIdName   string
}

func AccessPolicyObjectID

func AccessPolicyObjectID(input string) (*AccessPolicyObjectId, error)

AccessPolicyObjectID parses a AccessPolicyObject ID into an AccessPolicyObjectId struct

func NewAccessPolicyObjectID

func NewAccessPolicyObjectID(subscriptionId, resourceGroup, vaultName, objectIdName string) AccessPolicyObjectId

func (AccessPolicyObjectId) ID

func (id AccessPolicyObjectId) ID() string

func (AccessPolicyObjectId) String

func (id AccessPolicyObjectId) String() string

type CertificateContactsId

type CertificateContactsId struct {
	KeyVaultBaseUrl string
}

func CertificateContactsID

func CertificateContactsID(input string) (*CertificateContactsId, error)

func NewCertificateContactsID

func NewCertificateContactsID(keyVaultBaseUrl string) (*CertificateContactsId, error)

func (CertificateContactsId) ID

func (id CertificateContactsId) ID() string

func (CertificateContactsId) String

func (id CertificateContactsId) String() string

type CertificateId

type CertificateId struct {
	SubscriptionId string
	ResourceGroup  string
	VaultName      string
	Name           string
	VersionName    string
}

func CertificateID

func CertificateID(input string) (*CertificateId, error)

CertificateID parses a Certificate ID into an CertificateId struct

func NewCertificateID

func NewCertificateID(subscriptionId, resourceGroup, vaultName, name, versionName string) CertificateId

func (CertificateId) ID

func (id CertificateId) ID() string

func (CertificateId) String

func (id CertificateId) String() string

type CertificateVersionlessId

type CertificateVersionlessId struct {
	SubscriptionId  string
	ResourceGroup   string
	VaultName       string
	CertificateName string
}

func CertificateVersionlessID

func CertificateVersionlessID(input string) (*CertificateVersionlessId, error)

CertificateVersionlessID parses a CertificateVersionless ID into an CertificateVersionlessId struct

func NewCertificateVersionlessID

func NewCertificateVersionlessID(subscriptionId, resourceGroup, vaultName, certificateName string) CertificateVersionlessId

func (CertificateVersionlessId) ID

func (CertificateVersionlessId) String

func (id CertificateVersionlessId) String() string

type IssuerId

type IssuerId struct {
	KeyVaultBaseUrl string
	Name            string
}

func IssuerID

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

func NewIssuerID

func NewIssuerID(keyVaultBaseUrl, name string) IssuerId

func (IssuerId) ID

func (i IssuerId) ID() string

func (IssuerId) String

func (i IssuerId) String() string

type KeyId

type KeyId struct {
	SubscriptionId string
	ResourceGroup  string
	VaultName      string
	Name           string
	VersionName    string
}

func KeyID

func KeyID(input string) (*KeyId, error)

KeyID parses a Key ID into an KeyId struct

func NewKeyID

func NewKeyID(subscriptionId, resourceGroup, vaultName, name, versionName string) KeyId

func (KeyId) ID

func (id KeyId) ID() string

func (KeyId) String

func (id KeyId) String() string

type KeyVersionlessId

type KeyVersionlessId struct {
	SubscriptionId string
	ResourceGroup  string
	VaultName      string
	KeyName        string
}

func KeyVersionlessID

func KeyVersionlessID(input string) (*KeyVersionlessId, error)

KeyVersionlessID parses a KeyVersionless ID into an KeyVersionlessId struct

func NewKeyVersionlessID

func NewKeyVersionlessID(subscriptionId, resourceGroup, vaultName, keyName string) KeyVersionlessId

func (KeyVersionlessId) ID

func (id KeyVersionlessId) ID() string

func (KeyVersionlessId) String

func (id KeyVersionlessId) String() string

type NestedItemId

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

func NewNestedItemID

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

func NewNestedKeyID

func NewNestedKeyID(keyVaultBaseUrl string, 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 ParseNestedKeyID

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

ParseNestedKeyID parses a Key Vault Nested Key ID 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 ParseOptionallyVersionedNestedKeyID

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

ParseOptionallyVersionedNestedKeyID parses a Key Vault Nested Key ID optionally containing a version into a NestedItemId object

func (NestedItemId) ID

func (id NestedItemId) ID() string

func (NestedItemId) String

func (id NestedItemId) String() string

func (NestedItemId) VersionlessID

func (id NestedItemId) VersionlessID() string

type NestedItemObjectType

type NestedItemObjectType string

NestedItemObjectType enumerates the type of the "NestedItemType" value (e.g."keys", "secrets" or "certificates").

const (
	// KeyVaultObjectType Keys...
	NestedItemTypeKey NestedItemObjectType = "keys"
	// KeyVaultObjectType Secrets...
	NestedItemTypeSecret NestedItemObjectType = "secrets"
	// KeyVaultObjectType Certificates...
	NestedItemTypeCertificate NestedItemObjectType = "certificates"
	// KeyVaultObjectType Storage Keys...
	NestedItemTypeStorageKey NestedItemObjectType = "storage"
)

type SasDefinitionId

type SasDefinitionId struct {
	KeyVaultBaseUrl    string
	StorageAccountName string
	Name               string
}

func SasDefinitionID

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

func (SasDefinitionId) ID

func (i SasDefinitionId) ID() string

type SecretId

type SecretId struct {
	SubscriptionId string
	ResourceGroup  string
	VaultName      string
	Name           string
	VersionName    string
}

func NewSecretID

func NewSecretID(subscriptionId, resourceGroup, vaultName, name, versionName string) SecretId

func SecretID

func SecretID(input string) (*SecretId, error)

SecretID parses a Secret ID into an SecretId struct

func (SecretId) ID

func (id SecretId) ID() string

func (SecretId) String

func (id SecretId) String() string

type SecretVersionlessId

type SecretVersionlessId struct {
	SubscriptionId string
	ResourceGroup  string
	VaultName      string
	SecretName     string
}

func NewSecretVersionlessID

func NewSecretVersionlessID(subscriptionId, resourceGroup, vaultName, secretName string) SecretVersionlessId

func SecretVersionlessID

func SecretVersionlessID(input string) (*SecretVersionlessId, error)

SecretVersionlessID parses a SecretVersionless ID into an SecretVersionlessId struct

func (SecretVersionlessId) ID

func (id SecretVersionlessId) ID() string

func (SecretVersionlessId) String

func (id SecretVersionlessId) String() string

Jump to

Keyboard shortcuts

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