共用方式為


ArmWorkloadsModelFactory.SapDatabaseInstanceData Method

Definition

Initializes a new instance of SapDatabaseInstanceData.

public static Azure.ResourceManager.Workloads.SapDatabaseInstanceData SapDatabaseInstanceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.Core.ResourceIdentifier subnetId = default, string databaseSid = default, string databaseType = default, string ipAddress = default, Azure.Core.ResourceIdentifier loadBalancerDetailsId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Workloads.Models.DatabaseVmDetails> vmDetails = default, Azure.ResourceManager.Workloads.Models.SapVirtualInstanceStatus? status = default, Azure.ResourceManager.Workloads.Models.SapVirtualInstanceProvisioningState? provisioningState = default, Azure.ResourceManager.Workloads.Models.SapVirtualInstanceErrorDetail errorsProperties = default);
static member SapDatabaseInstanceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.Core.ResourceIdentifier * string * string * string * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Workloads.Models.DatabaseVmDetails> * Nullable<Azure.ResourceManager.Workloads.Models.SapVirtualInstanceStatus> * Nullable<Azure.ResourceManager.Workloads.Models.SapVirtualInstanceProvisioningState> * Azure.ResourceManager.Workloads.Models.SapVirtualInstanceErrorDetail -> Azure.ResourceManager.Workloads.SapDatabaseInstanceData
Public Shared Function SapDatabaseInstanceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional databaseSid As String = Nothing, Optional databaseType As String = Nothing, Optional ipAddress As String = Nothing, Optional loadBalancerDetailsId As ResourceIdentifier = Nothing, Optional vmDetails As IEnumerable(Of DatabaseVmDetails) = Nothing, Optional status As Nullable(Of SapVirtualInstanceStatus) = Nothing, Optional provisioningState As Nullable(Of SapVirtualInstanceProvisioningState) = Nothing, Optional errorsProperties As SapVirtualInstanceErrorDetail = Nothing) As SapDatabaseInstanceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

subnetId
ResourceIdentifier

Database subnet.

databaseSid
String

Database SID name.

databaseType
String

Database type, that is if the DB is HANA, DB2, Oracle, SAP ASE, Max DB or MS SQL Server.

ipAddress
String

Database IP Address.

loadBalancerDetailsId
ResourceIdentifier

The Load Balancer details such as LoadBalancer ID attached to Database Virtual Machines.

vmDetails
IEnumerable<DatabaseVmDetails>

The list of virtual machines corresponding to the Database resource.

status
Nullable<SapVirtualInstanceStatus>

Defines the SAP Instance status.

provisioningState
Nullable<SapVirtualInstanceProvisioningState>

Defines the provisioning states.

errorsProperties
SapVirtualInstanceErrorDetail

Defines the errors related to Database resource.

Returns

A new SapDatabaseInstanceData instance for mocking.

Applies to