ServiceUnitResource 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
ServiceUnitResource() |
Initializes a new instance of the ServiceUnitResource class. |
ServiceUnitResource(String, String, DeploymentMode, String, String, String, IDictionary<String,String>, ServiceUnitArtifacts) |
Initializes a new instance of the ServiceUnitResource class. |
ServiceUnitResource()
Initializes a new instance of the ServiceUnitResource class.
public ServiceUnitResource ();
Public Sub New ()
Applies to
ServiceUnitResource(String, String, DeploymentMode, String, String, String, IDictionary<String,String>, ServiceUnitArtifacts)
Initializes a new instance of the ServiceUnitResource class.
public ServiceUnitResource (string location, string targetResourceGroup, Microsoft.Azure.Management.DeploymentManager.Models.DeploymentMode deploymentMode, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitArtifacts artifacts = default);
new Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource : string * string * Microsoft.Azure.Management.DeploymentManager.Models.DeploymentMode * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitArtifacts -> Microsoft.Azure.Management.DeploymentManager.Models.ServiceUnitResource
Public Sub New (location As String, targetResourceGroup As String, deploymentMode As DeploymentMode, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional artifacts As ServiceUnitArtifacts = Nothing)
Parameters
- location
- String
The geo-location where the resource lives
- targetResourceGroup
- String
The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.
- deploymentMode
- DeploymentMode
Describes the type of ARM deployment to be performed on the resource. Possible values include: 'Incremental', 'Complete'
- id
- String
Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- tags
- IDictionary<String,String>
Resource tags.
- artifacts
- ServiceUnitArtifacts
The artifacts for the service unit.
Applies to
Azure SDK for .NET