Partilhar via


ServiceFabricServiceResource.RemoveTag(String, CancellationToken) Método

Definição

Remove uma marca por chave do recurso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applications/{applicationName}/services/{serviceName}
  • Operação IdServices_Get
public virtual Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricServiceResource> RemoveTag (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricServiceResource>
override this.RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricServiceResource>
Public Overridable Function RemoveTag (key As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceFabricServiceResource)

Parâmetros

key
String

A chave da marca.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

key é nulo.

Aplica-se a