次の方法で共有


ServiceFabricApplicationTypeVersionResource.AddTag メソッド

定義

現在のリソースにタグを追加します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}/versions/{version}
  • 操作IdApplicationTypeVersions_Get
public virtual Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeVersionResource> AddTag (string key, string value, System.Threading.CancellationToken cancellationToken = default);
abstract member AddTag : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeVersionResource>
override this.AddTag : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceFabric.ServiceFabricApplicationTypeVersionResource>
Public Overridable Function AddTag (key As String, value As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceFabricApplicationTypeVersionResource)

パラメーター

key
String

タグのキー。

value
String

タグの値。

cancellationToken
CancellationToken

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

戻り値

例外

key または value が null です。

適用対象