Share via


CloudService Constructors

Definition

Overloads

CloudService()

Initializes a new instance of the CloudService class.

CloudService(String, String, String, String, IDictionary<String,String>, CloudServiceProperties, SystemData, IList<String>)

Initializes a new instance of the CloudService class.

CloudService()

Initializes a new instance of the CloudService class.

public CloudService ();
Public Sub New ()

Applies to

CloudService(String, String, String, String, IDictionary<String,String>, CloudServiceProperties, SystemData, IList<String>)

Initializes a new instance of the CloudService class.

public CloudService (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.CloudServiceProperties properties = default, Microsoft.Azure.Management.Compute.Models.SystemData systemData = default, System.Collections.Generic.IList<string> zones = default);
new Microsoft.Azure.Management.Compute.Models.CloudService : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.CloudServiceProperties * Microsoft.Azure.Management.Compute.Models.SystemData * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Compute.Models.CloudService
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 properties As CloudServiceProperties = Nothing, Optional systemData As SystemData = Nothing, Optional zones As IList(Of String) = Nothing)

Parameters

location
String

Resource location.

id
String

Resource Id.

name
String

Resource name.

type
String

Resource type.

tags
IDictionary<String,String>

Resource tags.

systemData
SystemData
zones
IList<String>

List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.

Applies to