次の方法で共有


Resource コンストラクター

定義

オーバーロード

Resource()

Resource クラスの新しいインスタンスを初期化します。

Resource(String, String, String, String, IDictionary<String,String>, String, String)

Resource クラスの新しいインスタンスを初期化します。

Resource()

Resource クラスの新しいインスタンスを初期化します。

public Resource();
Public Sub New ()

適用対象

Resource(String, String, String, String, IDictionary<String,String>, String, String)

Resource クラスの新しいインスタンスを初期化します。

public Resource(string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string kind = default, string etag = default);
new Microsoft.Azure.Management.Monitor.Models.Resource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string -> Microsoft.Azure.Management.Monitor.Models.Resource
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional kind As String = Nothing, Optional etag As String = Nothing)

パラメーター

location
String

リソースの場所

id
String

Azure リソース ID

name
String

Azure リソース名

type
String

Azure リソースタイプ

tags
IDictionary<String,String>

リソース タグ

kind
String

同じ種類のリソースに対して異なる UX エクスペリエンスをレンダリングするためにポータル/ツール/etc によって使用されるメタデータ。たとえば、ApiApps は Microsoft.Web/sites の種類の一種です。 サポートされている場合、リソース プロバイダーはこの値を検証して保持する必要があります。

etag
String

etag フィールドは必要 ありません 。 応答本文で指定する場合は、通常の etag 規則に従ってヘッダーとしても指定する必要があります。 エンティティ タグは、同じ要求されたリソースから 2 つ以上のエンティティを比較するために使用されます。 HTTP/1.1 では、etag (セクション 14.19)、If-Match (セクション 14.24)、If-None-Match (セクション 14.26)、およびIf-Range (セクション 14.27) ヘッダー フィールドのエンティティ タグを使用します。

適用対象