共用方式為


ArmWorkloadsModelFactory.CentralServerVmDetails Method

Definition

Initializes a new instance of CentralServerVmDetails.

public static Azure.ResourceManager.Workloads.Models.CentralServerVmDetails CentralServerVmDetails (Azure.ResourceManager.Workloads.Models.CentralServerVirtualMachineType? virtualMachineType = default, Azure.Core.ResourceIdentifier virtualMachineId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> storageDetails = default);
static member CentralServerVmDetails : Nullable<Azure.ResourceManager.Workloads.Models.CentralServerVirtualMachineType> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Resources.Models.SubResource> -> Azure.ResourceManager.Workloads.Models.CentralServerVmDetails
Public Shared Function CentralServerVmDetails (Optional virtualMachineType As Nullable(Of CentralServerVirtualMachineType) = Nothing, Optional virtualMachineId As ResourceIdentifier = Nothing, Optional storageDetails As IEnumerable(Of SubResource) = Nothing) As CentralServerVmDetails

Parameters

virtualMachineType
Nullable<CentralServerVirtualMachineType>

Defines the type of central server VM.

virtualMachineId
ResourceIdentifier
storageDetails
IEnumerable<SubResource>

Storage details of all the Storage Accounts attached to the ASCS Virtual Machine. For e.g. NFS on AFS Shared Storage.

Returns

A new CentralServerVmDetails instance for mocking.

Applies to