batch_deployments
Creates, updates, deletes, gets or lists a batch_deployments
resource.
Overview
Name | batch_deployments |
Type | Resource |
Id | azure.ml_services.batch_deployments |
Fields
- vw_batch_deployments
- batch_deployments
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
code_configuration | text | field from the properties object |
compute | text | field from the properties object |
deploymentName | text | field from the properties object |
deployment_configuration | text | field from the properties object |
endpointName | text | field from the properties object |
environment_id | text | field from the properties object |
environment_variables | text | field from the properties object |
error_threshold | text | field from the properties object |
identity | text | Managed service identity (system assigned and/or user assigned identities) |
kind | text | Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. |
location | text | The geo-location where the resource lives |
logging_level | text | field from the properties object |
max_concurrency_per_instance | text | field from the properties object |
mini_batch_size | text | field from the properties object |
model | text | field from the properties object |
output_action | text | field from the properties object |
output_file_name | text | field from the properties object |
properties | text | Batch inference settings per deployment. |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resources | text | field from the properties object |
retry_settings | text | field from the properties object |
sku | text | The resource model definition representing SKU |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
workspaceName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
identity | object | Managed service identity (system assigned and/or user assigned identities) |
kind | string | Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. |
location | string | The geo-location where the resource lives |
properties | object | Batch inference settings per deployment. |
sku | object | The resource model definition representing SKU |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName | |
list | SELECT | endpointName, resourceGroupName, subscriptionId, workspaceName | |
create_or_update | INSERT | deploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName, data__location, data__properties | |
delete | DELETE | deploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName | |
update | UPDATE | deploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName |
SELECT
examples
- vw_batch_deployments
- batch_deployments
SELECT
description,
code_configuration,
compute,
deploymentName,
deployment_configuration,
endpointName,
environment_id,
environment_variables,
error_threshold,
identity,
kind,
location,
logging_level,
max_concurrency_per_instance,
mini_batch_size,
model,
output_action,
output_file_name,
properties,
provisioning_state,
resourceGroupName,
resources,
retry_settings,
sku,
subscriptionId,
tags,
workspaceName
FROM azure.ml_services.vw_batch_deployments
WHERE endpointName = '{{ endpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
SELECT
identity,
kind,
location,
properties,
sku,
tags
FROM azure.ml_services.batch_deployments
WHERE endpointName = '{{ endpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new batch_deployments
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.ml_services.batch_deployments (
deploymentName,
endpointName,
resourceGroupName,
subscriptionId,
workspaceName,
data__location,
data__properties,
tags,
location,
identity,
kind,
properties,
sku
)
SELECT
'{{ deploymentName }}',
'{{ endpointName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ data__location }}',
'{{ data__properties }}',
'{{ tags }}',
'{{ location }}',
'{{ identity }}',
'{{ kind }}',
'{{ properties }}',
'{{ sku }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: identity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
value: []
- name: userAssignedIdentities
value: []
- name: kind
value: string
- name: properties
value:
- name: codeConfiguration
value:
- name: codeId
value: string
- name: scoringScript
value: string
- name: description
value: string
- name: environmentId
value: string
- name: environmentVariables
value: object
- name: properties
value: object
- name: compute
value: string
- name: deploymentConfiguration
value:
- name: deploymentConfigurationType
value: []
- name: errorThreshold
value: integer
- name: loggingLevel
value: []
- name: maxConcurrencyPerInstance
value: integer
- name: miniBatchSize
value: integer
- name: model
value:
- name: referenceType
value: []
- name: outputAction
value: []
- name: outputFileName
value: string
- name: provisioningState
value: []
- name: resources
value:
- name: instanceCount
value: integer
- name: instanceType
value: string
- name: properties
value: object
- name: retrySettings
value:
- name: maxRetries
value: integer
- name: timeout
value: string
- name: sku
value:
- name: name
value: string
- name: tier
value: []
- name: size
value: string
- name: family
value: string
- name: capacity
value: integer
UPDATE
example
Updates a batch_deployments
resource.
/*+ update */
UPDATE azure.ml_services.batch_deployments
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
deploymentName = '{{ deploymentName }}'
AND endpointName = '{{ endpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
DELETE
example
Deletes the specified batch_deployments
resource.
/*+ delete */
DELETE FROM azure.ml_services.batch_deployments
WHERE deploymentName = '{{ deploymentName }}'
AND endpointName = '{{ endpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';