RoleInstance 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
RoleInstance() |
Initializes a new instance of the RoleInstance class. |
RoleInstance(String, String, String, String, IDictionary<String,String>, InstanceSku, RoleInstanceProperties) |
Initializes a new instance of the RoleInstance class. |
RoleInstance()
Initializes a new instance of the RoleInstance class.
public RoleInstance ();
Public Sub New ()
Applies to
RoleInstance(String, String, String, String, IDictionary<String,String>, InstanceSku, RoleInstanceProperties)
Initializes a new instance of the RoleInstance class.
public RoleInstance (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.InstanceSku sku = default, Microsoft.Azure.Management.Compute.Models.RoleInstanceProperties properties = default);
new Microsoft.Azure.Management.Compute.Models.RoleInstance : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.InstanceSku * Microsoft.Azure.Management.Compute.Models.RoleInstanceProperties -> Microsoft.Azure.Management.Compute.Models.RoleInstance
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional sku As InstanceSku = Nothing, Optional properties As RoleInstanceProperties = Nothing)
Parameters
- id
- String
Resource Id
- name
- String
Resource Name.
- type
- String
Resource Type.
- location
- String
Resource Location.
- tags
- IDictionary<String,String>
Resource tags.
- sku
- InstanceSku
- properties
- RoleInstanceProperties
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET