New-AzWorkloadsProviderHanaDbInstanceObject
Create an in-memory object for HanaDbProviderInstanceProperties.
Syntax
Default (Default)
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.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-InstanceNumber
Gets or sets the database instance number.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
Gets or sets the hana database name.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Password
Gets or sets the database password.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-PasswordUri
Gets or sets the key vault URI to secret with the database password.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SapSid
Gets or sets the SAP System Identifier.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SqlPort
Gets or sets the database sql port.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SslCertificateUri
Gets or sets the blob URI to SSL certificate for the DB.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SslHostNameInCertificate
Gets or sets the hostname(s) in the SSL certificate.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SslPreference
Gets or sets certificate preference if secure communication is enabled.
Parameter properties
Type: SslPreference
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Username
Gets or sets the database user name.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs