Freigeben über


StorageInsightResource.SetTags Methode

Definition

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/storageInsightConfigs/{storageInsightName}
  • Vorgangs-IdStorageInsightConfigs_Get
public virtual Azure.Response<Azure.ResourceManager.OperationalInsights.StorageInsightResource> SetTags (System.Collections.Generic.IDictionary<string,string> tags, System.Threading.CancellationToken cancellationToken = default);
abstract member SetTags : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.StorageInsightResource>
override this.SetTags : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.StorageInsightResource>
Public Overridable Function SetTags (tags As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As Response(Of StorageInsightResource)

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: