Bearbeiten

Freigeben über


New-AzPurviewAmazonPostgreSqlCredentialScanObject

Create an in-memory object for AmazonPostgreSqlCredentialScan.

Syntax

New-AzPurviewAmazonPostgreSqlCredentialScanObject
   -Kind <ScanAuthorizationType>
   [-CollectionReferenceName <String>]
   [-CollectionType <String>]
   [-ConnectedViaReferenceName <String>]
   [-CredentialReferenceName <String>]
   [-CredentialType <CredentialType>]
   [-DatabaseName <String>]
   [-Port <Int32>]
   [-ScanRulesetName <String>]
   [-ScanRulesetType <ScanRulesetType>]
   [-ServerEndpoint <String>]
   [-VpcEndpointServiceName <String>]
   [-Worker <Int32>]
   [<CommonParameters>]

Description

Create an in-memory object for AmazonPostgreSqlCredentialScan.

Examples

Example 1: Create Amazon Account PostgreSQL scan object

New-AzPurviewAmazonPostgreSqlCredentialScanObject -Kind 'AmazonPostgreSqlCredential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'sqlauth' -CredentialType 'SqlAuth' -DatabaseName 'db' -Port 5432 -ScanRulesetName 'AmazonPostgreSql' -ScanRulesetType 'System' -ServerEndpoint 'DummyServer' -VpcEndpointServiceName 'com.amazonaws.ypce.wus.123456789'

CollectionLastModifiedAt  :
CollectionReferenceName   : parv-brs-2
CollectionType            : CollectionReference
ConnectedViaReferenceName :
CreatedAt                 :
CredentialReferenceName   : sqlauth
CredentialType            : SqlAuth
DatabaseName              : db
Id                        :
Kind                      : AmazonPostgreSqlCredential
LastModifiedAt            :
Name                      :
Port                      : 5432
Result                    :
ScanRulesetName           : AmazonPostgreSql
ScanRulesetType           : System
ServerEndpoint            : DummyServer
VpcEndpointServiceName    : com.amazonaws.ypce.wus.123456789
Worker                    :

Create Amazon Account PostgreSQL scan object

Parameters

-CollectionReferenceName

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

-CollectionType

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

-ConnectedViaReferenceName

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

-CredentialReferenceName

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

-CredentialType

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

-DatabaseName

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

-Kind

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

-Port

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

-ScanRulesetName

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

-ScanRulesetType

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

-ServerEndpoint

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

-VpcEndpointServiceName

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

-Worker

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

Outputs

AmazonPostgreSqlCredentialScan