diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/ApiVersionDefinition.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/ApiVersionDefinition.json new file mode 100644 index 00000000000..2a0b26dccc5 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/ApiVersionDefinition.json @@ -0,0 +1,13 @@ +{ + "apiVersion": "2024-07-01", + "isPreview": false, + "generate": true, + "resources": [ + "FirewallRules", + "MongoClusters", + "PrivateEndpointConnections", + "PrivateLinks", + "Replicas" + ], + "source": "Azure/azure-rest-api-specs" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Constant-ProvisioningState.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Constant-ProvisioningState.json new file mode 100644 index 00000000000..1a3c5b8c09b --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Constant-ProvisioningState.json @@ -0,0 +1,30 @@ +{ + "name": "ProvisioningState", + "type": "String", + "values": [ + { + "key": "Canceled", + "value": "Canceled" + }, + { + "key": "Dropping", + "value": "Dropping" + }, + { + "key": "Failed", + "value": "Failed" + }, + { + "key": "InProgress", + "value": "InProgress" + }, + { + "key": "Succeeded", + "value": "Succeeded" + }, + { + "key": "Updating", + "value": "Updating" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Model-FirewallRule.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Model-FirewallRule.json new file mode 100644 index 00000000000..d3e347546a9 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Model-FirewallRule.json @@ -0,0 +1,70 @@ +{ + "name": "FirewallRule", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "id", + "name": "Id", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "properties", + "name": "Properties", + "objectDefinition": { + "type": "Reference", + "referenceName": "FirewallRuleProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "systemData", + "name": "SystemData", + "objectDefinition": { + "type": "SystemData", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "type", + "name": "Type", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Model-FirewallRuleProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Model-FirewallRuleProperties.json new file mode 100644 index 00000000000..bc2dca68f9c --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Model-FirewallRuleProperties.json @@ -0,0 +1,44 @@ +{ + "name": "FirewallRuleProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "endIpAddress", + "name": "EndIPAddress", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "provisioningState", + "name": "ProvisioningState", + "objectDefinition": { + "type": "Reference", + "referenceName": "ProvisioningState" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "startIpAddress", + "name": "StartIPAddress", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-CreateOrUpdate.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-CreateOrUpdate.json new file mode 100644 index 00000000000..ece65c3bbe8 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-CreateOrUpdate.json @@ -0,0 +1,20 @@ +{ + "name": "CreateOrUpdate", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200, + 201, + 202 + ], + "longRunning": true, + "httpMethod": "PUT", + "resourceIdName": "FirewallRuleId", + "requestObject": { + "type": "Reference", + "referenceName": "FirewallRule" + }, + "responseObject": { + "type": "Reference", + "referenceName": "FirewallRule" + } +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-Delete.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-Delete.json new file mode 100644 index 00000000000..9bb461e6549 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-Delete.json @@ -0,0 +1,11 @@ +{ + "name": "Delete", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 202, + 204 + ], + "longRunning": true, + "httpMethod": "DELETE", + "resourceIdName": "FirewallRuleId" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-Get.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-Get.json new file mode 100644 index 00000000000..82cb34cfd74 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-Get.json @@ -0,0 +1,14 @@ +{ + "name": "Get", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200 + ], + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "FirewallRuleId", + "responseObject": { + "type": "Reference", + "referenceName": "FirewallRule" + } +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-ListByMongoCluster.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-ListByMongoCluster.json new file mode 100644 index 00000000000..12213cd1754 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-ListByMongoCluster.json @@ -0,0 +1,16 @@ +{ + "name": "ListByMongoCluster", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200 + ], + "fieldContainingPaginationDetails": "nextLink", + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "MongoClusterId", + "responseObject": { + "type": "Reference", + "referenceName": "FirewallRule" + }, + "uriSuffix": "/firewallRules" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/ResourceId-FirewallRuleId.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/ResourceId-FirewallRuleId.json new file mode 100644 index 00000000000..349efd5d8a7 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/ResourceId-FirewallRuleId.json @@ -0,0 +1,52 @@ +{ + "name": "FirewallRuleId", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}", + "segments": [ + { + "name": "staticSubscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "name": "staticResourceGroups", + "type": "Static", + "value": "resourceGroups" + }, + { + "name": "resourceGroupName", + "type": "ResourceGroup" + }, + { + "name": "staticProviders", + "type": "Static", + "value": "providers" + }, + { + "name": "staticMicrosoftDocumentDB", + "type": "ResourceProvider", + "value": "Microsoft.DocumentDB" + }, + { + "name": "staticMongoClusters", + "type": "Static", + "value": "mongoClusters" + }, + { + "name": "mongoClusterName", + "type": "UserSpecified" + }, + { + "name": "staticFirewallRules", + "type": "Static", + "value": "firewallRules" + }, + { + "name": "firewallRuleName", + "type": "UserSpecified" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/ResourceId-MongoClusterId.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/ResourceId-MongoClusterId.json new file mode 100644 index 00000000000..c333fdd9407 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/ResourceId-MongoClusterId.json @@ -0,0 +1,43 @@ +{ + "name": "MongoClusterId", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", + "segments": [ + { + "name": "staticSubscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "name": "staticResourceGroups", + "type": "Static", + "value": "resourceGroups" + }, + { + "name": "resourceGroupName", + "type": "ResourceGroup" + }, + { + "name": "staticProviders", + "type": "Static", + "value": "providers" + }, + { + "name": "staticMicrosoftDocumentDB", + "type": "ResourceProvider", + "value": "Microsoft.DocumentDB" + }, + { + "name": "staticMongoClusters", + "type": "Static", + "value": "mongoClusters" + }, + { + "name": "mongoClusterName", + "type": "UserSpecified" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-CheckNameAvailabilityReason.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-CheckNameAvailabilityReason.json new file mode 100644 index 00000000000..5dbac62f0d0 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-CheckNameAvailabilityReason.json @@ -0,0 +1,14 @@ +{ + "name": "CheckNameAvailabilityReason", + "type": "String", + "values": [ + { + "key": "AlreadyExists", + "value": "AlreadyExists" + }, + { + "key": "Invalid", + "value": "Invalid" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-CreateMode.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-CreateMode.json new file mode 100644 index 00000000000..43a45f40eb9 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-CreateMode.json @@ -0,0 +1,22 @@ +{ + "name": "CreateMode", + "type": "String", + "values": [ + { + "key": "Default", + "value": "Default" + }, + { + "key": "GeoReplica", + "value": "GeoReplica" + }, + { + "key": "PointInTimeRestore", + "value": "PointInTimeRestore" + }, + { + "key": "Replica", + "value": "Replica" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-HighAvailabilityMode.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-HighAvailabilityMode.json new file mode 100644 index 00000000000..457ced08053 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-HighAvailabilityMode.json @@ -0,0 +1,18 @@ +{ + "name": "HighAvailabilityMode", + "type": "String", + "values": [ + { + "key": "Disabled", + "value": "Disabled" + }, + { + "key": "SameZone", + "value": "SameZone" + }, + { + "key": "ZoneRedundantPreferred", + "value": "ZoneRedundantPreferred" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-MongoClusterStatus.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-MongoClusterStatus.json new file mode 100644 index 00000000000..1ec098235a7 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-MongoClusterStatus.json @@ -0,0 +1,34 @@ +{ + "name": "MongoClusterStatus", + "type": "String", + "values": [ + { + "key": "Dropping", + "value": "Dropping" + }, + { + "key": "Provisioning", + "value": "Provisioning" + }, + { + "key": "Ready", + "value": "Ready" + }, + { + "key": "Starting", + "value": "Starting" + }, + { + "key": "Stopped", + "value": "Stopped" + }, + { + "key": "Stopping", + "value": "Stopping" + }, + { + "key": "Updating", + "value": "Updating" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PreviewFeature.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PreviewFeature.json new file mode 100644 index 00000000000..942be0001e5 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PreviewFeature.json @@ -0,0 +1,10 @@ +{ + "name": "PreviewFeature", + "type": "String", + "values": [ + { + "key": "GeoReplicas", + "value": "GeoReplicas" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PrivateEndpointConnectionProvisioningState.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PrivateEndpointConnectionProvisioningState.json new file mode 100644 index 00000000000..210b0540d01 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PrivateEndpointConnectionProvisioningState.json @@ -0,0 +1,22 @@ +{ + "name": "PrivateEndpointConnectionProvisioningState", + "type": "String", + "values": [ + { + "key": "Creating", + "value": "Creating" + }, + { + "key": "Deleting", + "value": "Deleting" + }, + { + "key": "Failed", + "value": "Failed" + }, + { + "key": "Succeeded", + "value": "Succeeded" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PrivateEndpointServiceConnectionStatus.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PrivateEndpointServiceConnectionStatus.json new file mode 100644 index 00000000000..5deff56fd45 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PrivateEndpointServiceConnectionStatus.json @@ -0,0 +1,18 @@ +{ + "name": "PrivateEndpointServiceConnectionStatus", + "type": "String", + "values": [ + { + "key": "Approved", + "value": "Approved" + }, + { + "key": "Pending", + "value": "Pending" + }, + { + "key": "Rejected", + "value": "Rejected" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PromoteMode.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PromoteMode.json new file mode 100644 index 00000000000..9caa47ff170 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PromoteMode.json @@ -0,0 +1,10 @@ +{ + "name": "PromoteMode", + "type": "String", + "values": [ + { + "key": "Switchover", + "value": "Switchover" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PromoteOption.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PromoteOption.json new file mode 100644 index 00000000000..f871f817f8c --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PromoteOption.json @@ -0,0 +1,10 @@ +{ + "name": "PromoteOption", + "type": "String", + "values": [ + { + "key": "Forced", + "value": "Forced" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-ProvisioningState.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-ProvisioningState.json new file mode 100644 index 00000000000..1a3c5b8c09b --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-ProvisioningState.json @@ -0,0 +1,30 @@ +{ + "name": "ProvisioningState", + "type": "String", + "values": [ + { + "key": "Canceled", + "value": "Canceled" + }, + { + "key": "Dropping", + "value": "Dropping" + }, + { + "key": "Failed", + "value": "Failed" + }, + { + "key": "InProgress", + "value": "InProgress" + }, + { + "key": "Succeeded", + "value": "Succeeded" + }, + { + "key": "Updating", + "value": "Updating" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PublicNetworkAccess.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PublicNetworkAccess.json new file mode 100644 index 00000000000..0a5ee893f1e --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-PublicNetworkAccess.json @@ -0,0 +1,14 @@ +{ + "name": "PublicNetworkAccess", + "type": "String", + "values": [ + { + "key": "Disabled", + "value": "Disabled" + }, + { + "key": "Enabled", + "value": "Enabled" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-ReplicationRole.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-ReplicationRole.json new file mode 100644 index 00000000000..c36ced3c390 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-ReplicationRole.json @@ -0,0 +1,18 @@ +{ + "name": "ReplicationRole", + "type": "String", + "values": [ + { + "key": "AsyncReplica", + "value": "AsyncReplica" + }, + { + "key": "GeoAsyncReplica", + "value": "GeoAsyncReplica" + }, + { + "key": "Primary", + "value": "Primary" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-ReplicationState.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-ReplicationState.json new file mode 100644 index 00000000000..1f0175f1a15 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-ReplicationState.json @@ -0,0 +1,30 @@ +{ + "name": "ReplicationState", + "type": "String", + "values": [ + { + "key": "Active", + "value": "Active" + }, + { + "key": "Broken", + "value": "Broken" + }, + { + "key": "Catchup", + "value": "Catchup" + }, + { + "key": "Provisioning", + "value": "Provisioning" + }, + { + "key": "Reconfiguring", + "value": "Reconfiguring" + }, + { + "key": "Updating", + "value": "Updating" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-AdministratorProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-AdministratorProperties.json new file mode 100644 index 00000000000..d8dac634758 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-AdministratorProperties.json @@ -0,0 +1,31 @@ +{ + "name": "AdministratorProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "password", + "name": "Password", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "userName", + "name": "UserName", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-BackupProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-BackupProperties.json new file mode 100644 index 00000000000..afbf1f1f8d1 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-BackupProperties.json @@ -0,0 +1,18 @@ +{ + "name": "BackupProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "earliestRestoreTime", + "name": "EarliestRestoreTime", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-CheckNameAvailabilityRequest.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-CheckNameAvailabilityRequest.json new file mode 100644 index 00000000000..3cfe7963c95 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-CheckNameAvailabilityRequest.json @@ -0,0 +1,31 @@ +{ + "name": "CheckNameAvailabilityRequest", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "type", + "name": "Type", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-CheckNameAvailabilityResponse.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-CheckNameAvailabilityResponse.json new file mode 100644 index 00000000000..0e7f40a89df --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-CheckNameAvailabilityResponse.json @@ -0,0 +1,44 @@ +{ + "name": "CheckNameAvailabilityResponse", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "message", + "name": "Message", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "nameAvailable", + "name": "NameAvailable", + "objectDefinition": { + "type": "Boolean", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "reason", + "name": "Reason", + "objectDefinition": { + "type": "Reference", + "referenceName": "CheckNameAvailabilityReason" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ComputeProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ComputeProperties.json new file mode 100644 index 00000000000..e8bc1c245dc --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ComputeProperties.json @@ -0,0 +1,18 @@ +{ + "name": "ComputeProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "tier", + "name": "Tier", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ConnectionString.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ConnectionString.json new file mode 100644 index 00000000000..38350a1891f --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ConnectionString.json @@ -0,0 +1,44 @@ +{ + "name": "ConnectionString", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "connectionString", + "name": "ConnectionString", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "description", + "name": "Description", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-HighAvailabilityProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-HighAvailabilityProperties.json new file mode 100644 index 00000000000..639009f9dca --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-HighAvailabilityProperties.json @@ -0,0 +1,18 @@ +{ + "name": "HighAvailabilityProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "targetMode", + "name": "TargetMode", + "objectDefinition": { + "type": "Reference", + "referenceName": "HighAvailabilityMode" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ListConnectionStringsResult.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ListConnectionStringsResult.json new file mode 100644 index 00000000000..bf4de55f09c --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ListConnectionStringsResult.json @@ -0,0 +1,22 @@ +{ + "name": "ListConnectionStringsResult", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "connectionStrings", + "name": "ConnectionStrings", + "objectDefinition": { + "type": "List", + "referenceName": null, + "nestedItem": { + "type": "Reference", + "referenceName": "ConnectionString" + } + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoCluster.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoCluster.json new file mode 100644 index 00000000000..d424365083a --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoCluster.json @@ -0,0 +1,96 @@ +{ + "name": "MongoCluster", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "id", + "name": "Id", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "location", + "name": "Location", + "objectDefinition": { + "type": "Location", + "referenceName": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "properties", + "name": "Properties", + "objectDefinition": { + "type": "Reference", + "referenceName": "MongoClusterProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "systemData", + "name": "SystemData", + "objectDefinition": { + "type": "SystemData", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "tags", + "name": "Tags", + "objectDefinition": { + "type": "Tags", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "type", + "name": "Type", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterProperties.json new file mode 100644 index 00000000000..4730efe8518 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterProperties.json @@ -0,0 +1,247 @@ +{ + "name": "MongoClusterProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "administrator", + "name": "Administrator", + "objectDefinition": { + "type": "Reference", + "referenceName": "AdministratorProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "backup", + "name": "Backup", + "objectDefinition": { + "type": "Reference", + "referenceName": "BackupProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "clusterStatus", + "name": "ClusterStatus", + "objectDefinition": { + "type": "Reference", + "referenceName": "MongoClusterStatus" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "compute", + "name": "Compute", + "objectDefinition": { + "type": "Reference", + "referenceName": "ComputeProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "connectionString", + "name": "ConnectionString", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "createMode", + "name": "CreateMode", + "objectDefinition": { + "type": "Reference", + "referenceName": "CreateMode" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "highAvailability", + "name": "HighAvailability", + "objectDefinition": { + "type": "Reference", + "referenceName": "HighAvailabilityProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "infrastructureVersion", + "name": "InfrastructureVersion", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "previewFeatures", + "name": "PreviewFeatures", + "objectDefinition": { + "type": "List", + "referenceName": null, + "nestedItem": { + "type": "Reference", + "referenceName": "PreviewFeature" + } + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "privateEndpointConnections", + "name": "PrivateEndpointConnections", + "objectDefinition": { + "type": "List", + "referenceName": null, + "nestedItem": { + "type": "Reference", + "referenceName": "PrivateEndpointConnection" + } + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "provisioningState", + "name": "ProvisioningState", + "objectDefinition": { + "type": "Reference", + "referenceName": "ProvisioningState" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "publicNetworkAccess", + "name": "PublicNetworkAccess", + "objectDefinition": { + "type": "Reference", + "referenceName": "PublicNetworkAccess" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "replica", + "name": "Replica", + "objectDefinition": { + "type": "Reference", + "referenceName": "ReplicationProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "replicaParameters", + "name": "ReplicaParameters", + "objectDefinition": { + "type": "Reference", + "referenceName": "MongoClusterReplicaParameters" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "restoreParameters", + "name": "RestoreParameters", + "objectDefinition": { + "type": "Reference", + "referenceName": "MongoClusterRestoreParameters" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "serverVersion", + "name": "ServerVersion", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sharding", + "name": "Sharding", + "objectDefinition": { + "type": "Reference", + "referenceName": "ShardingProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "storage", + "name": "Storage", + "objectDefinition": { + "type": "Reference", + "referenceName": "StorageProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterReplicaParameters.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterReplicaParameters.json new file mode 100644 index 00000000000..040900c56a8 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterReplicaParameters.json @@ -0,0 +1,31 @@ +{ + "name": "MongoClusterReplicaParameters", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sourceLocation", + "name": "SourceLocation", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sourceResourceId", + "name": "SourceResourceId", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterRestoreParameters.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterRestoreParameters.json new file mode 100644 index 00000000000..04e3a324940 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterRestoreParameters.json @@ -0,0 +1,32 @@ +{ + "name": "MongoClusterRestoreParameters", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "dateFormat": "RFC3339", + "jsonName": "pointInTimeUTC", + "name": "PointInTimeUTC", + "objectDefinition": { + "type": "DateTime", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sourceResourceId", + "name": "SourceResourceId", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterUpdate.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterUpdate.json new file mode 100644 index 00000000000..9e2af0ea604 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterUpdate.json @@ -0,0 +1,31 @@ +{ + "name": "MongoClusterUpdate", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "properties", + "name": "Properties", + "objectDefinition": { + "type": "Reference", + "referenceName": "MongoClusterUpdateProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "tags", + "name": "Tags", + "objectDefinition": { + "type": "Tags", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterUpdateProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterUpdateProperties.json new file mode 100644 index 00000000000..4827bf53af9 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-MongoClusterUpdateProperties.json @@ -0,0 +1,126 @@ +{ + "name": "MongoClusterUpdateProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "administrator", + "name": "Administrator", + "objectDefinition": { + "type": "Reference", + "referenceName": "AdministratorProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "backup", + "name": "Backup", + "objectDefinition": { + "type": "Reference", + "referenceName": "BackupProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "compute", + "name": "Compute", + "objectDefinition": { + "type": "Reference", + "referenceName": "ComputeProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "highAvailability", + "name": "HighAvailability", + "objectDefinition": { + "type": "Reference", + "referenceName": "HighAvailabilityProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "previewFeatures", + "name": "PreviewFeatures", + "objectDefinition": { + "type": "List", + "referenceName": null, + "nestedItem": { + "type": "Reference", + "referenceName": "PreviewFeature" + } + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "publicNetworkAccess", + "name": "PublicNetworkAccess", + "objectDefinition": { + "type": "Reference", + "referenceName": "PublicNetworkAccess" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "serverVersion", + "name": "ServerVersion", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sharding", + "name": "Sharding", + "objectDefinition": { + "type": "Reference", + "referenceName": "ShardingProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "storage", + "name": "Storage", + "objectDefinition": { + "type": "Reference", + "referenceName": "StorageProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PrivateEndpoint.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PrivateEndpoint.json new file mode 100644 index 00000000000..94d38d15c12 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PrivateEndpoint.json @@ -0,0 +1,18 @@ +{ + "name": "PrivateEndpoint", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "id", + "name": "Id", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PrivateEndpointConnection.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PrivateEndpointConnection.json new file mode 100644 index 00000000000..75b56b6ac04 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PrivateEndpointConnection.json @@ -0,0 +1,70 @@ +{ + "name": "PrivateEndpointConnection", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "id", + "name": "Id", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "properties", + "name": "Properties", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateEndpointConnectionProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "systemData", + "name": "SystemData", + "objectDefinition": { + "type": "SystemData", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "type", + "name": "Type", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PrivateEndpointConnectionProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PrivateEndpointConnectionProperties.json new file mode 100644 index 00000000000..921368523d4 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PrivateEndpointConnectionProperties.json @@ -0,0 +1,61 @@ +{ + "name": "PrivateEndpointConnectionProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "groupIds", + "name": "GroupIds", + "objectDefinition": { + "type": "List", + "referenceName": null, + "nestedItem": { + "type": "String", + "referenceName": null + } + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "privateEndpoint", + "name": "PrivateEndpoint", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateEndpoint" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "privateLinkServiceConnectionState", + "name": "PrivateLinkServiceConnectionState", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateLinkServiceConnectionState" + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "provisioningState", + "name": "ProvisioningState", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateEndpointConnectionProvisioningState" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PrivateLinkServiceConnectionState.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PrivateLinkServiceConnectionState.json new file mode 100644 index 00000000000..6c33dde96cb --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PrivateLinkServiceConnectionState.json @@ -0,0 +1,44 @@ +{ + "name": "PrivateLinkServiceConnectionState", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "actionsRequired", + "name": "ActionsRequired", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "description", + "name": "Description", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "status", + "name": "Status", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateEndpointServiceConnectionStatus" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PromoteReplicaRequest.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PromoteReplicaRequest.json new file mode 100644 index 00000000000..a5c59d5d884 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-PromoteReplicaRequest.json @@ -0,0 +1,31 @@ +{ + "name": "PromoteReplicaRequest", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "mode", + "name": "Mode", + "objectDefinition": { + "type": "Reference", + "referenceName": "PromoteMode" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "promoteOption", + "name": "PromoteOption", + "objectDefinition": { + "type": "Reference", + "referenceName": "PromoteOption" + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ReplicationProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ReplicationProperties.json new file mode 100644 index 00000000000..59790af92bd --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ReplicationProperties.json @@ -0,0 +1,44 @@ +{ + "name": "ReplicationProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "replicationState", + "name": "ReplicationState", + "objectDefinition": { + "type": "Reference", + "referenceName": "ReplicationState" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "role", + "name": "Role", + "objectDefinition": { + "type": "Reference", + "referenceName": "ReplicationRole" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sourceResourceId", + "name": "SourceResourceId", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ShardingProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ShardingProperties.json new file mode 100644 index 00000000000..b2184f04ca0 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-ShardingProperties.json @@ -0,0 +1,18 @@ +{ + "name": "ShardingProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "shardCount", + "name": "ShardCount", + "objectDefinition": { + "type": "Integer", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-StorageProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-StorageProperties.json new file mode 100644 index 00000000000..e0d62503378 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Model-StorageProperties.json @@ -0,0 +1,18 @@ +{ + "name": "StorageProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sizeGb", + "name": "SizeGb", + "objectDefinition": { + "type": "Integer", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-CheckNameAvailability.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-CheckNameAvailability.json new file mode 100644 index 00000000000..06bbbdfad9e --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-CheckNameAvailability.json @@ -0,0 +1,19 @@ +{ + "name": "CheckNameAvailability", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200 + ], + "longRunning": false, + "httpMethod": "POST", + "resourceIdName": "LocationId", + "requestObject": { + "type": "Reference", + "referenceName": "CheckNameAvailabilityRequest" + }, + "responseObject": { + "type": "Reference", + "referenceName": "CheckNameAvailabilityResponse" + }, + "uriSuffix": "/checkMongoClusterNameAvailability" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-CreateOrUpdate.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-CreateOrUpdate.json new file mode 100644 index 00000000000..f39e876c32b --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-CreateOrUpdate.json @@ -0,0 +1,19 @@ +{ + "name": "CreateOrUpdate", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200, + 201 + ], + "longRunning": true, + "httpMethod": "PUT", + "resourceIdName": "MongoClusterId", + "requestObject": { + "type": "Reference", + "referenceName": "MongoCluster" + }, + "responseObject": { + "type": "Reference", + "referenceName": "MongoCluster" + } +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-Delete.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-Delete.json new file mode 100644 index 00000000000..7226d8a8d64 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-Delete.json @@ -0,0 +1,11 @@ +{ + "name": "Delete", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 202, + 204 + ], + "longRunning": true, + "httpMethod": "DELETE", + "resourceIdName": "MongoClusterId" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-Get.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-Get.json new file mode 100644 index 00000000000..64f2e7a443f --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-Get.json @@ -0,0 +1,14 @@ +{ + "name": "Get", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200 + ], + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "MongoClusterId", + "responseObject": { + "type": "Reference", + "referenceName": "MongoCluster" + } +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-List.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-List.json new file mode 100644 index 00000000000..a39c8deb363 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-List.json @@ -0,0 +1,16 @@ +{ + "name": "List", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200 + ], + "fieldContainingPaginationDetails": "nextLink", + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "SubscriptionId", + "responseObject": { + "type": "Reference", + "referenceName": "MongoCluster" + }, + "uriSuffix": "/providers/Microsoft.DocumentDB/mongoClusters" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-ListByResourceGroup.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-ListByResourceGroup.json new file mode 100644 index 00000000000..6ede0c7a79e --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-ListByResourceGroup.json @@ -0,0 +1,16 @@ +{ + "name": "ListByResourceGroup", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200 + ], + "fieldContainingPaginationDetails": "nextLink", + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "ResourceGroupId", + "responseObject": { + "type": "Reference", + "referenceName": "MongoCluster" + }, + "uriSuffix": "/providers/Microsoft.DocumentDB/mongoClusters" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-ListConnectionStrings.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-ListConnectionStrings.json new file mode 100644 index 00000000000..02913f54438 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-ListConnectionStrings.json @@ -0,0 +1,15 @@ +{ + "name": "ListConnectionStrings", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200 + ], + "longRunning": false, + "httpMethod": "POST", + "resourceIdName": "MongoClusterId", + "responseObject": { + "type": "Reference", + "referenceName": "ListConnectionStringsResult" + }, + "uriSuffix": "/listConnectionStrings" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-Promote.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-Promote.json new file mode 100644 index 00000000000..fbd0ba9eca8 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-Promote.json @@ -0,0 +1,15 @@ +{ + "name": "Promote", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 202 + ], + "longRunning": true, + "httpMethod": "POST", + "resourceIdName": "MongoClusterId", + "requestObject": { + "type": "Reference", + "referenceName": "PromoteReplicaRequest" + }, + "uriSuffix": "/promote" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-Update.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-Update.json new file mode 100644 index 00000000000..bafc97c0bec --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Operation-Update.json @@ -0,0 +1,19 @@ +{ + "name": "Update", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200, + 202 + ], + "longRunning": true, + "httpMethod": "PATCH", + "resourceIdName": "MongoClusterId", + "requestObject": { + "type": "Reference", + "referenceName": "MongoClusterUpdate" + }, + "responseObject": { + "type": "Reference", + "referenceName": "MongoCluster" + } +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/ResourceId-LocationId.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/ResourceId-LocationId.json new file mode 100644 index 00000000000..a287c48284c --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/ResourceId-LocationId.json @@ -0,0 +1,34 @@ +{ + "name": "LocationId", + "id": "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{locationName}", + "segments": [ + { + "name": "staticSubscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "name": "staticProviders", + "type": "Static", + "value": "providers" + }, + { + "name": "staticMicrosoftDocumentDB", + "type": "ResourceProvider", + "value": "Microsoft.DocumentDB" + }, + { + "name": "staticLocations", + "type": "Static", + "value": "locations" + }, + { + "name": "locationName", + "type": "UserSpecified" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/ResourceId-MongoClusterId.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/ResourceId-MongoClusterId.json new file mode 100644 index 00000000000..c333fdd9407 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/ResourceId-MongoClusterId.json @@ -0,0 +1,43 @@ +{ + "name": "MongoClusterId", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", + "segments": [ + { + "name": "staticSubscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "name": "staticResourceGroups", + "type": "Static", + "value": "resourceGroups" + }, + { + "name": "resourceGroupName", + "type": "ResourceGroup" + }, + { + "name": "staticProviders", + "type": "Static", + "value": "providers" + }, + { + "name": "staticMicrosoftDocumentDB", + "type": "ResourceProvider", + "value": "Microsoft.DocumentDB" + }, + { + "name": "staticMongoClusters", + "type": "Static", + "value": "mongoClusters" + }, + { + "name": "mongoClusterName", + "type": "UserSpecified" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/ResourceId-ResourceGroupId.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/ResourceId-ResourceGroupId.json new file mode 100644 index 00000000000..30146a5e6cf --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/ResourceId-ResourceGroupId.json @@ -0,0 +1,25 @@ +{ + "name": "ResourceGroupId", + "commonAlias": "ResourceGroup", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}", + "segments": [ + { + "name": "subscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "name": "resourceGroups", + "type": "Static", + "value": "resourceGroups" + }, + { + "name": "resourceGroupName", + "type": "ResourceGroup" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/ResourceId-SubscriptionId.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/ResourceId-SubscriptionId.json new file mode 100644 index 00000000000..25706667298 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/ResourceId-SubscriptionId.json @@ -0,0 +1,16 @@ +{ + "name": "SubscriptionId", + "commonAlias": "Subscription", + "id": "/subscriptions/{subscriptionId}", + "segments": [ + { + "name": "subscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "name": "subscriptionId", + "type": "SubscriptionId" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Constant-PrivateEndpointConnectionProvisioningState.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Constant-PrivateEndpointConnectionProvisioningState.json new file mode 100644 index 00000000000..210b0540d01 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Constant-PrivateEndpointConnectionProvisioningState.json @@ -0,0 +1,22 @@ +{ + "name": "PrivateEndpointConnectionProvisioningState", + "type": "String", + "values": [ + { + "key": "Creating", + "value": "Creating" + }, + { + "key": "Deleting", + "value": "Deleting" + }, + { + "key": "Failed", + "value": "Failed" + }, + { + "key": "Succeeded", + "value": "Succeeded" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Constant-PrivateEndpointServiceConnectionStatus.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Constant-PrivateEndpointServiceConnectionStatus.json new file mode 100644 index 00000000000..5deff56fd45 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Constant-PrivateEndpointServiceConnectionStatus.json @@ -0,0 +1,18 @@ +{ + "name": "PrivateEndpointServiceConnectionStatus", + "type": "String", + "values": [ + { + "key": "Approved", + "value": "Approved" + }, + { + "key": "Pending", + "value": "Pending" + }, + { + "key": "Rejected", + "value": "Rejected" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Model-PrivateEndpoint.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Model-PrivateEndpoint.json new file mode 100644 index 00000000000..94d38d15c12 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Model-PrivateEndpoint.json @@ -0,0 +1,18 @@ +{ + "name": "PrivateEndpoint", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "id", + "name": "Id", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Model-PrivateEndpointConnectionProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Model-PrivateEndpointConnectionProperties.json new file mode 100644 index 00000000000..921368523d4 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Model-PrivateEndpointConnectionProperties.json @@ -0,0 +1,61 @@ +{ + "name": "PrivateEndpointConnectionProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "groupIds", + "name": "GroupIds", + "objectDefinition": { + "type": "List", + "referenceName": null, + "nestedItem": { + "type": "String", + "referenceName": null + } + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "privateEndpoint", + "name": "PrivateEndpoint", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateEndpoint" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "privateLinkServiceConnectionState", + "name": "PrivateLinkServiceConnectionState", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateLinkServiceConnectionState" + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "provisioningState", + "name": "ProvisioningState", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateEndpointConnectionProvisioningState" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Model-PrivateEndpointConnectionResource.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Model-PrivateEndpointConnectionResource.json new file mode 100644 index 00000000000..9c6daaac9a4 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Model-PrivateEndpointConnectionResource.json @@ -0,0 +1,70 @@ +{ + "name": "PrivateEndpointConnectionResource", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "id", + "name": "Id", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "properties", + "name": "Properties", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateEndpointConnectionProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "systemData", + "name": "SystemData", + "objectDefinition": { + "type": "SystemData", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "type", + "name": "Type", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Model-PrivateLinkServiceConnectionState.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Model-PrivateLinkServiceConnectionState.json new file mode 100644 index 00000000000..6c33dde96cb --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Model-PrivateLinkServiceConnectionState.json @@ -0,0 +1,44 @@ +{ + "name": "PrivateLinkServiceConnectionState", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "actionsRequired", + "name": "ActionsRequired", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "description", + "name": "Description", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "status", + "name": "Status", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateEndpointServiceConnectionStatus" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Operation-Create.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Operation-Create.json new file mode 100644 index 00000000000..ef6bce70345 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Operation-Create.json @@ -0,0 +1,20 @@ +{ + "name": "Create", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200, + 201, + 202 + ], + "longRunning": true, + "httpMethod": "PUT", + "resourceIdName": "PrivateEndpointConnectionId", + "requestObject": { + "type": "Reference", + "referenceName": "PrivateEndpointConnectionResource" + }, + "responseObject": { + "type": "Reference", + "referenceName": "PrivateEndpointConnectionResource" + } +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Operation-Delete.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Operation-Delete.json new file mode 100644 index 00000000000..7ead9639822 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Operation-Delete.json @@ -0,0 +1,11 @@ +{ + "name": "Delete", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 202, + 204 + ], + "longRunning": true, + "httpMethod": "DELETE", + "resourceIdName": "PrivateEndpointConnectionId" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Operation-Get.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Operation-Get.json new file mode 100644 index 00000000000..6de86db6987 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Operation-Get.json @@ -0,0 +1,14 @@ +{ + "name": "Get", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200 + ], + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "PrivateEndpointConnectionId", + "responseObject": { + "type": "Reference", + "referenceName": "PrivateEndpointConnectionResource" + } +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Operation-ListByMongoCluster.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Operation-ListByMongoCluster.json new file mode 100644 index 00000000000..614b24cf7c0 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/Operation-ListByMongoCluster.json @@ -0,0 +1,16 @@ +{ + "name": "ListByMongoCluster", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200 + ], + "fieldContainingPaginationDetails": "nextLink", + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "MongoClusterId", + "responseObject": { + "type": "Reference", + "referenceName": "PrivateEndpointConnectionResource" + }, + "uriSuffix": "/privateEndpointConnections" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/ResourceId-MongoClusterId.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/ResourceId-MongoClusterId.json new file mode 100644 index 00000000000..c333fdd9407 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/ResourceId-MongoClusterId.json @@ -0,0 +1,43 @@ +{ + "name": "MongoClusterId", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", + "segments": [ + { + "name": "staticSubscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "name": "staticResourceGroups", + "type": "Static", + "value": "resourceGroups" + }, + { + "name": "resourceGroupName", + "type": "ResourceGroup" + }, + { + "name": "staticProviders", + "type": "Static", + "value": "providers" + }, + { + "name": "staticMicrosoftDocumentDB", + "type": "ResourceProvider", + "value": "Microsoft.DocumentDB" + }, + { + "name": "staticMongoClusters", + "type": "Static", + "value": "mongoClusters" + }, + { + "name": "mongoClusterName", + "type": "UserSpecified" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/ResourceId-PrivateEndpointConnectionId.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/ResourceId-PrivateEndpointConnectionId.json new file mode 100644 index 00000000000..fcda9e86bce --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateEndpointConnections/ResourceId-PrivateEndpointConnectionId.json @@ -0,0 +1,52 @@ +{ + "name": "PrivateEndpointConnectionId", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}", + "segments": [ + { + "name": "staticSubscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "name": "staticResourceGroups", + "type": "Static", + "value": "resourceGroups" + }, + { + "name": "resourceGroupName", + "type": "ResourceGroup" + }, + { + "name": "staticProviders", + "type": "Static", + "value": "providers" + }, + { + "name": "staticMicrosoftDocumentDB", + "type": "ResourceProvider", + "value": "Microsoft.DocumentDB" + }, + { + "name": "staticMongoClusters", + "type": "Static", + "value": "mongoClusters" + }, + { + "name": "mongoClusterName", + "type": "UserSpecified" + }, + { + "name": "staticPrivateEndpointConnections", + "type": "Static", + "value": "privateEndpointConnections" + }, + { + "name": "privateEndpointConnectionName", + "type": "UserSpecified" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateLinks/Model-PrivateLinkResource.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateLinks/Model-PrivateLinkResource.json new file mode 100644 index 00000000000..762c3e68357 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateLinks/Model-PrivateLinkResource.json @@ -0,0 +1,70 @@ +{ + "name": "PrivateLinkResource", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "id", + "name": "Id", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "properties", + "name": "Properties", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateLinkResourceProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "systemData", + "name": "SystemData", + "objectDefinition": { + "type": "SystemData", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "type", + "name": "Type", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateLinks/Model-PrivateLinkResourceProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateLinks/Model-PrivateLinkResourceProperties.json new file mode 100644 index 00000000000..77b9aad7e67 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateLinks/Model-PrivateLinkResourceProperties.json @@ -0,0 +1,52 @@ +{ + "name": "PrivateLinkResourceProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "groupId", + "name": "GroupId", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "requiredMembers", + "name": "RequiredMembers", + "objectDefinition": { + "type": "List", + "referenceName": null, + "nestedItem": { + "type": "String", + "referenceName": null + } + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "requiredZoneNames", + "name": "RequiredZoneNames", + "objectDefinition": { + "type": "List", + "referenceName": null, + "nestedItem": { + "type": "String", + "referenceName": null + } + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateLinks/Operation-ListByMongoCluster.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateLinks/Operation-ListByMongoCluster.json new file mode 100644 index 00000000000..9ac28311ea6 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateLinks/Operation-ListByMongoCluster.json @@ -0,0 +1,16 @@ +{ + "name": "ListByMongoCluster", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200 + ], + "fieldContainingPaginationDetails": "nextLink", + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "MongoClusterId", + "responseObject": { + "type": "Reference", + "referenceName": "PrivateLinkResource" + }, + "uriSuffix": "/privateLinkResources" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateLinks/ResourceId-MongoClusterId.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateLinks/ResourceId-MongoClusterId.json new file mode 100644 index 00000000000..c333fdd9407 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/PrivateLinks/ResourceId-MongoClusterId.json @@ -0,0 +1,43 @@ +{ + "name": "MongoClusterId", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", + "segments": [ + { + "name": "staticSubscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "name": "staticResourceGroups", + "type": "Static", + "value": "resourceGroups" + }, + { + "name": "resourceGroupName", + "type": "ResourceGroup" + }, + { + "name": "staticProviders", + "type": "Static", + "value": "providers" + }, + { + "name": "staticMicrosoftDocumentDB", + "type": "ResourceProvider", + "value": "Microsoft.DocumentDB" + }, + { + "name": "staticMongoClusters", + "type": "Static", + "value": "mongoClusters" + }, + { + "name": "mongoClusterName", + "type": "UserSpecified" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-CreateMode.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-CreateMode.json new file mode 100644 index 00000000000..43a45f40eb9 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-CreateMode.json @@ -0,0 +1,22 @@ +{ + "name": "CreateMode", + "type": "String", + "values": [ + { + "key": "Default", + "value": "Default" + }, + { + "key": "GeoReplica", + "value": "GeoReplica" + }, + { + "key": "PointInTimeRestore", + "value": "PointInTimeRestore" + }, + { + "key": "Replica", + "value": "Replica" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-HighAvailabilityMode.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-HighAvailabilityMode.json new file mode 100644 index 00000000000..457ced08053 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-HighAvailabilityMode.json @@ -0,0 +1,18 @@ +{ + "name": "HighAvailabilityMode", + "type": "String", + "values": [ + { + "key": "Disabled", + "value": "Disabled" + }, + { + "key": "SameZone", + "value": "SameZone" + }, + { + "key": "ZoneRedundantPreferred", + "value": "ZoneRedundantPreferred" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-MongoClusterStatus.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-MongoClusterStatus.json new file mode 100644 index 00000000000..1ec098235a7 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-MongoClusterStatus.json @@ -0,0 +1,34 @@ +{ + "name": "MongoClusterStatus", + "type": "String", + "values": [ + { + "key": "Dropping", + "value": "Dropping" + }, + { + "key": "Provisioning", + "value": "Provisioning" + }, + { + "key": "Ready", + "value": "Ready" + }, + { + "key": "Starting", + "value": "Starting" + }, + { + "key": "Stopped", + "value": "Stopped" + }, + { + "key": "Stopping", + "value": "Stopping" + }, + { + "key": "Updating", + "value": "Updating" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-PreviewFeature.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-PreviewFeature.json new file mode 100644 index 00000000000..942be0001e5 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-PreviewFeature.json @@ -0,0 +1,10 @@ +{ + "name": "PreviewFeature", + "type": "String", + "values": [ + { + "key": "GeoReplicas", + "value": "GeoReplicas" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-PrivateEndpointConnectionProvisioningState.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-PrivateEndpointConnectionProvisioningState.json new file mode 100644 index 00000000000..210b0540d01 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-PrivateEndpointConnectionProvisioningState.json @@ -0,0 +1,22 @@ +{ + "name": "PrivateEndpointConnectionProvisioningState", + "type": "String", + "values": [ + { + "key": "Creating", + "value": "Creating" + }, + { + "key": "Deleting", + "value": "Deleting" + }, + { + "key": "Failed", + "value": "Failed" + }, + { + "key": "Succeeded", + "value": "Succeeded" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-PrivateEndpointServiceConnectionStatus.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-PrivateEndpointServiceConnectionStatus.json new file mode 100644 index 00000000000..5deff56fd45 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-PrivateEndpointServiceConnectionStatus.json @@ -0,0 +1,18 @@ +{ + "name": "PrivateEndpointServiceConnectionStatus", + "type": "String", + "values": [ + { + "key": "Approved", + "value": "Approved" + }, + { + "key": "Pending", + "value": "Pending" + }, + { + "key": "Rejected", + "value": "Rejected" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-ProvisioningState.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-ProvisioningState.json new file mode 100644 index 00000000000..1a3c5b8c09b --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-ProvisioningState.json @@ -0,0 +1,30 @@ +{ + "name": "ProvisioningState", + "type": "String", + "values": [ + { + "key": "Canceled", + "value": "Canceled" + }, + { + "key": "Dropping", + "value": "Dropping" + }, + { + "key": "Failed", + "value": "Failed" + }, + { + "key": "InProgress", + "value": "InProgress" + }, + { + "key": "Succeeded", + "value": "Succeeded" + }, + { + "key": "Updating", + "value": "Updating" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-PublicNetworkAccess.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-PublicNetworkAccess.json new file mode 100644 index 00000000000..0a5ee893f1e --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-PublicNetworkAccess.json @@ -0,0 +1,14 @@ +{ + "name": "PublicNetworkAccess", + "type": "String", + "values": [ + { + "key": "Disabled", + "value": "Disabled" + }, + { + "key": "Enabled", + "value": "Enabled" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-ReplicationRole.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-ReplicationRole.json new file mode 100644 index 00000000000..c36ced3c390 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-ReplicationRole.json @@ -0,0 +1,18 @@ +{ + "name": "ReplicationRole", + "type": "String", + "values": [ + { + "key": "AsyncReplica", + "value": "AsyncReplica" + }, + { + "key": "GeoAsyncReplica", + "value": "GeoAsyncReplica" + }, + { + "key": "Primary", + "value": "Primary" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-ReplicationState.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-ReplicationState.json new file mode 100644 index 00000000000..1f0175f1a15 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Constant-ReplicationState.json @@ -0,0 +1,30 @@ +{ + "name": "ReplicationState", + "type": "String", + "values": [ + { + "key": "Active", + "value": "Active" + }, + { + "key": "Broken", + "value": "Broken" + }, + { + "key": "Catchup", + "value": "Catchup" + }, + { + "key": "Provisioning", + "value": "Provisioning" + }, + { + "key": "Reconfiguring", + "value": "Reconfiguring" + }, + { + "key": "Updating", + "value": "Updating" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-AdministratorProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-AdministratorProperties.json new file mode 100644 index 00000000000..d8dac634758 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-AdministratorProperties.json @@ -0,0 +1,31 @@ +{ + "name": "AdministratorProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "password", + "name": "Password", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "userName", + "name": "UserName", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-BackupProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-BackupProperties.json new file mode 100644 index 00000000000..afbf1f1f8d1 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-BackupProperties.json @@ -0,0 +1,18 @@ +{ + "name": "BackupProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "earliestRestoreTime", + "name": "EarliestRestoreTime", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-ComputeProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-ComputeProperties.json new file mode 100644 index 00000000000..e8bc1c245dc --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-ComputeProperties.json @@ -0,0 +1,18 @@ +{ + "name": "ComputeProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "tier", + "name": "Tier", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-HighAvailabilityProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-HighAvailabilityProperties.json new file mode 100644 index 00000000000..639009f9dca --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-HighAvailabilityProperties.json @@ -0,0 +1,18 @@ +{ + "name": "HighAvailabilityProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "targetMode", + "name": "TargetMode", + "objectDefinition": { + "type": "Reference", + "referenceName": "HighAvailabilityMode" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-MongoClusterProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-MongoClusterProperties.json new file mode 100644 index 00000000000..4730efe8518 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-MongoClusterProperties.json @@ -0,0 +1,247 @@ +{ + "name": "MongoClusterProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "administrator", + "name": "Administrator", + "objectDefinition": { + "type": "Reference", + "referenceName": "AdministratorProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "backup", + "name": "Backup", + "objectDefinition": { + "type": "Reference", + "referenceName": "BackupProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "clusterStatus", + "name": "ClusterStatus", + "objectDefinition": { + "type": "Reference", + "referenceName": "MongoClusterStatus" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "compute", + "name": "Compute", + "objectDefinition": { + "type": "Reference", + "referenceName": "ComputeProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "connectionString", + "name": "ConnectionString", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "createMode", + "name": "CreateMode", + "objectDefinition": { + "type": "Reference", + "referenceName": "CreateMode" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "highAvailability", + "name": "HighAvailability", + "objectDefinition": { + "type": "Reference", + "referenceName": "HighAvailabilityProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "infrastructureVersion", + "name": "InfrastructureVersion", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "previewFeatures", + "name": "PreviewFeatures", + "objectDefinition": { + "type": "List", + "referenceName": null, + "nestedItem": { + "type": "Reference", + "referenceName": "PreviewFeature" + } + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "privateEndpointConnections", + "name": "PrivateEndpointConnections", + "objectDefinition": { + "type": "List", + "referenceName": null, + "nestedItem": { + "type": "Reference", + "referenceName": "PrivateEndpointConnection" + } + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "provisioningState", + "name": "ProvisioningState", + "objectDefinition": { + "type": "Reference", + "referenceName": "ProvisioningState" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "publicNetworkAccess", + "name": "PublicNetworkAccess", + "objectDefinition": { + "type": "Reference", + "referenceName": "PublicNetworkAccess" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "replica", + "name": "Replica", + "objectDefinition": { + "type": "Reference", + "referenceName": "ReplicationProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "replicaParameters", + "name": "ReplicaParameters", + "objectDefinition": { + "type": "Reference", + "referenceName": "MongoClusterReplicaParameters" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "restoreParameters", + "name": "RestoreParameters", + "objectDefinition": { + "type": "Reference", + "referenceName": "MongoClusterRestoreParameters" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "serverVersion", + "name": "ServerVersion", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sharding", + "name": "Sharding", + "objectDefinition": { + "type": "Reference", + "referenceName": "ShardingProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "storage", + "name": "Storage", + "objectDefinition": { + "type": "Reference", + "referenceName": "StorageProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-MongoClusterReplicaParameters.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-MongoClusterReplicaParameters.json new file mode 100644 index 00000000000..040900c56a8 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-MongoClusterReplicaParameters.json @@ -0,0 +1,31 @@ +{ + "name": "MongoClusterReplicaParameters", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sourceLocation", + "name": "SourceLocation", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sourceResourceId", + "name": "SourceResourceId", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-MongoClusterRestoreParameters.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-MongoClusterRestoreParameters.json new file mode 100644 index 00000000000..04e3a324940 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-MongoClusterRestoreParameters.json @@ -0,0 +1,32 @@ +{ + "name": "MongoClusterRestoreParameters", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "dateFormat": "RFC3339", + "jsonName": "pointInTimeUTC", + "name": "PointInTimeUTC", + "objectDefinition": { + "type": "DateTime", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sourceResourceId", + "name": "SourceResourceId", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-PrivateEndpoint.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-PrivateEndpoint.json new file mode 100644 index 00000000000..94d38d15c12 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-PrivateEndpoint.json @@ -0,0 +1,18 @@ +{ + "name": "PrivateEndpoint", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "id", + "name": "Id", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-PrivateEndpointConnection.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-PrivateEndpointConnection.json new file mode 100644 index 00000000000..75b56b6ac04 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-PrivateEndpointConnection.json @@ -0,0 +1,70 @@ +{ + "name": "PrivateEndpointConnection", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "id", + "name": "Id", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "properties", + "name": "Properties", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateEndpointConnectionProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "systemData", + "name": "SystemData", + "objectDefinition": { + "type": "SystemData", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "type", + "name": "Type", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-PrivateEndpointConnectionProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-PrivateEndpointConnectionProperties.json new file mode 100644 index 00000000000..921368523d4 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-PrivateEndpointConnectionProperties.json @@ -0,0 +1,61 @@ +{ + "name": "PrivateEndpointConnectionProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "groupIds", + "name": "GroupIds", + "objectDefinition": { + "type": "List", + "referenceName": null, + "nestedItem": { + "type": "String", + "referenceName": null + } + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "privateEndpoint", + "name": "PrivateEndpoint", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateEndpoint" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "privateLinkServiceConnectionState", + "name": "PrivateLinkServiceConnectionState", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateLinkServiceConnectionState" + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "provisioningState", + "name": "ProvisioningState", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateEndpointConnectionProvisioningState" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-PrivateLinkServiceConnectionState.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-PrivateLinkServiceConnectionState.json new file mode 100644 index 00000000000..6c33dde96cb --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-PrivateLinkServiceConnectionState.json @@ -0,0 +1,44 @@ +{ + "name": "PrivateLinkServiceConnectionState", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "actionsRequired", + "name": "ActionsRequired", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "description", + "name": "Description", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "status", + "name": "Status", + "objectDefinition": { + "type": "Reference", + "referenceName": "PrivateEndpointServiceConnectionStatus" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-Replica.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-Replica.json new file mode 100644 index 00000000000..7519efd3a14 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-Replica.json @@ -0,0 +1,70 @@ +{ + "name": "Replica", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "id", + "name": "Id", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "properties", + "name": "Properties", + "objectDefinition": { + "type": "Reference", + "referenceName": "MongoClusterProperties" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "systemData", + "name": "SystemData", + "objectDefinition": { + "type": "SystemData", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "type", + "name": "Type", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-ReplicationProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-ReplicationProperties.json new file mode 100644 index 00000000000..59790af92bd --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-ReplicationProperties.json @@ -0,0 +1,44 @@ +{ + "name": "ReplicationProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "replicationState", + "name": "ReplicationState", + "objectDefinition": { + "type": "Reference", + "referenceName": "ReplicationState" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "role", + "name": "Role", + "objectDefinition": { + "type": "Reference", + "referenceName": "ReplicationRole" + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sourceResourceId", + "name": "SourceResourceId", + "objectDefinition": { + "type": "String", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-ShardingProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-ShardingProperties.json new file mode 100644 index 00000000000..b2184f04ca0 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-ShardingProperties.json @@ -0,0 +1,18 @@ +{ + "name": "ShardingProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "shardCount", + "name": "ShardCount", + "objectDefinition": { + "type": "Integer", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-StorageProperties.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-StorageProperties.json new file mode 100644 index 00000000000..e0d62503378 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Model-StorageProperties.json @@ -0,0 +1,18 @@ +{ + "name": "StorageProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sizeGb", + "name": "SizeGb", + "objectDefinition": { + "type": "Integer", + "referenceName": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Operation-ListByParent.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Operation-ListByParent.json new file mode 100644 index 00000000000..30c3348ddce --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/Operation-ListByParent.json @@ -0,0 +1,16 @@ +{ + "name": "ListByParent", + "contentType": "application/json; charset=utf-8", + "expectedStatusCodes": [ + 200 + ], + "fieldContainingPaginationDetails": "nextLink", + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "MongoClusterId", + "responseObject": { + "type": "Reference", + "referenceName": "Replica" + }, + "uriSuffix": "/replicas" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/ResourceId-MongoClusterId.json b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/ResourceId-MongoClusterId.json new file mode 100644 index 00000000000..c333fdd9407 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/2024-07-01/Replicas/ResourceId-MongoClusterId.json @@ -0,0 +1,43 @@ +{ + "name": "MongoClusterId", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}", + "segments": [ + { + "name": "staticSubscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "name": "staticResourceGroups", + "type": "Static", + "value": "resourceGroups" + }, + { + "name": "resourceGroupName", + "type": "ResourceGroup" + }, + { + "name": "staticProviders", + "type": "Static", + "value": "providers" + }, + { + "name": "staticMicrosoftDocumentDB", + "type": "ResourceProvider", + "value": "Microsoft.DocumentDB" + }, + { + "name": "staticMongoClusters", + "type": "Static", + "value": "mongoClusters" + }, + { + "name": "mongoClusterName", + "type": "UserSpecified" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/MongoCluster/ServiceDefinition.json b/api-definitions/resource-manager/MongoCluster/ServiceDefinition.json new file mode 100644 index 00000000000..e7b7b4a15f8 --- /dev/null +++ b/api-definitions/resource-manager/MongoCluster/ServiceDefinition.json @@ -0,0 +1,5 @@ +{ + "name": "MongoCluster", + "resourceProvider": "Microsoft.DocumentDB", + "generate": true +} \ No newline at end of file