共用方式為


ArmWorkloadsModelFactory.DatabaseVmDetails Method

Definition

Initializes a new instance of DatabaseVmDetails.

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

Parameters

virtualMachineId
ResourceIdentifier
status
Nullable<SapVirtualInstanceStatus>

Defines the SAP Instance status.

storageDetails
IEnumerable<SubResource>

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

Returns

A new DatabaseVmDetails instance for mocking.

Applies to