Documentation ¶
Index ¶
- func PossibleValuesForDistributionType() []string
- func PossibleValuesForEarlyTerminationPolicyType() []string
- func PossibleValuesForGoal() []string
- func PossibleValuesForIdentityConfigurationType() []string
- func PossibleValuesForInputDeliveryMode() []string
- func PossibleValuesForJobInputType() []string
- func PossibleValuesForJobLimitsType() []string
- func PossibleValuesForJobOutputType() []string
- func PossibleValuesForJobStatus() []string
- func PossibleValuesForJobType() []string
- func PossibleValuesForListViewType() []string
- func PossibleValuesForOutputDeliveryMode() []string
- func PossibleValuesForRandomSamplingAlgorithmRule() []string
- func PossibleValuesForSamplingAlgorithmType() []string
- func ValidateJobID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- type AmlToken
- type BanditPolicy
- type BayesianSamplingAlgorithm
- type CancelOperationResponse
- type CommandJob
- type CommandJobLimits
- type CreateOrUpdateOperationResponse
- type CustomModelJobInput
- type CustomModelJobOutput
- type DeleteOperationResponse
- type DistributionConfiguration
- type DistributionType
- type EarlyTerminationPolicy
- type EarlyTerminationPolicyType
- type GetOperationResponse
- type Goal
- type GridSamplingAlgorithm
- type IdentityConfiguration
- type IdentityConfigurationType
- type InputDeliveryMode
- type JobBase
- type JobBaseResource
- type JobBaseResourceOperationPredicate
- type JobClient
- func (c JobClient) Cancel(ctx context.Context, id JobId) (result CancelOperationResponse, err error)
- func (c JobClient) CancelThenPoll(ctx context.Context, id JobId) error
- func (c JobClient) CreateOrUpdate(ctx context.Context, id JobId, input JobBaseResource) (result CreateOrUpdateOperationResponse, err error)
- func (c JobClient) Delete(ctx context.Context, id JobId) (result DeleteOperationResponse, err error)
- func (c JobClient) DeleteThenPoll(ctx context.Context, id JobId) error
- func (c JobClient) Get(ctx context.Context, id JobId) (result GetOperationResponse, err error)
- func (c JobClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c JobClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
- func (c JobClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type JobId
- type JobInput
- type JobInputType
- type JobLimits
- type JobLimitsType
- type JobOutput
- type JobOutputType
- type JobService
- type JobStatus
- type JobType
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListViewType
- type LiteralJobInput
- type MLFlowModelJobInput
- type MLFlowModelJobOutput
- type MLTableJobInput
- type MLTableJobOutput
- type ManagedIdentity
- type MedianStoppingPolicy
- type Mpi
- type Objective
- type OutputDeliveryMode
- type PipelineJob
- type PyTorch
- type RandomSamplingAlgorithm
- type RandomSamplingAlgorithmRule
- type ResourceConfiguration
- type SamplingAlgorithm
- type SamplingAlgorithmType
- type SweepJob
- type SweepJobLimits
- type TensorFlow
- type TrialComponent
- type TritonModelJobInput
- type TritonModelJobOutput
- type TruncationSelectionPolicy
- type UriFileJobInput
- type UriFileJobOutput
- type UriFolderJobInput
- type UriFolderJobOutput
- type UserIdentity
- type WorkspaceId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDistributionType ¶
func PossibleValuesForDistributionType() []string
func PossibleValuesForEarlyTerminationPolicyType ¶
func PossibleValuesForEarlyTerminationPolicyType() []string
func PossibleValuesForGoal ¶
func PossibleValuesForGoal() []string
func PossibleValuesForIdentityConfigurationType ¶
func PossibleValuesForIdentityConfigurationType() []string
func PossibleValuesForInputDeliveryMode ¶
func PossibleValuesForInputDeliveryMode() []string
func PossibleValuesForJobInputType ¶
func PossibleValuesForJobInputType() []string
func PossibleValuesForJobLimitsType ¶
func PossibleValuesForJobLimitsType() []string
func PossibleValuesForJobOutputType ¶
func PossibleValuesForJobOutputType() []string
func PossibleValuesForJobStatus ¶
func PossibleValuesForJobStatus() []string
func PossibleValuesForJobType ¶
func PossibleValuesForJobType() []string
func PossibleValuesForListViewType ¶
func PossibleValuesForListViewType() []string
func PossibleValuesForOutputDeliveryMode ¶
func PossibleValuesForOutputDeliveryMode() []string
func PossibleValuesForRandomSamplingAlgorithmRule ¶
func PossibleValuesForRandomSamplingAlgorithmRule() []string
func PossibleValuesForSamplingAlgorithmType ¶
func PossibleValuesForSamplingAlgorithmType() []string
func ValidateJobID ¶
ValidateJobID checks that 'input' can be parsed as a Job ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
Types ¶
type BanditPolicy ¶
type BanditPolicy struct { SlackAmount *float64 `json:"slackAmount,omitempty"` SlackFactor *float64 `json:"slackFactor,omitempty"` // Fields inherited from EarlyTerminationPolicy DelayEvaluation *int64 `json:"delayEvaluation,omitempty"` EvaluationInterval *int64 `json:"evaluationInterval,omitempty"` }
func (BanditPolicy) MarshalJSON ¶
func (s BanditPolicy) MarshalJSON() ([]byte, error)
type BayesianSamplingAlgorithm ¶
type BayesianSamplingAlgorithm struct { }
func (BayesianSamplingAlgorithm) MarshalJSON ¶
func (s BayesianSamplingAlgorithm) MarshalJSON() ([]byte, error)
type CancelOperationResponse ¶
type CancelOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CommandJob ¶
type CommandJob struct { CodeId *string `json:"codeId,omitempty"` Command string `json:"command"` Distribution DistributionConfiguration `json:"distribution"` EnvironmentId string `json:"environmentId"` EnvironmentVariables *map[string]string `json:"environmentVariables,omitempty"` Inputs *map[string]JobInput `json:"inputs,omitempty"` Limits JobLimits `json:"limits"` Outputs *map[string]JobOutput `json:"outputs,omitempty"` Parameters *interface{} `json:"parameters,omitempty"` Resources *ResourceConfiguration `json:"resources,omitempty"` // Fields inherited from JobBase ComputeId *string `json:"computeId,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` ExperimentName *string `json:"experimentName,omitempty"` Identity IdentityConfiguration `json:"identity"` IsArchived *bool `json:"isArchived,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Services *map[string]JobService `json:"services,omitempty"` Status *JobStatus `json:"status,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (CommandJob) MarshalJSON ¶
func (s CommandJob) MarshalJSON() ([]byte, error)
func (*CommandJob) UnmarshalJSON ¶
func (s *CommandJob) UnmarshalJSON(bytes []byte) error
type CommandJobLimits ¶
type CommandJobLimits struct { // Fields inherited from JobLimits Timeout *string `json:"timeout,omitempty"` }
func (CommandJobLimits) MarshalJSON ¶
func (s CommandJobLimits) MarshalJSON() ([]byte, error)
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *JobBaseResource }
type CustomModelJobInput ¶
type CustomModelJobInput struct { Mode *InputDeliveryMode `json:"mode,omitempty"` Uri string `json:"uri"` // Fields inherited from JobInput Description *string `json:"description,omitempty"` }
func (CustomModelJobInput) MarshalJSON ¶
func (s CustomModelJobInput) MarshalJSON() ([]byte, error)
type CustomModelJobOutput ¶
type CustomModelJobOutput struct { Mode *OutputDeliveryMode `json:"mode,omitempty"` Uri *string `json:"uri,omitempty"` // Fields inherited from JobOutput Description *string `json:"description,omitempty"` }
func (CustomModelJobOutput) MarshalJSON ¶
func (s CustomModelJobOutput) MarshalJSON() ([]byte, error)
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DistributionConfiguration ¶
type DistributionConfiguration interface { }
type DistributionType ¶
type DistributionType string
const ( DistributionTypeMpi DistributionType = "Mpi" DistributionTypePyTorch DistributionType = "PyTorch" DistributionTypeTensorFlow DistributionType = "TensorFlow" )
type EarlyTerminationPolicy ¶
type EarlyTerminationPolicy interface { }
type EarlyTerminationPolicyType ¶
type EarlyTerminationPolicyType string
const ( EarlyTerminationPolicyTypeBandit EarlyTerminationPolicyType = "Bandit" EarlyTerminationPolicyTypeMedianStopping EarlyTerminationPolicyType = "MedianStopping" EarlyTerminationPolicyTypeTruncationSelection EarlyTerminationPolicyType = "TruncationSelection" )
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *JobBaseResource }
type GridSamplingAlgorithm ¶
type GridSamplingAlgorithm struct { }
func (GridSamplingAlgorithm) MarshalJSON ¶
func (s GridSamplingAlgorithm) MarshalJSON() ([]byte, error)
type IdentityConfiguration ¶
type IdentityConfiguration interface { }
type IdentityConfigurationType ¶
type IdentityConfigurationType string
const ( IdentityConfigurationTypeAMLToken IdentityConfigurationType = "AMLToken" IdentityConfigurationTypeManaged IdentityConfigurationType = "Managed" IdentityConfigurationTypeUserIdentity IdentityConfigurationType = "UserIdentity" )
type InputDeliveryMode ¶
type InputDeliveryMode string
const ( InputDeliveryModeDirect InputDeliveryMode = "Direct" InputDeliveryModeDownload InputDeliveryMode = "Download" InputDeliveryModeEvalDownload InputDeliveryMode = "EvalDownload" InputDeliveryModeEvalMount InputDeliveryMode = "EvalMount" InputDeliveryModeReadOnlyMount InputDeliveryMode = "ReadOnlyMount" InputDeliveryModeReadWriteMount InputDeliveryMode = "ReadWriteMount" )
type JobBaseResource ¶
type JobBaseResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties JobBase `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
func (*JobBaseResource) UnmarshalJSON ¶
func (s *JobBaseResource) UnmarshalJSON(bytes []byte) error
type JobBaseResourceOperationPredicate ¶
func (JobBaseResourceOperationPredicate) Matches ¶
func (p JobBaseResourceOperationPredicate) Matches(input JobBaseResource) bool
type JobClient ¶
func NewJobClientWithBaseURI ¶
func (JobClient) Cancel ¶
func (c JobClient) Cancel(ctx context.Context, id JobId) (result CancelOperationResponse, err error)
Cancel ...
func (JobClient) CancelThenPoll ¶
CancelThenPoll performs Cancel then polls until it's completed
func (JobClient) CreateOrUpdate ¶
func (c JobClient) CreateOrUpdate(ctx context.Context, id JobId, input JobBaseResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (JobClient) Delete ¶
func (c JobClient) Delete(ctx context.Context, id JobId) (result DeleteOperationResponse, err error)
Delete ...
func (JobClient) DeleteThenPoll ¶
DeleteThenPoll performs Delete then polls until it's completed
func (JobClient) List ¶
func (c JobClient) List(ctx context.Context, id WorkspaceId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (JobClient) ListComplete ¶
func (c JobClient) ListComplete(ctx context.Context, id WorkspaceId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (JobClient) ListCompleteMatchingPredicate ¶
func (c JobClient) ListCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options ListOperationOptions, predicate JobBaseResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type JobId ¶
JobId is a struct representing the Resource ID for a Job
func NewJobID ¶
func NewJobID(subscriptionId string, resourceGroupName string, workspaceName string, id string) JobId
NewJobID returns a new JobId struct
func ParseJobID ¶
ParseJobID parses 'input' into a JobId
func ParseJobIDInsensitively ¶
ParseJobIDInsensitively parses 'input' case-insensitively into a JobId note: this method should only be used for API response data and not user input
func (JobId) Segments ¶
func (id JobId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Job ID
type JobInputType ¶
type JobInputType string
const ( JobInputTypeCustomModel JobInputType = "custom_model" JobInputTypeLiteral JobInputType = "literal" JobInputTypeMlflowModel JobInputType = "mlflow_model" JobInputTypeMltable JobInputType = "mltable" JobInputTypeTritonModel JobInputType = "triton_model" JobInputTypeUriFile JobInputType = "uri_file" JobInputTypeUriFolder JobInputType = "uri_folder" )
type JobLimitsType ¶
type JobLimitsType string
const ( JobLimitsTypeCommand JobLimitsType = "Command" JobLimitsTypeSweep JobLimitsType = "Sweep" )
type JobOutputType ¶
type JobOutputType string
const ( JobOutputTypeCustomModel JobOutputType = "custom_model" JobOutputTypeMlflowModel JobOutputType = "mlflow_model" JobOutputTypeMltable JobOutputType = "mltable" JobOutputTypeTritonModel JobOutputType = "triton_model" JobOutputTypeUriFile JobOutputType = "uri_file" JobOutputTypeUriFolder JobOutputType = "uri_folder" )
type JobService ¶
type JobService struct { Endpoint *string `json:"endpoint,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` JobServiceType *string `json:"jobServiceType,omitempty"` Port *int64 `json:"port,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Status *string `json:"status,omitempty"` }
type JobStatus ¶
type JobStatus string
const ( JobStatusCancelRequested JobStatus = "CancelRequested" JobStatusCanceled JobStatus = "Canceled" JobStatusCompleted JobStatus = "Completed" JobStatusFailed JobStatus = "Failed" JobStatusFinalizing JobStatus = "Finalizing" JobStatusNotResponding JobStatus = "NotResponding" JobStatusNotStarted JobStatus = "NotStarted" JobStatusPaused JobStatus = "Paused" JobStatusPreparing JobStatus = "Preparing" JobStatusProvisioning JobStatus = "Provisioning" JobStatusQueued JobStatus = "Queued" JobStatusRunning JobStatus = "Running" JobStatusStarting JobStatus = "Starting" JobStatusUnknown JobStatus = "Unknown" )
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []JobBaseResource
}
type ListOperationOptions ¶
type ListOperationOptions struct { JobType *string ListViewType *ListViewType Skip *string Tag *string }
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]JobBaseResource // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ListViewType ¶
type ListViewType string
const ( ListViewTypeActiveOnly ListViewType = "ActiveOnly" ListViewTypeAll ListViewType = "All" ListViewTypeArchivedOnly ListViewType = "ArchivedOnly" )
type LiteralJobInput ¶
type LiteralJobInput struct { Value string `json:"value"` // Fields inherited from JobInput Description *string `json:"description,omitempty"` }
func (LiteralJobInput) MarshalJSON ¶
func (s LiteralJobInput) MarshalJSON() ([]byte, error)
type MLFlowModelJobInput ¶
type MLFlowModelJobInput struct { Mode *InputDeliveryMode `json:"mode,omitempty"` Uri string `json:"uri"` // Fields inherited from JobInput Description *string `json:"description,omitempty"` }
func (MLFlowModelJobInput) MarshalJSON ¶
func (s MLFlowModelJobInput) MarshalJSON() ([]byte, error)
type MLFlowModelJobOutput ¶
type MLFlowModelJobOutput struct { Mode *OutputDeliveryMode `json:"mode,omitempty"` Uri *string `json:"uri,omitempty"` // Fields inherited from JobOutput Description *string `json:"description,omitempty"` }
func (MLFlowModelJobOutput) MarshalJSON ¶
func (s MLFlowModelJobOutput) MarshalJSON() ([]byte, error)
type MLTableJobInput ¶
type MLTableJobInput struct { Mode *InputDeliveryMode `json:"mode,omitempty"` Uri string `json:"uri"` // Fields inherited from JobInput Description *string `json:"description,omitempty"` }
func (MLTableJobInput) MarshalJSON ¶
func (s MLTableJobInput) MarshalJSON() ([]byte, error)
type MLTableJobOutput ¶
type MLTableJobOutput struct { Mode *OutputDeliveryMode `json:"mode,omitempty"` Uri *string `json:"uri,omitempty"` // Fields inherited from JobOutput Description *string `json:"description,omitempty"` }
func (MLTableJobOutput) MarshalJSON ¶
func (s MLTableJobOutput) MarshalJSON() ([]byte, error)
type ManagedIdentity ¶
type ManagedIdentity struct { ClientId *string `json:"clientId,omitempty"` ObjectId *string `json:"objectId,omitempty"` ResourceId *string `json:"resourceId,omitempty"` }
func (ManagedIdentity) MarshalJSON ¶
func (s ManagedIdentity) MarshalJSON() ([]byte, error)
type MedianStoppingPolicy ¶
type MedianStoppingPolicy struct { // Fields inherited from EarlyTerminationPolicy DelayEvaluation *int64 `json:"delayEvaluation,omitempty"` EvaluationInterval *int64 `json:"evaluationInterval,omitempty"` }
func (MedianStoppingPolicy) MarshalJSON ¶
func (s MedianStoppingPolicy) MarshalJSON() ([]byte, error)
type Mpi ¶
type Mpi struct {
ProcessCountPerInstance *int64 `json:"processCountPerInstance,omitempty"`
}
func (Mpi) MarshalJSON ¶
type OutputDeliveryMode ¶
type OutputDeliveryMode string
const ( OutputDeliveryModeReadWriteMount OutputDeliveryMode = "ReadWriteMount" OutputDeliveryModeUpload OutputDeliveryMode = "Upload" )
type PipelineJob ¶
type PipelineJob struct { Inputs *map[string]JobInput `json:"inputs,omitempty"` Jobs *map[string]interface{} `json:"jobs,omitempty"` Outputs *map[string]JobOutput `json:"outputs,omitempty"` Settings *interface{} `json:"settings,omitempty"` // Fields inherited from JobBase ComputeId *string `json:"computeId,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` ExperimentName *string `json:"experimentName,omitempty"` Identity IdentityConfiguration `json:"identity"` IsArchived *bool `json:"isArchived,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Services *map[string]JobService `json:"services,omitempty"` Status *JobStatus `json:"status,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (PipelineJob) MarshalJSON ¶
func (s PipelineJob) MarshalJSON() ([]byte, error)
func (*PipelineJob) UnmarshalJSON ¶
func (s *PipelineJob) UnmarshalJSON(bytes []byte) error
type PyTorch ¶
type PyTorch struct {
ProcessCountPerInstance *int64 `json:"processCountPerInstance,omitempty"`
}
func (PyTorch) MarshalJSON ¶
type RandomSamplingAlgorithm ¶
type RandomSamplingAlgorithm struct { Rule *RandomSamplingAlgorithmRule `json:"rule,omitempty"` Seed *int64 `json:"seed,omitempty"` }
func (RandomSamplingAlgorithm) MarshalJSON ¶
func (s RandomSamplingAlgorithm) MarshalJSON() ([]byte, error)
type RandomSamplingAlgorithmRule ¶
type RandomSamplingAlgorithmRule string
const ( RandomSamplingAlgorithmRuleRandom RandomSamplingAlgorithmRule = "Random" RandomSamplingAlgorithmRuleSobol RandomSamplingAlgorithmRule = "Sobol" )
type ResourceConfiguration ¶
type SamplingAlgorithm ¶
type SamplingAlgorithm interface { }
type SamplingAlgorithmType ¶
type SamplingAlgorithmType string
const ( SamplingAlgorithmTypeBayesian SamplingAlgorithmType = "Bayesian" SamplingAlgorithmTypeGrid SamplingAlgorithmType = "Grid" SamplingAlgorithmTypeRandom SamplingAlgorithmType = "Random" )
type SweepJob ¶
type SweepJob struct { EarlyTermination EarlyTerminationPolicy `json:"earlyTermination"` Inputs *map[string]JobInput `json:"inputs,omitempty"` Limits JobLimits `json:"limits"` Objective Objective `json:"objective"` Outputs *map[string]JobOutput `json:"outputs,omitempty"` SamplingAlgorithm SamplingAlgorithm `json:"samplingAlgorithm"` SearchSpace interface{} `json:"searchSpace"` Trial TrialComponent `json:"trial"` // Fields inherited from JobBase ComputeId *string `json:"computeId,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` ExperimentName *string `json:"experimentName,omitempty"` Identity IdentityConfiguration `json:"identity"` IsArchived *bool `json:"isArchived,omitempty"` Properties *map[string]string `json:"properties,omitempty"` Services *map[string]JobService `json:"services,omitempty"` Status *JobStatus `json:"status,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (SweepJob) MarshalJSON ¶
func (*SweepJob) UnmarshalJSON ¶
type SweepJobLimits ¶
type SweepJobLimits struct { MaxConcurrentTrials *int64 `json:"maxConcurrentTrials,omitempty"` MaxTotalTrials *int64 `json:"maxTotalTrials,omitempty"` TrialTimeout *string `json:"trialTimeout,omitempty"` // Fields inherited from JobLimits Timeout *string `json:"timeout,omitempty"` }
func (SweepJobLimits) MarshalJSON ¶
func (s SweepJobLimits) MarshalJSON() ([]byte, error)
type TensorFlow ¶
type TensorFlow struct { ParameterServerCount *int64 `json:"parameterServerCount,omitempty"` WorkerCount *int64 `json:"workerCount,omitempty"` }
func (TensorFlow) MarshalJSON ¶
func (s TensorFlow) MarshalJSON() ([]byte, error)
type TrialComponent ¶
type TrialComponent struct { CodeId *string `json:"codeId,omitempty"` Command string `json:"command"` Distribution DistributionConfiguration `json:"distribution"` EnvironmentId string `json:"environmentId"` EnvironmentVariables *map[string]string `json:"environmentVariables,omitempty"` Resources *ResourceConfiguration `json:"resources,omitempty"` }
func (*TrialComponent) UnmarshalJSON ¶
func (s *TrialComponent) UnmarshalJSON(bytes []byte) error
type TritonModelJobInput ¶
type TritonModelJobInput struct { Mode *InputDeliveryMode `json:"mode,omitempty"` Uri string `json:"uri"` // Fields inherited from JobInput Description *string `json:"description,omitempty"` }
func (TritonModelJobInput) MarshalJSON ¶
func (s TritonModelJobInput) MarshalJSON() ([]byte, error)
type TritonModelJobOutput ¶
type TritonModelJobOutput struct { Mode *OutputDeliveryMode `json:"mode,omitempty"` Uri *string `json:"uri,omitempty"` // Fields inherited from JobOutput Description *string `json:"description,omitempty"` }
func (TritonModelJobOutput) MarshalJSON ¶
func (s TritonModelJobOutput) MarshalJSON() ([]byte, error)
type TruncationSelectionPolicy ¶
type TruncationSelectionPolicy struct { TruncationPercentage *int64 `json:"truncationPercentage,omitempty"` // Fields inherited from EarlyTerminationPolicy DelayEvaluation *int64 `json:"delayEvaluation,omitempty"` EvaluationInterval *int64 `json:"evaluationInterval,omitempty"` }
func (TruncationSelectionPolicy) MarshalJSON ¶
func (s TruncationSelectionPolicy) MarshalJSON() ([]byte, error)
type UriFileJobInput ¶
type UriFileJobInput struct { Mode *InputDeliveryMode `json:"mode,omitempty"` Uri string `json:"uri"` // Fields inherited from JobInput Description *string `json:"description,omitempty"` }
func (UriFileJobInput) MarshalJSON ¶
func (s UriFileJobInput) MarshalJSON() ([]byte, error)
type UriFileJobOutput ¶
type UriFileJobOutput struct { Mode *OutputDeliveryMode `json:"mode,omitempty"` Uri *string `json:"uri,omitempty"` // Fields inherited from JobOutput Description *string `json:"description,omitempty"` }
func (UriFileJobOutput) MarshalJSON ¶
func (s UriFileJobOutput) MarshalJSON() ([]byte, error)
type UriFolderJobInput ¶
type UriFolderJobInput struct { Mode *InputDeliveryMode `json:"mode,omitempty"` Uri string `json:"uri"` // Fields inherited from JobInput Description *string `json:"description,omitempty"` }
func (UriFolderJobInput) MarshalJSON ¶
func (s UriFolderJobInput) MarshalJSON() ([]byte, error)
type UriFolderJobOutput ¶
type UriFolderJobOutput struct { Mode *OutputDeliveryMode `json:"mode,omitempty"` Uri *string `json:"uri,omitempty"` // Fields inherited from JobOutput Description *string `json:"description,omitempty"` }
func (UriFolderJobOutput) MarshalJSON ¶
func (s UriFolderJobOutput) MarshalJSON() ([]byte, error)
type UserIdentity ¶
type UserIdentity struct { }
func (UserIdentity) MarshalJSON ¶
func (s UserIdentity) 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_job.go
- id_workspace.go
- method_cancel_autorest.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- model_amltoken.go
- model_banditpolicy.go
- model_bayesiansamplingalgorithm.go
- model_commandjob.go
- model_commandjoblimits.go
- model_custommodeljobinput.go
- model_custommodeljoboutput.go
- model_distributionconfiguration.go
- model_earlyterminationpolicy.go
- model_gridsamplingalgorithm.go
- model_identityconfiguration.go
- model_jobbase.go
- model_jobbaseresource.go
- model_jobinput.go
- model_joblimits.go
- model_joboutput.go
- model_jobservice.go
- model_literaljobinput.go
- model_managedidentity.go
- model_medianstoppingpolicy.go
- model_mlflowmodeljobinput.go
- model_mlflowmodeljoboutput.go
- model_mltablejobinput.go
- model_mltablejoboutput.go
- model_mpi.go
- model_objective.go
- model_pipelinejob.go
- model_pytorch.go
- model_randomsamplingalgorithm.go
- model_resourceconfiguration.go
- model_samplingalgorithm.go
- model_sweepjob.go
- model_sweepjoblimits.go
- model_tensorflow.go
- model_trialcomponent.go
- model_tritonmodeljobinput.go
- model_tritonmodeljoboutput.go
- model_truncationselectionpolicy.go
- model_urifilejobinput.go
- model_urifilejoboutput.go
- model_urifolderjobinput.go
- model_urifolderjoboutput.go
- model_useridentity.go
- predicates.go
- version.go