次の方法で共有


SystemTopicResource.SetTags メソッド

定義

リソースのタグを指定されたセットに置き換えます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}
  • 操作IdSystemTopics_Get
public virtual Azure.Response<Azure.ResourceManager.EventGrid.SystemTopicResource> 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.EventGrid.SystemTopicResource>
override this.SetTags : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.SystemTopicResource>
Public Overridable Function SetTags (tags As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As Response(Of SystemTopicResource)

パラメーター

tags
IDictionary<String,String>

置換として使用するタグのセット。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

tags が null です。

適用対象