web_services
Creates, updates, deletes, gets or lists a web_services
resource.
Overview
Name | web_services |
Type | Resource |
Id | azure.machine_learning.web_services |
Fields
- vw_web_services
- web_services
Name | Datatype | Description |
---|---|---|
id | text | Specifies the resource ID. |
name | text | Specifies the name of the resource. |
description | text | field from the properties object |
assets | text | field from the properties object |
commitment_plan | text | field from the properties object |
created_on | text | field from the properties object |
diagnostics | text | field from the properties object |
example_request | text | field from the properties object |
expose_sample_data | text | field from the properties object |
input | text | field from the properties object |
keys | text | field from the properties object |
location | text | Specifies the location of the resource. |
machine_learning_workspace | text | field from the properties object |
modified_on | text | field from the properties object |
output | text | field from the properties object |
package_type | text | field from the properties object |
parameters | text | field from the properties object |
payloads_in_blob_storage | text | field from the properties object |
payloads_location | text | field from the properties object |
provisioning_state | text | field from the properties object |
read_only | text | field from the properties object |
realtime_configuration | text | field from the properties object |
resourceGroupName | text | field from the properties object |
storage_account | text | field from the properties object |
subscriptionId | text | field from the properties object |
swagger_location | text | field from the properties object |
tags | text | Contains resource tags defined as key/value pairs. |
title | text | field from the properties object |
type | text | Specifies the type of the resource. |
webServiceName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Specifies the resource ID. |
name | string | Specifies the name of the resource. |
location | string | Specifies the location of the resource. |
properties | object | The set of properties specific to the Azure ML web service resource. |
tags | object | Contains resource tags defined as key/value pairs. |
type | string | Specifies the type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, subscriptionId, webServiceName | Gets the Web Service Definition as specified by a subscription, resource group, and name. Note that the storage credentials and web service keys are not returned by this call. To get the web service access keys, call List Keys. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Gets the web services in the specified resource group. |
list_by_subscription_id | SELECT | subscriptionId | Gets the web services in the specified subscription. |
create_or_update | INSERT | resourceGroupName, subscriptionId, webServiceName, data__properties | Create or update a web service. This call will overwrite an existing web service. Note that there is no warning or confirmation. This is a nonrecoverable operation. If your intent is to create a new web service, call the Get operation first to verify that it does not exist. |
patch | UPDATE | resourceGroupName, subscriptionId, webServiceName | Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To determine whether it has completed successfully, you must perform a Get operation. |
remove | EXEC | resourceGroupName, subscriptionId, webServiceName | Deletes the specified web service. |
SELECT
examples
Gets the web services in the specified subscription.
- vw_web_services
- web_services
SELECT
id,
name,
description,
assets,
commitment_plan,
created_on,
diagnostics,
example_request,
expose_sample_data,
input,
keys,
location,
machine_learning_workspace,
modified_on,
output,
package_type,
parameters,
payloads_in_blob_storage,
payloads_location,
provisioning_state,
read_only,
realtime_configuration,
resourceGroupName,
storage_account,
subscriptionId,
swagger_location,
tags,
title,
type,
webServiceName
FROM azure.machine_learning.vw_web_services
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.machine_learning.web_services
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new web_services
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.machine_learning.web_services (
resourceGroupName,
subscriptionId,
webServiceName,
data__properties,
location,
tags,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ webServiceName }}',
'{{ data__properties }}',
'{{ location }}',
'{{ tags }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: location
value: string
- name: type
value: string
- name: tags
value: object
- name: properties
value:
- name: title
value: string
- name: description
value: string
- name: createdOn
value: string
- name: modifiedOn
value: string
- name: provisioningState
value: string
- name: keys
value:
- name: primary
value: string
- name: secondary
value: string
- name: readOnly
value: boolean
- name: swaggerLocation
value: string
- name: exposeSampleData
value: boolean
- name: realtimeConfiguration
value:
- name: maxConcurrentCalls
value: integer
- name: diagnostics
value:
- name: level
value: string
- name: expiry
value: string
- name: storageAccount
value:
- name: name
value: string
- name: key
value: string
- name: machineLearningWorkspace
value:
- name: id
value: string
- name: commitmentPlan
value:
- name: id
value: string
- name: input
value:
- name: title
value: string
- name: description
value: string
- name: type
value: string
- name: properties
value: object
- name: exampleRequest
value:
- name: inputs
value: object
- name: globalParameters
value: object
- name: assets
value: object
- name: parameters
value: object
- name: packageType
value: string
- name: payloadsInBlobStorage
value: boolean
- name: payloadsLocation
value:
- name: uri
value: string
- name: credentials
value: string
UPDATE
example
Updates a web_services
resource.
/*+ update */
UPDATE azure.machine_learning.web_services
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND webServiceName = '{{ webServiceName }}';