|
| 1 | +{ |
| 2 | + "swagger": "2.0", |
| 3 | + "security": [ |
| 4 | + { |
| 5 | + "azure_auth": [ |
| 6 | + "user_impersonation" |
| 7 | + ] |
| 8 | + } |
| 9 | + ], |
| 10 | + "securityDefinitions": { |
| 11 | + "azure_auth": { |
| 12 | + "type": "oauth2", |
| 13 | + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", |
| 14 | + "flow": "implicit", |
| 15 | + "description": "Azure Active Directory OAuth2 Flow", |
| 16 | + "scopes": { |
| 17 | + "user_impersonation": "impersonate your user account" |
| 18 | + } |
| 19 | + } |
| 20 | + }, |
| 21 | + "info": { |
| 22 | + "version": "2018-06-10", |
| 23 | + "title": "Common types" |
| 24 | + }, |
| 25 | + "paths": {}, |
| 26 | + "definitions": { |
| 27 | + "PrivateEndpointConnection": { |
| 28 | + "description": "A private endpoint connection", |
| 29 | + "type": "object", |
| 30 | + "properties": { |
| 31 | + "properties": { |
| 32 | + "$ref": "#/definitions/PrivateEndpointConnectionProperties", |
| 33 | + "description": "Resource properties.", |
| 34 | + "x-ms-client-flatten": true |
| 35 | + } |
| 36 | + }, |
| 37 | + "allOf": [ |
| 38 | + { |
| 39 | + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" |
| 40 | + } |
| 41 | + ] |
| 42 | + }, |
| 43 | + "PrivateEndpointConnectionProperties": { |
| 44 | + "description": "Properties of a private endpoint connection.", |
| 45 | + "type": "object", |
| 46 | + "properties": { |
| 47 | + "privateEndpoint": { |
| 48 | + "$ref": "#/definitions/PrivateEndpointProperty", |
| 49 | + "description": "Private endpoint which the connection belongs to." |
| 50 | + }, |
| 51 | + "groupIds": { |
| 52 | + "$ref": "#/definitions/GroupIdsProperty", |
| 53 | + "description": "Gets the groupIds." |
| 54 | + }, |
| 55 | + "privateLinkServiceConnectionState": { |
| 56 | + "$ref": "#/definitions/PrivateLinkServiceConnectionStateProperty", |
| 57 | + "description": "Connection State of the Private Endpoint Connection." |
| 58 | + } |
| 59 | + } |
| 60 | + }, |
| 61 | + "PrivateEndpointProperty": { |
| 62 | + "type": "object", |
| 63 | + "description": "Private endpoint which the connection belongs to.", |
| 64 | + "properties": { |
| 65 | + "id": { |
| 66 | + "type": "string", |
| 67 | + "description": "Resource id of the private endpoint." |
| 68 | + } |
| 69 | + } |
| 70 | + }, |
| 71 | + "GroupIdsProperty": { |
| 72 | + "type": "array", |
| 73 | + "items": { |
| 74 | + "type": "string" |
| 75 | + }, |
| 76 | + "description": "Gets the groupIds." |
| 77 | + }, |
| 78 | + "PrivateLinkServiceConnectionStateProperty": { |
| 79 | + "type": "object", |
| 80 | + "description": "Connection State of the Private Endpoint Connection.", |
| 81 | + "properties": { |
| 82 | + "status": { |
| 83 | + "type": "string", |
| 84 | + "description": "The private link service connection status." |
| 85 | + }, |
| 86 | + "description": { |
| 87 | + "type": "string", |
| 88 | + "description": "The private link service connection description." |
| 89 | + }, |
| 90 | + "actionsRequired": { |
| 91 | + "type": "string", |
| 92 | + "description": "Any action that is required beyond basic workflow (approve/ reject/ disconnect)", |
| 93 | + "readOnly": true |
| 94 | + } |
| 95 | + } |
| 96 | + } |
| 97 | + }, |
| 98 | + "parameters": { |
| 99 | + "RuntimeEnvironmentNameParameter": { |
| 100 | + "name": "runtimeEnvironmentName", |
| 101 | + "description": "The name of the Runtime Environment.", |
| 102 | + "type": "string", |
| 103 | + "required": true, |
| 104 | + "in": "path", |
| 105 | + "x-ms-parameter-location": "method", |
| 106 | + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" |
| 107 | + }, |
| 108 | + "AutomationAccountNameParameter": { |
| 109 | + "name": "automationAccountName", |
| 110 | + "description": "The name of the automation account.", |
| 111 | + "type": "string", |
| 112 | + "required": true, |
| 113 | + "in": "path", |
| 114 | + "x-ms-parameter-location": "method", |
| 115 | + "pattern": "^[a-zA-Z][a-zA-Z-_0-9]*$" |
| 116 | + } |
| 117 | + } |
| 118 | +} |
0 commit comments