ArmDeploymentManagerModelFactory.ServiceResourceData Method

Definition

Initializes a new instance of ServiceResourceData.

public static Azure.ResourceManager.DeploymentManager.ServiceResourceData ServiceResourceData (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 targetLocation = default, string targetSubscriptionId = default);
static member ServiceResourceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string -> Azure.ResourceManager.DeploymentManager.ServiceResourceData
Public Shared Function ServiceResourceData (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 targetLocation As String = Nothing, Optional targetSubscriptionId As String = Nothing) As ServiceResourceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

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.

Returns

A new ServiceResourceData instance for mocking.

Applies to