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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagementGroupTemplateDeploymentId

type ManagementGroupTemplateDeploymentId struct {
	ManagementGroupName string
	DeploymentName      string
}

func ManagementGroupTemplateDeploymentID

func ManagementGroupTemplateDeploymentID(input string) (*ManagementGroupTemplateDeploymentId, error)

ManagementGroupTemplateDeploymentID parses a ManagementGroupTemplateDeployment ID into an ManagementGroupTemplateDeploymentId struct

func NewManagementGroupTemplateDeploymentID

func NewManagementGroupTemplateDeploymentID(managementGroupName, deploymentName string) ManagementGroupTemplateDeploymentId

func (ManagementGroupTemplateDeploymentId) ID

func (ManagementGroupTemplateDeploymentId) String

type ResourceGroupId

type ResourceGroupId struct {
	SubscriptionId string
	ResourceGroup  string
}

func NewResourceGroupID

func NewResourceGroupID(subscriptionId, resourceGroup string) ResourceGroupId

func ResourceGroupID

func ResourceGroupID(input string) (*ResourceGroupId, error)

ResourceGroupID parses a ResourceGroup ID into an ResourceGroupId struct

func ResourceGroupIDInsensitively

func ResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)

ResourceGroupIDInsensitively parses an ResourceGroup ID into an ResourceGroupId struct, insensitively This should only be used to parse an ID for rewriting, the ResourceGroupID 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 (ResourceGroupId) ID

func (id ResourceGroupId) ID() string

func (ResourceGroupId) String

func (id ResourceGroupId) String() string

type ResourceGroupTemplateDeploymentId

type ResourceGroupTemplateDeploymentId struct {
	SubscriptionId string
	ResourceGroup  string
	DeploymentName string
}

func NewResourceGroupTemplateDeploymentID

func NewResourceGroupTemplateDeploymentID(subscriptionId, resourceGroup, deploymentName string) ResourceGroupTemplateDeploymentId

func ResourceGroupTemplateDeploymentID

func ResourceGroupTemplateDeploymentID(input string) (*ResourceGroupTemplateDeploymentId, error)

ResourceGroupTemplateDeploymentID parses a ResourceGroupTemplateDeployment ID into an ResourceGroupTemplateDeploymentId struct

func ResourceGroupTemplateDeploymentIDInsensitively

func ResourceGroupTemplateDeploymentIDInsensitively(input string) (*ResourceGroupTemplateDeploymentId, error)

ResourceGroupTemplateDeploymentIDInsensitively parses an ResourceGroupTemplateDeployment ID into an ResourceGroupTemplateDeploymentId struct, insensitively This should only be used to parse an ID for rewriting, the ResourceGroupTemplateDeploymentID 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 (ResourceGroupTemplateDeploymentId) ID

func (ResourceGroupTemplateDeploymentId) String

type ResourceProviderId

type ResourceProviderId struct {
	SubscriptionId   string
	ResourceProvider string
}

func NewResourceProviderID

func NewResourceProviderID(subscriptionId, resourceProvider string) ResourceProviderId

func ResourceProviderID

func ResourceProviderID(input string) (*ResourceProviderId, error)

ResourceProviderID parses a ResourceProvider ID into an ResourceProviderId struct

func (ResourceProviderId) ID

func (id ResourceProviderId) ID() string

func (ResourceProviderId) String

func (id ResourceProviderId) String() string

type SubscriptionTemplateDeploymentId

type SubscriptionTemplateDeploymentId struct {
	SubscriptionId string
	DeploymentName string
}

func NewSubscriptionTemplateDeploymentID

func NewSubscriptionTemplateDeploymentID(subscriptionId, deploymentName string) SubscriptionTemplateDeploymentId

func SubscriptionTemplateDeploymentID

func SubscriptionTemplateDeploymentID(input string) (*SubscriptionTemplateDeploymentId, error)

SubscriptionTemplateDeploymentID parses a SubscriptionTemplateDeployment ID into an SubscriptionTemplateDeploymentId struct

func (SubscriptionTemplateDeploymentId) ID

func (SubscriptionTemplateDeploymentId) String

type TemplateSpecVersionId

type TemplateSpecVersionId struct {
	SubscriptionId   string
	ResourceGroup    string
	TemplateSpecName string
	VersionName      string
}

func NewTemplateSpecVersionID

func NewTemplateSpecVersionID(subscriptionId, resourceGroup, templateSpecName, versionName string) TemplateSpecVersionId

func TemplateSpecVersionID

func TemplateSpecVersionID(input string) (*TemplateSpecVersionId, error)

TemplateSpecVersionID parses a TemplateSpecVersion ID into an TemplateSpecVersionId struct

func (TemplateSpecVersionId) ID

func (id TemplateSpecVersionId) ID() string

func (TemplateSpecVersionId) String

func (id TemplateSpecVersionId) String() string

type TenantTemplateDeploymentId

type TenantTemplateDeploymentId struct {
	DeploymentName string
}

func NewTenantTemplateDeploymentID

func NewTenantTemplateDeploymentID(deploymentName string) TenantTemplateDeploymentId

func TenantTemplateDeploymentID

func TenantTemplateDeploymentID(input string) (*TenantTemplateDeploymentId, error)

TenantTemplateDeploymentID parses a TenantTemplateDeployment ID into an TenantTemplateDeploymentId struct

func (TenantTemplateDeploymentId) ID

func (TenantTemplateDeploymentId) String

func (id TenantTemplateDeploymentId) String() string

Jump to

Keyboard shortcuts

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