batch_endpoints
Creates, updates, deletes, gets or lists a batch_endpoints
resource.
Overview
Name | batch_endpoints |
Type | Resource |
Id | azure.ml_services.batch_endpoints |
Fields
- vw_batch_endpoints
- batch_endpoints
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
auth_mode | text | field from the properties object |
defaults | text | field from the properties object |
endpointName | text | field from the properties object |
identity | text | Managed service identity (system assigned and/or user assigned identities) |
keys | text | field from the properties object |
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 |
properties | text | Batch endpoint configuration. |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
scoring_uri | text | field from the properties object |
sku | text | The resource model definition representing SKU |
subscriptionId | text | field from the properties object |
swagger_uri | 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 endpoint configuration. |
sku | object | The resource model definition representing SKU |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | endpointName, resourceGroupName, subscriptionId, workspaceName | |
list | SELECT | resourceGroupName, subscriptionId, workspaceName | |
create_or_update | INSERT | endpointName, resourceGroupName, subscriptionId, workspaceName, data__location, data__properties | |
delete | DELETE | endpointName, resourceGroupName, subscriptionId, workspaceName | |
update | UPDATE | endpointName, resourceGroupName, subscriptionId, workspaceName |
SELECT
examples
- vw_batch_endpoints
- batch_endpoints
SELECT
description,
auth_mode,
defaults,
endpointName,
identity,
keys,
kind,
location,
properties,
provisioning_state,
resourceGroupName,
scoring_uri,
sku,
subscriptionId,
swagger_uri,
tags,
workspaceName
FROM azure.ml_services.vw_batch_endpoints
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
SELECT
identity,
kind,
location,
properties,
sku,
tags
FROM azure.ml_services.batch_endpoints
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new batch_endpoints
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.ml_services.batch_endpoints (
endpointName,
resourceGroupName,
subscriptionId,
workspaceName,
data__location,
data__properties,
tags,
location,
identity,
kind,
properties,
sku
)
SELECT
'{{ 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: authMode
value: []
- name: description
value: string
- name: keys
value:
- name: primaryKey
value: string
- name: secondaryKey
value: string
- name: properties
value: object
- name: scoringUri
value: string
- name: swaggerUri
value: string
- name: defaults
value:
- name: deploymentName
value: string
- name: provisioningState
value: []
- 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_endpoints
resource.
/*+ update */
UPDATE azure.ml_services.batch_endpoints
SET
tags = '{{ tags }}',
identity = '{{ identity }}'
WHERE
endpointName = '{{ endpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
DELETE
example
Deletes the specified batch_endpoints
resource.
/*+ delete */
DELETE FROM azure.ml_services.batch_endpoints
WHERE endpointName = '{{ endpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';