-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4402 from hashicorp/data/regeneration-from-d24ce0…
…45d9afb5897a5cf1f6d74951093a28ad4d-rest-api-specs Data: Rest Api Specs - regenerating based on d24ce04
- Loading branch information
Showing
102 changed files
with
3,506 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
api-definitions/resource-manager/MongoCluster/2024-07-01/ApiVersionDefinition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"apiVersion": "2024-07-01", | ||
"isPreview": false, | ||
"generate": true, | ||
"resources": [ | ||
"FirewallRules", | ||
"MongoClusters", | ||
"PrivateEndpointConnections", | ||
"PrivateLinks", | ||
"Replicas" | ||
], | ||
"source": "Azure/azure-rest-api-specs" | ||
} |
30 changes: 30 additions & 0 deletions
30
...ns/resource-manager/MongoCluster/2024-07-01/FirewallRules/Constant-ProvisioningState.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
] | ||
} |
70 changes: 70 additions & 0 deletions
70
...efinitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Model-FirewallRule.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
] | ||
} |
44 changes: 44 additions & 0 deletions
44
.../resource-manager/MongoCluster/2024-07-01/FirewallRules/Model-FirewallRuleProperties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
] | ||
} |
20 changes: 20 additions & 0 deletions
20
...ions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "Delete", | ||
"contentType": "application/json; charset=utf-8", | ||
"expectedStatusCodes": [ | ||
202, | ||
204 | ||
], | ||
"longRunning": true, | ||
"httpMethod": "DELETE", | ||
"resourceIdName": "FirewallRuleId" | ||
} |
14 changes: 14 additions & 0 deletions
14
api-definitions/resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
.../resource-manager/MongoCluster/2024-07-01/FirewallRules/Operation-ListByMongoCluster.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} |
52 changes: 52 additions & 0 deletions
52
...ons/resource-manager/MongoCluster/2024-07-01/FirewallRules/ResourceId-FirewallRuleId.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
] | ||
} |
43 changes: 43 additions & 0 deletions
43
...ons/resource-manager/MongoCluster/2024-07-01/FirewallRules/ResourceId-MongoClusterId.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
] | ||
} |
14 changes: 14 additions & 0 deletions
14
...e-manager/MongoCluster/2024-07-01/MongoClusters/Constant-CheckNameAvailabilityReason.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "CheckNameAvailabilityReason", | ||
"type": "String", | ||
"values": [ | ||
{ | ||
"key": "AlreadyExists", | ||
"value": "AlreadyExists" | ||
}, | ||
{ | ||
"key": "Invalid", | ||
"value": "Invalid" | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
...finitions/resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-CreateMode.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
...resource-manager/MongoCluster/2024-07-01/MongoClusters/Constant-HighAvailabilityMode.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "HighAvailabilityMode", | ||
"type": "String", | ||
"values": [ | ||
{ | ||
"key": "Disabled", | ||
"value": "Disabled" | ||
}, | ||
{ | ||
"key": "SameZone", | ||
"value": "SameZone" | ||
}, | ||
{ | ||
"key": "ZoneRedundantPreferred", | ||
"value": "ZoneRedundantPreferred" | ||
} | ||
] | ||
} |
Oops, something went wrong.