Share via


TimeSeriesDatabaseConnectionResource.Delete Method

Definition

Overloads

Delete(WaitUntil, CancellationToken)

Delete a time series database connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
  • Operation Id: TimeSeriesDatabaseConnections_Delete
Delete(WaitUntil, Nullable<CleanupConnectionArtifact>, CancellationToken)

Delete a time series database connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
  • Operation Id: TimeSeriesDatabaseConnections_Delete

Delete(WaitUntil, CancellationToken)

Source:
TimeSeriesDatabaseConnectionResource.cs
Source:
TimeSeriesDatabaseConnectionResource.cs

Delete a time series database connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
  • Operation Id: TimeSeriesDatabaseConnections_Delete
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DigitalTwins.TimeSeriesDatabaseConnectionResource> Delete (Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken);
abstract member Delete : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DigitalTwins.TimeSeriesDatabaseConnectionResource>
override this.Delete : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DigitalTwins.TimeSeriesDatabaseConnectionResource>
Public Overridable Function Delete (waitUntil As WaitUntil, cancellationToken As CancellationToken) As ArmOperation(Of TimeSeriesDatabaseConnectionResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

Delete(WaitUntil, Nullable<CleanupConnectionArtifact>, CancellationToken)

Source:
TimeSeriesDatabaseConnectionResource.cs
Source:
TimeSeriesDatabaseConnectionResource.cs

Delete a time series database connection.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/timeSeriesDatabaseConnections/{timeSeriesDatabaseConnectionName}
  • Operation Id: TimeSeriesDatabaseConnections_Delete
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DigitalTwins.TimeSeriesDatabaseConnectionResource> Delete (Azure.WaitUntil waitUntil, Azure.ResourceManager.DigitalTwins.Models.CleanupConnectionArtifact? cleanupConnectionArtifacts = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : Azure.WaitUntil * Nullable<Azure.ResourceManager.DigitalTwins.Models.CleanupConnectionArtifact> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DigitalTwins.TimeSeriesDatabaseConnectionResource>
override this.Delete : Azure.WaitUntil * Nullable<Azure.ResourceManager.DigitalTwins.Models.CleanupConnectionArtifact> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.DigitalTwins.TimeSeriesDatabaseConnectionResource>
Public Overridable Function Delete (waitUntil As WaitUntil, Optional cleanupConnectionArtifacts As Nullable(Of CleanupConnectionArtifact) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of TimeSeriesDatabaseConnectionResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

cleanupConnectionArtifacts
Nullable<CleanupConnectionArtifact>

Specifies whether or not to attempt to clean up artifacts that were created in order to establish a connection to the time series database. This is a best-effort attempt that will fail if appropriate permissions are not in place. Setting this to 'true' does not delete any recorded data.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to