ArmComputeModelFactory.RoleInstanceView Method

Definition

Initializes a new instance of RoleInstanceView.

public static Azure.ResourceManager.Compute.Models.RoleInstanceView RoleInstanceView (int? platformUpdateDomain = default, int? platformFaultDomain = default, string privateId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ResourceInstanceViewStatus> statuses = default);
static member RoleInstanceView : Nullable<int> * Nullable<int> * string * seq<Azure.ResourceManager.Compute.Models.ResourceInstanceViewStatus> -> Azure.ResourceManager.Compute.Models.RoleInstanceView
Public Shared Function RoleInstanceView (Optional platformUpdateDomain As Nullable(Of Integer) = Nothing, Optional platformFaultDomain As Nullable(Of Integer) = Nothing, Optional privateId As String = Nothing, Optional statuses As IEnumerable(Of ResourceInstanceViewStatus) = Nothing) As RoleInstanceView

Parameters

platformUpdateDomain
Nullable<Int32>

The Update Domain.

platformFaultDomain
Nullable<Int32>

The Fault Domain.

privateId
String

Specifies a unique identifier generated internally for the cloud service associated with this role instance. <br /><br /> NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details.

Returns

A new RoleInstanceView instance for mocking.

Applies to