services
Creates, updates, deletes, gets or lists a services
resource.
Overview
Name | services |
Type | Resource |
Id | azure_extras.healthcare.services |
Fields
- vw_services
- services
Name | Datatype | Description |
---|---|---|
id | text | The resource identifier. |
name | text | The resource name. |
access_policies | text | field from the properties object |
acr_configuration | text | field from the properties object |
authentication_configuration | text | field from the properties object |
cors_configuration | text | field from the properties object |
cosmos_db_configuration | text | field from the properties object |
etag | text | An etag associated with the resource, used for optimistic concurrency when editing it. |
export_configuration | text | field from the properties object |
identity | text | Setting indicating whether the service has a managed identity associated with it. |
import_configuration | text | field from the properties object |
kind | text | The kind of the service. |
location | text | The resource location. |
private_endpoint_connections | text | field from the properties object |
provisioning_state | text | field from the properties object |
public_network_access | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | The resource tags. |
type | text | The resource type. |
Name | Datatype | Description |
---|---|---|
id | string | The resource identifier. |
name | string | The resource name. |
etag | string | An etag associated with the resource, used for optimistic concurrency when editing it. |
identity | object | Setting indicating whether the service has a managed identity associated with it. |
kind | string | The kind of the service. |
location | string | The resource location. |
properties | object | The properties of a service instance. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | The resource tags. |
type | string | The resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, resourceName, subscriptionId | Get the metadata of a service instance. |
list | SELECT | subscriptionId | Get all the service instances in a subscription. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Get all the service instances in a resource group. |
create_or_update | INSERT | resourceGroupName, resourceName, subscriptionId | Create or update the metadata of a service instance. |
delete | DELETE | resourceGroupName, resourceName, subscriptionId | Delete a service instance. |
update | UPDATE | resourceGroupName, resourceName, subscriptionId | Update the metadata of a service instance. |
check_name_availability | EXEC | subscriptionId, data__name, data__type | Check if a service instance name is available. |
SELECT
examples
Get all the service instances in a subscription.
- vw_services
- services
SELECT
id,
name,
access_policies,
acr_configuration,
authentication_configuration,
cors_configuration,
cosmos_db_configuration,
etag,
export_configuration,
identity,
import_configuration,
kind,
location,
private_endpoint_connections,
provisioning_state,
public_network_access,
resourceGroupName,
resourceName,
subscriptionId,
system_data,
tags,
type
FROM azure_extras.healthcare.vw_services
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
etag,
identity,
kind,
location,
properties,
systemData,
tags,
type
FROM azure_extras.healthcare.services
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new services
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.healthcare.services (
resourceGroupName,
resourceName,
subscriptionId,
properties,
systemData,
kind,
location,
tags,
etag,
identity
)
SELECT
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ systemData }}',
'{{ kind }}',
'{{ location }}',
'{{ tags }}',
'{{ etag }}',
'{{ identity }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: accessPolicies
value: []
- name: cosmosDbConfiguration
value:
- name: offerThroughput
value: integer
- name: keyVaultKeyUri
value: string
- name: crossTenantCmkApplicationId
value: string
- name: authenticationConfiguration
value:
- name: authority
value: string
- name: audience
value: string
- name: smartProxyEnabled
value: boolean
- name: corsConfiguration
value:
- name: origins
value:
- []
- name: headers
value:
- []
- name: methods
value:
- []
- name: maxAge
value: integer
- name: allowCredentials
value: boolean
- name: exportConfiguration
value:
- name: storageAccountName
value: string
- name: privateEndpointConnections
value:
- - name: properties
value:
- name: privateEndpoint
value:
- name: id
value: string
- name: privateLinkServiceConnectionState
value:
- name: status
value: []
- name: description
value: string
- name: actionsRequired
value: string
- name: provisioningState
value: []
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: publicNetworkAccess
value: string
- name: acrConfiguration
value:
- name: loginServers
value:
- string
- name: ociArtifacts
value:
- - name: loginServer
value: string
- name: imageName
value: string
- name: digest
value: string
- name: importConfiguration
value:
- name: integrationDataStore
value: string
- name: initialImportMode
value: boolean
- name: enabled
value: boolean
- 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: id
value: string
- name: name
value: string
- name: type
value: string
- name: kind
value: string
- name: location
value: string
- name: tags
value: object
- name: etag
value: string
- name: identity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
value: string
UPDATE
example
Updates a services
resource.
/*+ update */
UPDATE azure_extras.healthcare.services
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified services
resource.
/*+ delete */
DELETE FROM azure_extras.healthcare.services
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';