ServiceResource コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
ServiceResource() |
ServiceResource クラスの新しいインスタンスを初期化します。 |
ServiceResource(String, String, String, String, String, String, IDictionary<String,String>) |
ServiceResource クラスの新しいインスタンスを初期化します。 |
ServiceResource()
ServiceResource クラスの新しいインスタンスを初期化します。
public ServiceResource ();
Public Sub New ()
適用対象
ServiceResource(String, String, String, String, String, String, IDictionary<String,String>)
ServiceResource クラスの新しいインスタンスを初期化します。
public ServiceResource (string location, string targetLocation, string targetSubscriptionId, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default);
new Microsoft.Azure.Management.DeploymentManager.Models.ServiceResource : string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.DeploymentManager.Models.ServiceResource
Public Sub New (location As String, targetLocation As String, targetSubscriptionId 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)
パラメーター
- location
- String
リソースが保存されている地理的な場所
- targetLocation
- String
サービス内のリソースが属する、またはデプロイする必要がある Azure の場所。
- targetSubscriptionId
- String
サービス内のリソースが属しているか、デプロイする必要があるサブスクリプション。
- id
- String
リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
リソースの名前
- type
- String
リソースの型。 例: Microsoft.Compute/virtualMachines または Microsoft.Storage/storageAccounts。
- tags
- IDictionary<String,String>
リソース タグ。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET