Freigeben über


ComputeBatchModelFactory.VMExtensionInstanceView Method

Definition

Initializes a new instance of VMExtensionInstanceView.

public static Azure.Compute.Batch.VMExtensionInstanceView VMExtensionInstanceView (string name = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.InstanceViewStatus> statuses = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.InstanceViewStatus> subStatuses = default);
static member VMExtensionInstanceView : string * seq<Azure.Compute.Batch.InstanceViewStatus> * seq<Azure.Compute.Batch.InstanceViewStatus> -> Azure.Compute.Batch.VMExtensionInstanceView
Public Shared Function VMExtensionInstanceView (Optional name As String = Nothing, Optional statuses As IEnumerable(Of InstanceViewStatus) = Nothing, Optional subStatuses As IEnumerable(Of InstanceViewStatus) = Nothing) As VMExtensionInstanceView

Parameters

name
String

The name of the vm extension instance view.

statuses
IEnumerable<InstanceViewStatus>

The resource status information.

subStatuses
IEnumerable<InstanceViewStatus>

The resource status information.

Returns

A new VMExtensionInstanceView instance for mocking.

Applies to