ArmDeploymentManagerModelFactory.ServiceUnitResourceData Method
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.
Initializes a new instance of ServiceUnitResourceData.
public static Azure.ResourceManager.DeploymentManager.ServiceUnitResourceData ServiceUnitResourceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string targetResourceGroup = default, Azure.ResourceManager.DeploymentManager.Models.DeploymentMode deploymentMode = Azure.ResourceManager.DeploymentManager.Models.DeploymentMode.Incremental, Azure.ResourceManager.DeploymentManager.Models.ServiceUnitArtifacts artifacts = default);
static member ServiceUnitResourceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Azure.ResourceManager.DeploymentManager.Models.DeploymentMode * Azure.ResourceManager.DeploymentManager.Models.ServiceUnitArtifacts -> Azure.ResourceManager.DeploymentManager.ServiceUnitResourceData
Public Shared Function ServiceUnitResourceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional targetResourceGroup As String = Nothing, Optional deploymentMode As DeploymentMode = Azure.ResourceManager.DeploymentManager.Models.DeploymentMode.Incremental, Optional artifacts As ServiceUnitArtifacts = Nothing) As ServiceUnitResourceData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- 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.
- artifacts
- ServiceUnitArtifacts
The artifacts for the service unit.
Returns
A new ServiceUnitResourceData instance for mocking.