Documentation ¶
Index ¶
- 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 BaseAssetReferenceBaseImpl
- 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 BatchDeploymentTrackedResource
- type BatchDeploymentTrackedResourceOperationPredicate
- type BatchEndpointId
- type BatchLoggingLevel
- type BatchOutputAction
- type BatchRetrySettings
- type CodeConfiguration
- type CreateOrUpdateOperationResponse
- type DataPathAssetReference
- type DeleteOperationResponse
- type DeploymentId
- type DeploymentProvisioningState
- type GetOperationResponse
- type IdAssetReference
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type OutputPathAssetReference
- type PartialBatchDeployment
- type PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties
- type RawAssetReferenceBaseImpl
- type ReferenceType
- type ResourceConfiguration
- type Sku
- type SkuTier
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 {
AssetReferenceBase() BaseAssetReferenceBaseImpl
}
func UnmarshalAssetReferenceBaseImplementation ¶ added in v0.20240920.1135249
func UnmarshalAssetReferenceBaseImplementation(input []byte) (AssetReferenceBase, error)
type BaseAssetReferenceBaseImpl ¶ added in v0.20240920.1135249
type BaseAssetReferenceBaseImpl struct {
ReferenceType ReferenceType `json:"referenceType"`
}
func (BaseAssetReferenceBaseImpl) AssetReferenceBase ¶ added in v0.20240920.1135249
func (s BaseAssetReferenceBaseImpl) AssetReferenceBase() BaseAssetReferenceBaseImpl
type BatchDeployment ¶
type BatchDeployment struct { CodeConfiguration *CodeConfiguration `json:"codeConfiguration,omitempty"` Compute *string `json:"compute,omitempty"` 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 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 ¶
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 BatchRetrySettings ¶
type CodeConfiguration ¶
type DataPathAssetReference ¶
type DataPathAssetReference struct { DatastoreId *string `json:"datastoreId,omitempty"` Path *string `json:"path,omitempty"` ReferenceType ReferenceType `json:"referenceType"` }
func (DataPathAssetReference) AssetReferenceBase ¶ added in v0.20240920.1135249
func (s DataPathAssetReference) AssetReferenceBase() BaseAssetReferenceBaseImpl
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 ¶
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"` ReferenceType ReferenceType `json:"referenceType"` }
func (IdAssetReference) AssetReferenceBase ¶ added in v0.20240920.1135249
func (s IdAssetReference) AssetReferenceBase() BaseAssetReferenceBaseImpl
func (IdAssetReference) MarshalJSON ¶
func (s IdAssetReference) MarshalJSON() ([]byte, error)
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []BatchDeploymentTrackedResource }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
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"` ReferenceType ReferenceType `json:"referenceType"` }
func (OutputPathAssetReference) AssetReferenceBase ¶ added in v0.20240920.1135249
func (s OutputPathAssetReference) AssetReferenceBase() BaseAssetReferenceBaseImpl
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 ¶
type RawAssetReferenceBaseImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
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).
func (RawAssetReferenceBaseImpl) AssetReferenceBase ¶ added in v0.20240920.1135249
func (s RawAssetReferenceBaseImpl) AssetReferenceBase() BaseAssetReferenceBaseImpl
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 UpdateOperationResponse ¶
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_batchdeploymenttrackedresource.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