parse

package
v2.85.5 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 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 ClusterId

type ClusterId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func ClusterID

func ClusterID(input string) (*ClusterId, error)

ClusterID parses a Cluster ID into an ClusterId struct

func NewClusterID

func NewClusterID(subscriptionId, resourceGroup, name string) ClusterId

func (ClusterId) ID

func (id ClusterId) ID() string

func (ClusterId) String

func (id ClusterId) String() string

type EventHubConsumerGroupId

type EventHubConsumerGroupId struct {
	SubscriptionId    string
	ResourceGroup     string
	NamespaceName     string
	EventhubName      string
	ConsumergroupName string
}

func EventHubConsumerGroupID

func EventHubConsumerGroupID(input string) (*EventHubConsumerGroupId, error)

EventHubConsumerGroupID parses a EventHubConsumerGroup ID into an EventHubConsumerGroupId struct

func NewEventHubConsumerGroupID

func NewEventHubConsumerGroupID(subscriptionId, resourceGroup, namespaceName, eventhubName, consumergroupName string) EventHubConsumerGroupId

func (EventHubConsumerGroupId) ID

func (EventHubConsumerGroupId) String

func (id EventHubConsumerGroupId) String() string

type EventHubId

type EventHubId struct {
	SubscriptionId string
	ResourceGroup  string
	NamespaceName  string
	Name           string
}

func EventHubID

func EventHubID(input string) (*EventHubId, error)

EventHubID parses a EventHub ID into an EventHubId struct

func NewEventHubID

func NewEventHubID(subscriptionId, resourceGroup, namespaceName, name string) EventHubId

func (EventHubId) ID

func (id EventHubId) ID() string

func (EventHubId) String

func (id EventHubId) String() string

type NamespaceAuthorizationRuleId

type NamespaceAuthorizationRuleId struct {
	SubscriptionId        string
	ResourceGroup         string
	NamespaceName         string
	AuthorizationRuleName string
}

func NamespaceAuthorizationRuleID

func NamespaceAuthorizationRuleID(input string) (*NamespaceAuthorizationRuleId, error)

NamespaceAuthorizationRuleID parses a NamespaceAuthorizationRule ID into an NamespaceAuthorizationRuleId struct

func NamespaceAuthorizationRuleIDInsensitively

func NamespaceAuthorizationRuleIDInsensitively(input string) (*NamespaceAuthorizationRuleId, error)

NamespaceAuthorizationRuleIDInsensitively parses an NamespaceAuthorizationRule ID into an NamespaceAuthorizationRuleId struct, insensitively This should only be used to parse an ID for rewriting, the NamespaceAuthorizationRuleID 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 NewNamespaceAuthorizationRuleID

func NewNamespaceAuthorizationRuleID(subscriptionId, resourceGroup, namespaceName, authorizationRuleName string) NamespaceAuthorizationRuleId

func (NamespaceAuthorizationRuleId) ID

func (NamespaceAuthorizationRuleId) String

type NamespaceId

type NamespaceId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NamespaceID

func NamespaceID(input string) (*NamespaceId, error)

NamespaceID parses a Namespace ID into an NamespaceId struct

func NewNamespaceID

func NewNamespaceID(subscriptionId, resourceGroup, name string) NamespaceId

func (NamespaceId) ID

func (id NamespaceId) ID() string

func (NamespaceId) String

func (id NamespaceId) String() string

Jump to

Keyboard shortcuts

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