ArmComputeModelFactory.CloudServiceRoleInstanceData Method

Definition

Initializes a new instance of CloudServiceRoleInstanceData.

public static Azure.ResourceManager.Compute.CloudServiceRoleInstanceData CloudServiceRoleInstanceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default, Azure.ResourceManager.Compute.Models.InstanceSku sku = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> networkInterfaces = default, Azure.ResourceManager.Compute.Models.RoleInstanceView instanceView = default);
static member CloudServiceRoleInstanceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.ResourceManager.Compute.Models.InstanceSku * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Azure.ResourceManager.Compute.Models.RoleInstanceView -> Azure.ResourceManager.Compute.CloudServiceRoleInstanceData
Public Shared Function CloudServiceRoleInstanceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing, Optional sku As InstanceSku = Nothing, Optional networkInterfaces As IEnumerable(Of WritableSubResource) = Nothing, Optional instanceView As RoleInstanceView = Nothing) As CloudServiceRoleInstanceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

Resource Location.

tags
IReadOnlyDictionary<String,String>

Resource tags.

sku
InstanceSku

The role instance SKU.

networkInterfaces
IEnumerable<WritableSubResource>

Describes the network profile for the role instance.

instanceView
RoleInstanceView

The instance view of the role instance.

Returns

A new CloudServiceRoleInstanceData instance for mocking.

Applies to