Documentation ¶
Index ¶
- func PossibleValuesForBatchDeploymentConfigurationType() []string
- func PossibleValuesForBatchLoggingLevel() []string
- func PossibleValuesForBatchOutputAction() []string
- func PossibleValuesForDeploymentProvisioningState() []string
- func PossibleValuesForReferenceType() []string
- func PossibleValuesForSkuTier() []string
- func ValidateBatchEndpointID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDeploymentID(input interface{}, key string) (warnings []string, errors []error)
- type AssetReferenceBase
- type BatchDeployment
- type BatchDeploymentClient
- func (c BatchDeploymentClient) CreateOrUpdate(ctx context.Context, id DeploymentId, input BatchDeploymentTrackedResource) (result CreateOrUpdateOperationResponse, err error)
- func (c BatchDeploymentClient) CreateOrUpdateThenPoll(ctx context.Context, id DeploymentId, input BatchDeploymentTrackedResource) error
- func (c BatchDeploymentClient) Delete(ctx context.Context, id DeploymentId) (result DeleteOperationResponse, err error)
- func (c BatchDeploymentClient) DeleteThenPoll(ctx context.Context, id DeploymentId) error
- func (c BatchDeploymentClient) Get(ctx context.Context, id DeploymentId) (result GetOperationResponse, err error)
- func (c BatchDeploymentClient) List(ctx context.Context, id BatchEndpointId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c BatchDeploymentClient) ListComplete(ctx context.Context, id BatchEndpointId, options ListOperationOptions) (ListCompleteResult, error)
- func (c BatchDeploymentClient) ListCompleteMatchingPredicate(ctx context.Context, id BatchEndpointId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c BatchDeploymentClient) Update(ctx context.Context, id DeploymentId, ...) (result UpdateOperationResponse, err error)
- func (c BatchDeploymentClient) UpdateThenPoll(ctx context.Context, id DeploymentId, ...) error
- type BatchDeploymentConfiguration
- type BatchDeploymentConfigurationType
- type BatchDeploymentTrackedResource
- type BatchDeploymentTrackedResourceOperationPredicate
- type BatchEndpointId
- type BatchLoggingLevel
- type BatchOutputAction
- type BatchPipelineComponentDeploymentConfiguration
- type BatchRetrySettings
- type CodeConfiguration
- type CreateOrUpdateOperationResponse
- type DataPathAssetReference
- type DeleteOperationResponse
- type DeploymentId
- type DeploymentProvisioningState
- type GetOperationResponse
- type IdAssetReference
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type OutputPathAssetReference
- type PartialBatchDeployment
- type PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties
- type RawAssetReferenceBaseImpl
- type RawBatchDeploymentConfigurationImpl
- type ReferenceType
- type ResourceConfiguration
- type Sku
- type SkuTier
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBatchDeploymentConfigurationType ¶
func PossibleValuesForBatchDeploymentConfigurationType() []string
func PossibleValuesForBatchLoggingLevel ¶
func PossibleValuesForBatchLoggingLevel() []string
func PossibleValuesForBatchOutputAction ¶
func PossibleValuesForBatchOutputAction() []string
func PossibleValuesForDeploymentProvisioningState ¶
func PossibleValuesForDeploymentProvisioningState() []string
func PossibleValuesForReferenceType ¶
func PossibleValuesForReferenceType() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateBatchEndpointID ¶
ValidateBatchEndpointID checks that 'input' can be parsed as a Batch Endpoint ID
func ValidateDeploymentID ¶
ValidateDeploymentID checks that 'input' can be parsed as a Deployment ID
Types ¶
type AssetReferenceBase ¶
type AssetReferenceBase interface { }
type BatchDeployment ¶
type BatchDeployment struct { CodeConfiguration *CodeConfiguration `json:"codeConfiguration,omitempty"` Compute *string `json:"compute,omitempty"` DeploymentConfiguration BatchDeploymentConfiguration `json:"deploymentConfiguration"` Description *string `json:"description,omitempty"` EnvironmentId *string `json:"environmentId,omitempty"` EnvironmentVariables *map[string]string `json:"environmentVariables,omitempty"` ErrorThreshold *int64 `json:"errorThreshold,omitempty"` LoggingLevel *BatchLoggingLevel `json:"loggingLevel,omitempty"` MaxConcurrencyPerInstance *int64 `json:"maxConcurrencyPerInstance,omitempty"` MiniBatchSize *int64 `json:"miniBatchSize,omitempty"` Model AssetReferenceBase `json:"model"` OutputAction *BatchOutputAction `json:"outputAction,omitempty"` OutputFileName *string `json:"outputFileName,omitempty"` Properties *map[string]string `json:"properties,omitempty"` ProvisioningState *DeploymentProvisioningState `json:"provisioningState,omitempty"` Resources *ResourceConfiguration `json:"resources,omitempty"` RetrySettings *BatchRetrySettings `json:"retrySettings,omitempty"` }
func (*BatchDeployment) UnmarshalJSON ¶
func (s *BatchDeployment) UnmarshalJSON(bytes []byte) error
type BatchDeploymentClient ¶
type BatchDeploymentClient struct {
Client *resourcemanager.Client
}
func NewBatchDeploymentClientWithBaseURI ¶
func NewBatchDeploymentClientWithBaseURI(sdkApi sdkEnv.Api) (*BatchDeploymentClient, error)
func (BatchDeploymentClient) CreateOrUpdate ¶
func (c BatchDeploymentClient) CreateOrUpdate(ctx context.Context, id DeploymentId, input BatchDeploymentTrackedResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BatchDeploymentClient) CreateOrUpdateThenPoll ¶
func (c BatchDeploymentClient) CreateOrUpdateThenPoll(ctx context.Context, id DeploymentId, input BatchDeploymentTrackedResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (BatchDeploymentClient) Delete ¶
func (c BatchDeploymentClient) Delete(ctx context.Context, id DeploymentId) (result DeleteOperationResponse, err error)
Delete ...
func (BatchDeploymentClient) DeleteThenPoll ¶
func (c BatchDeploymentClient) DeleteThenPoll(ctx context.Context, id DeploymentId) error
DeleteThenPoll performs Delete then polls until it's completed
func (BatchDeploymentClient) Get ¶
func (c BatchDeploymentClient) Get(ctx context.Context, id DeploymentId) (result GetOperationResponse, err error)
Get ...
func (BatchDeploymentClient) List ¶
func (c BatchDeploymentClient) List(ctx context.Context, id BatchEndpointId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (BatchDeploymentClient) ListComplete ¶
func (c BatchDeploymentClient) ListComplete(ctx context.Context, id BatchEndpointId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (BatchDeploymentClient) ListCompleteMatchingPredicate ¶
func (c BatchDeploymentClient) ListCompleteMatchingPredicate(ctx context.Context, id BatchEndpointId, options ListOperationOptions, predicate BatchDeploymentTrackedResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BatchDeploymentClient) Update ¶
func (c BatchDeploymentClient) Update(ctx context.Context, id DeploymentId, input PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties) (result UpdateOperationResponse, err error)
Update ...
func (BatchDeploymentClient) UpdateThenPoll ¶
func (c BatchDeploymentClient) UpdateThenPoll(ctx context.Context, id DeploymentId, input PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties) error
UpdateThenPoll performs Update then polls until it's completed
type BatchDeploymentConfiguration ¶
type BatchDeploymentConfiguration interface { }
type BatchDeploymentConfigurationType ¶
type BatchDeploymentConfigurationType string
const ( BatchDeploymentConfigurationTypeModel BatchDeploymentConfigurationType = "Model" BatchDeploymentConfigurationTypePipelineComponent BatchDeploymentConfigurationType = "PipelineComponent" )
func (*BatchDeploymentConfigurationType) UnmarshalJSON ¶
func (s *BatchDeploymentConfigurationType) UnmarshalJSON(bytes []byte) error
type BatchDeploymentTrackedResource ¶
type BatchDeploymentTrackedResource struct { Id *string `json:"id,omitempty"` Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties BatchDeployment `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"` }
type BatchDeploymentTrackedResourceOperationPredicate ¶
type BatchDeploymentTrackedResourceOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (BatchDeploymentTrackedResourceOperationPredicate) Matches ¶
func (p BatchDeploymentTrackedResourceOperationPredicate) Matches(input BatchDeploymentTrackedResource) bool
type BatchEndpointId ¶
type BatchEndpointId struct { SubscriptionId string ResourceGroupName string WorkspaceName string BatchEndpointName string }
BatchEndpointId is a struct representing the Resource ID for a Batch Endpoint
func NewBatchEndpointID ¶
func NewBatchEndpointID(subscriptionId string, resourceGroupName string, workspaceName string, batchEndpointName string) BatchEndpointId
NewBatchEndpointID returns a new BatchEndpointId struct
func ParseBatchEndpointID ¶
func ParseBatchEndpointID(input string) (*BatchEndpointId, error)
ParseBatchEndpointID parses 'input' into a BatchEndpointId
func ParseBatchEndpointIDInsensitively ¶
func ParseBatchEndpointIDInsensitively(input string) (*BatchEndpointId, error)
ParseBatchEndpointIDInsensitively parses 'input' case-insensitively into a BatchEndpointId note: this method should only be used for API response data and not user input
func (*BatchEndpointId) FromParseResult ¶ added in v0.20231127.1171502
func (id *BatchEndpointId) FromParseResult(input resourceids.ParseResult) error
func (BatchEndpointId) ID ¶
func (id BatchEndpointId) ID() string
ID returns the formatted Batch Endpoint ID
func (BatchEndpointId) Segments ¶
func (id BatchEndpointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Batch Endpoint ID
func (BatchEndpointId) String ¶
func (id BatchEndpointId) String() string
String returns a human-readable description of this Batch Endpoint ID
type BatchLoggingLevel ¶
type BatchLoggingLevel string
const ( BatchLoggingLevelDebug BatchLoggingLevel = "Debug" BatchLoggingLevelInfo BatchLoggingLevel = "Info" BatchLoggingLevelWarning BatchLoggingLevel = "Warning" )
func (*BatchLoggingLevel) UnmarshalJSON ¶
func (s *BatchLoggingLevel) UnmarshalJSON(bytes []byte) error
type BatchOutputAction ¶
type BatchOutputAction string
const ( BatchOutputActionAppendRow BatchOutputAction = "AppendRow" BatchOutputActionSummaryOnly BatchOutputAction = "SummaryOnly" )
func (*BatchOutputAction) UnmarshalJSON ¶
func (s *BatchOutputAction) UnmarshalJSON(bytes []byte) error
type BatchPipelineComponentDeploymentConfiguration ¶
type BatchPipelineComponentDeploymentConfiguration struct { ComponentId *IdAssetReference `json:"componentId,omitempty"` Description *string `json:"description,omitempty"` Settings *map[string]string `json:"settings,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
func (BatchPipelineComponentDeploymentConfiguration) MarshalJSON ¶
func (s BatchPipelineComponentDeploymentConfiguration) MarshalJSON() ([]byte, error)
type BatchRetrySettings ¶
type CodeConfiguration ¶
type DataPathAssetReference ¶
type DataPathAssetReference struct { DatastoreId *string `json:"datastoreId,omitempty"` Path *string `json:"path,omitempty"` }
func (DataPathAssetReference) MarshalJSON ¶
func (s DataPathAssetReference) MarshalJSON() ([]byte, error)
type DeleteOperationResponse ¶
type DeploymentId ¶
type DeploymentId struct { SubscriptionId string ResourceGroupName string WorkspaceName string BatchEndpointName string DeploymentName string }
DeploymentId is a struct representing the Resource ID for a Deployment
func NewDeploymentID ¶
func NewDeploymentID(subscriptionId string, resourceGroupName string, workspaceName string, batchEndpointName string, deploymentName string) DeploymentId
NewDeploymentID returns a new DeploymentId struct
func ParseDeploymentID ¶
func ParseDeploymentID(input string) (*DeploymentId, error)
ParseDeploymentID parses 'input' into a DeploymentId
func ParseDeploymentIDInsensitively ¶
func ParseDeploymentIDInsensitively(input string) (*DeploymentId, error)
ParseDeploymentIDInsensitively parses 'input' case-insensitively into a DeploymentId note: this method should only be used for API response data and not user input
func (*DeploymentId) FromParseResult ¶ added in v0.20231127.1171502
func (id *DeploymentId) FromParseResult(input resourceids.ParseResult) error
func (DeploymentId) Segments ¶
func (id DeploymentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Deployment ID
func (DeploymentId) String ¶
func (id DeploymentId) String() string
String returns a human-readable description of this Deployment ID
type DeploymentProvisioningState ¶
type DeploymentProvisioningState string
const ( DeploymentProvisioningStateCanceled DeploymentProvisioningState = "Canceled" DeploymentProvisioningStateCreating DeploymentProvisioningState = "Creating" DeploymentProvisioningStateDeleting DeploymentProvisioningState = "Deleting" DeploymentProvisioningStateFailed DeploymentProvisioningState = "Failed" DeploymentProvisioningStateScaling DeploymentProvisioningState = "Scaling" DeploymentProvisioningStateSucceeded DeploymentProvisioningState = "Succeeded" DeploymentProvisioningStateUpdating DeploymentProvisioningState = "Updating" )
func (*DeploymentProvisioningState) UnmarshalJSON ¶
func (s *DeploymentProvisioningState) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BatchDeploymentTrackedResource }
type IdAssetReference ¶
type IdAssetReference struct {
AssetId string `json:"assetId"`
}
func (IdAssetReference) MarshalJSON ¶
func (s IdAssetReference) MarshalJSON() ([]byte, error)
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []BatchDeploymentTrackedResource }
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BatchDeploymentTrackedResource }
type OutputPathAssetReference ¶
type OutputPathAssetReference struct { JobId *string `json:"jobId,omitempty"` Path *string `json:"path,omitempty"` }
func (OutputPathAssetReference) MarshalJSON ¶
func (s OutputPathAssetReference) MarshalJSON() ([]byte, error)
type PartialBatchDeployment ¶
type PartialBatchDeployment struct {
Description *string `json:"description,omitempty"`
}
type PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties ¶
type PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties struct { Properties *PartialBatchDeployment `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type RawAssetReferenceBaseImpl ¶ added in v0.20230807.1063129
RawAssetReferenceBaseImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RawBatchDeploymentConfigurationImpl ¶ added in v0.20230807.1063129
RawBatchDeploymentConfigurationImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type ReferenceType ¶
type ReferenceType string
const ( ReferenceTypeDataPath ReferenceType = "DataPath" ReferenceTypeId ReferenceType = "Id" ReferenceTypeOutputPath ReferenceType = "OutputPath" )
func (*ReferenceType) UnmarshalJSON ¶
func (s *ReferenceType) UnmarshalJSON(bytes []byte) error
type ResourceConfiguration ¶
type ResourceConfiguration struct { InstanceCount *int64 `json:"instanceCount,omitempty"` InstanceType *string `json:"instanceType,omitempty"` Locations *[]string `json:"locations,omitempty"` MaxInstanceCount *int64 `json:"maxInstanceCount,omitempty"` Properties *map[string]interface{} `json:"properties,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_batchendpoint.go
- id_deployment.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_assetreferencebase.go
- model_batchdeployment.go
- model_batchdeploymentconfiguration.go
- model_batchdeploymenttrackedresource.go
- model_batchpipelinecomponentdeploymentconfiguration.go
- model_batchretrysettings.go
- model_codeconfiguration.go
- model_datapathassetreference.go
- model_idassetreference.go
- model_outputpathassetreference.go
- model_partialbatchdeployment.go
- model_partialbatchdeploymentpartialminimaltrackedresourcewithproperties.go
- model_resourceconfiguration.go
- model_sku.go
- predicates.go
- version.go