Share via


ArmComputeModelFactory.CloudServiceInstanceView Method

Definition

Initializes a new instance of CloudServiceInstanceView.

public static Azure.ResourceManager.Compute.Models.CloudServiceInstanceView CloudServiceInstanceView (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.StatusCodeCount> roleInstanceStatusesSummary = default, string sdkVersion = default, System.Collections.Generic.IEnumerable<string> privateIds = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ResourceInstanceViewStatus> statuses = default);
static member CloudServiceInstanceView : seq<Azure.ResourceManager.Compute.Models.StatusCodeCount> * string * seq<string> * seq<Azure.ResourceManager.Compute.Models.ResourceInstanceViewStatus> -> Azure.ResourceManager.Compute.Models.CloudServiceInstanceView
Public Shared Function CloudServiceInstanceView (Optional roleInstanceStatusesSummary As IEnumerable(Of StatusCodeCount) = Nothing, Optional sdkVersion As String = Nothing, Optional privateIds As IEnumerable(Of String) = Nothing, Optional statuses As IEnumerable(Of ResourceInstanceViewStatus) = Nothing) As CloudServiceInstanceView

Parameters

roleInstanceStatusesSummary
IEnumerable<StatusCodeCount>

Instance view statuses.

sdkVersion
String

The version of the SDK that was used to generate the package for the cloud service.

privateIds
IEnumerable<String>

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

Returns

A new CloudServiceInstanceView instance for mocking.

Applies to