Udostępnij za pośrednictwem


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
String

Target resource group.

cacheName
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
String

Name of Storage Target.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to