Share via


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

Name Description
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
<item>MockingTo mock this method, please mock CheckPostgreSqlFlexibleServerNameAvailability(PostgreSqlFlexibleServerNameAvailabilityContent, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock CheckPostgreSqlFlexibleServerNameAvailability(PostgreSqlFlexibleServerNameAvailabilityContent, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock CheckPostgreSqlFlexibleServerNameAvailabilityWithLocation(AzureLocation, PostgreSqlFlexibleServerNameAvailabilityContent, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock CheckPostgreSqlFlexibleServerNameAvailabilityWithLocation(AzureLocation, PostgreSqlFlexibleServerNameAvailabilityContent, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock ExecuteGetPrivateDnsZoneSuffix(CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock ExecuteGetPrivateDnsZoneSuffix(CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock ExecuteLocationBasedCapabilities(AzureLocation, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock ExecuteLocationBasedCapabilities(AzureLocation, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock ExecuteVirtualNetworkSubnetUsage(AzureLocation, PostgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock ExecuteVirtualNetworkSubnetUsage(AzureLocation, PostgreSqlFlexibleServerVirtualNetworkSubnetUsageParameter, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetPostgreSqlFlexibleServer(String, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetPostgreSqlFlexibleServerActiveDirectoryAdministratorResource(ResourceIdentifier) instead.</item>

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
<item>MockingTo mock this method, please mock GetPostgreSqlFlexibleServerAsync(String, CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetPostgreSqlFlexibleServerBackupResource(ResourceIdentifier) instead.</item>

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. <item>MockingTo mock this method, please mock GetPostgreSqlFlexibleServerConfigurationResource(ResourceIdentifier) instead.</item>

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. <item>MockingTo mock this method, please mock GetPostgreSqlFlexibleServerDatabaseResource(ResourceIdentifier) instead.</item>

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. <item>MockingTo mock this method, please mock GetPostgreSqlFlexibleServerFirewallRuleResource(ResourceIdentifier) instead.</item>

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. <item>MockingTo mock this method, please mock GetPostgreSqlFlexibleServerResource(ResourceIdentifier) instead.</item>

GetPostgreSqlFlexibleServers(ResourceGroupResource)

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

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
<item>MockingTo mock this method, please mock GetPostgreSqlFlexibleServers(CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetPostgreSqlFlexibleServers(CancellationToken) instead.</item>
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. <item>MockingTo mock this method, please mock GetPostgreSqlFlexibleServersPrivateEndpointConnectionResource(ResourceIdentifier) instead.</item>

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. <item>MockingTo mock this method, please mock GetPostgreSqlFlexibleServersPrivateLinkResource(ResourceIdentifier) instead.</item>

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. <item>MockingTo mock this method, please mock GetPostgreSqlLtrServerBackupOperationResource(ResourceIdentifier) instead.</item>

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. <item>MockingTo mock this method, please mock GetPostgreSqlMigrationResource(ResourceIdentifier) instead.</item>

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. <item>MockingTo mock this method, please mock GetServerThreatProtectionSettingsModelResource(ResourceIdentifier) instead.</item>

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. <item>MockingTo mock this method, please mock GetVirtualEndpointResource(ResourceIdentifier) instead.</item>

Applies to