StorageTargetsExtensions.DnsRefreshAsync Method

Definition

Tells a storage target to refresh its DNS information.

public static System.Threading.Tasks.Task DnsRefreshAsync (this Microsoft.Azure.Management.StorageCache.IStorageTargets operations, string resourceGroupName, string cacheName, string storageTargetName, System.Threading.CancellationToken cancellationToken = default);
static member DnsRefreshAsync : Microsoft.Azure.Management.StorageCache.IStorageTargets * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DnsRefreshAsync (operations As IStorageTargets, resourceGroupName As String, cacheName As String, storageTargetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IStorageTargets

The operations group for this extension method.

resourceGroupName
System.String

Target resource group.

cacheName
System.String

Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.

storageTargetName
System.String

Name of Storage Target.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to