PostgreSQLManagementFlexibleServerClient class
- Extends
Constructors
Postgre |
|
Postgre |
Initializes a new instance of the PostgreSQLManagementFlexibleServerClient class. |
Properties
Inherited Properties
pipeline | The pipeline used by this client to make requests |
Methods
check |
This method checks whether a proposed migration name is valid and available. |
Inherited Methods
send |
Send an HTTP request that is populated using the provided OperationSpec. |
send |
Send the provided httpRequest. |
Constructor Details
PostgreSQLManagementFlexibleServerClient(TokenCredential, PostgreSQLManagementFlexibleServerClientOptionalParams)
new PostgreSQLManagementFlexibleServerClient(credentials: TokenCredential, options?: PostgreSQLManagementFlexibleServerClientOptionalParams)
Parameters
- credentials
- TokenCredential
PostgreSQLManagementFlexibleServerClient(TokenCredential, string, PostgreSQLManagementFlexibleServerClientOptionalParams)
Initializes a new instance of the PostgreSQLManagementFlexibleServerClient class.
new PostgreSQLManagementFlexibleServerClient(credentials: TokenCredential, subscriptionId: string, options?: PostgreSQLManagementFlexibleServerClientOptionalParams)
Parameters
- credentials
- TokenCredential
Subscription credentials which uniquely identify client subscription.
- subscriptionId
-
string
The ID of the target subscription. The value must be an UUID.
The parameter options
Property Details
$host
$host: string
Property Value
string
administrators
apiVersion
apiVersion: string
Property Value
string
backups
checkNameAvailability
checkNameAvailabilityWithLocation
checkNameAvailabilityWithLocation: CheckNameAvailabilityWithLocation
Property Value
configurations
databases
firewallRules
flexibleServer
getPrivateDnsZoneSuffix
locationBasedCapabilities
logFiles
ltrBackupOperations
migrations
operations
privateEndpointConnectionOperations
privateEndpointConnectionOperations: PrivateEndpointConnectionOperations
Property Value
privateEndpointConnections
privateLinkResources
replicas
serverCapabilities
servers
serverThreatProtectionSettings
serverThreatProtectionSettings: ServerThreatProtectionSettings
Property Value
subscriptionId
subscriptionId?: string
Property Value
string
virtualEndpoints
virtualNetworkSubnetUsage
Inherited Property Details
pipeline
The pipeline used by this client to make requests
pipeline: Pipeline
Property Value
Inherited From coreClient.ServiceClient.pipeline
Method Details
checkMigrationNameAvailability(string, string, string, MigrationNameAvailabilityResource, CheckMigrationNameAvailabilityOptionalParams)
This method checks whether a proposed migration name is valid and available.
function checkMigrationNameAvailability(subscriptionId: string, resourceGroupName: string, targetDbServerName: string, parameters: MigrationNameAvailabilityResource, options?: CheckMigrationNameAvailabilityOptionalParams): Promise<MigrationNameAvailabilityResource>
Parameters
- subscriptionId
-
string
The subscription ID of the target database server.
- resourceGroupName
-
string
The resource group name of the target database server.
- targetDbServerName
-
string
The name of the target database server.
- parameters
- MigrationNameAvailabilityResource
The required parameters for checking if a migration name is available.
The options parameters.
Returns
Promise<MigrationNameAvailabilityResource>
Inherited Method Details
sendOperationRequest<T>(OperationArguments, OperationSpec)
Send an HTTP request that is populated using the provided OperationSpec.
function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>
Parameters
- operationArguments
- OperationArguments
The arguments that the HTTP request's templated values will be populated from.
- operationSpec
- OperationSpec
The OperationSpec to use to populate the httpRequest.
Returns
Promise<T>
Inherited From coreClient.ServiceClient.sendOperationRequest
sendRequest(PipelineRequest)
Send the provided httpRequest.
function sendRequest(request: PipelineRequest): Promise<PipelineResponse>
Parameters
- request
- PipelineRequest
Returns
Promise<PipelineResponse>
Inherited From coreClient.ServiceClient.sendRequest