Freigeben über


NetworkFabricIPCommunityResource.SetTagsAsync Methode

Definition

Ersetzen Sie die Tags für die Ressource durch den angegebenen Satz.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/ipCommunities/{ipCommunityName}
  • Vorgang IdIpCommunities_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPCommunityResource>> SetTagsAsync (System.Collections.Generic.IDictionary<string,string> tags, System.Threading.CancellationToken cancellationToken = default);
abstract member SetTagsAsync : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPCommunityResource>>
override this.SetTagsAsync : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricIPCommunityResource>>
Public Overridable Function SetTagsAsync (tags As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkFabricIPCommunityResource))

Parameter

tags
IDictionary<String,String>

Der Satz von Tags, die als Ersatz verwendet werden sollen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

tags ist NULL.

Gilt für: