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 ProjectId

type ProjectId struct {
	SubscriptionId string
	ResourceGroup  string
	ServiceName    string
	Name           string
}

func NewProjectID

func NewProjectID(subscriptionId, resourceGroup, serviceName, name string) ProjectId

func ProjectID

func ProjectID(input string) (*ProjectId, error)

ProjectID parses a Project ID into an ProjectId struct

func (ProjectId) ID

func (id ProjectId) ID() string

func (ProjectId) String

func (id ProjectId) String() string

type ServiceId

type ServiceId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NewServiceID

func NewServiceID(subscriptionId, resourceGroup, name string) ServiceId

func ServiceID

func ServiceID(input string) (*ServiceId, error)

ServiceID parses a Service ID into an ServiceId struct

func (ServiceId) ID

func (id ServiceId) ID() string

func (ServiceId) String

func (id ServiceId) String() string

Jump to

Keyboard shortcuts

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