Service 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
Service() |
Initializes a new instance of the Service class. |
Service(String, String, String, IList<ServiceUnit>) |
Initializes a new instance of the Service class. |
Service()
Initializes a new instance of the Service class.
public Service ();
Public Sub New ()
Applies to
Service(String, String, String, IList<ServiceUnit>)
Initializes a new instance of the Service class.
public Service (string targetLocation, string targetSubscriptionId, string name = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnit> serviceUnits = default);
new Microsoft.Azure.Management.DeploymentManager.Models.Service : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnit> -> Microsoft.Azure.Management.DeploymentManager.Models.Service
Public Sub New (targetLocation As String, targetSubscriptionId As String, Optional name As String = Nothing, Optional serviceUnits As IList(Of ServiceUnit) = Nothing)
Parameters
- targetLocation
- String
The Azure location to which the resources in the service belong to or should be deployed to.
- targetSubscriptionId
- String
The subscription to which the resources in the service belong to or should be deployed to.
- name
- String
Name of the service.
- serviceUnits
- IList<ServiceUnit>
The detailed information about the units that make up the service.