Share via


CosmosDBForPostgreSqlExtensions Class

Definition

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

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

Methods

CheckCosmosDBForPostgreSqlClusterNameAvailability(SubscriptionResource, CosmosDBForPostgreSqlClusterNameAvailabilityContent, CancellationToken)

Checks availability of a cluster name. Cluster names should be globally unique; at least 3 characters and at most 40 characters long; they must only contain lowercase letters, numbers, and hyphens; and must not start or end with a hyphen.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability
  • Operation Id: Clusters_CheckNameAvailability
CheckCosmosDBForPostgreSqlClusterNameAvailabilityAsync(SubscriptionResource, CosmosDBForPostgreSqlClusterNameAvailabilityContent, CancellationToken)

Checks availability of a cluster name. Cluster names should be globally unique; at least 3 characters and at most 40 characters long; they must only contain lowercase letters, numbers, and hyphens; and must not start or end with a hyphen.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability
  • Operation Id: Clusters_CheckNameAvailability
GetCosmosDBForPostgreSqlCluster(ResourceGroupResource, String, CancellationToken)

Gets information about a cluster such as compute and storage configuration and cluster lifecycle metadata such as cluster creation date and time.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}
  • Operation Id: Clusters_Get
GetCosmosDBForPostgreSqlClusterAsync(ResourceGroupResource, String, CancellationToken)

Gets information about a cluster such as compute and storage configuration and cluster lifecycle metadata such as cluster creation date and time.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}
  • Operation Id: Clusters_Get
GetCosmosDBForPostgreSqlClusterResource(ArmClient, ResourceIdentifier)

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

GetCosmosDBForPostgreSqlClusters(ResourceGroupResource)

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

GetCosmosDBForPostgreSqlClusters(SubscriptionResource, CancellationToken)

Lists all clusters in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2
  • Operation Id: Clusters_List
GetCosmosDBForPostgreSqlClustersAsync(SubscriptionResource, CancellationToken)

Lists all clusters in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2
  • Operation Id: Clusters_List
GetCosmosDBForPostgreSqlClusterServerResource(ArmClient, ResourceIdentifier)

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

GetCosmosDBForPostgreSqlConfigurationResource(ArmClient, ResourceIdentifier)

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

GetCosmosDBForPostgreSqlCoordinatorConfigurationResource(ArmClient, ResourceIdentifier)

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

GetCosmosDBForPostgreSqlFirewallRuleResource(ArmClient, ResourceIdentifier)

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

GetCosmosDBForPostgreSqlNodeConfigurationResource(ArmClient, ResourceIdentifier)

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

GetCosmosDBForPostgreSqlPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

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

GetCosmosDBForPostgreSqlPrivateLinkResource(ArmClient, ResourceIdentifier)

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

GetCosmosDBForPostgreSqlRoleResource(ArmClient, ResourceIdentifier)

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

Applies to