New-AzWorkloadsProviderDB2InstanceObject
Create an in-memory object for DB2ProviderInstanceProperties.
Syntax
New-AzWorkloadsProviderDB2InstanceObject
[-Name <String>]
[-Password <String>]
[-PasswordUri <String>]
[-Port <String>]
[-Username <String>]
[-Hostname <String>]
[-SapSid <String>]
[-SslCertificateUri <String>]
[-SslPreference <SslPreference>]
[<CommonParameters>]
Description
Create an in-memory object for DB2ProviderInstanceProperties.
Examples
Example 1: Create an IBM Db2 Provider
New-AzWorkloadsProviderDB2InstanceObject -Name Sample -Password '' -Port 25000 -Username db2admin -Hostname 10.1.21.4 -SapSid OPA -SslPreference Disabled
ProviderType DbName DbPassword DbPasswordUri DbPort DbUsername Hostname SapSid SslCertificateUri SslPreference
------------ ------ ---------- ------------- ------ ---------- -------- ------ ----------------- -------------
Db2 Sample 25000 db2admin 10.1.21.4 OPA Disabled
Create an IBM Db2 provider for an AMS Instance
Parameters
-Hostname
Gets or sets the target virtual machine name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Gets or sets the db2 database name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Password
Gets or sets the db2 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 |
-Port
Gets or sets the db2 database sql port.
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 |
-SslCertificateUri
Gets or sets the blob URI to SSL certificate for the DB2 Database.
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 db2 database user name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |