Share via


DeviceProvisioningServicesExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.DeviceProvisioningServices.

public static class DeviceProvisioningServicesExtensions
type DeviceProvisioningServicesExtensions = class
Public Module DeviceProvisioningServicesExtensions
Inheritance
DeviceProvisioningServicesExtensions

Methods

CheckDeviceProvisioningServicesNameAvailability(SubscriptionResource, DeviceProvisioningServicesNameAvailabilityContent, CancellationToken)

Check if a provisioning service name is available. This will validate if the name is syntactically valid and if the name is usable

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkProvisioningServiceNameAvailability
  • Operation Id: IotDpsResource_CheckProvisioningServiceNameAvailability
CheckDeviceProvisioningServicesNameAvailabilityAsync(SubscriptionResource, DeviceProvisioningServicesNameAvailabilityContent, CancellationToken)

Check if a provisioning service name is available. This will validate if the name is syntactically valid and if the name is usable

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/checkProvisioningServiceNameAvailability
  • Operation Id: IotDpsResource_CheckProvisioningServiceNameAvailability
GetDeviceProvisioningService(ResourceGroupResource, String, CancellationToken)

Get the metadata of the provisioning service without SAS keys.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}
  • Operation Id: IotDpsResource_Get
GetDeviceProvisioningServiceAsync(ResourceGroupResource, String, CancellationToken)

Get the metadata of the provisioning service without SAS keys.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/provisioningServices/{provisioningServiceName}
  • Operation Id: IotDpsResource_Get
GetDeviceProvisioningServiceResource(ArmClient, ResourceIdentifier)

Gets an object representing a DeviceProvisioningServiceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DeviceProvisioningServiceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDeviceProvisioningServiceResource(ResourceIdentifier) instead.

GetDeviceProvisioningServices(ResourceGroupResource)

Gets a collection of DeviceProvisioningServiceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDeviceProvisioningServices() instead.

GetDeviceProvisioningServices(SubscriptionResource, CancellationToken)

List all the provisioning services for a given subscription id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/provisioningServices
  • Operation Id: IotDpsResource_ListBySubscription
GetDeviceProvisioningServicesAsync(SubscriptionResource, CancellationToken)

List all the provisioning services for a given subscription id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Devices/provisioningServices
  • Operation Id: IotDpsResource_ListBySubscription
GetDeviceProvisioningServicesCertificateResource(ArmClient, ResourceIdentifier)

Gets an object representing a DeviceProvisioningServicesCertificateResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DeviceProvisioningServicesCertificateResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDeviceProvisioningServicesCertificateResource(ResourceIdentifier) instead.

GetDeviceProvisioningServicesPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a DeviceProvisioningServicesPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DeviceProvisioningServicesPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDeviceProvisioningServicesPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetDeviceProvisioningServicesPrivateLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a DeviceProvisioningServicesPrivateLinkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DeviceProvisioningServicesPrivateLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDeviceProvisioningServicesPrivateLinkResource(ResourceIdentifier) instead.

Applies to