Share via


PostgreSqlExtensions Class

Definition

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

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

Methods

CheckPostgreSqlNameAvailability(SubscriptionResource, PostgreSqlNameAvailabilityContent, CancellationToken)

Check the availability of name for resource

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability
  • Operation Id: CheckNameAvailability_Execute
  • Default Api Version: 2017-12-01
CheckPostgreSqlNameAvailabilityAsync(SubscriptionResource, PostgreSqlNameAvailabilityContent, CancellationToken)

Check the availability of name for resource

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

List all the performance tiers at specified location in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/performanceTiers
  • Operation Id: LocationBasedPerformanceTier_List
  • Default Api Version: 2017-12-01
GetLocationBasedPerformanceTiersAsync(SubscriptionResource, AzureLocation, CancellationToken)

List all the performance tiers at specified location in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/performanceTiers
  • Operation Id: LocationBasedPerformanceTier_List
  • Default Api Version: 2017-12-01
GetPostgreSqlConfigurationResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlConfigurationResource 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 PostgreSqlConfigurationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlConfigurationResource(ResourceIdentifier) instead.

GetPostgreSqlDatabaseResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlDatabaseResource 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 PostgreSqlDatabaseResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlDatabaseResource(ResourceIdentifier) instead.

GetPostgreSqlFirewallRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlFirewallRuleResource 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 PostgreSqlFirewallRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlFirewallRuleResource(ResourceIdentifier) instead.

GetPostgreSqlPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlPrivateEndpointConnectionResource 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 PostgreSqlPrivateEndpointConnectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlPrivateEndpointConnectionResource(ResourceIdentifier) instead.

GetPostgreSqlPrivateLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlPrivateLinkResource 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 PostgreSqlPrivateLinkResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlPrivateLinkResource(ResourceIdentifier) instead.

GetPostgreSqlServer(ResourceGroupResource, String, CancellationToken)

Gets information about a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlServerResource
GetPostgreSqlServerAdministratorResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlServerAdministratorResource 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 PostgreSqlServerAdministratorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlServerAdministratorResource(ResourceIdentifier) instead.

GetPostgreSqlServerAsync(ResourceGroupResource, String, CancellationToken)

Gets information about a server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}
  • Operation Id: Servers_Get
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlServerResource
GetPostgreSqlServerKeyResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlServerKeyResource 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 PostgreSqlServerKeyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlServerKeyResource(ResourceIdentifier) instead.

GetPostgreSqlServerResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlServerResource 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 PostgreSqlServerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlServerResource(ResourceIdentifier) instead.

GetPostgreSqlServers(ResourceGroupResource)

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

GetPostgreSqlServers(SubscriptionResource, CancellationToken)

List all the servers in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/servers
  • Operation Id: Servers_List
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlServerResource
GetPostgreSqlServersAsync(SubscriptionResource, CancellationToken)

List all the servers in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/servers
  • Operation Id: Servers_List
  • Default Api Version: 2017-12-01
  • Resource: PostgreSqlServerResource
GetPostgreSqlServerSecurityAlertPolicyResource(ArmClient, ResourceIdentifier)

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

GetPostgreSqlVirtualNetworkRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a PostgreSqlVirtualNetworkRuleResource 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 PostgreSqlVirtualNetworkRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetPostgreSqlVirtualNetworkRuleResource(ResourceIdentifier) instead.

Applies to