operationalizationclusters

package
v0.20220809.1122626 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: MPL-2.0 Imports: 15 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2021-07-01/operationalizationclusters Documentation

The operationalizationclusters SDK allows for interaction with the Azure Resource Manager Service machinelearningservices (API Version 2021-07-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2021-07-01/operationalizationclusters"

Client Initialization

client := operationalizationclusters.NewOperationalizationClustersClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: OperationalizationClustersClient.ComputeCreateOrUpdate

ctx := context.TODO()
id := operationalizationclusters.NewComputeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "computeValue")

payload := operationalizationclusters.ComputeResource{
	// ...
}


if err := client.ComputeCreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: OperationalizationClustersClient.ComputeDelete

ctx := context.TODO()
id := operationalizationclusters.NewComputeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "computeValue")

if err := client.ComputeDeleteThenPoll(ctx, id, operationalizationclusters.DefaultComputeDeleteOperationOptions()); err != nil {
	// handle the error
}

Example Usage: OperationalizationClustersClient.ComputeGet

ctx := context.TODO()
id := operationalizationclusters.NewComputeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "computeValue")

read, err := client.ComputeGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: OperationalizationClustersClient.ComputeList

ctx := context.TODO()
id := operationalizationclusters.NewWorkspaceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue")

// alternatively `client.ComputeList(ctx, id, operationalizationclusters.DefaultComputeListOperationOptions())` can be used to do batched pagination
items, err := client.ComputeListComplete(ctx, id, operationalizationclusters.DefaultComputeListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: OperationalizationClustersClient.ComputeListKeys

ctx := context.TODO()
id := operationalizationclusters.NewComputeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "computeValue")

read, err := client.ComputeListKeys(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: OperationalizationClustersClient.ComputeRestart

ctx := context.TODO()
id := operationalizationclusters.NewComputeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "computeValue")

if err := client.ComputeRestartThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: OperationalizationClustersClient.ComputeStart

ctx := context.TODO()
id := operationalizationclusters.NewComputeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "computeValue")

if err := client.ComputeStartThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: OperationalizationClustersClient.ComputeStop

ctx := context.TODO()
id := operationalizationclusters.NewComputeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "computeValue")

if err := client.ComputeStopThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: OperationalizationClustersClient.ComputeUpdate

ctx := context.TODO()
id := operationalizationclusters.NewComputeID("12345678-1234-9876-4563-123456789012", "example-resource-group", "workspaceValue", "computeValue")

payload := operationalizationclusters.ClusterUpdateParameters{
	// ...
}


if err := client.ComputeUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAllocationState

func PossibleValuesForAllocationState() []string

func PossibleValuesForApplicationSharingPolicy

func PossibleValuesForApplicationSharingPolicy() []string

func PossibleValuesForClusterPurpose

func PossibleValuesForClusterPurpose() []string

func PossibleValuesForComputeInstanceAuthorizationType

func PossibleValuesForComputeInstanceAuthorizationType() []string

func PossibleValuesForComputeInstanceState

func PossibleValuesForComputeInstanceState() []string

func PossibleValuesForComputeType

func PossibleValuesForComputeType() []string

func PossibleValuesForLoadBalancerType

func PossibleValuesForLoadBalancerType() []string

func PossibleValuesForOperationName

func PossibleValuesForOperationName() []string

func PossibleValuesForOperationStatus

func PossibleValuesForOperationStatus() []string

func PossibleValuesForOsType

func PossibleValuesForOsType() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForRemoteLoginPortPublicAccess

func PossibleValuesForRemoteLoginPortPublicAccess() []string

func PossibleValuesForSshPublicAccess

func PossibleValuesForSshPublicAccess() []string

func PossibleValuesForStatus

func PossibleValuesForStatus() []string

func PossibleValuesForUnderlyingResourceAction

func PossibleValuesForUnderlyingResourceAction() []string

func PossibleValuesForVmPriority

func PossibleValuesForVmPriority() []string

func ValidateComputeID

func ValidateComputeID(input interface{}, key string) (warnings []string, errors []error)

ValidateComputeID checks that 'input' can be parsed as a Compute ID

func ValidateWorkspaceID

func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)

ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID

Types

type AKS

type AKS struct {
	Properties *AKSProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*AKS) GetCreatedOnAsTime

func (o *AKS) GetCreatedOnAsTime() (*time.Time, error)

func (*AKS) GetModifiedOnAsTime

func (o *AKS) GetModifiedOnAsTime() (*time.Time, error)

func (AKS) MarshalJSON

func (s AKS) MarshalJSON() ([]byte, error)

func (*AKS) SetCreatedOnAsTime

func (o *AKS) SetCreatedOnAsTime(input time.Time)

func (*AKS) SetModifiedOnAsTime

func (o *AKS) SetModifiedOnAsTime(input time.Time)

type AKSProperties

type AKSProperties struct {
	AgentCount                 *int64                      `json:"agentCount,omitempty"`
	AgentVmSize                *string                     `json:"agentVmSize,omitempty"`
	AksNetworkingConfiguration *AksNetworkingConfiguration `json:"aksNetworkingConfiguration,omitempty"`
	ClusterFqdn                *string                     `json:"clusterFqdn,omitempty"`
	ClusterPurpose             *ClusterPurpose             `json:"clusterPurpose,omitempty"`
	LoadBalancerSubnet         *string                     `json:"loadBalancerSubnet,omitempty"`
	LoadBalancerType           *LoadBalancerType           `json:"loadBalancerType,omitempty"`
	SslConfiguration           *SslConfiguration           `json:"sslConfiguration,omitempty"`
	SystemServices             *[]SystemService            `json:"systemServices,omitempty"`
}

type AksComputeSecrets added in v0.20220720.1063736

type AksComputeSecrets struct {
	AdminKubeConfig     *string `json:"adminKubeConfig,omitempty"`
	ImagePullSecretName *string `json:"imagePullSecretName,omitempty"`
	UserKubeConfig      *string `json:"userKubeConfig,omitempty"`
}

func (AksComputeSecrets) MarshalJSON added in v0.20220720.1063736

func (s AksComputeSecrets) MarshalJSON() ([]byte, error)

type AksNetworkingConfiguration

type AksNetworkingConfiguration struct {
	DnsServiceIP     *string `json:"dnsServiceIP,omitempty"`
	DockerBridgeCidr *string `json:"dockerBridgeCidr,omitempty"`
	ServiceCidr      *string `json:"serviceCidr,omitempty"`
	SubnetId         *string `json:"subnetId,omitempty"`
}

type AllocationState

type AllocationState string
const (
	AllocationStateResizing AllocationState = "Resizing"
	AllocationStateSteady   AllocationState = "Steady"
)

type AmlCompute

type AmlCompute struct {
	Properties *AmlComputeProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*AmlCompute) GetCreatedOnAsTime

func (o *AmlCompute) GetCreatedOnAsTime() (*time.Time, error)

func (*AmlCompute) GetModifiedOnAsTime

func (o *AmlCompute) GetModifiedOnAsTime() (*time.Time, error)

func (AmlCompute) MarshalJSON

func (s AmlCompute) MarshalJSON() ([]byte, error)

func (*AmlCompute) SetCreatedOnAsTime

func (o *AmlCompute) SetCreatedOnAsTime(input time.Time)

func (*AmlCompute) SetModifiedOnAsTime

func (o *AmlCompute) SetModifiedOnAsTime(input time.Time)

type AmlComputeProperties

type AmlComputeProperties struct {
	AllocationState               *AllocationState             `json:"allocationState,omitempty"`
	AllocationStateTransitionTime *string                      `json:"allocationStateTransitionTime,omitempty"`
	CurrentNodeCount              *int64                       `json:"currentNodeCount,omitempty"`
	EnableNodePublicIP            *bool                        `json:"enableNodePublicIp,omitempty"`
	Errors                        *[]ErrorResponse             `json:"errors,omitempty"`
	IsolatedNetwork               *bool                        `json:"isolatedNetwork,omitempty"`
	NodeStateCounts               *NodeStateCounts             `json:"nodeStateCounts,omitempty"`
	OsType                        *OsType                      `json:"osType,omitempty"`
	RemoteLoginPortPublicAccess   *RemoteLoginPortPublicAccess `json:"remoteLoginPortPublicAccess,omitempty"`
	ScaleSettings                 *ScaleSettings               `json:"scaleSettings,omitempty"`
	Subnet                        *ResourceId                  `json:"subnet,omitempty"`
	TargetNodeCount               *int64                       `json:"targetNodeCount,omitempty"`
	UserAccountCredentials        *UserAccountCredentials      `json:"userAccountCredentials,omitempty"`
	VirtualMachineImage           *VirtualMachineImage         `json:"virtualMachineImage,omitempty"`
	VmPriority                    *VmPriority                  `json:"vmPriority,omitempty"`
	VmSize                        *string                      `json:"vmSize,omitempty"`
}

func (*AmlComputeProperties) GetAllocationStateTransitionTimeAsTime

func (o *AmlComputeProperties) GetAllocationStateTransitionTimeAsTime() (*time.Time, error)

func (*AmlComputeProperties) SetAllocationStateTransitionTimeAsTime

func (o *AmlComputeProperties) SetAllocationStateTransitionTimeAsTime(input time.Time)

type ApplicationSharingPolicy

type ApplicationSharingPolicy string
const (
	ApplicationSharingPolicyPersonal ApplicationSharingPolicy = "Personal"
	ApplicationSharingPolicyShared   ApplicationSharingPolicy = "Shared"
)

type AssignedUser

type AssignedUser struct {
	ObjectId string `json:"objectId"`
	TenantId string `json:"tenantId"`
}

type AutoPauseProperties

type AutoPauseProperties struct {
	DelayInMinutes *int64 `json:"delayInMinutes,omitempty"`
	Enabled        *bool  `json:"enabled,omitempty"`
}

type AutoScaleProperties

type AutoScaleProperties struct {
	Enabled      *bool  `json:"enabled,omitempty"`
	MaxNodeCount *int64 `json:"maxNodeCount,omitempty"`
	MinNodeCount *int64 `json:"minNodeCount,omitempty"`
}

type ClusterPurpose

type ClusterPurpose string
const (
	ClusterPurposeDenseProd ClusterPurpose = "DenseProd"
	ClusterPurposeDevTest   ClusterPurpose = "DevTest"
	ClusterPurposeFastProd  ClusterPurpose = "FastProd"
)

type ClusterUpdateParameters

type ClusterUpdateParameters struct {
	Properties *ClusterUpdateProperties `json:"properties,omitempty"`
}

type ClusterUpdateProperties

type ClusterUpdateProperties struct {
	Properties *ScaleSettingsInformation `json:"properties,omitempty"`
}

type Compute

type Compute interface {
}

type ComputeCreateOrUpdateOperationResponse

type ComputeCreateOrUpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ComputeDeleteOperationOptions

type ComputeDeleteOperationOptions struct {
	UnderlyingResourceAction *UnderlyingResourceAction
}

func DefaultComputeDeleteOperationOptions

func DefaultComputeDeleteOperationOptions() ComputeDeleteOperationOptions

type ComputeDeleteOperationResponse

type ComputeDeleteOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ComputeGetOperationResponse

type ComputeGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *ComputeResource
}

type ComputeId

type ComputeId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
	ComputeName       string
}

ComputeId is a struct representing the Resource ID for a Compute

func NewComputeID

func NewComputeID(subscriptionId string, resourceGroupName string, workspaceName string, computeName string) ComputeId

NewComputeID returns a new ComputeId struct

func ParseComputeID

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

ParseComputeID parses 'input' into a ComputeId

func ParseComputeIDInsensitively

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

ParseComputeIDInsensitively parses 'input' case-insensitively into a ComputeId note: this method should only be used for API response data and not user input

func (ComputeId) ID

func (id ComputeId) ID() string

ID returns the formatted Compute ID

func (ComputeId) Segments

func (id ComputeId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Compute ID

func (ComputeId) String

func (id ComputeId) String() string

String returns a human-readable description of this Compute ID

type ComputeInstance

type ComputeInstance struct {
	Properties *ComputeInstanceProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*ComputeInstance) GetCreatedOnAsTime

func (o *ComputeInstance) GetCreatedOnAsTime() (*time.Time, error)

func (*ComputeInstance) GetModifiedOnAsTime

func (o *ComputeInstance) GetModifiedOnAsTime() (*time.Time, error)

func (ComputeInstance) MarshalJSON

func (s ComputeInstance) MarshalJSON() ([]byte, error)

func (*ComputeInstance) SetCreatedOnAsTime

func (o *ComputeInstance) SetCreatedOnAsTime(input time.Time)

func (*ComputeInstance) SetModifiedOnAsTime

func (o *ComputeInstance) SetModifiedOnAsTime(input time.Time)

type ComputeInstanceApplication

type ComputeInstanceApplication struct {
	DisplayName *string `json:"displayName,omitempty"`
	EndpointUri *string `json:"endpointUri,omitempty"`
}

type ComputeInstanceAuthorizationType

type ComputeInstanceAuthorizationType string
const (
	ComputeInstanceAuthorizationTypePersonal ComputeInstanceAuthorizationType = "personal"
)

type ComputeInstanceConnectivityEndpoints

type ComputeInstanceConnectivityEndpoints struct {
	PrivateIPAddress *string `json:"privateIpAddress,omitempty"`
	PublicIPAddress  *string `json:"publicIpAddress,omitempty"`
}

type ComputeInstanceCreatedBy

type ComputeInstanceCreatedBy struct {
	UserId    *string `json:"userId,omitempty"`
	UserName  *string `json:"userName,omitempty"`
	UserOrgId *string `json:"userOrgId,omitempty"`
}

type ComputeInstanceLastOperation

type ComputeInstanceLastOperation struct {
	OperationName   *OperationName   `json:"operationName,omitempty"`
	OperationStatus *OperationStatus `json:"operationStatus,omitempty"`
	OperationTime   *string          `json:"operationTime,omitempty"`
}

func (*ComputeInstanceLastOperation) GetOperationTimeAsTime

func (o *ComputeInstanceLastOperation) GetOperationTimeAsTime() (*time.Time, error)

func (*ComputeInstanceLastOperation) SetOperationTimeAsTime

func (o *ComputeInstanceLastOperation) SetOperationTimeAsTime(input time.Time)

type ComputeInstanceProperties

type ComputeInstanceProperties struct {
	ApplicationSharingPolicy         *ApplicationSharingPolicy             `json:"applicationSharingPolicy,omitempty"`
	Applications                     *[]ComputeInstanceApplication         `json:"applications,omitempty"`
	ComputeInstanceAuthorizationType *ComputeInstanceAuthorizationType     `json:"computeInstanceAuthorizationType,omitempty"`
	ConnectivityEndpoints            *ComputeInstanceConnectivityEndpoints `json:"connectivityEndpoints,omitempty"`
	CreatedBy                        *ComputeInstanceCreatedBy             `json:"createdBy,omitempty"`
	Errors                           *[]ErrorResponse                      `json:"errors,omitempty"`
	LastOperation                    *ComputeInstanceLastOperation         `json:"lastOperation,omitempty"`
	PersonalComputeInstanceSettings  *PersonalComputeInstanceSettings      `json:"personalComputeInstanceSettings,omitempty"`
	SetupScripts                     *SetupScripts                         `json:"setupScripts,omitempty"`
	SshSettings                      *ComputeInstanceSshSettings           `json:"sshSettings,omitempty"`
	State                            *ComputeInstanceState                 `json:"state,omitempty"`
	Subnet                           *ResourceId                           `json:"subnet,omitempty"`
	VmSize                           *string                               `json:"vmSize,omitempty"`
}

type ComputeInstanceSshSettings

type ComputeInstanceSshSettings struct {
	AdminPublicKey  *string          `json:"adminPublicKey,omitempty"`
	AdminUserName   *string          `json:"adminUserName,omitempty"`
	SshPort         *int64           `json:"sshPort,omitempty"`
	SshPublicAccess *SshPublicAccess `json:"sshPublicAccess,omitempty"`
}

type ComputeInstanceState

type ComputeInstanceState string
const (
	ComputeInstanceStateCreateFailed    ComputeInstanceState = "CreateFailed"
	ComputeInstanceStateCreating        ComputeInstanceState = "Creating"
	ComputeInstanceStateDeleting        ComputeInstanceState = "Deleting"
	ComputeInstanceStateJobRunning      ComputeInstanceState = "JobRunning"
	ComputeInstanceStateRestarting      ComputeInstanceState = "Restarting"
	ComputeInstanceStateRunning         ComputeInstanceState = "Running"
	ComputeInstanceStateSettingUp       ComputeInstanceState = "SettingUp"
	ComputeInstanceStateSetupFailed     ComputeInstanceState = "SetupFailed"
	ComputeInstanceStateStarting        ComputeInstanceState = "Starting"
	ComputeInstanceStateStopped         ComputeInstanceState = "Stopped"
	ComputeInstanceStateStopping        ComputeInstanceState = "Stopping"
	ComputeInstanceStateUnknown         ComputeInstanceState = "Unknown"
	ComputeInstanceStateUnusable        ComputeInstanceState = "Unusable"
	ComputeInstanceStateUserSettingUp   ComputeInstanceState = "UserSettingUp"
	ComputeInstanceStateUserSetupFailed ComputeInstanceState = "UserSetupFailed"
)

type ComputeListCompleteResult

type ComputeListCompleteResult struct {
	Items []ComputeResource
}

type ComputeListKeysOperationResponse

type ComputeListKeysOperationResponse struct {
	HttpResponse *http.Response
	Model        *ComputeSecrets
}

type ComputeListOperationOptions

type ComputeListOperationOptions struct {
	Skip *string
}

func DefaultComputeListOperationOptions

func DefaultComputeListOperationOptions() ComputeListOperationOptions

type ComputeListOperationResponse

type ComputeListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]ComputeResource
	// contains filtered or unexported fields
}

func (ComputeListOperationResponse) HasMore

func (r ComputeListOperationResponse) HasMore() bool

func (ComputeListOperationResponse) LoadMore

type ComputeResource

type ComputeResource struct {
	Id         *string                                  `json:"id,omitempty"`
	Identity   *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   *string                                  `json:"location,omitempty"`
	Name       *string                                  `json:"name,omitempty"`
	Properties Compute                                  `json:"properties"`
	Sku        *Sku                                     `json:"sku,omitempty"`
	SystemData *systemdata.SystemData                   `json:"systemData,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
	Type       *string                                  `json:"type,omitempty"`
}

func (*ComputeResource) UnmarshalJSON

func (s *ComputeResource) UnmarshalJSON(bytes []byte) error

type ComputeResourceOperationPredicate

type ComputeResourceOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ComputeResourceOperationPredicate) Matches

type ComputeRestartOperationResponse

type ComputeRestartOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ComputeSecrets

type ComputeSecrets interface {
}

type ComputeStartOperationResponse

type ComputeStartOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ComputeStopOperationResponse

type ComputeStopOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ComputeType

type ComputeType string
const (
	ComputeTypeAKS               ComputeType = "AKS"
	ComputeTypeAmlCompute        ComputeType = "AmlCompute"
	ComputeTypeComputeInstance   ComputeType = "ComputeInstance"
	ComputeTypeDataFactory       ComputeType = "DataFactory"
	ComputeTypeDataLakeAnalytics ComputeType = "DataLakeAnalytics"
	ComputeTypeDatabricks        ComputeType = "Databricks"
	ComputeTypeHDInsight         ComputeType = "HDInsight"
	ComputeTypeKubernetes        ComputeType = "Kubernetes"
	ComputeTypeSynapseSpark      ComputeType = "SynapseSpark"
	ComputeTypeVirtualMachine    ComputeType = "VirtualMachine"
)

type ComputeUpdateOperationResponse

type ComputeUpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DataFactory

type DataFactory struct {

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*DataFactory) GetCreatedOnAsTime

func (o *DataFactory) GetCreatedOnAsTime() (*time.Time, error)

func (*DataFactory) GetModifiedOnAsTime

func (o *DataFactory) GetModifiedOnAsTime() (*time.Time, error)

func (DataFactory) MarshalJSON

func (s DataFactory) MarshalJSON() ([]byte, error)

func (*DataFactory) SetCreatedOnAsTime

func (o *DataFactory) SetCreatedOnAsTime(input time.Time)

func (*DataFactory) SetModifiedOnAsTime

func (o *DataFactory) SetModifiedOnAsTime(input time.Time)

type DataLakeAnalytics

type DataLakeAnalytics struct {
	Properties *DataLakeAnalyticsProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*DataLakeAnalytics) GetCreatedOnAsTime

func (o *DataLakeAnalytics) GetCreatedOnAsTime() (*time.Time, error)

func (*DataLakeAnalytics) GetModifiedOnAsTime

func (o *DataLakeAnalytics) GetModifiedOnAsTime() (*time.Time, error)

func (DataLakeAnalytics) MarshalJSON

func (s DataLakeAnalytics) MarshalJSON() ([]byte, error)

func (*DataLakeAnalytics) SetCreatedOnAsTime

func (o *DataLakeAnalytics) SetCreatedOnAsTime(input time.Time)

func (*DataLakeAnalytics) SetModifiedOnAsTime

func (o *DataLakeAnalytics) SetModifiedOnAsTime(input time.Time)

type DataLakeAnalyticsProperties

type DataLakeAnalyticsProperties struct {
	DataLakeStoreAccountName *string `json:"dataLakeStoreAccountName,omitempty"`
}

type Databricks

type Databricks struct {
	Properties *DatabricksProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*Databricks) GetCreatedOnAsTime

func (o *Databricks) GetCreatedOnAsTime() (*time.Time, error)

func (*Databricks) GetModifiedOnAsTime

func (o *Databricks) GetModifiedOnAsTime() (*time.Time, error)

func (Databricks) MarshalJSON

func (s Databricks) MarshalJSON() ([]byte, error)

func (*Databricks) SetCreatedOnAsTime

func (o *Databricks) SetCreatedOnAsTime(input time.Time)

func (*Databricks) SetModifiedOnAsTime

func (o *Databricks) SetModifiedOnAsTime(input time.Time)

type DatabricksComputeSecrets added in v0.20220720.1063736

type DatabricksComputeSecrets struct {
	DatabricksAccessToken *string `json:"databricksAccessToken,omitempty"`
}

func (DatabricksComputeSecrets) MarshalJSON added in v0.20220720.1063736

func (s DatabricksComputeSecrets) MarshalJSON() ([]byte, error)

type DatabricksProperties

type DatabricksProperties struct {
	DatabricksAccessToken *string `json:"databricksAccessToken,omitempty"`
	WorkspaceUrl          *string `json:"workspaceUrl,omitempty"`
}

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	Info *interface{} `json:"info,omitempty"`
	Type *string      `json:"type,omitempty"`
}

type ErrorDetail

type ErrorDetail struct {
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
	Code           *string                `json:"code,omitempty"`
	Details        *[]ErrorDetail         `json:"details,omitempty"`
	Message        *string                `json:"message,omitempty"`
	Target         *string                `json:"target,omitempty"`
}

type ErrorResponse

type ErrorResponse struct {
	Error *ErrorDetail `json:"error,omitempty"`
}

type HDInsight

type HDInsight struct {
	Properties *HDInsightProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*HDInsight) GetCreatedOnAsTime

func (o *HDInsight) GetCreatedOnAsTime() (*time.Time, error)

func (*HDInsight) GetModifiedOnAsTime

func (o *HDInsight) GetModifiedOnAsTime() (*time.Time, error)

func (HDInsight) MarshalJSON

func (s HDInsight) MarshalJSON() ([]byte, error)

func (*HDInsight) SetCreatedOnAsTime

func (o *HDInsight) SetCreatedOnAsTime(input time.Time)

func (*HDInsight) SetModifiedOnAsTime

func (o *HDInsight) SetModifiedOnAsTime(input time.Time)

type HDInsightProperties

type HDInsightProperties struct {
	Address              *string                       `json:"address,omitempty"`
	AdministratorAccount *VirtualMachineSshCredentials `json:"administratorAccount,omitempty"`
	SshPort              *int64                        `json:"sshPort,omitempty"`
}

type InstanceTypeSchema

type InstanceTypeSchema struct {
	NodeSelector *map[string]string           `json:"nodeSelector,omitempty"`
	Resources    *InstanceTypeSchemaResources `json:"resources,omitempty"`
}

type InstanceTypeSchemaResources

type InstanceTypeSchemaResources struct {
	Limits   *map[string]string `json:"limits,omitempty"`
	Requests *map[string]string `json:"requests,omitempty"`
}

type Kubernetes

type Kubernetes struct {
	Properties *KubernetesProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*Kubernetes) GetCreatedOnAsTime

func (o *Kubernetes) GetCreatedOnAsTime() (*time.Time, error)

func (*Kubernetes) GetModifiedOnAsTime

func (o *Kubernetes) GetModifiedOnAsTime() (*time.Time, error)

func (Kubernetes) MarshalJSON

func (s Kubernetes) MarshalJSON() ([]byte, error)

func (*Kubernetes) SetCreatedOnAsTime

func (o *Kubernetes) SetCreatedOnAsTime(input time.Time)

func (*Kubernetes) SetModifiedOnAsTime

func (o *Kubernetes) SetModifiedOnAsTime(input time.Time)

type KubernetesProperties

type KubernetesProperties struct {
	DefaultInstanceType           *string                        `json:"defaultInstanceType,omitempty"`
	ExtensionInstanceReleaseTrain *string                        `json:"extensionInstanceReleaseTrain,omitempty"`
	ExtensionPrincipalId          *string                        `json:"extensionPrincipalId,omitempty"`
	InstanceTypes                 *map[string]InstanceTypeSchema `json:"instanceTypes,omitempty"`
	Namespace                     *string                        `json:"namespace,omitempty"`
	RelayConnectionString         *string                        `json:"relayConnectionString,omitempty"`
	ServiceBusConnectionString    *string                        `json:"serviceBusConnectionString,omitempty"`
	VcName                        *string                        `json:"vcName,omitempty"`
}

type LoadBalancerType

type LoadBalancerType string
const (
	LoadBalancerTypeInternalLoadBalancer LoadBalancerType = "InternalLoadBalancer"
	LoadBalancerTypePublicIP             LoadBalancerType = "PublicIp"
)

type NodeStateCounts

type NodeStateCounts struct {
	IdleNodeCount      *int64 `json:"idleNodeCount,omitempty"`
	LeavingNodeCount   *int64 `json:"leavingNodeCount,omitempty"`
	PreemptedNodeCount *int64 `json:"preemptedNodeCount,omitempty"`
	PreparingNodeCount *int64 `json:"preparingNodeCount,omitempty"`
	RunningNodeCount   *int64 `json:"runningNodeCount,omitempty"`
	UnusableNodeCount  *int64 `json:"unusableNodeCount,omitempty"`
}

type OperationName

type OperationName string
const (
	OperationNameCreate  OperationName = "Create"
	OperationNameDelete  OperationName = "Delete"
	OperationNameReimage OperationName = "Reimage"
	OperationNameRestart OperationName = "Restart"
	OperationNameStart   OperationName = "Start"
	OperationNameStop    OperationName = "Stop"
)

type OperationStatus

type OperationStatus string
const (
	OperationStatusCreateFailed  OperationStatus = "CreateFailed"
	OperationStatusDeleteFailed  OperationStatus = "DeleteFailed"
	OperationStatusInProgress    OperationStatus = "InProgress"
	OperationStatusReimageFailed OperationStatus = "ReimageFailed"
	OperationStatusRestartFailed OperationStatus = "RestartFailed"
	OperationStatusStartFailed   OperationStatus = "StartFailed"
	OperationStatusStopFailed    OperationStatus = "StopFailed"
	OperationStatusSucceeded     OperationStatus = "Succeeded"
)

type OperationalizationClustersClient

type OperationalizationClustersClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewOperationalizationClustersClientWithBaseURI

func NewOperationalizationClustersClientWithBaseURI(endpoint string) OperationalizationClustersClient

func (OperationalizationClustersClient) ComputeCreateOrUpdate

ComputeCreateOrUpdate ...

func (OperationalizationClustersClient) ComputeCreateOrUpdateThenPoll

func (c OperationalizationClustersClient) ComputeCreateOrUpdateThenPoll(ctx context.Context, id ComputeId, input ComputeResource) error

ComputeCreateOrUpdateThenPoll performs ComputeCreateOrUpdate then polls until it's completed

func (OperationalizationClustersClient) ComputeDelete

ComputeDelete ...

func (OperationalizationClustersClient) ComputeDeleteThenPoll

ComputeDeleteThenPoll performs ComputeDelete then polls until it's completed

func (OperationalizationClustersClient) ComputeGet

ComputeGet ...

func (OperationalizationClustersClient) ComputeList

ComputeList ...

func (OperationalizationClustersClient) ComputeListComplete

ComputeListComplete retrieves all of the results into a single object

func (OperationalizationClustersClient) ComputeListCompleteMatchingPredicate

ComputeListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (OperationalizationClustersClient) ComputeListKeys

ComputeListKeys ...

func (OperationalizationClustersClient) ComputeRestart

ComputeRestart ...

func (OperationalizationClustersClient) ComputeRestartThenPoll

func (c OperationalizationClustersClient) ComputeRestartThenPoll(ctx context.Context, id ComputeId) error

ComputeRestartThenPoll performs ComputeRestart then polls until it's completed

func (OperationalizationClustersClient) ComputeStart

ComputeStart ...

func (OperationalizationClustersClient) ComputeStartThenPoll

func (c OperationalizationClustersClient) ComputeStartThenPoll(ctx context.Context, id ComputeId) error

ComputeStartThenPoll performs ComputeStart then polls until it's completed

func (OperationalizationClustersClient) ComputeStop

ComputeStop ...

func (OperationalizationClustersClient) ComputeStopThenPoll

func (c OperationalizationClustersClient) ComputeStopThenPoll(ctx context.Context, id ComputeId) error

ComputeStopThenPoll performs ComputeStop then polls until it's completed

func (OperationalizationClustersClient) ComputeUpdate

ComputeUpdate ...

func (OperationalizationClustersClient) ComputeUpdateThenPoll

ComputeUpdateThenPoll performs ComputeUpdate then polls until it's completed

type OsType

type OsType string
const (
	OsTypeLinux   OsType = "Linux"
	OsTypeWindows OsType = "Windows"
)

type PersonalComputeInstanceSettings

type PersonalComputeInstanceSettings struct {
	AssignedUser *AssignedUser `json:"assignedUser,omitempty"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled  ProvisioningState = "Canceled"
	ProvisioningStateCreating  ProvisioningState = "Creating"
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	ProvisioningStateUnknown   ProvisioningState = "Unknown"
	ProvisioningStateUpdating  ProvisioningState = "Updating"
)

type RemoteLoginPortPublicAccess

type RemoteLoginPortPublicAccess string
const (
	RemoteLoginPortPublicAccessDisabled     RemoteLoginPortPublicAccess = "Disabled"
	RemoteLoginPortPublicAccessEnabled      RemoteLoginPortPublicAccess = "Enabled"
	RemoteLoginPortPublicAccessNotSpecified RemoteLoginPortPublicAccess = "NotSpecified"
)

type ResourceId

type ResourceId struct {
	Id string `json:"id"`
}

type ScaleSettings

type ScaleSettings struct {
	MaxNodeCount                int64   `json:"maxNodeCount"`
	MinNodeCount                *int64  `json:"minNodeCount,omitempty"`
	NodeIdleTimeBeforeScaleDown *string `json:"nodeIdleTimeBeforeScaleDown,omitempty"`
}

type ScaleSettingsInformation

type ScaleSettingsInformation struct {
	ScaleSettings *ScaleSettings `json:"scaleSettings,omitempty"`
}

type ScriptReference

type ScriptReference struct {
	ScriptArguments *string `json:"scriptArguments,omitempty"`
	ScriptData      *string `json:"scriptData,omitempty"`
	ScriptSource    *string `json:"scriptSource,omitempty"`
	Timeout         *string `json:"timeout,omitempty"`
}

type ScriptsToExecute

type ScriptsToExecute struct {
	CreationScript *ScriptReference `json:"creationScript,omitempty"`
	StartupScript  *ScriptReference `json:"startupScript,omitempty"`
}

type SetupScripts

type SetupScripts struct {
	Scripts *ScriptsToExecute `json:"scripts,omitempty"`
}

type Sku

type Sku struct {
	Name *string `json:"name,omitempty"`
	Tier *string `json:"tier,omitempty"`
}

type SshPublicAccess

type SshPublicAccess string
const (
	SshPublicAccessDisabled SshPublicAccess = "Disabled"
	SshPublicAccessEnabled  SshPublicAccess = "Enabled"
)

type SslConfiguration

type SslConfiguration struct {
	Cert                    *string `json:"cert,omitempty"`
	Cname                   *string `json:"cname,omitempty"`
	Key                     *string `json:"key,omitempty"`
	LeafDomainLabel         *string `json:"leafDomainLabel,omitempty"`
	OverwriteExistingDomain *bool   `json:"overwriteExistingDomain,omitempty"`
	Status                  *Status `json:"status,omitempty"`
}

type Status

type Status string
const (
	StatusAuto     Status = "Auto"
	StatusDisabled Status = "Disabled"
	StatusEnabled  Status = "Enabled"
)

type SynapseSpark

type SynapseSpark struct {
	Properties *SynapseSparkProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*SynapseSpark) GetCreatedOnAsTime

func (o *SynapseSpark) GetCreatedOnAsTime() (*time.Time, error)

func (*SynapseSpark) GetModifiedOnAsTime

func (o *SynapseSpark) GetModifiedOnAsTime() (*time.Time, error)

func (SynapseSpark) MarshalJSON

func (s SynapseSpark) MarshalJSON() ([]byte, error)

func (*SynapseSpark) SetCreatedOnAsTime

func (o *SynapseSpark) SetCreatedOnAsTime(input time.Time)

func (*SynapseSpark) SetModifiedOnAsTime

func (o *SynapseSpark) SetModifiedOnAsTime(input time.Time)

type SynapseSparkProperties

type SynapseSparkProperties struct {
	AutoPauseProperties *AutoPauseProperties `json:"autoPauseProperties,omitempty"`
	AutoScaleProperties *AutoScaleProperties `json:"autoScaleProperties,omitempty"`
	NodeCount           *int64               `json:"nodeCount,omitempty"`
	NodeSize            *string              `json:"nodeSize,omitempty"`
	NodeSizeFamily      *string              `json:"nodeSizeFamily,omitempty"`
	PoolName            *string              `json:"poolName,omitempty"`
	ResourceGroup       *string              `json:"resourceGroup,omitempty"`
	SparkVersion        *string              `json:"sparkVersion,omitempty"`
	SubscriptionId      *string              `json:"subscriptionId,omitempty"`
	WorkspaceName       *string              `json:"workspaceName,omitempty"`
}

type SystemService

type SystemService struct {
	PublicIPAddress   *string `json:"publicIpAddress,omitempty"`
	SystemServiceType *string `json:"systemServiceType,omitempty"`
	Version           *string `json:"version,omitempty"`
}

type UnderlyingResourceAction

type UnderlyingResourceAction string
const (
	UnderlyingResourceActionDelete UnderlyingResourceAction = "Delete"
	UnderlyingResourceActionDetach UnderlyingResourceAction = "Detach"
)

type UserAccountCredentials

type UserAccountCredentials struct {
	AdminUserName         string  `json:"adminUserName"`
	AdminUserPassword     *string `json:"adminUserPassword,omitempty"`
	AdminUserSshPublicKey *string `json:"adminUserSshPublicKey,omitempty"`
}

type VirtualMachine

type VirtualMachine struct {
	Properties *VirtualMachineProperties `json:"properties,omitempty"`

	// Fields inherited from Compute
	ComputeLocation    *string            `json:"computeLocation,omitempty"`
	CreatedOn          *string            `json:"createdOn,omitempty"`
	Description        *string            `json:"description,omitempty"`
	DisableLocalAuth   *bool              `json:"disableLocalAuth,omitempty"`
	IsAttachedCompute  *bool              `json:"isAttachedCompute,omitempty"`
	ModifiedOn         *string            `json:"modifiedOn,omitempty"`
	ProvisioningErrors *[]ErrorResponse   `json:"provisioningErrors,omitempty"`
	ProvisioningState  *ProvisioningState `json:"provisioningState,omitempty"`
	ResourceId         *string            `json:"resourceId,omitempty"`
}

func (*VirtualMachine) GetCreatedOnAsTime

func (o *VirtualMachine) GetCreatedOnAsTime() (*time.Time, error)

func (*VirtualMachine) GetModifiedOnAsTime

func (o *VirtualMachine) GetModifiedOnAsTime() (*time.Time, error)

func (VirtualMachine) MarshalJSON

func (s VirtualMachine) MarshalJSON() ([]byte, error)

func (*VirtualMachine) SetCreatedOnAsTime

func (o *VirtualMachine) SetCreatedOnAsTime(input time.Time)

func (*VirtualMachine) SetModifiedOnAsTime

func (o *VirtualMachine) SetModifiedOnAsTime(input time.Time)

type VirtualMachineImage

type VirtualMachineImage struct {
	Id string `json:"id"`
}

type VirtualMachineProperties

type VirtualMachineProperties struct {
	Address                   *string                       `json:"address,omitempty"`
	AdministratorAccount      *VirtualMachineSshCredentials `json:"administratorAccount,omitempty"`
	IsNotebookInstanceCompute *bool                         `json:"isNotebookInstanceCompute,omitempty"`
	SshPort                   *int64                        `json:"sshPort,omitempty"`
	VirtualMachineSize        *string                       `json:"virtualMachineSize,omitempty"`
}

type VirtualMachineSecrets added in v0.20220720.1063736

type VirtualMachineSecrets struct {
	AdministratorAccount *VirtualMachineSshCredentials `json:"administratorAccount,omitempty"`
}

func (VirtualMachineSecrets) MarshalJSON added in v0.20220720.1063736

func (s VirtualMachineSecrets) MarshalJSON() ([]byte, error)

type VirtualMachineSshCredentials

type VirtualMachineSshCredentials struct {
	Password       *string `json:"password,omitempty"`
	PrivateKeyData *string `json:"privateKeyData,omitempty"`
	PublicKeyData  *string `json:"publicKeyData,omitempty"`
	Username       *string `json:"username,omitempty"`
}

type VmPriority

type VmPriority string
const (
	VmPriorityDedicated   VmPriority = "Dedicated"
	VmPriorityLowPriority VmPriority = "LowPriority"
)

type WorkspaceId

type WorkspaceId struct {
	SubscriptionId    string
	ResourceGroupName string
	WorkspaceName     string
}

WorkspaceId is a struct representing the Resource ID for a Workspace

func NewWorkspaceID

func NewWorkspaceID(subscriptionId string, resourceGroupName string, workspaceName string) WorkspaceId

NewWorkspaceID returns a new WorkspaceId struct

func ParseWorkspaceID

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

ParseWorkspaceID parses 'input' into a WorkspaceId

func ParseWorkspaceIDInsensitively

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

ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input

func (WorkspaceId) ID

func (id WorkspaceId) ID() string

ID returns the formatted Workspace ID

func (WorkspaceId) Segments

func (id WorkspaceId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Workspace ID

func (WorkspaceId) String

func (id WorkspaceId) String() string

String returns a human-readable description of this Workspace ID

Source Files

Jump to

Keyboard shortcuts

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