你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzWorkloadsProviderHanaDbInstanceObject
Create an in-memory object for HanaDbProviderInstanceProperties.
Syntax
New-AzWorkloadsProviderHanaDbInstanceObject
[-Name <String>]
[-Password <String>]
[-PasswordUri <String>]
[-Username <String>]
[-Hostname <String>]
[-InstanceNumber <String>]
[-SapSid <String>]
[-SqlPort <String>]
[-SslCertificateUri <String>]
[-SslHostNameInCertificate <String>]
[-SslPreference <SslPreference>]
[<CommonParameters>]
Description
Create an in-memory object for HanaDbProviderInstanceProperties.
Examples
Example 1: Create SAP HANA provider
New-AzWorkloadsProviderHanaDbInstanceObject -Name SYSTEMDB -Password '' -Username SYSTEM -Hostname 10.0.81.4 -InstanceNumber 00 -SapSid X00 -SqlPort 1433 -SslPreference Disabled
ProviderType DbName DbPassword DbPasswordUri DbUsername Hostname InstanceNumber SapSid SqlPort SslCertificateUri SslHostNameInCer
tificate
------------ ------ ---------- ------------- ---------- -------- -------------- ------ ------- ----------------- ----------------
SapHana SYSTEMDB SYSTEM 10.0.81.4 00 X00 1433
Create SAP HANA provider for an AMS instance
Parameters
-Hostname
Gets or sets the target virtual machine size.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InstanceNumber
Gets or sets the database instance number.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Gets or sets the hana database name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Password
Gets or sets the database password.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PasswordUri
Gets or sets the key vault URI to secret with the database password.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SapSid
Gets or sets the SAP System Identifier.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SqlPort
Gets or sets the database sql port.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SslCertificateUri
Gets or sets the blob URI to SSL certificate for the DB.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SslHostNameInCertificate
Gets or sets the hostname(s) in the SSL certificate.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SslPreference
Gets or sets certificate preference if secure communication is enabled.
Type: | SslPreference |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Username
Gets or sets the database user name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |