serverless_endpoints
Creates, updates, deletes, gets or lists a serverless_endpoints
resource.
Overview
Name | serverless_endpoints |
Type | Resource |
Id | azure.ml_services.serverless_endpoints |
Fields
- vw_serverless_endpoints
- serverless_endpoints
Name | Datatype | Description |
---|---|---|
name | text | field from the properties object |
auth_mode | text | field from the properties object |
content_safety | text | field from the properties object |
endpoint_state | text | field from the properties object |
identity | text | Managed service identity (system assigned and/or user assigned identities) |
inference_endpoint | 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 |
marketplace_subscription_id | text | field from the properties object |
model_settings | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | 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 | |
sku | object | The resource model definition representing SKU |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, resourceGroupName, subscriptionId, workspaceName | |
list | SELECT | resourceGroupName, subscriptionId, workspaceName | |
create_or_update | INSERT | name, resourceGroupName, subscriptionId, workspaceName, data__location, data__properties | |
delete | DELETE | name, resourceGroupName, subscriptionId, workspaceName | |
update | UPDATE | name, resourceGroupName, subscriptionId, workspaceName | |
regenerate_keys | EXEC | name, resourceGroupName, subscriptionId, workspaceName, data__keyType |
SELECT
examples
- vw_serverless_endpoints
- serverless_endpoints
SELECT
name,
auth_mode,
content_safety,
endpoint_state,
identity,
inference_endpoint,
kind,
location,
marketplace_subscription_id,
model_settings,
provisioning_state,
resourceGroupName,
sku,
subscriptionId,
tags,
workspaceName
FROM azure.ml_services.vw_serverless_endpoints
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
SELECT
identity,
kind,
location,
properties,
sku,
tags
FROM azure.ml_services.serverless_endpoints
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
INSERT
example
Use the following StackQL query and manifest file to create a new serverless_endpoints
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.ml_services.serverless_endpoints (
name,
resourceGroupName,
subscriptionId,
workspaceName,
data__location,
data__properties,
tags,
location,
identity,
kind,
properties,
sku
)
SELECT
'{{ name }}',
'{{ 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: contentSafety
value:
- name: contentSafetyStatus
value: []
- name: endpointState
value: []
- name: inferenceEndpoint
value:
- name: headers
value: object
- name: uri
value: string
- name: marketplaceSubscriptionId
value: string
- name: modelSettings
value:
- name: modelId
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 serverless_endpoints
resource.
/*+ update */
UPDATE azure.ml_services.serverless_endpoints
SET
tags = '{{ tags }}',
identity = '{{ identity }}',
sku = '{{ sku }}'
WHERE
name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
DELETE
example
Deletes the specified serverless_endpoints
resource.
/*+ delete */
DELETE FROM azure.ml_services.serverless_endpoints
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';