共用方式為


FlexibleServersExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.PostgreSql.FlexibleServers.

public static class FlexibleServersExtensions
type FlexibleServersExtensions = class
Public Module FlexibleServersExtensions
Inheritance
FlexibleServersExtensions

Methods

CheckPostgreSqlFlexibleServerNameAvailability(SubscriptionResource, PostgreSqlFlexibleServerNameAvailabilityContent, CancellationToken)

Check the availability of name for resource

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability
  • Operation Id: CheckNameAvailability_Execute
  • Default Api Version: 2024-08-01
CheckPostgreSqlFlexibleServerNameAvailabilityAsync(SubscriptionResource, PostgreSqlFlexibleServerNameAvailabilityContent, CancellationToken)

Check the availability of name for resource

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability
  • Operation Id: CheckNameAvailability_Execute
  • Default Api Version: 2024-08-01
CheckPostgreSqlFlexibleServerNameAvailabilityWithLocation(SubscriptionResource, AzureLocation, PostgreSqlFlexibleServerNameAvailabilityContent, CancellationToken)

Check the availability of name for resource

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkNameAvailability
  • Operation Id: CheckNameAvailabilityWithLocation_Execute
  • Default Api Version: 2024-08-01
CheckPostgreSqlFlexibleServerNameAvailabilityWithLocationAsync(SubscriptionResource, AzureLocation, PostgreSqlFlexibleServerNameAvailabilityContent, CancellationToken)

Check the availability of name for resource

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkNameAvailability
  • Operation Id: CheckNameAvailabilityWithLocation_Execute
  • Default Api Version: 2024-08-01
ExecuteGetPrivateDnsZoneSuffix(TenantResource, CancellationToken)

Get private DNS zone suffix in the cloud

  • Request Path: /providers/Microsoft.DBforPostgreSQL/getPrivateDnsZoneSuffix
  • Operation Id: GetPrivateDnsZoneSuffix_Execute
  • Default Api Version: 2024-08-01
ExecuteGetPrivateDnsZoneSuffixAsync(TenantResource, CancellationToken)

Get private DNS zone suffix in the cloud

  • Request Path: /providers/Microsoft.DBforPostgreSQL/getPrivateDnsZoneSuffix
  • Operation Id: GetPrivateDnsZoneSuffix_Execute
  • Default Api Version: 2024-08-01
ExecuteLocationBasedCapabilities(SubscriptionResource, AzureLocation, CancellationToken)

Get capabilities at specified location in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/capabilities
  • Operation Id: LocationBasedCapabilities_Execute
  • Default Api Version: 2024-08-01
ExecuteLocationBasedCapabilitiesAsync(SubscriptionResource, AzureLocation, CancellationToken)

Get capabilities at specified location in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/capabilities
  • Operation Id: LocationBasedCapabilities_Execute
  • Default Api Version: 2024-08-01
ExecuteVirtualNetworkSubnetUsage(SubscriptionResource, AzureLocation, PostgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter, CancellationToken)

Get virtual network subnet usage for a given vNet resource id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkVirtualNetworkSubnetUsage
  • Operation Id: VirtualNetworkSubnetUsage_Execute
  • Default Api Version: 2024-08-01
ExecuteVirtualNetworkSubnetUsageAsync(SubscriptionResource, AzureLocation, PostgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter, CancellationToken)

Get virtual network subnet usage for a given vNet resource id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkVirtualNetworkSubnetUsage
  • Operation Id: VirtualNetworkSubnetUsage_Execute
  • Default Api Version: 2024-08-01
GetPostgreSqlFlexibleServer(ResourceGroupResource, String, CancellationToken)

Gets information about a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerResource
GetPostgreSqlFlexibleServerActiveDirectoryAdministratorResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlFlexibleServerActiveDirectoryAdministratorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PostgreSqlFlexibleServerActiveDirectoryAdministratorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlFlexibleServerActiveDirectoryAdministratorResource(ResourceIdentifier) instead.

GetPostgreSqlFlexibleServerAsync(ResourceGroupResource, String, CancellationToken)

Gets information about a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerResource
GetPostgreSqlFlexibleServerBackupResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlFlexibleServerBackupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PostgreSqlFlexibleServerBackupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlFlexibleServerBackupResource(ResourceIdentifier) instead.

GetPostgreSqlFlexibleServerConfigurationResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlFlexibleServerConfigurationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PostgreSqlFlexibleServerConfigurationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlFlexibleServerConfigurationResource(ResourceIdentifier) instead.

GetPostgreSqlFlexibleServerDatabaseResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlFlexibleServerDatabaseResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PostgreSqlFlexibleServerDatabaseResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlFlexibleServerDatabaseResource(ResourceIdentifier) instead.

GetPostgreSqlFlexibleServerFirewallRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlFlexibleServerFirewallRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PostgreSqlFlexibleServerFirewallRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlFlexibleServerFirewallRuleResource(ResourceIdentifier) instead.

GetPostgreSqlFlexibleServerResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlFlexibleServerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a PostgreSqlFlexibleServerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlFlexibleServerResource(ResourceIdentifier) instead.

GetPostgreSqlFlexibleServers(ResourceGroupResource)

Gets a collection of PostgreSqlFlexibleServerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetPostgreSqlFlexibleServers() instead.

GetPostgreSqlFlexibleServers(SubscriptionResource, CancellationToken)

List all the servers in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers
  • Operation Id: Servers_List
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerResource
GetPostgreSqlFlexibleServersAsync(SubscriptionResource, CancellationToken)

List all the servers in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/flexibleServers
  • Operation Id: Servers_List
  • Default Api Version: 2024-08-01
  • Resource: PostgreSqlFlexibleServerResource
GetPostgreSqlFlexibleServersPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlFlexibleServersPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PostgreSqlFlexibleServersPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlFlexibleServersPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetPostgreSqlFlexibleServersPrivateLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlFlexibleServersPrivateLinkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PostgreSqlFlexibleServersPrivateLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlFlexibleServersPrivateLinkResource(ResourceIdentifier) instead.

GetPostgreSqlLtrServerBackupOperationResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlLtrServerBackupOperationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PostgreSqlLtrServerBackupOperationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlLtrServerBackupOperationResource(ResourceIdentifier) instead.

GetPostgreSqlMigrationResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlMigrationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a PostgreSqlMigrationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlMigrationResource(ResourceIdentifier) instead.

GetServerThreatProtectionSettingsModelResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServerThreatProtectionSettingsModelResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, ThreatProtectionName) to create a ServerThreatProtectionSettingsModelResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetServerThreatProtectionSettingsModelResource(ResourceIdentifier) instead.

GetVirtualEndpointResource(ArmClient, ResourceIdentifier)

Gets an object representing a VirtualEndpointResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a VirtualEndpointResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetVirtualEndpointResource(ResourceIdentifier) instead.

Applies to