Documentation ¶
Index ¶
- func PossibleValuesForAllocationState() []string
- func PossibleValuesForApplicationSharingPolicy() []string
- func PossibleValuesForAutosave() []string
- func PossibleValuesForCaching() []string
- func PossibleValuesForClusterPurpose() []string
- func PossibleValuesForComputeInstanceAuthorizationType() []string
- func PossibleValuesForComputeInstanceState() []string
- func PossibleValuesForComputePowerAction() []string
- func PossibleValuesForComputeType() []string
- func PossibleValuesForLoadBalancerType() []string
- func PossibleValuesForMountAction() []string
- func PossibleValuesForMountState() []string
- func PossibleValuesForNetwork() []string
- func PossibleValuesForNodeState() []string
- func PossibleValuesForOperationName() []string
- func PossibleValuesForOperationStatus() []string
- func PossibleValuesForOperationTrigger() []string
- func PossibleValuesForOsType() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForProvisioningStatus() []string
- func PossibleValuesForRemoteLoginPortPublicAccess() []string
- func PossibleValuesForScheduleProvisioningState() []string
- func PossibleValuesForScheduleStatus() []string
- func PossibleValuesForSkuTier() []string
- func PossibleValuesForSourceType() []string
- func PossibleValuesForSshPublicAccess() []string
- func PossibleValuesForSslConfigStatus() []string
- func PossibleValuesForStorageAccountType() []string
- func PossibleValuesForUnderlyingResourceAction() []string
- func PossibleValuesForVMPriority() []string
- func ValidateComputeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type AKS
- type AKSSchemaProperties
- type AksComputeSecrets
- type AksNetworkingConfiguration
- type AllocationState
- type AmlCompute
- type AmlComputeNodeInformation
- type AmlComputeNodesInformation
- type AmlComputeNodesInformationOperationPredicate
- type AmlComputeProperties
- type ApplicationSharingPolicy
- type AssignedUser
- type AutoPauseProperties
- type AutoScaleProperties
- type Autosave
- type Caching
- type ClusterPurpose
- type ClusterUpdateParameters
- type ClusterUpdateProperties
- type Compute
- type ComputeCreateOrUpdateOperationResponse
- type ComputeDeleteOperationOptions
- type ComputeDeleteOperationResponse
- type ComputeGetOperationResponse
- type ComputeId
- type ComputeInstance
- func (o *ComputeInstance) GetCreatedOnAsTime() (*time.Time, error)
- func (o *ComputeInstance) GetModifiedOnAsTime() (*time.Time, error)
- func (s ComputeInstance) MarshalJSON() ([]byte, error)
- func (o *ComputeInstance) SetCreatedOnAsTime(input time.Time)
- func (o *ComputeInstance) SetModifiedOnAsTime(input time.Time)
- type ComputeInstanceApplication
- type ComputeInstanceAuthorizationType
- type ComputeInstanceConnectivityEndpoints
- type ComputeInstanceContainer
- type ComputeInstanceCreatedBy
- type ComputeInstanceDataDisk
- type ComputeInstanceDataMount
- type ComputeInstanceEnvironmentInfo
- type ComputeInstanceLastOperation
- type ComputeInstanceProperties
- type ComputeInstanceSshSettings
- type ComputeInstanceState
- type ComputeInstanceVersion
- type ComputeListCompleteResult
- type ComputeListKeysOperationResponse
- type ComputeListNodesCompleteResult
- type ComputeListNodesOperationResponse
- type ComputeListOperationOptions
- type ComputeListOperationResponse
- type ComputePowerAction
- type ComputeResource
- type ComputeResourceOperationPredicate
- type ComputeRestartOperationResponse
- type ComputeSchedules
- type ComputeSecrets
- type ComputeStartOperationResponse
- type ComputeStartStopSchedule
- type ComputeStopOperationResponse
- type ComputeType
- type ComputeUpdateOperationResponse
- type DataFactory
- type DataLakeAnalytics
- func (o *DataLakeAnalytics) GetCreatedOnAsTime() (*time.Time, error)
- func (o *DataLakeAnalytics) GetModifiedOnAsTime() (*time.Time, error)
- func (s DataLakeAnalytics) MarshalJSON() ([]byte, error)
- func (o *DataLakeAnalytics) SetCreatedOnAsTime(input time.Time)
- func (o *DataLakeAnalytics) SetModifiedOnAsTime(input time.Time)
- type DataLakeAnalyticsSchemaProperties
- type Databricks
- type DatabricksComputeSecrets
- type DatabricksProperties
- type ErrorAdditionalInfo
- type ErrorDetail
- type ErrorResponse
- type HDInsight
- type HDInsightProperties
- type InstanceTypeSchema
- type InstanceTypeSchemaResources
- type Kubernetes
- type KubernetesProperties
- type LoadBalancerType
- type MachineLearningComputesClient
- func (c MachineLearningComputesClient) ComputeCreateOrUpdate(ctx context.Context, id ComputeId, input ComputeResource) (result ComputeCreateOrUpdateOperationResponse, err error)
- func (c MachineLearningComputesClient) ComputeCreateOrUpdateThenPoll(ctx context.Context, id ComputeId, input ComputeResource) error
- func (c MachineLearningComputesClient) ComputeDelete(ctx context.Context, id ComputeId, options ComputeDeleteOperationOptions) (result ComputeDeleteOperationResponse, err error)
- func (c MachineLearningComputesClient) ComputeDeleteThenPoll(ctx context.Context, id ComputeId, options ComputeDeleteOperationOptions) error
- func (c MachineLearningComputesClient) ComputeGet(ctx context.Context, id ComputeId) (result ComputeGetOperationResponse, err error)
- func (c MachineLearningComputesClient) ComputeList(ctx context.Context, id WorkspaceId, options ComputeListOperationOptions) (result ComputeListOperationResponse, err error)
- func (c MachineLearningComputesClient) ComputeListComplete(ctx context.Context, id WorkspaceId, options ComputeListOperationOptions) (ComputeListCompleteResult, error)
- func (c MachineLearningComputesClient) ComputeListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ComputeListOperationOptions, ...) (result ComputeListCompleteResult, err error)
- func (c MachineLearningComputesClient) ComputeListKeys(ctx context.Context, id ComputeId) (result ComputeListKeysOperationResponse, err error)
- func (c MachineLearningComputesClient) ComputeListNodes(ctx context.Context, id ComputeId) (result ComputeListNodesOperationResponse, err error)
- func (c MachineLearningComputesClient) ComputeListNodesComplete(ctx context.Context, id ComputeId) (ComputeListNodesCompleteResult, error)
- func (c MachineLearningComputesClient) ComputeListNodesCompleteMatchingPredicate(ctx context.Context, id ComputeId, ...) (result ComputeListNodesCompleteResult, err error)
- func (c MachineLearningComputesClient) ComputeRestart(ctx context.Context, id ComputeId) (result ComputeRestartOperationResponse, err error)
- func (c MachineLearningComputesClient) ComputeRestartThenPoll(ctx context.Context, id ComputeId) error
- func (c MachineLearningComputesClient) ComputeStart(ctx context.Context, id ComputeId) (result ComputeStartOperationResponse, err error)
- func (c MachineLearningComputesClient) ComputeStartThenPoll(ctx context.Context, id ComputeId) error
- func (c MachineLearningComputesClient) ComputeStop(ctx context.Context, id ComputeId) (result ComputeStopOperationResponse, err error)
- func (c MachineLearningComputesClient) ComputeStopThenPoll(ctx context.Context, id ComputeId) error
- func (c MachineLearningComputesClient) ComputeUpdate(ctx context.Context, id ComputeId, input ClusterUpdateParameters) (result ComputeUpdateOperationResponse, err error)
- func (c MachineLearningComputesClient) ComputeUpdateThenPoll(ctx context.Context, id ComputeId, input ClusterUpdateParameters) error
- type MountAction
- type MountState
- type Network
- type NodeState
- type NodeStateCounts
- type OperationName
- type OperationStatus
- type OperationTrigger
- type OsType
- type PersonalComputeInstanceSettings
- type ProvisioningState
- type ProvisioningStatus
- type RemoteLoginPortPublicAccess
- type ResourceId
- type ScaleSettings
- type ScaleSettingsInformation
- type ScheduleBase
- type ScheduleProvisioningState
- type ScheduleStatus
- type ScriptReference
- type ScriptsToExecute
- type SetupScripts
- type Sku
- type SkuTier
- type SourceType
- type SshPublicAccess
- type SslConfigStatus
- type SslConfiguration
- type StorageAccountType
- type SynapseSpark
- type SynapseSparkProperties
- type SystemService
- type UnderlyingResourceAction
- type UserAccountCredentials
- type VMPriority
- type VirtualMachine
- func (o *VirtualMachine) GetCreatedOnAsTime() (*time.Time, error)
- func (o *VirtualMachine) GetModifiedOnAsTime() (*time.Time, error)
- func (s VirtualMachine) MarshalJSON() ([]byte, error)
- func (o *VirtualMachine) SetCreatedOnAsTime(input time.Time)
- func (o *VirtualMachine) SetModifiedOnAsTime(input time.Time)
- type VirtualMachineImage
- type VirtualMachineSchemaProperties
- type VirtualMachineSecrets
- type VirtualMachineSshCredentials
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAllocationState ¶
func PossibleValuesForAllocationState() []string
func PossibleValuesForApplicationSharingPolicy ¶
func PossibleValuesForApplicationSharingPolicy() []string
func PossibleValuesForAutosave ¶
func PossibleValuesForAutosave() []string
func PossibleValuesForCaching ¶
func PossibleValuesForCaching() []string
func PossibleValuesForClusterPurpose ¶
func PossibleValuesForClusterPurpose() []string
func PossibleValuesForComputeInstanceAuthorizationType ¶
func PossibleValuesForComputeInstanceAuthorizationType() []string
func PossibleValuesForComputeInstanceState ¶
func PossibleValuesForComputeInstanceState() []string
func PossibleValuesForComputePowerAction ¶
func PossibleValuesForComputePowerAction() []string
func PossibleValuesForComputeType ¶
func PossibleValuesForComputeType() []string
func PossibleValuesForLoadBalancerType ¶
func PossibleValuesForLoadBalancerType() []string
func PossibleValuesForMountAction ¶
func PossibleValuesForMountAction() []string
func PossibleValuesForMountState ¶
func PossibleValuesForMountState() []string
func PossibleValuesForNetwork ¶
func PossibleValuesForNetwork() []string
func PossibleValuesForNodeState ¶
func PossibleValuesForNodeState() []string
func PossibleValuesForOperationName ¶
func PossibleValuesForOperationName() []string
func PossibleValuesForOperationStatus ¶
func PossibleValuesForOperationStatus() []string
func PossibleValuesForOperationTrigger ¶
func PossibleValuesForOperationTrigger() []string
func PossibleValuesForOsType ¶
func PossibleValuesForOsType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForProvisioningStatus ¶
func PossibleValuesForProvisioningStatus() []string
func PossibleValuesForRemoteLoginPortPublicAccess ¶
func PossibleValuesForRemoteLoginPortPublicAccess() []string
func PossibleValuesForScheduleProvisioningState ¶
func PossibleValuesForScheduleProvisioningState() []string
func PossibleValuesForScheduleStatus ¶
func PossibleValuesForScheduleStatus() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func PossibleValuesForSourceType ¶
func PossibleValuesForSourceType() []string
func PossibleValuesForSshPublicAccess ¶
func PossibleValuesForSshPublicAccess() []string
func PossibleValuesForSslConfigStatus ¶
func PossibleValuesForSslConfigStatus() []string
func PossibleValuesForStorageAccountType ¶
func PossibleValuesForStorageAccountType() []string
func PossibleValuesForUnderlyingResourceAction ¶
func PossibleValuesForUnderlyingResourceAction() []string
func PossibleValuesForVMPriority ¶ added in v0.20221130.1084848
func PossibleValuesForVMPriority() []string
func ValidateComputeID ¶
ValidateComputeID checks that 'input' can be parsed as a Compute ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type AKS ¶
type AKS struct { Properties *AKSSchemaProperties `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) MarshalJSON ¶
func (*AKS) SetCreatedOnAsTime ¶
func (*AKS) SetModifiedOnAsTime ¶
type AKSSchemaProperties ¶
type AKSSchemaProperties 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 AllocationState ¶
type AllocationState string
const ( AllocationStateResizing AllocationState = "Resizing" AllocationStateSteady AllocationState = "Steady" )
func (*AllocationState) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *AllocationState) UnmarshalJSON(bytes []byte) error
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 AmlComputeNodeInformation ¶
type AmlComputeNodeInformation struct { NodeId *string `json:"nodeId,omitempty"` NodeState *NodeState `json:"nodeState,omitempty"` Port *float64 `json:"port,omitempty"` PrivateIPAddress *string `json:"privateIpAddress,omitempty"` PublicIPAddress *string `json:"publicIpAddress,omitempty"` RunId *string `json:"runId,omitempty"` }
type AmlComputeNodesInformation ¶
type AmlComputeNodesInformation struct { NextLink *string `json:"nextLink,omitempty"` Nodes *[]AmlComputeNodeInformation `json:"nodes,omitempty"` }
type AmlComputeNodesInformationOperationPredicate ¶
type AmlComputeNodesInformationOperationPredicate struct {
NextLink *string
}
func (AmlComputeNodesInformationOperationPredicate) Matches ¶
func (p AmlComputeNodesInformationOperationPredicate) Matches(input AmlComputeNodesInformation) bool
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"` PropertyBag *interface{} `json:"propertyBag,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"` VMPriority *VMPriority `json:"vmPriority,omitempty"` VMSize *string `json:"vmSize,omitempty"` VirtualMachineImage *VirtualMachineImage `json:"virtualMachineImage,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" )
func (*ApplicationSharingPolicy) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ApplicationSharingPolicy) UnmarshalJSON(bytes []byte) error
type AssignedUser ¶
type AutoPauseProperties ¶
type AutoScaleProperties ¶
type ClusterPurpose ¶
type ClusterPurpose string
const ( ClusterPurposeDenseProd ClusterPurpose = "DenseProd" ClusterPurposeDevTest ClusterPurpose = "DevTest" ClusterPurposeFastProd ClusterPurpose = "FastProd" )
func (*ClusterPurpose) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ClusterPurpose) UnmarshalJSON(bytes []byte) error
type ClusterUpdateParameters ¶
type ClusterUpdateParameters struct {
Properties *ClusterUpdateProperties `json:"properties,omitempty"`
}
type ClusterUpdateProperties ¶
type ClusterUpdateProperties struct {
Properties *ScaleSettingsInformation `json:"properties,omitempty"`
}
type ComputeDeleteOperationOptions ¶
type ComputeDeleteOperationOptions struct {
UnderlyingResourceAction *UnderlyingResourceAction
}
func DefaultComputeDeleteOperationOptions ¶
func DefaultComputeDeleteOperationOptions() ComputeDeleteOperationOptions
func (ComputeDeleteOperationOptions) ToHeaders ¶ added in v0.20230713.1092427
func (o ComputeDeleteOperationOptions) ToHeaders() *client.Headers
func (ComputeDeleteOperationOptions) ToOData ¶ added in v0.20230713.1092427
func (o ComputeDeleteOperationOptions) ToOData() *odata.Query
func (ComputeDeleteOperationOptions) ToQuery ¶ added in v0.20230713.1092427
func (o ComputeDeleteOperationOptions) ToQuery() *client.QueryParams
type ComputeGetOperationResponse ¶
type ComputeGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData 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 ¶
ParseComputeID parses 'input' into a ComputeId
func ParseComputeIDInsensitively ¶
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) Segments ¶
func (id ComputeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise 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 ComputeInstanceAuthorizationType ¶
type ComputeInstanceAuthorizationType string
const (
ComputeInstanceAuthorizationTypePersonal ComputeInstanceAuthorizationType = "personal"
)
func (*ComputeInstanceAuthorizationType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ComputeInstanceAuthorizationType) UnmarshalJSON(bytes []byte) error
type ComputeInstanceContainer ¶
type ComputeInstanceContainer struct { Autosave *Autosave `json:"autosave,omitempty"` Environment *ComputeInstanceEnvironmentInfo `json:"environment,omitempty"` Gpu *string `json:"gpu,omitempty"` Name *string `json:"name,omitempty"` Network *Network `json:"network,omitempty"` Services *[]interface{} `json:"services,omitempty"` }
type ComputeInstanceDataDisk ¶
type ComputeInstanceDataDisk struct { Caching *Caching `json:"caching,omitempty"` DiskSizeGB *int64 `json:"diskSizeGB,omitempty"` Lun *int64 `json:"lun,omitempty"` StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"` }
type ComputeInstanceDataMount ¶
type ComputeInstanceDataMount struct { CreatedBy *string `json:"createdBy,omitempty"` Error *string `json:"error,omitempty"` MountAction *MountAction `json:"mountAction,omitempty"` MountName *string `json:"mountName,omitempty"` MountPath *string `json:"mountPath,omitempty"` MountState *MountState `json:"mountState,omitempty"` MountedOn *string `json:"mountedOn,omitempty"` Source *string `json:"source,omitempty"` SourceType *SourceType `json:"sourceType,omitempty"` }
func (*ComputeInstanceDataMount) GetMountedOnAsTime ¶
func (o *ComputeInstanceDataMount) GetMountedOnAsTime() (*time.Time, error)
func (*ComputeInstanceDataMount) SetMountedOnAsTime ¶
func (o *ComputeInstanceDataMount) SetMountedOnAsTime(input time.Time)
type ComputeInstanceLastOperation ¶
type ComputeInstanceLastOperation struct { OperationName *OperationName `json:"operationName,omitempty"` OperationStatus *OperationStatus `json:"operationStatus,omitempty"` OperationTime *string `json:"operationTime,omitempty"` OperationTrigger *OperationTrigger `json:"operationTrigger,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"` Containers *[]ComputeInstanceContainer `json:"containers,omitempty"` CreatedBy *ComputeInstanceCreatedBy `json:"createdBy,omitempty"` DataDisks *[]ComputeInstanceDataDisk `json:"dataDisks,omitempty"` DataMounts *[]ComputeInstanceDataMount `json:"dataMounts,omitempty"` EnableNodePublicIP *bool `json:"enableNodePublicIp,omitempty"` Errors *[]ErrorResponse `json:"errors,omitempty"` LastOperation *ComputeInstanceLastOperation `json:"lastOperation,omitempty"` PersonalComputeInstanceSettings *PersonalComputeInstanceSettings `json:"personalComputeInstanceSettings,omitempty"` Schedules *ComputeSchedules `json:"schedules,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"` Versions *ComputeInstanceVersion `json:"versions,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" )
func (*ComputeInstanceState) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ComputeInstanceState) UnmarshalJSON(bytes []byte) error
type ComputeInstanceVersion ¶
type ComputeInstanceVersion struct {
Runtime *string `json:"runtime,omitempty"`
}
type ComputeListCompleteResult ¶
type ComputeListCompleteResult struct {
Items []ComputeResource
}
type ComputeListKeysOperationResponse ¶
type ComputeListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ComputeSecrets }
type ComputeListNodesCompleteResult ¶
type ComputeListNodesCompleteResult struct {
Items []AmlComputeNodesInformation
}
type ComputeListNodesOperationResponse ¶
type ComputeListNodesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AmlComputeNodesInformation }
type ComputeListOperationOptions ¶
type ComputeListOperationOptions struct {
Skip *string
}
func DefaultComputeListOperationOptions ¶
func DefaultComputeListOperationOptions() ComputeListOperationOptions
func (ComputeListOperationOptions) ToHeaders ¶ added in v0.20230713.1092427
func (o ComputeListOperationOptions) ToHeaders() *client.Headers
func (ComputeListOperationOptions) ToOData ¶ added in v0.20230713.1092427
func (o ComputeListOperationOptions) ToOData() *odata.Query
func (ComputeListOperationOptions) ToQuery ¶ added in v0.20230713.1092427
func (o ComputeListOperationOptions) ToQuery() *client.QueryParams
type ComputeListOperationResponse ¶
type ComputeListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ComputeResource }
type ComputePowerAction ¶
type ComputePowerAction string
const ( ComputePowerActionStart ComputePowerAction = "Start" ComputePowerActionStop ComputePowerAction = "Stop" )
func (*ComputePowerAction) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ComputePowerAction) UnmarshalJSON(bytes []byte) error
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 ¶
func (p ComputeResourceOperationPredicate) Matches(input ComputeResource) bool
type ComputeSchedules ¶
type ComputeSchedules struct {
ComputeStartStop *[]ComputeStartStopSchedule `json:"computeStartStop,omitempty"`
}
type ComputeSecrets ¶
type ComputeSecrets interface { }
type ComputeStartStopSchedule ¶
type ComputeStartStopSchedule struct { Action *ComputePowerAction `json:"action,omitempty"` Id *string `json:"id,omitempty"` ProvisioningStatus *ProvisioningStatus `json:"provisioningStatus,omitempty"` Schedule *ScheduleBase `json:"schedule,omitempty"` }
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" )
func (*ComputeType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ComputeType) UnmarshalJSON(bytes []byte) error
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 *DataLakeAnalyticsSchemaProperties `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 DataLakeAnalyticsSchemaProperties ¶
type DataLakeAnalyticsSchemaProperties 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 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) GetModifiedOnAsTime ¶
func (HDInsight) MarshalJSON ¶
func (*HDInsight) SetCreatedOnAsTime ¶
func (*HDInsight) SetModifiedOnAsTime ¶
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 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" )
func (*LoadBalancerType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *LoadBalancerType) UnmarshalJSON(bytes []byte) error
type MachineLearningComputesClient ¶
type MachineLearningComputesClient struct {
Client *resourcemanager.Client
}
func NewMachineLearningComputesClientWithBaseURI ¶
func NewMachineLearningComputesClientWithBaseURI(api environments.Api) (*MachineLearningComputesClient, error)
func (MachineLearningComputesClient) ComputeCreateOrUpdate ¶
func (c MachineLearningComputesClient) ComputeCreateOrUpdate(ctx context.Context, id ComputeId, input ComputeResource) (result ComputeCreateOrUpdateOperationResponse, err error)
ComputeCreateOrUpdate ...
func (MachineLearningComputesClient) ComputeCreateOrUpdateThenPoll ¶
func (c MachineLearningComputesClient) ComputeCreateOrUpdateThenPoll(ctx context.Context, id ComputeId, input ComputeResource) error
ComputeCreateOrUpdateThenPoll performs ComputeCreateOrUpdate then polls until it's completed
func (MachineLearningComputesClient) ComputeDelete ¶
func (c MachineLearningComputesClient) ComputeDelete(ctx context.Context, id ComputeId, options ComputeDeleteOperationOptions) (result ComputeDeleteOperationResponse, err error)
ComputeDelete ...
func (MachineLearningComputesClient) ComputeDeleteThenPoll ¶
func (c MachineLearningComputesClient) ComputeDeleteThenPoll(ctx context.Context, id ComputeId, options ComputeDeleteOperationOptions) error
ComputeDeleteThenPoll performs ComputeDelete then polls until it's completed
func (MachineLearningComputesClient) ComputeGet ¶
func (c MachineLearningComputesClient) ComputeGet(ctx context.Context, id ComputeId) (result ComputeGetOperationResponse, err error)
ComputeGet ...
func (MachineLearningComputesClient) ComputeList ¶
func (c MachineLearningComputesClient) ComputeList(ctx context.Context, id WorkspaceId, options ComputeListOperationOptions) (result ComputeListOperationResponse, err error)
ComputeList ...
func (MachineLearningComputesClient) ComputeListComplete ¶
func (c MachineLearningComputesClient) ComputeListComplete(ctx context.Context, id WorkspaceId, options ComputeListOperationOptions) (ComputeListCompleteResult, error)
ComputeListComplete retrieves all the results into a single object
func (MachineLearningComputesClient) ComputeListCompleteMatchingPredicate ¶
func (c MachineLearningComputesClient) ComputeListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ComputeListOperationOptions, predicate ComputeResourceOperationPredicate) (result ComputeListCompleteResult, err error)
ComputeListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MachineLearningComputesClient) ComputeListKeys ¶
func (c MachineLearningComputesClient) ComputeListKeys(ctx context.Context, id ComputeId) (result ComputeListKeysOperationResponse, err error)
ComputeListKeys ...
func (MachineLearningComputesClient) ComputeListNodes ¶
func (c MachineLearningComputesClient) ComputeListNodes(ctx context.Context, id ComputeId) (result ComputeListNodesOperationResponse, err error)
ComputeListNodes ...
func (MachineLearningComputesClient) ComputeListNodesComplete ¶
func (c MachineLearningComputesClient) ComputeListNodesComplete(ctx context.Context, id ComputeId) (ComputeListNodesCompleteResult, error)
ComputeListNodesComplete retrieves all the results into a single object
func (MachineLearningComputesClient) ComputeListNodesCompleteMatchingPredicate ¶
func (c MachineLearningComputesClient) ComputeListNodesCompleteMatchingPredicate(ctx context.Context, id ComputeId, predicate AmlComputeNodesInformationOperationPredicate) (result ComputeListNodesCompleteResult, err error)
ComputeListNodesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MachineLearningComputesClient) ComputeRestart ¶
func (c MachineLearningComputesClient) ComputeRestart(ctx context.Context, id ComputeId) (result ComputeRestartOperationResponse, err error)
ComputeRestart ...
func (MachineLearningComputesClient) ComputeRestartThenPoll ¶
func (c MachineLearningComputesClient) ComputeRestartThenPoll(ctx context.Context, id ComputeId) error
ComputeRestartThenPoll performs ComputeRestart then polls until it's completed
func (MachineLearningComputesClient) ComputeStart ¶
func (c MachineLearningComputesClient) ComputeStart(ctx context.Context, id ComputeId) (result ComputeStartOperationResponse, err error)
ComputeStart ...
func (MachineLearningComputesClient) ComputeStartThenPoll ¶
func (c MachineLearningComputesClient) ComputeStartThenPoll(ctx context.Context, id ComputeId) error
ComputeStartThenPoll performs ComputeStart then polls until it's completed
func (MachineLearningComputesClient) ComputeStop ¶
func (c MachineLearningComputesClient) ComputeStop(ctx context.Context, id ComputeId) (result ComputeStopOperationResponse, err error)
ComputeStop ...
func (MachineLearningComputesClient) ComputeStopThenPoll ¶
func (c MachineLearningComputesClient) ComputeStopThenPoll(ctx context.Context, id ComputeId) error
ComputeStopThenPoll performs ComputeStop then polls until it's completed
func (MachineLearningComputesClient) ComputeUpdate ¶
func (c MachineLearningComputesClient) ComputeUpdate(ctx context.Context, id ComputeId, input ClusterUpdateParameters) (result ComputeUpdateOperationResponse, err error)
ComputeUpdate ...
func (MachineLearningComputesClient) ComputeUpdateThenPoll ¶
func (c MachineLearningComputesClient) ComputeUpdateThenPoll(ctx context.Context, id ComputeId, input ClusterUpdateParameters) error
ComputeUpdateThenPoll performs ComputeUpdate then polls until it's completed
type MountAction ¶
type MountAction string
const ( MountActionMount MountAction = "Mount" MountActionUnmount MountAction = "Unmount" )
func (*MountAction) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *MountAction) UnmarshalJSON(bytes []byte) error
type MountState ¶
type MountState string
const ( MountStateMountFailed MountState = "MountFailed" MountStateMountRequested MountState = "MountRequested" MountStateMounted MountState = "Mounted" MountStateUnmountFailed MountState = "UnmountFailed" MountStateUnmountRequested MountState = "UnmountRequested" MountStateUnmounted MountState = "Unmounted" )
func (*MountState) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *MountState) UnmarshalJSON(bytes []byte) error
type NodeState ¶
type NodeState string
func (*NodeState) UnmarshalJSON ¶ added in v0.20230713.1092427
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" )
func (*OperationName) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *OperationName) UnmarshalJSON(bytes []byte) error
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" )
func (*OperationStatus) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *OperationStatus) UnmarshalJSON(bytes []byte) error
type OperationTrigger ¶
type OperationTrigger string
const ( OperationTriggerIdleShutdown OperationTrigger = "IdleShutdown" OperationTriggerSchedule OperationTrigger = "Schedule" OperationTriggerUser OperationTrigger = "User" )
func (*OperationTrigger) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *OperationTrigger) UnmarshalJSON(bytes []byte) error
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" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ProvisioningStatus ¶
type ProvisioningStatus string
const ( ProvisioningStatusCompleted ProvisioningStatus = "Completed" ProvisioningStatusFailed ProvisioningStatus = "Failed" ProvisioningStatusProvisioning ProvisioningStatus = "Provisioning" )
func (*ProvisioningStatus) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ProvisioningStatus) UnmarshalJSON(bytes []byte) error
type RemoteLoginPortPublicAccess ¶
type RemoteLoginPortPublicAccess string
const ( RemoteLoginPortPublicAccessDisabled RemoteLoginPortPublicAccess = "Disabled" RemoteLoginPortPublicAccessEnabled RemoteLoginPortPublicAccess = "Enabled" RemoteLoginPortPublicAccessNotSpecified RemoteLoginPortPublicAccess = "NotSpecified" )
func (*RemoteLoginPortPublicAccess) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *RemoteLoginPortPublicAccess) UnmarshalJSON(bytes []byte) error
type ResourceId ¶
type ResourceId struct {
Id string `json:"id"`
}
type ScaleSettings ¶
type ScaleSettingsInformation ¶
type ScaleSettingsInformation struct {
ScaleSettings *ScaleSettings `json:"scaleSettings,omitempty"`
}
type ScheduleBase ¶
type ScheduleBase struct { Id *string `json:"id,omitempty"` ProvisioningStatus *ScheduleProvisioningState `json:"provisioningStatus,omitempty"` Status *ScheduleStatus `json:"status,omitempty"` }
type ScheduleProvisioningState ¶
type ScheduleProvisioningState string
const ( ScheduleProvisioningStateCompleted ScheduleProvisioningState = "Completed" ScheduleProvisioningStateFailed ScheduleProvisioningState = "Failed" ScheduleProvisioningStateProvisioning ScheduleProvisioningState = "Provisioning" )
func (*ScheduleProvisioningState) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ScheduleProvisioningState) UnmarshalJSON(bytes []byte) error
type ScheduleStatus ¶
type ScheduleStatus string
const ( ScheduleStatusDisabled ScheduleStatus = "Disabled" ScheduleStatusEnabled ScheduleStatus = "Enabled" )
func (*ScheduleStatus) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *ScheduleStatus) UnmarshalJSON(bytes []byte) error
type ScriptReference ¶
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 SourceType ¶
type SourceType string
const ( SourceTypeDataset SourceType = "Dataset" SourceTypeDatastore SourceType = "Datastore" SourceTypeURI SourceType = "URI" )
func (*SourceType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *SourceType) UnmarshalJSON(bytes []byte) error
type SshPublicAccess ¶
type SshPublicAccess string
const ( SshPublicAccessDisabled SshPublicAccess = "Disabled" SshPublicAccessEnabled SshPublicAccess = "Enabled" )
func (*SshPublicAccess) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *SshPublicAccess) UnmarshalJSON(bytes []byte) error
type SslConfigStatus ¶
type SslConfigStatus string
const ( SslConfigStatusAuto SslConfigStatus = "Auto" SslConfigStatusDisabled SslConfigStatus = "Disabled" SslConfigStatusEnabled SslConfigStatus = "Enabled" )
func (*SslConfigStatus) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *SslConfigStatus) UnmarshalJSON(bytes []byte) error
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 *SslConfigStatus `json:"status,omitempty"` }
type StorageAccountType ¶
type StorageAccountType string
const ( StorageAccountTypePremiumLRS StorageAccountType = "Premium_LRS" StorageAccountTypeStandardLRS StorageAccountType = "Standard_LRS" )
func (*StorageAccountType) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *StorageAccountType) UnmarshalJSON(bytes []byte) error
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 UnderlyingResourceAction ¶
type UnderlyingResourceAction string
const ( UnderlyingResourceActionDelete UnderlyingResourceAction = "Delete" UnderlyingResourceActionDetach UnderlyingResourceAction = "Detach" )
func (*UnderlyingResourceAction) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *UnderlyingResourceAction) UnmarshalJSON(bytes []byte) error
type UserAccountCredentials ¶
type VMPriority ¶ added in v0.20221130.1084848
type VMPriority string
const ( VMPriorityDedicated VMPriority = "Dedicated" VMPriorityLowPriority VMPriority = "LowPriority" )
func (*VMPriority) UnmarshalJSON ¶ added in v0.20230713.1092427
func (s *VMPriority) UnmarshalJSON(bytes []byte) error
type VirtualMachine ¶
type VirtualMachine struct { Properties *VirtualMachineSchemaProperties `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 VirtualMachineSchemaProperties ¶
type VirtualMachineSchemaProperties struct { Address *string `json:"address,omitempty"` AdministratorAccount *VirtualMachineSshCredentials `json:"administratorAccount,omitempty"` IsNotebookInstanceCompute *bool `json:"isNotebookInstanceCompute,omitempty"` NotebookServerPort *int64 `json:"notebookServerPort,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 WorkspaceId ¶
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) 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 ¶
- client.go
- constants.go
- id_compute.go
- id_workspace.go
- method_computecreateorupdate.go
- method_computedelete.go
- method_computeget.go
- method_computelist.go
- method_computelistkeys.go
- method_computelistnodes.go
- method_computerestart.go
- method_computestart.go
- method_computestop.go
- method_computeupdate.go
- model_aks.go
- model_akscomputesecrets.go
- model_aksnetworkingconfiguration.go
- model_aksschemaproperties.go
- model_amlcompute.go
- model_amlcomputenodeinformation.go
- model_amlcomputenodesinformation.go
- model_amlcomputeproperties.go
- model_assigneduser.go
- model_autopauseproperties.go
- model_autoscaleproperties.go
- model_clusterupdateparameters.go
- model_clusterupdateproperties.go
- model_compute.go
- model_computeinstance.go
- model_computeinstanceapplication.go
- model_computeinstanceconnectivityendpoints.go
- model_computeinstancecontainer.go
- model_computeinstancecreatedby.go
- model_computeinstancedatadisk.go
- model_computeinstancedatamount.go
- model_computeinstanceenvironmentinfo.go
- model_computeinstancelastoperation.go
- model_computeinstanceproperties.go
- model_computeinstancesshsettings.go
- model_computeinstanceversion.go
- model_computeresource.go
- model_computeschedules.go
- model_computesecrets.go
- model_computestartstopschedule.go
- model_databricks.go
- model_databrickscomputesecrets.go
- model_databricksproperties.go
- model_datafactory.go
- model_datalakeanalytics.go
- model_datalakeanalyticsschemaproperties.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_errorresponse.go
- model_hdinsight.go
- model_hdinsightproperties.go
- model_instancetypeschema.go
- model_instancetypeschemaresources.go
- model_kubernetes.go
- model_kubernetesproperties.go
- model_nodestatecounts.go
- model_personalcomputeinstancesettings.go
- model_resourceid.go
- model_scalesettings.go
- model_scalesettingsinformation.go
- model_schedulebase.go
- model_scriptreference.go
- model_scriptstoexecute.go
- model_setupscripts.go
- model_sku.go
- model_sslconfiguration.go
- model_synapsespark.go
- model_synapsesparkproperties.go
- model_systemservice.go
- model_useraccountcredentials.go
- model_virtualmachine.go
- model_virtualmachineimage.go
- model_virtualmachineschemaproperties.go
- model_virtualmachinesecrets.go
- model_virtualmachinesshcredentials.go
- predicates.go
- version.go