共用方式為


ArmWorkloadsModelFactory.ApplicationServerVmDetails Method

Definition

Initializes a new instance of ApplicationServerVmDetails.

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

Parameters

virtualMachineType
Nullable<ApplicationServerVirtualMachineType>

Defines the type of application server VM.

virtualMachineId
ResourceIdentifier
storageDetails
IEnumerable<SubResource>

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

Returns

A new ApplicationServerVmDetails instance for mocking.

Applies to