Share via


DigitalTwinsExtensions Class

Definition

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

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

Methods

CheckDigitalTwinsNameAvailability(SubscriptionResource, AzureLocation, DigitalTwinsNameContent, CancellationToken)

Check if a DigitalTwinsInstance name is available.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/locations/{location}/checkNameAvailability
  • Operation Id: DigitalTwins_CheckNameAvailability
CheckDigitalTwinsNameAvailabilityAsync(SubscriptionResource, AzureLocation, DigitalTwinsNameContent, CancellationToken)

Check if a DigitalTwinsInstance name is available.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/locations/{location}/checkNameAvailability
  • Operation Id: DigitalTwins_CheckNameAvailability
GetDigitalTwinsDescription(ResourceGroupResource, String, CancellationToken)

Get DigitalTwinsInstances resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}
  • Operation Id: DigitalTwins_Get
GetDigitalTwinsDescriptionAsync(ResourceGroupResource, String, CancellationToken)

Get DigitalTwinsInstances resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}
  • Operation Id: DigitalTwins_Get
GetDigitalTwinsDescriptionResource(ArmClient, ResourceIdentifier)

Gets an object representing a DigitalTwinsDescriptionResource 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 DigitalTwinsDescriptionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDigitalTwinsDescriptionResource(ResourceIdentifier) instead.

GetDigitalTwinsDescriptions(ResourceGroupResource)

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

GetDigitalTwinsDescriptions(SubscriptionResource, CancellationToken)

Get all the DigitalTwinsInstances in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/digitalTwinsInstances
  • Operation Id: DigitalTwins_List
GetDigitalTwinsDescriptionsAsync(SubscriptionResource, CancellationToken)

Get all the DigitalTwinsInstances in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DigitalTwins/digitalTwinsInstances
  • Operation Id: DigitalTwins_List
GetDigitalTwinsEndpointResource(ArmClient, ResourceIdentifier)

Gets an object representing a DigitalTwinsEndpointResource 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 DigitalTwinsEndpointResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDigitalTwinsEndpointResource(ResourceIdentifier) instead.

GetDigitalTwinsPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a DigitalTwinsPrivateEndpointConnectionResource 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 DigitalTwinsPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDigitalTwinsPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetDigitalTwinsPrivateLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a DigitalTwinsPrivateLinkResource 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 DigitalTwinsPrivateLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDigitalTwinsPrivateLinkResource(ResourceIdentifier) instead.

GetTimeSeriesDatabaseConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a TimeSeriesDatabaseConnectionResource 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 TimeSeriesDatabaseConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTimeSeriesDatabaseConnectionResource(ResourceIdentifier) instead.

Applies to