Compartir a través de


StorageTargets.DnsRefreshWithHttpMessagesAsync Método

Definición

Indica a un destino de almacenamiento que actualice su información de DNS.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse> DnsRefreshWithHttpMessagesAsync (string resourceGroupName, string cacheName, string storageTargetName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DnsRefreshWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
override this.DnsRefreshWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
Public Function DnsRefreshWithHttpMessagesAsync (resourceGroupName As String, cacheName As String, storageTargetName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse)

Parámetros

resourceGroupName
String

Grupo de recursos de destino.

cacheName
String

Nombre de caché. La longitud del nombre no debe ser mayor que 80 y chars debe ser de la clase char [-0-9a-zA-Z_].

storageTargetName
String

Nombre del destino de almacenamiento.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Implementaciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando un parámetro obligatorio es NULL

Se produce cuando un parámetro obligatorio es NULL

Se aplica a