Skip to main content

iot_dps_resource

Overview

Nameiot_dps_resource
TypeResource
Idazure.iot_hub_device_provisioning.iot_dps_resource

Fields

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
etagstringThe 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.
identityobjectManaged service identity (system assigned and/or user assigned identities)
propertiesobjectthe service specific properties of a provisioning service, including keys, linked iot hubs, current state, and system generated properties such as hostname and idScope
skuobjectList of possible provisioning service SKUs.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTapi-version, provisioningServiceName, resourceGroupName, subscriptionIdGet the metadata of the provisioning service without SAS keys.
list_by_resource_groupSELECTapi-version, resourceGroupName, subscriptionIdGet a list of all provisioning services in the given resource group.
list_by_subscriptionSELECTapi-version, subscriptionIdList all the provisioning services for a given subscription id.
create_or_updateINSERTapi-version, provisioningServiceName, resourceGroupName, subscriptionId, data__properties, data__skuCreate 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.
deleteDELETEapi-version, provisioningServiceName, resourceGroupName, subscriptionIdDeletes the Provisioning Service.
_list_by_resource_groupEXECapi-version, resourceGroupName, subscriptionIdGet a list of all provisioning services in the given resource group.
_list_by_subscriptionEXECapi-version, subscriptionIdList all the provisioning services for a given subscription id.
check_provisioning_service_name_availabilityEXECapi-version, subscriptionId, data__nameCheck if a provisioning service name is available. This will validate if the name is syntactically valid and if the name is usable
updateEXECapi-version, provisioningServiceName, resourceGroupName, subscriptionIdUpdate an existing provisioning service's tags. to update other fields use the CreateOrUpdate method