endpoint_deployments
Creates, updates, deletes, gets or lists a endpoint_deployments
resource.
Overview
Name | endpoint_deployments |
Type | Resource |
Id | azure.ml_services.endpoint_deployments |
Fields
- vw_endpoint_deployments
- endpoint_deployments
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | text | The name of the resource |
deploymentName | text | field from the properties object |
endpointName | text | field from the properties object |
failure_reason | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
workspaceName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName | |
get_in_workspace | SELECT | resourceGroupName, subscriptionId, workspaceName | |
list | SELECT | endpointName, resourceGroupName, subscriptionId, workspaceName | |
create_or_update | INSERT | deploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName, data__properties | |
delete | DELETE | deploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName |
SELECT
examples
- vw_endpoint_deployments
- endpoint_deployments
SELECT
id,
name,
deploymentName,
endpointName,
failure_reason,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
type,
workspaceName
FROM azure.ml_services.vw_endpoint_deployments
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.ml_services.endpoint_deployments
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new endpoint_deployments
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.ml_services.endpoint_deployments (
deploymentName,
endpointName,
resourceGroupName,
subscriptionId,
workspaceName,
data__properties,
properties
)
SELECT
'{{ deploymentName }}',
'{{ endpointName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: properties
value:
- name: failureReason
value: string
- name: provisioningState
value: []
- name: type
value: string
DELETE
example
Deletes the specified endpoint_deployments
resource.
/*+ delete */
DELETE FROM azure.ml_services.endpoint_deployments
WHERE deploymentName = '{{ deploymentName }}'
AND endpointName = '{{ endpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';