Resource Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Resource() |
Initializes a new instance of the Resource class. |
Resource(String, Sku, IDictionary<String,String>, ResourceIdentity) |
Initializes a new instance of the Resource class. |
Resource()
Initializes a new instance of the Resource class.
public Resource ();
Public Sub New ()
Applies to
Resource(String, Sku, IDictionary<String,String>, ResourceIdentity)
Initializes a new instance of the Resource class.
public Resource (string location, Microsoft.Azure.Management.DataBox.Models.Sku sku, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.DataBox.Models.ResourceIdentity identity = default);
new Microsoft.Azure.Management.DataBox.Models.Resource : string * Microsoft.Azure.Management.DataBox.Models.Sku * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.DataBox.Models.ResourceIdentity -> Microsoft.Azure.Management.DataBox.Models.Resource
Public Sub New (location As String, sku As Sku, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As ResourceIdentity = Nothing)
Parameters
- location
- String
The location of the resource. This will be one of the supported and registered Azure Regions (e.g. West US, East US, Southeast Asia, etc.). The region of a resource cannot be changed once it is created, but if an identical region is specified on update the request will succeed.
- sku
- Sku
The sku type.
- tags
- IDictionary<String,String>
The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
- identity
- ResourceIdentity
Msi identity of the resource
Applies to
Azure SDK for .NET