Udostępnij za pośrednictwem


MongoClusterExtensions Class

Definition

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

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

Methods

CheckMongoClusterNameAvailability(SubscriptionResource, AzureLocation, MongoClusterNameAvailabilityContent, CancellationToken)

Check if mongo cluster name is available for use.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/checkMongoClusterNameAvailability
  • Operation Id: MongoClusters_CheckMongoClusterNameAvailability
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterResource
CheckMongoClusterNameAvailabilityAsync(SubscriptionResource, AzureLocation, MongoClusterNameAvailabilityContent, CancellationToken)

Check if mongo cluster name is available for use.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/checkMongoClusterNameAvailability
  • Operation Id: MongoClusters_CheckMongoClusterNameAvailability
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterResource
GetMongoCluster(ResourceGroupResource, String, CancellationToken)

Gets information about a mongo cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}
  • Operation Id: MongoClusters_Get
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterResource
GetMongoClusterAsync(ResourceGroupResource, String, CancellationToken)

Gets information about a mongo cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}
  • Operation Id: MongoClusters_Get
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterResource
GetMongoClusterFirewallRuleResource(ArmClient, ResourceIdentifier)

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

GetMongoClusterPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

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

GetMongoClusterResource(ArmClient, ResourceIdentifier)

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

GetMongoClusters(ResourceGroupResource)

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

GetMongoClusters(SubscriptionResource, CancellationToken)

List all the mongo clusters in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/mongoClusters
  • Operation Id: MongoCluster_List
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterResource
GetMongoClustersAsync(SubscriptionResource, CancellationToken)

List all the mongo clusters in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/mongoClusters
  • Operation Id: MongoCluster_List
  • Default Api Version: 2024-07-01
  • Resource: MongoClusterResource

Applies to