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 ComputeClusterId

type ComputeClusterId struct {
	SubscriptionId string
	ResourceGroup  string
	WorkspaceName  string
	ComputeName    string
}

func ComputeClusterID

func ComputeClusterID(input string) (*ComputeClusterId, error)

ComputeClusterID parses a ComputeCluster ID into an ComputeClusterId struct

func NewComputeClusterID

func NewComputeClusterID(subscriptionId, resourceGroup, workspaceName, computeName string) ComputeClusterId

func (ComputeClusterId) ID

func (id ComputeClusterId) ID() string

func (ComputeClusterId) String

func (id ComputeClusterId) String() string

type ComputeId

type ComputeId struct {
	SubscriptionId string
	ResourceGroup  string
	WorkspaceName  string
	Name           string
}

func ComputeID

func ComputeID(input string) (*ComputeId, error)

ComputeID parses a Compute ID into an ComputeId struct

func NewComputeID

func NewComputeID(subscriptionId, resourceGroup, workspaceName, name string) ComputeId

func (ComputeId) ID

func (id ComputeId) ID() string

func (ComputeId) String

func (id ComputeId) String() string

type InferenceClusterId

type InferenceClusterId struct {
	SubscriptionId string
	ResourceGroup  string
	WorkspaceName  string
	ComputeName    string
}

func InferenceClusterID

func InferenceClusterID(input string) (*InferenceClusterId, error)

InferenceClusterID parses a InferenceCluster ID into an InferenceClusterId struct

func NewInferenceClusterID

func NewInferenceClusterID(subscriptionId, resourceGroup, workspaceName, computeName string) InferenceClusterId

func (InferenceClusterId) ID

func (id InferenceClusterId) ID() string

func (InferenceClusterId) String

func (id InferenceClusterId) String() string

type KubernetesClusterId

type KubernetesClusterId struct {
	SubscriptionId     string
	ResourceGroup      string
	ManagedClusterName string
}

func KubernetesClusterID

func KubernetesClusterID(input string) (*KubernetesClusterId, error)

KubernetesClusterID parses a KubernetesCluster ID into an KubernetesClusterId struct

func NewKubernetesClusterID

func NewKubernetesClusterID(subscriptionId, resourceGroup, managedClusterName string) KubernetesClusterId

func (KubernetesClusterId) ID

func (id KubernetesClusterId) ID() string

func (KubernetesClusterId) String

func (id KubernetesClusterId) String() string

type WorkspaceId

type WorkspaceId struct {
	SubscriptionId string
	ResourceGroup  string
	Name           string
}

func NewWorkspaceID

func NewWorkspaceID(subscriptionId, resourceGroup, name string) WorkspaceId

func WorkspaceID

func WorkspaceID(input string) (*WorkspaceId, error)

WorkspaceID parses a Workspace ID into an WorkspaceId struct

func (WorkspaceId) ID

func (id WorkspaceId) ID() string

func (WorkspaceId) String

func (id WorkspaceId) String() string

Jump to

Keyboard shortcuts

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