Udostępnij za pośrednictwem


ArmMigrationDiscoverySapModelFactory.SapDiscoveryServerInstanceData Method

Definition

Initializes a new instance of SapDiscoveryServerInstanceData.

public static Azure.ResourceManager.MigrationDiscoverySap.SapDiscoveryServerInstanceData SapDiscoveryServerInstanceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string serverName = default, Azure.ResourceManager.MigrationDiscoverySap.Models.SapInstanceType? sapInstanceType = default, string instanceSid = default, string sapProduct = default, string sapProductVersion = default, Azure.ResourceManager.MigrationDiscoverySap.Models.SapDiscoveryOperatingSystem? operatingSystem = default, Azure.ResourceManager.MigrationDiscoverySap.Models.ConfigurationDetail configurationData = default, Azure.ResourceManager.MigrationDiscoverySap.Models.PerformanceDetail performanceData = default, Azure.ResourceManager.MigrationDiscoverySap.Models.SapDiscoveryProvisioningState? provisioningState = default, Azure.ResourceManager.MigrationDiscoverySap.Models.SapMigrateError errors = default);
static member SapDiscoveryServerInstanceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.MigrationDiscoverySap.Models.SapInstanceType> * string * string * string * Nullable<Azure.ResourceManager.MigrationDiscoverySap.Models.SapDiscoveryOperatingSystem> * Azure.ResourceManager.MigrationDiscoverySap.Models.ConfigurationDetail * Azure.ResourceManager.MigrationDiscoverySap.Models.PerformanceDetail * Nullable<Azure.ResourceManager.MigrationDiscoverySap.Models.SapDiscoveryProvisioningState> * Azure.ResourceManager.MigrationDiscoverySap.Models.SapMigrateError -> Azure.ResourceManager.MigrationDiscoverySap.SapDiscoveryServerInstanceData
Public Shared Function SapDiscoveryServerInstanceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional serverName As String = Nothing, Optional sapInstanceType As Nullable(Of SapInstanceType) = Nothing, Optional instanceSid As String = Nothing, Optional sapProduct As String = Nothing, Optional sapProductVersion As String = Nothing, Optional operatingSystem As Nullable(Of SapDiscoveryOperatingSystem) = Nothing, Optional configurationData As ConfigurationDetail = Nothing, Optional performanceData As PerformanceDetail = Nothing, Optional provisioningState As Nullable(Of SapDiscoveryProvisioningState) = Nothing, Optional errors As SapMigrateError = Nothing) As SapDiscoveryServerInstanceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

serverName
String

This is the Virtual Machine Name of the SAP system. Add all the virtual machines attached to an SAP system which you wish to migrate to Azure. Keeping this not equal to ID as for single tier all InstanceTypes would be on same server, leading to multiple resources with same servername.

sapInstanceType
Nullable<SapInstanceType>

Defines the type SAP instance on this server instance.

instanceSid
String

This is the Instance SID for ASCS/AP/DB instance. An SAP system with HANA database for example could have a different SID for database Instance than that of ASCS instance.

sapProduct
String

This is the SAP Application Component; e.g. SAP S/4HANA 2022, SAP ERP ENHANCE PACKAGE.

sapProductVersion
String

Provide the product version of the SAP product.

operatingSystem
Nullable<SapDiscoveryOperatingSystem>

This is Operating System on which the host server is running.

configurationData
ConfigurationDetail

Configuration data for this server instance.

performanceData
PerformanceDetail

Configuration data for this server instance. Please note PerformanceDetail is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ExcelPerformanceDetail and NativePerformanceDetail.

provisioningState
Nullable<SapDiscoveryProvisioningState>

Defines the provisioning states.

errors
SapMigrateError

Defines the errors related to SAP Instance resource.

Returns

A new SapDiscoveryServerInstanceData instance for mocking.

Applies to