iot_dps_resource
Creates, updates, deletes, gets or lists an iot_dps_resource resource.
Overview
| Name | iot_dps_resource |
| Type | Resource |
| Id | azure.iot_hub_provisioning_services.iot_dps_resource |
Fields
The following fields are returned by SELECT queries:
- get_operation_result
- get_private_link_resources
- get_private_endpoint_connection
- list_keys_for_key_name
- list_private_link_resources
- get
- list_by_resource_group
- check_provisioning_service_name_availability
- list_by_subscription
| Name | Datatype | Description |
|---|---|---|
error | object | Error message containing code, description and details. |
status | string | current status of a long running operation. |
| 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. |
groupId | string | The group id. |
requiredMembers | array | The required members for a specific group id. |
requiredZoneNames | array | The required DNS zones for a specific group id. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| 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. |
privateEndpoint | object | The private endpoint property of a private endpoint connection. |
privateLinkServiceConnectionState | object | The current state of a private endpoint connection. Required. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
keyName | string | Name of the key. Required. |
primaryKey | string | Primary SAS key value. |
rights | string | Rights that this key has. Required. Known values are: "ServiceConfig", "EnrollmentRead", "EnrollmentWrite", "DeviceConnect", "RegistrationStatusRead", and "RegistrationStatusWrite". (ServiceConfig, EnrollmentRead, EnrollmentWrite, DeviceConnect, RegistrationStatusRead, RegistrationStatusWrite) |
secondaryKey | string | Secondary SAS key value. |
| 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. |
groupId | string | The group id. |
requiredMembers | array | The required members for a specific group id. |
requiredZoneNames | array | The required DNS zones for a specific group id. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| 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. |
allocationPolicy | string | Allocation policy to be used by this provisioning service. Known values are: "Hashed", "GeoLatency", and "Static". (Hashed, GeoLatency, Static) |
authorizationPolicies | array | List of authorization keys for a provisioning service. |
deviceProvisioningHostName | string | Device endpoint for this provisioning service. |
deviceRegistryNamespace | object | The Device Registry namespace that is linked to the provisioning service. |
enableDataResidency | boolean | Optional. Indicates if the DPS instance has Data Residency enabled, removing the cross geo-pair disaster recovery. |
etag | string | The Etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. |
idScope | string | Unique identifier of this provisioning service. |
identity | object | The managed service identities assigned to this resource. |
iotHubs | array | List of IoT hubs associated with this provisioning service. |
ipFilterRules | array | The IP filter rules. |
location | string | The geo-location where the resource lives. Required. |
portalOperationsHostName | string | Portal endpoint to enable CORS for this provisioning service. |
privateEndpointConnections | array | Private endpoint connections created on this IotHub. |
provisioningState | string | The ARM provisioning state of the provisioning service. |
publicNetworkAccess | string | Whether requests from Public Network are allowed. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
resourcegroup | string | The resource group of the resource. |
serviceOperationsHostName | string | Service endpoint for provisioning service. |
sku | object | Sku info for a provisioning Service. Required. |
state | string | Current state of the provisioning service. Known values are: "Activating", "Active", "Deleting", "Deleted", "ActivationFailed", "DeletionFailed", "Transitioning", "Suspending", "Suspended", "Resuming", "FailingOver", and "FailoverFailed". (Activating, Active, Deleting, Deleted, ActivationFailed, DeletionFailed, Transitioning, Suspending, Suspended, Resuming, FailingOver, FailoverFailed) |
subscriptionid | string | The subscription id of the resource. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| 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. |
allocationPolicy | string | Allocation policy to be used by this provisioning service. Known values are: "Hashed", "GeoLatency", and "Static". (Hashed, GeoLatency, Static) |
authorizationPolicies | array | List of authorization keys for a provisioning service. |
deviceProvisioningHostName | string | Device endpoint for this provisioning service. |
deviceRegistryNamespace | object | The Device Registry namespace that is linked to the provisioning service. |
enableDataResidency | boolean | Optional. Indicates if the DPS instance has Data Residency enabled, removing the cross geo-pair disaster recovery. |
etag | string | The Etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. |
idScope | string | Unique identifier of this provisioning service. |
identity | object | The managed service identities assigned to this resource. |
iotHubs | array | List of IoT hubs associated with this provisioning service. |
ipFilterRules | array | The IP filter rules. |
location | string | The geo-location where the resource lives. Required. |
portalOperationsHostName | string | Portal endpoint to enable CORS for this provisioning service. |
privateEndpointConnections | array | Private endpoint connections created on this IotHub. |
provisioningState | string | The ARM provisioning state of the provisioning service. |
publicNetworkAccess | string | Whether requests from Public Network are allowed. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
resourcegroup | string | The resource group of the resource. |
serviceOperationsHostName | string | Service endpoint for provisioning service. |
sku | object | Sku info for a provisioning Service. Required. |
state | string | Current state of the provisioning service. Known values are: "Activating", "Active", "Deleting", "Deleted", "ActivationFailed", "DeletionFailed", "Transitioning", "Suspending", "Suspended", "Resuming", "FailingOver", and "FailoverFailed". (Activating, Active, Deleting, Deleted, ActivationFailed, DeletionFailed, Transitioning, Suspending, Suspended, Resuming, FailingOver, FailoverFailed) |
subscriptionid | string | The subscription id of the resource. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
message | string | message containing a detailed reason name is unavailable. |
nameAvailable | boolean | specifies if a name is available or not. |
reason | string | specifies the reason a name is unavailable. Known values are: "Invalid" and "AlreadyExists". (Invalid, AlreadyExists) |
| 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. |
allocationPolicy | string | Allocation policy to be used by this provisioning service. Known values are: "Hashed", "GeoLatency", and "Static". (Hashed, GeoLatency, Static) |
authorizationPolicies | array | List of authorization keys for a provisioning service. |
deviceProvisioningHostName | string | Device endpoint for this provisioning service. |
deviceRegistryNamespace | object | The Device Registry namespace that is linked to the provisioning service. |
enableDataResidency | boolean | Optional. Indicates if the DPS instance has Data Residency enabled, removing the cross geo-pair disaster recovery. |
etag | string | The Etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. |
idScope | string | Unique identifier of this provisioning service. |
identity | object | The managed service identities assigned to this resource. |
iotHubs | array | List of IoT hubs associated with this provisioning service. |
ipFilterRules | array | The IP filter rules. |
location | string | The geo-location where the resource lives. Required. |
portalOperationsHostName | string | Portal endpoint to enable CORS for this provisioning service. |
privateEndpointConnections | array | Private endpoint connections created on this IotHub. |
provisioningState | string | The ARM provisioning state of the provisioning service. |
publicNetworkAccess | string | Whether requests from Public Network are allowed. Known values are: "Enabled" and "Disabled". (Enabled, Disabled) |
resourcegroup | string | The resource group of the resource. |
serviceOperationsHostName | string | Service endpoint for provisioning service. |
sku | object | Sku info for a provisioning Service. Required. |
state | string | Current state of the provisioning service. Known values are: "Activating", "Active", "Deleting", "Deleted", "ActivationFailed", "DeletionFailed", "Transitioning", "Suspending", "Suspended", "Resuming", "FailingOver", and "FailoverFailed". (Activating, Active, Deleting, Deleted, ActivationFailed, DeletionFailed, Transitioning, Suspending, Suspended, Resuming, FailingOver, FailoverFailed) |
subscriptionid | string | The subscription id of the resource. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_operation_result | select | operation_id, resource_group_name, provisioning_service_name, asyncinfo | Gets the status of a long running operation, such as create, update or delete a provisioning service. | |
get_private_link_resources | select | resource_group_name, resource_name, group_id, subscription_id | Get the specified private link resource for the given provisioning service. | |
get_private_endpoint_connection | select | resource_group_name, resource_name, private_endpoint_connection_name, subscription_id | Get private endpoint connection properties. | |
list_keys_for_key_name | select | provisioning_service_name, key_name, resource_group_name | List primary and secondary keys for a specific key name. | |
list_private_link_resources | select | resource_group_name, resource_name, subscription_id | List private link resources for the given provisioning service. | |
get | select | provisioning_service_name, resource_group_name | Get the metadata of the provisioning service without SAS keys. | |
list_by_resource_group | select | resource_group_name, subscription_id | Get a list of all provisioning services in the given resource group. | |
check_provisioning_service_name_availability | select | subscription_id | Check if a provisioning service name is available. Check if a provisioning service name is available. This will validate if the name is syntactically valid and if the name is usable. | |
list_by_subscription | select | subscription_id | List all the provisioning services for a given subscription id. | |
create_or_update | insert | resource_group_name, provisioning_service_name, subscription_id, location, properties, sku | Create or update the metadata of the provisioning service. The usual pattern to modify a property is to retrieve the provisioning service metadata and security metadata, and then combine them with the modified values in a new body to update the provisioning service. | |
update | update | resource_group_name, provisioning_service_name, subscription_id | Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method. | |
create_or_update | replace | resource_group_name, provisioning_service_name, subscription_id, location, properties, sku | Create or update the metadata of the provisioning service. The usual pattern to modify a property is to retrieve the provisioning service metadata and security metadata, and then combine them with the modified values in a new body to update the provisioning service. | |
delete | delete | provisioning_service_name, resource_group_name | Deletes the Provisioning Service. | |
list_valid_skus | exec | provisioning_service_name, resource_group_name | Gets the list of valid SKUs and tiers for a provisioning service. | |
list_keys | exec | provisioning_service_name, resource_group_name | List the primary and secondary keys for a provisioning service. | |
list_private_endpoint_connections | exec | resource_group_name, resource_name, subscription_id | List private endpoint connection properties. | |
create_or_update_private_endpoint_connection | exec | resource_group_name, resource_name, private_endpoint_connection_name, subscription_id, properties | Create or update the status of a private endpoint connection with the specified name. | |
delete_private_endpoint_connection | exec | resource_group_name, resource_name, private_endpoint_connection_name, subscription_id | Delete private endpoint connection with the specified name. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
asyncinfo | string | Async header used to poll on the status of the operation, obtained while creating the long running operation. Required. |
group_id | string | The name of the private link resource. Required. |
key_name | string | Logical key name to get key-values for. Required. |
operation_id | string | Operation id corresponding to long running operation. Use this to poll for the status. Required. |
private_endpoint_connection_name | string | The name of the private endpoint connection. Required. |
provisioning_service_name | string | Name of the provisioning service to retrieve. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
resource_name | string | Name of the provisioning service to retrieve. Required. |
subscription_id | string |
SELECT examples
- get_operation_result
- get_private_link_resources
- get_private_endpoint_connection
- list_keys_for_key_name
- list_private_link_resources
- get
- list_by_resource_group
- check_provisioning_service_name_availability
- list_by_subscription
Gets the status of a long running operation, such as create, update or delete a provisioning service.
SELECT
error,
status
FROM azure.iot_hub_provisioning_services.iot_dps_resource
WHERE operation_id = '{{ operation_id }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND provisioning_service_name = '{{ provisioning_service_name }}' -- required
AND asyncinfo = '{{ asyncinfo }}' -- required
;
Get the specified private link resource for the given provisioning service.
SELECT
id,
name,
groupId,
requiredMembers,
requiredZoneNames,
systemData,
type
FROM azure.iot_hub_provisioning_services.iot_dps_resource
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND group_id = '{{ group_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get private endpoint connection properties.
SELECT
id,
name,
privateEndpoint,
privateLinkServiceConnectionState,
systemData,
type
FROM azure.iot_hub_provisioning_services.iot_dps_resource
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND private_endpoint_connection_name = '{{ private_endpoint_connection_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List primary and secondary keys for a specific key name.
SELECT
keyName,
primaryKey,
rights,
secondaryKey
FROM azure.iot_hub_provisioning_services.iot_dps_resource
WHERE provisioning_service_name = '{{ provisioning_service_name }}' -- required
AND key_name = '{{ key_name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
;
List private link resources for the given provisioning service.
SELECT
id,
name,
groupId,
requiredMembers,
requiredZoneNames,
systemData,
type
FROM azure.iot_hub_provisioning_services.iot_dps_resource
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get the metadata of the provisioning service without SAS keys.
SELECT
id,
name,
allocationPolicy,
authorizationPolicies,
deviceProvisioningHostName,
deviceRegistryNamespace,
enableDataResidency,
etag,
idScope,
identity,
iotHubs,
ipFilterRules,
location,
portalOperationsHostName,
privateEndpointConnections,
provisioningState,
publicNetworkAccess,
resourcegroup,
serviceOperationsHostName,
sku,
state,
subscriptionid,
systemData,
tags,
type
FROM azure.iot_hub_provisioning_services.iot_dps_resource
WHERE provisioning_service_name = '{{ provisioning_service_name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
;
Get a list of all provisioning services in the given resource group.
SELECT
id,
name,
allocationPolicy,
authorizationPolicies,
deviceProvisioningHostName,
deviceRegistryNamespace,
enableDataResidency,
etag,
idScope,
identity,
iotHubs,
ipFilterRules,
location,
portalOperationsHostName,
privateEndpointConnections,
provisioningState,
publicNetworkAccess,
resourcegroup,
serviceOperationsHostName,
sku,
state,
subscriptionid,
systemData,
tags,
type
FROM azure.iot_hub_provisioning_services.iot_dps_resource
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Check if a provisioning service name is available. Check if a provisioning service name is available. This will validate if the name is syntactically valid and if the name is usable.
SELECT
message,
nameAvailable,
reason
FROM azure.iot_hub_provisioning_services.iot_dps_resource
WHERE subscription_id = '{{ subscription_id }}' -- required
;
List all the provisioning services for a given subscription id.
SELECT
id,
name,
allocationPolicy,
authorizationPolicies,
deviceProvisioningHostName,
deviceRegistryNamespace,
enableDataResidency,
etag,
idScope,
identity,
iotHubs,
ipFilterRules,
location,
portalOperationsHostName,
privateEndpointConnections,
provisioningState,
publicNetworkAccess,
resourcegroup,
serviceOperationsHostName,
sku,
state,
subscriptionid,
systemData,
tags,
type
FROM azure.iot_hub_provisioning_services.iot_dps_resource
WHERE subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create_or_update
- Manifest
Create or update the metadata of the provisioning service. The usual pattern to modify a property is to retrieve the provisioning service metadata and security metadata, and then combine them with the modified values in a new body to update the provisioning service.
INSERT INTO azure.iot_hub_provisioning_services.iot_dps_resource (
tags,
location,
etag,
resourcegroup,
subscriptionid,
properties,
sku,
identity,
resource_group_name,
provisioning_service_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ etag }}',
'{{ resourcegroup }}',
'{{ subscriptionid }}',
'{{ properties }}' /* required */,
'{{ sku }}' /* required */,
'{{ identity }}',
'{{ resource_group_name }}',
'{{ provisioning_service_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
identity,
location,
properties,
resourcegroup,
sku,
subscriptionid,
systemData,
tags,
type
;
# Description fields are for documentation purposes
- name: iot_dps_resource
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the iot_dps_resource resource.
- name: provisioning_service_name
value: "{{ provisioning_service_name }}"
description: Required parameter for the iot_dps_resource resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the iot_dps_resource resource.
- name: tags
value: "{{ tags }}"
description: |
Resource tags.
- name: location
value: "{{ location }}"
description: |
The geo-location where the resource lives. Required.
- name: etag
value: "{{ etag }}"
description: |
The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
- name: resourcegroup
value: "{{ resourcegroup }}"
description: |
The resource group of the resource.
- name: subscriptionid
value: "{{ subscriptionid }}"
description: |
The subscription id of the resource.
- name: properties
description: |
Service specific properties for a provisioning service. Required.
value:
state: "{{ state }}"
publicNetworkAccess: "{{ publicNetworkAccess }}"
ipFilterRules:
- filterName: "{{ filterName }}"
action: "{{ action }}"
ipMask: "{{ ipMask }}"
target: "{{ target }}"
privateEndpointConnections:
- id: "{{ id }}"
name: "{{ name }}"
type: "{{ type }}"
systemData:
createdBy: "{{ createdBy }}"
createdByType: "{{ createdByType }}"
createdAt: "{{ createdAt }}"
lastModifiedBy: "{{ lastModifiedBy }}"
lastModifiedByType: "{{ lastModifiedByType }}"
lastModifiedAt: "{{ lastModifiedAt }}"
properties:
privateEndpoint:
id: "{{ id }}"
privateLinkServiceConnectionState:
status: "{{ status }}"
description: "{{ description }}"
actionsRequired: "{{ actionsRequired }}"
provisioningState: "{{ provisioningState }}"
iotHubs:
- applyAllocationPolicy: {{ applyAllocationPolicy }}
allocationWeight: {{ allocationWeight }}
name: "{{ name }}"
connectionString: "{{ connectionString }}"
location: "{{ location }}"
deviceRegistryNamespace:
resourceId: "{{ resourceId }}"
authenticationType: "{{ authenticationType }}"
selectedUserAssignedIdentityResourceId: "{{ selectedUserAssignedIdentityResourceId }}"
allocationPolicy: "{{ allocationPolicy }}"
serviceOperationsHostName: "{{ serviceOperationsHostName }}"
deviceProvisioningHostName: "{{ deviceProvisioningHostName }}"
idScope: "{{ idScope }}"
authorizationPolicies:
- keyName: "{{ keyName }}"
primaryKey: "{{ primaryKey }}"
secondaryKey: "{{ secondaryKey }}"
rights: "{{ rights }}"
enableDataResidency: {{ enableDataResidency }}
portalOperationsHostName: "{{ portalOperationsHostName }}"
- name: sku
description: |
Sku info for a provisioning Service. Required.
value:
name: "{{ name }}"
tier: "{{ tier }}"
capacity: {{ capacity }}
- name: identity
description: |
The managed service identities assigned to this resource.
value:
principalId: "{{ principalId }}"
tenantId: "{{ tenantId }}"
type: "{{ type }}"
userAssignedIdentities: "{{ userAssignedIdentities }}"
UPDATE examples
- update
Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method.
UPDATE azure.iot_hub_provisioning_services.iot_dps_resource
SET
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND provisioning_service_name = '{{ provisioning_service_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
identity,
location,
properties,
resourcegroup,
sku,
subscriptionid,
systemData,
tags,
type;
REPLACE examples
- create_or_update
Create or update the metadata of the provisioning service. The usual pattern to modify a property is to retrieve the provisioning service metadata and security metadata, and then combine them with the modified values in a new body to update the provisioning service.
REPLACE azure.iot_hub_provisioning_services.iot_dps_resource
SET
tags = '{{ tags }}',
location = '{{ location }}',
etag = '{{ etag }}',
resourcegroup = '{{ resourcegroup }}',
subscriptionid = '{{ subscriptionid }}',
properties = '{{ properties }}',
sku = '{{ sku }}',
identity = '{{ identity }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND provisioning_service_name = '{{ provisioning_service_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
AND properties = '{{ properties }}' --required
AND sku = '{{ sku }}' --required
RETURNING
id,
name,
etag,
identity,
location,
properties,
resourcegroup,
sku,
subscriptionid,
systemData,
tags,
type;
DELETE examples
- delete
Deletes the Provisioning Service.
DELETE FROM azure.iot_hub_provisioning_services.iot_dps_resource
WHERE provisioning_service_name = '{{ provisioning_service_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
;
Lifecycle Methods
- list_valid_skus
- list_keys
- list_private_endpoint_connections
- create_or_update_private_endpoint_connection
- delete_private_endpoint_connection
Gets the list of valid SKUs and tiers for a provisioning service.
EXEC azure.iot_hub_provisioning_services.iot_dps_resource.list_valid_skus
@provisioning_service_name='{{ provisioning_service_name }}' --required,
@resource_group_name='{{ resource_group_name }}' --required
;
List the primary and secondary keys for a provisioning service.
EXEC azure.iot_hub_provisioning_services.iot_dps_resource.list_keys
@provisioning_service_name='{{ provisioning_service_name }}' --required,
@resource_group_name='{{ resource_group_name }}' --required
;
List private endpoint connection properties.
EXEC azure.iot_hub_provisioning_services.iot_dps_resource.list_private_endpoint_connections
@resource_group_name='{{ resource_group_name }}' --required,
@resource_name='{{ resource_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Create or update the status of a private endpoint connection with the specified name.
EXEC azure.iot_hub_provisioning_services.iot_dps_resource.create_or_update_private_endpoint_connection
@resource_group_name='{{ resource_group_name }}' --required,
@resource_name='{{ resource_name }}' --required,
@private_endpoint_connection_name='{{ private_endpoint_connection_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;
Delete private endpoint connection with the specified name.
EXEC azure.iot_hub_provisioning_services.iot_dps_resource.delete_private_endpoint_connection
@resource_group_name='{{ resource_group_name }}' --required,
@resource_name='{{ resource_name }}' --required,
@private_endpoint_connection_name='{{ private_endpoint_connection_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;