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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomDomainId

type CustomDomainId struct {
	SubscriptionId string
	ResourceGroup  string
	ProfileName    string
	EndpointName   string
	Name           string
}

func CustomDomainID

func CustomDomainID(input string) (*CustomDomainId, error)

CustomDomainID parses a CustomDomain ID into an CustomDomainId struct

func NewCustomDomainID

func NewCustomDomainID(subscriptionId, resourceGroup, profileName, endpointName, name string) CustomDomainId

func (CustomDomainId) ID

func (id CustomDomainId) ID() string

func (CustomDomainId) String

func (id CustomDomainId) String() string

type EndpointId

type EndpointId struct {
	SubscriptionId string
	ResourceGroup  string
	ProfileName    string
	Name           string
}

func EndpointID

func EndpointID(input string) (*EndpointId, error)

EndpointID parses a Endpoint ID into an EndpointId struct

func EndpointIDInsensitively

func EndpointIDInsensitively(input string) (*EndpointId, error)

EndpointIDInsensitively parses an Endpoint ID into an EndpointId struct, insensitively This should only be used to parse an ID for rewriting, the EndpointID 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 NewEndpointID

func NewEndpointID(subscriptionId, resourceGroup, profileName, name string) EndpointId

func (EndpointId) ID

func (id EndpointId) ID() string

func (EndpointId) String

func (id EndpointId) String() string

type ProfileId

type ProfileId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NewProfileID

func NewProfileID(subscriptionId, resourceGroup, name string) ProfileId

func ProfileID

func ProfileID(input string) (*ProfileId, error)

ProfileID parses a Profile ID into an ProfileId struct

func ProfileIDInsensitively

func ProfileIDInsensitively(input string) (*ProfileId, error)

ProfileIDInsensitively parses an Profile ID into an ProfileId struct, insensitively This should only be used to parse an ID for rewriting, the ProfileID 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 (ProfileId) ID

func (id ProfileId) ID() string

func (ProfileId) String

func (id ProfileId) String() string

Jump to

Keyboard shortcuts

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