編輯

共用方式為


New-AzWorkloadsProviderSapNetWeaverInstanceObject

Create an in-memory object for SapNetWeaverProviderInstanceProperties.

Syntax

New-AzWorkloadsProviderSapNetWeaverInstanceObject
   [-SapClientId <String>]
   [-SapHostFileEntry <String[]>]
   [-SapHostname <String>]
   [-SapInstanceNr <String>]
   [-SapPassword <String>]
   [-SapPasswordUri <String>]
   [-SapPortNumber <String>]
   [-SapSid <String>]
   [-SapUsername <String>]
   [-SslCertificateUri <String>]
   [-SslPreference <SslPreference>]
   [<CommonParameters>]

Description

Create an in-memory object for SapNetWeaverProviderInstanceProperties.

Examples

Example 1: Create SAP Netweaver Provider

New-AzWorkloadsProviderSapNetWeaverInstanceObject -SapClientId 000 -SapHostFileEntry '["10.0.82.4 l13appvm0.ams.azure.com l13appvm0","10.0.82.5 l13ascsvm.ams.azure.com l13ascsvm"]' -SapHostname 10.0.82.4 -SapInstanceNr 00 -SapPassword Password@1234 -SapSid L13 -SapUsername AMSUSER -SslPreference Disabled

ProviderType SapClientId SapHostFileEntry                                                                                SapHostname
------------ ----------- ----------------                                                                                -----------
SapNetWeaver 000         {["10.0.82.4 l13appvm0.ams.azure.com l13appvm0","10.0.82.5 l13ascsvm.ams.azure.com l13ascsvm"]} 10.0.82.4

Create SAP Netweaver Provider for an AMS instance

Parameters

-SapClientId

Gets or sets the SAP Client ID.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SapHostFileEntry

Gets or sets the list of HostFile Entries.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SapHostname

Gets or sets the target virtual machine IP Address/FQDN.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SapInstanceNr

Gets or sets the instance number of SAP NetWeaver.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SapPassword

Sets the SAP password.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SapPasswordUri

Gets or sets the key vault URI to secret with the SAP password.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SapPortNumber

Gets or sets the SAP HTTP port number.

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

-SapUsername

Gets or sets the SAP user name.

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 SAP system.

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

Outputs

SapNetWeaverProviderInstanceProperties