Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data: Rest Api Specs - regenerating based on 27edf2697936d693f054e12f3d3a822311428a38 #4135

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading