parse

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageAccountId

type StorageAccountId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NewStorageAccountID

func NewStorageAccountID(subscriptionId, resourceGroup, name string) StorageAccountId

func StorageAccountID

func StorageAccountID(input string) (*StorageAccountId, error)

StorageAccountID parses a StorageAccount ID into an StorageAccountId struct

func StorageAccountIDInsensitively

func StorageAccountIDInsensitively(input string) (*StorageAccountId, error)

StorageAccountIDInsensitively parses an StorageAccount ID into an StorageAccountId struct, insensitively This should only be used to parse an ID for rewriting, the StorageAccountID method should be used instead for validation etc.

Whilst this may seem strange, this enables Terraform have consistent casing which works around issues in Core, whilst handling broken API responses.

func (StorageAccountId) ID

func (id StorageAccountId) ID() string

func (StorageAccountId) String

func (id StorageAccountId) String() string

type StorageContainerDataPlaneId

type StorageContainerDataPlaneId struct {
	AccountName  string
	DomainSuffix string
	Name         string
}

func NewStorageContainerDataPlaneId

func NewStorageContainerDataPlaneId(accountName, domainSuffix, name string) StorageContainerDataPlaneId

func StorageContainerDataPlaneID

func StorageContainerDataPlaneID(id string) (*StorageContainerDataPlaneId, error)

func (StorageContainerDataPlaneId) ID

type StorageContainerResourceManagerId

type StorageContainerResourceManagerId struct {
	SubscriptionId     string
	ResourceGroup      string
	StorageAccountName string
	BlobServiceName    string
	ContainerName      string
}

func NewStorageContainerResourceManagerID

func NewStorageContainerResourceManagerID(subscriptionId, resourceGroup, storageAccountName, blobServiceName, containerName string) StorageContainerResourceManagerId

func StorageContainerResourceManagerID

func StorageContainerResourceManagerID(input string) (*StorageContainerResourceManagerId, error)

StorageContainerResourceManagerID parses a StorageContainerResourceManager ID into an StorageContainerResourceManagerId struct

func (StorageContainerResourceManagerId) ID

func (StorageContainerResourceManagerId) String

Jump to

Keyboard shortcuts

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