Skip to content

Commit

Permalink
Merge pull request #4135 from hashicorp/data/regeneration-from-27edf2…
Browse files Browse the repository at this point in the history
…697936d693f054e12f3d3a822311428a38-rest-api-specs

Data: Rest Api Specs - regenerating based on 27edf26
  • Loading branch information
tombuildsstuff authored May 16, 2024
2 parents 27edf26 + 072107e commit d64c542
Show file tree
Hide file tree
Showing 50 changed files with 1,555 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"apiVersion": "2021-07-01-preview",
"isPreview": true,
"generate": true,
"resources": [
"PrivateEndpointConnections",
"PrivateLinkResources",
"PrivateLinkScopedResources",
"PrivateLinkScopesAPIs"
],
"source": "Azure/azure-rest-api-specs"
}
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "PrivateEndpointServiceConnectionStatus",
"type": "String",
"values": [
{
"key": "Approved",
"value": "Approved"
},
{
"key": "Pending",
"value": "Pending"
},
{
"key": "Rejected",
"value": "Rejected"
}
]
}
Original file line number Diff line number Diff line change
@@ -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
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"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": "type",
"name": "Type",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "PrivateEndpointConnectionListResult",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "value",
"name": "Value",
"objectDefinition": {
"type": "List",
"referenceName": null,
"nestedItem": {
"type": "Reference",
"referenceName": "PrivateEndpointConnection"
}
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "PrivateEndpointConnectionProperties",
"fields": [
{
"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
}
]
}
Original file line number Diff line number Diff line change
@@ -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
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "CreateOrUpdate",
"contentType": "application/json; charset=utf-8",
"expectedStatusCodes": [
200,
202
],
"longRunning": true,
"httpMethod": "PUT",
"resourceIdName": "PrivateEndpointConnectionId",
"requestObject": {
"type": "Reference",
"referenceName": "PrivateEndpointConnection"
},
"responseObject": {
"type": "Reference",
"referenceName": "PrivateEndpointConnection"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Delete",
"contentType": "application/json; charset=utf-8",
"expectedStatusCodes": [
200,
202,
204
],
"longRunning": true,
"httpMethod": "DELETE",
"resourceIdName": "PrivateEndpointConnectionId"
}
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": "PrivateEndpointConnectionId",
"responseObject": {
"type": "Reference",
"referenceName": "PrivateEndpointConnection"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "ListByPrivateLinkScope",
"contentType": "application/json; charset=utf-8",
"expectedStatusCodes": [
200
],
"longRunning": false,
"httpMethod": "GET",
"resourceIdName": "PrivateLinkScopeId",
"responseObject": {
"type": "Reference",
"referenceName": "PrivateEndpointConnectionListResult"
},
"uriSuffix": "/privateEndpointConnections"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"name": "PrivateEndpointConnectionId",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/privateLinkScopes/{privateLinkScopeName}/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": "staticMicrosoftInsights",
"type": "ResourceProvider",
"value": "Microsoft.Insights"
},
{
"name": "staticPrivateLinkScopes",
"type": "Static",
"value": "privateLinkScopes"
},
{
"name": "privateLinkScopeName",
"type": "UserSpecified"
},
{
"name": "staticPrivateEndpointConnections",
"type": "Static",
"value": "privateEndpointConnections"
},
{
"name": "privateEndpointConnectionName",
"type": "UserSpecified"
}
]
}
Loading

0 comments on commit d64c542

Please sign in to comment.