@azure/arm-mongocluster package
Classes
| MongoClusterManagementClient |
Interfaces
| AdministratorProperties |
The local administrator login properties. |
| AuthConfigProperties |
The authentication configuration for the Mongo cluster. |
| BackupProperties |
The backup properties of the cluster. This includes the earliest restore time and retention settings. |
| CheckNameAvailabilityRequest |
The check availability request body. |
| CheckNameAvailabilityResponse |
The check availability result. |
| ComputeProperties |
The compute properties of the cluster. This includes the virtual-cores/memory and scaling options applied to servers in the cluster. |
| ConnectionString |
Connection string for the mongo cluster |
| CustomerManagedKeyEncryptionProperties |
Customer managed key encryption settings. |
| DataApiProperties |
Data API properties. |
| DatabaseRole |
Database role definition that is assigned to a user. |
| EncryptionProperties |
The encryption configuration for the mongo cluster. |
| EntraIdentityProvider |
Defines a Microsoft Entra ID Mongo user. |
| EntraIdentityProviderProperties |
Microsoft Entra ID provider properties. |
| ErrorAdditionalInfo |
The resource management error additional info. |
| ErrorDetail |
The error detail. |
| ErrorResponse |
Common error response for all Azure Resource Manager APIs to return error details for failed operations. |
| FirewallRule |
Represents a mongo cluster firewall rule. |
| FirewallRuleProperties |
The properties of a mongo cluster firewall rule. |
| FirewallRulesCreateOrUpdateOptionalParams |
Optional parameters. |
| FirewallRulesDeleteOptionalParams |
Optional parameters. |
| FirewallRulesGetOptionalParams |
Optional parameters. |
| FirewallRulesListByMongoClusterOptionalParams |
Optional parameters. |
| FirewallRulesOperations |
Interface representing a FirewallRules operations. |
| HighAvailabilityProperties |
The high availability properties of the cluster. |
| IdentityProvider |
Defines a user's identity provider definition. |
| KeyEncryptionKeyIdentity |
The identity used for key encryption key. |
| ListConnectionStringsResult |
The connection strings for the given mongo cluster. |
| ManagedServiceIdentity |
Managed service identity (system assigned and/or user assigned identities) |
| MongoCluster |
Represents a mongo cluster resource. |
| MongoClusterManagementClientOptionalParams |
Optional parameters for the client. |
| MongoClusterProperties |
The properties of a mongo cluster. |
| MongoClusterReplicaParameters |
Parameters used for replica operations. |
| MongoClusterRestoreParameters |
Parameters used for restore operations |
| MongoClusterUpdate |
The type used for update operations of the MongoCluster. |
| MongoClusterUpdateProperties |
The updatable properties of the MongoCluster. |
| MongoClustersCheckNameAvailabilityOptionalParams |
Optional parameters. |
| MongoClustersCreateOrUpdateOptionalParams |
Optional parameters. |
| MongoClustersDeleteOptionalParams |
Optional parameters. |
| MongoClustersGetOptionalParams |
Optional parameters. |
| MongoClustersListByResourceGroupOptionalParams |
Optional parameters. |
| MongoClustersListConnectionStringsOptionalParams |
Optional parameters. |
| MongoClustersListOptionalParams |
Optional parameters. |
| MongoClustersOperations |
Interface representing a MongoClusters operations. |
| MongoClustersPromoteOptionalParams |
Optional parameters. |
| MongoClustersUpdateOptionalParams |
Optional parameters. |
| Operation |
Details of a REST API operation, returned from the Resource Provider Operations API |
| OperationDisplay |
Localized display information for and operation. |
| OperationsListOptionalParams |
Optional parameters. |
| OperationsOperations |
Interface representing a Operations operations. |
| PageSettings |
Options for the byPage method |
| PagedAsyncIterableIterator |
An interface that allows async iterable iteration both to completion and by page. |
| PrivateEndpoint |
The private endpoint resource. |
| PrivateEndpointConnection |
The private endpoint connection resource |
| PrivateEndpointConnectionProperties |
Properties of the private endpoint connection. |
| PrivateEndpointConnectionResource |
Concrete proxy resource types can be created by aliasing this type using a specific property type. |
| PrivateEndpointConnectionsCreateOptionalParams |
Optional parameters. |
| PrivateEndpointConnectionsDeleteOptionalParams |
Optional parameters. |
| PrivateEndpointConnectionsGetOptionalParams |
Optional parameters. |
| PrivateEndpointConnectionsListByMongoClusterOptionalParams |
Optional parameters. |
| PrivateEndpointConnectionsOperations |
Interface representing a PrivateEndpointConnections operations. |
| PrivateLinkResource |
Concrete proxy resource types can be created by aliasing this type using a specific property type. |
| PrivateLinkResourceProperties |
Properties of a private link resource. |
| PrivateLinkServiceConnectionState |
A collection of information about the state of the connection between service consumer and provider. |
| PrivateLinksListByMongoClusterOptionalParams |
Optional parameters. |
| PrivateLinksOperations |
Interface representing a PrivateLinks operations. |
| PromoteReplicaRequest |
Promote replica request properties. |
| ProxyResource |
The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location |
| Replica |
Represents a mongo cluster replica. |
| ReplicasListByParentOptionalParams |
Optional parameters. |
| ReplicasOperations |
Interface representing a Replicas operations. |
| ReplicationProperties |
Replica properties of the mongo cluster. |
| Resource |
Common fields that are returned in the response for all Azure Resource Manager resources |
| RestorePollerOptions | |
| ShardingProperties |
The sharding properties of the cluster. This includes the shard count and scaling options for the cluster. |
| StorageProperties |
The storage properties of the cluster. This includes the data storage size and scaling applied to servers in the cluster. |
| SystemData |
Metadata pertaining to creation and last modification of the resource. |
| TrackedResource |
The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' |
| User |
Represents a Mongo cluster user. |
| UserAssignedIdentity |
User assigned identity properties |
| UserProperties |
Definition of Mongo user resource on a cluster. |
| UsersCreateOrUpdateOptionalParams |
Optional parameters. |
| UsersDeleteOptionalParams |
Optional parameters. |
| UsersGetOptionalParams |
Optional parameters. |
| UsersListByMongoClusterOptionalParams |
Optional parameters. |
| UsersOperations |
Interface representing a Users operations. |
Type Aliases
| ActionType |
Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. Known values supported by the serviceInternal: Actions are for internal-only APIs. |
| AuthenticationMode |
The authentication modes supporting on the Mongo cluster. Known values supported by the serviceNativeAuth: Native mongo authentication mode using username and password with auth mechanism 'SCRAM-SHA-256'. |
| AzureSupportedClouds |
The supported values for cloud setting as a string literal type |
| CheckNameAvailabilityReason |
Possible reasons for a name not being available. Known values supported by the serviceInvalid: Name is invalid. |
| ContinuablePage |
An interface that describes a page of results. |
| CreateMode |
The mode that the Mongo Cluster is created with. Known values supported by the serviceDefault: Create a new mongo cluster. |
| CreatedByType |
The kind of entity that created the resource. Known values supported by the serviceUser: The entity was created by a user. |
| DataApiMode |
The mode to apply to the Mongo Data API. Known values supported by the serviceEnabled: Mongo Data API is enabled for the cluster. |
| EntraPrincipalType |
Microsoft Entra ID principal types available for a Mongo user. Known values supported by the serviceuser: Entra user type. |
| HighAvailabilityMode |
The high availability modes for a cluster. Known values supported by the serviceDisabled: High availability mode is disabled. This mode is can see availability impact during faults or maintenance and is not recommended for production. |
| IdentityProviderType |
Identity provider types that a a user identity can belong to. Known values supported by the serviceMicrosoftEntraID: Microsoft Entra ID provider. |
| IdentityProviderUnion |
Alias for IdentityProviderUnion |
| KeyEncryptionKeyIdentityType |
The type of identity for key encryption key. Known values supported by the serviceUserAssignedIdentity: User assigned identity. |
| ManagedServiceIdentityType |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Known values supported by the serviceNone: No managed identity. |
| MongoClusterStatus |
The status of the Mongo cluster resource. Known values supported by the serviceReady: The mongo cluster resource is ready for use. |
| Origin |
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" Known values supported by the serviceuser: Indicates the operation is initiated by a user. |
| PreviewFeature |
Preview features that can be enabled on a mongo cluster. Known values supported by the serviceGeoReplicas: Enables geo replicas preview feature. The feature must be set at create-time on new cluster to enable linking a geo-replica cluster to it. |
| PrivateEndpointConnectionProvisioningState |
The current provisioning state. Known values supported by the serviceSucceeded: Connection has been provisioned |
| PrivateEndpointServiceConnectionStatus |
The private endpoint connection status. Known values supported by the servicePending: Connection waiting for approval or rejection |
| PromoteMode |
The mode to apply to a promote operation. Known values supported by the serviceSwitchover: Promotion will switch the current replica cluster to the primary role and the original primary will be switched to a replica role, maintaining the replication link. |
| PromoteOption |
The option to apply to a promote operation. Known values supported by the serviceForced: Promote option forces the promotion without waiting for the replica to be caught up to the primary. This can result in data-loss so should only be used during disaster recovery scenarios. |
| ProvisioningState |
The provisioning state of the last accepted operation. Known values supported by the serviceSucceeded: Resource has been created. |
| PublicNetworkAccess |
Whether or not public endpoint access is allowed for this Mongo cluster. Value is optional and default value is 'Enabled' Known values supported by the serviceEnabled: If set, mongo cluster can be accessed through private and public methods. |
| ReplicationRole |
Replication role of the mongo cluster. Known values supported by the servicePrimary: The cluster is a primary replica. |
| ReplicationState |
The state of the replication link between the replica and source cluster. Known values supported by the serviceActive: Replication link is active. |
| StorageType |
The type of storage that a mongo cluster can be provisioned with. Known values supported by the servicePremiumSSD: Premium SSD for high performance workloads. |
| UserRole |
Built-in database role that can be assigned to a user. Known values supported by the serviceroot: Root role permissions on the target scope. |
Enums
| AzureClouds |
An enum to describe Azure Cloud environments. |
| KnownActionType |
Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. |
| KnownAuthenticationMode |
The authentication modes supporting on the Mongo cluster. |
| KnownCheckNameAvailabilityReason |
Possible reasons for a name not being available. |
| KnownCreateMode |
The mode that the Mongo Cluster is created with. |
| KnownCreatedByType |
The kind of entity that created the resource. |
| KnownDataApiMode |
The mode to apply to the Mongo Data API. |
| KnownEntraPrincipalType |
Microsoft Entra ID principal types available for a Mongo user. |
| KnownHighAvailabilityMode |
The high availability modes for a cluster. |
| KnownIdentityProviderType |
Identity provider types that a a user identity can belong to. |
| KnownKeyEncryptionKeyIdentityType |
The type of identity for key encryption key. |
| KnownManagedServiceIdentityType |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
| KnownMongoClusterStatus |
The status of the Mongo cluster resource. |
| KnownOrigin |
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" |
| KnownPreviewFeature |
Preview features that can be enabled on a mongo cluster. |
| KnownPrivateEndpointConnectionProvisioningState |
The current provisioning state. |
| KnownPrivateEndpointServiceConnectionStatus |
The private endpoint connection status. |
| KnownPromoteMode |
The mode to apply to a promote operation. |
| KnownPromoteOption |
The option to apply to a promote operation. |
| KnownProvisioningState |
The provisioning state of the last accepted operation. |
| KnownPublicNetworkAccess |
Whether or not public endpoint access is allowed for this Mongo cluster. Value is optional and default value is 'Enabled' |
| KnownReplicationRole |
Replication role of the mongo cluster. |
| KnownReplicationState |
The state of the replication link between the replica and source cluster. |
| KnownStorageType |
The type of storage that a mongo cluster can be provisioned with. |
| KnownUserRole |
Built-in database role that can be assigned to a user. |
| KnownVersions |
The available API versions. |
Functions
| restore |
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope. |
Function Details
restorePoller<TResponse, TResult>(MongoClusterManagementClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)
Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.
function restorePoller<TResponse, TResult>(client: MongoClusterManagementClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>
Parameters
- client
- MongoClusterManagementClient
- serializedState
-
string
- sourceOperation
-
(args: any[]) => PollerLike<OperationState<TResult>, TResult>
- options
-
RestorePollerOptions<TResult, PathUncheckedResponse>
Returns
PollerLike<OperationState<TResult>, TResult>