영어로 읽기

다음을 통해 공유


ArmMigrationDiscoverySapModelFactory.ServerInstanceProperties Method

Definition

Initializes a new instance of ServerInstanceProperties.

public static Azure.ResourceManager.MigrationDiscoverySap.Models.ServerInstanceProperties ServerInstanceProperties (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);

Parameters

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 ServerInstanceProperties instance for mocking.

Applies to