|
| 1 | +{ |
| 2 | + "swagger": "2.0", |
| 3 | + "info": { |
| 4 | + "version": "5.0", |
| 5 | + "title": "Common types" |
| 6 | + }, |
| 7 | + "paths": {}, |
| 8 | + "definitions": { |
| 9 | + "PrivateEndpoint": { |
| 10 | + "type": "object", |
| 11 | + "properties": { |
| 12 | + "id": { |
| 13 | + "readOnly": true, |
| 14 | + "type": "string", |
| 15 | + "description": "The ARM identifier for private endpoint." |
| 16 | + } |
| 17 | + }, |
| 18 | + "description": "The private endpoint resource." |
| 19 | + }, |
| 20 | + "PrivateEndpointConnection": { |
| 21 | + "type": "object", |
| 22 | + "properties": { |
| 23 | + "properties": { |
| 24 | + "$ref": "#/definitions/PrivateEndpointConnectionProperties", |
| 25 | + "x-ms-client-flatten": true, |
| 26 | + "description": "Resource properties." |
| 27 | + } |
| 28 | + }, |
| 29 | + "allOf": [ |
| 30 | + { |
| 31 | + "$ref": "../v5/types.json#/definitions/Resource" |
| 32 | + } |
| 33 | + ], |
| 34 | + "description": "The private endpoint connection resource." |
| 35 | + }, |
| 36 | + "PrivateEndpointConnectionProperties": { |
| 37 | + "type": "object", |
| 38 | + "properties": { |
| 39 | + "groupIds": { |
| 40 | + "description": "The group ids for the private endpoint resource.", |
| 41 | + "type": "array", |
| 42 | + "items": { |
| 43 | + "type": "string" |
| 44 | + }, |
| 45 | + "readOnly": true |
| 46 | + }, |
| 47 | + "privateEndpoint": { |
| 48 | + "$ref": "#/definitions/PrivateEndpoint", |
| 49 | + "description": "The private endpoint resource." |
| 50 | + }, |
| 51 | + "privateLinkServiceConnectionState": { |
| 52 | + "$ref": "#/definitions/PrivateLinkServiceConnectionState", |
| 53 | + "description": "A collection of information about the state of the connection between service consumer and provider." |
| 54 | + }, |
| 55 | + "provisioningState": { |
| 56 | + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", |
| 57 | + "description": "The provisioning state of the private endpoint connection resource." |
| 58 | + } |
| 59 | + }, |
| 60 | + "required": [ |
| 61 | + "privateLinkServiceConnectionState" |
| 62 | + ], |
| 63 | + "description": "Properties of the private endpoint connection." |
| 64 | + }, |
| 65 | + "PrivateLinkServiceConnectionState": { |
| 66 | + "type": "object", |
| 67 | + "properties": { |
| 68 | + "status": { |
| 69 | + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", |
| 70 | + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." |
| 71 | + }, |
| 72 | + "description": { |
| 73 | + "type": "string", |
| 74 | + "description": "The reason for approval/rejection of the connection." |
| 75 | + }, |
| 76 | + "actionsRequired": { |
| 77 | + "type": "string", |
| 78 | + "description": "A message indicating if changes on the service provider require any updates on the consumer." |
| 79 | + } |
| 80 | + }, |
| 81 | + "description": "A collection of information about the state of the connection between service consumer and provider." |
| 82 | + }, |
| 83 | + "PrivateEndpointServiceConnectionStatus": { |
| 84 | + "type": "string", |
| 85 | + "description": "The private endpoint connection status.", |
| 86 | + "enum": [ |
| 87 | + "Pending", |
| 88 | + "Approved", |
| 89 | + "Rejected" |
| 90 | + ], |
| 91 | + "x-ms-enum": { |
| 92 | + "name": "PrivateEndpointServiceConnectionStatus", |
| 93 | + "modelAsString": true |
| 94 | + } |
| 95 | + }, |
| 96 | + "PrivateEndpointConnectionProvisioningState": { |
| 97 | + "type": "string", |
| 98 | + "readOnly": true, |
| 99 | + "description": "The current provisioning state.", |
| 100 | + "enum": [ |
| 101 | + "Succeeded", |
| 102 | + "Creating", |
| 103 | + "Deleting", |
| 104 | + "Failed" |
| 105 | + ], |
| 106 | + "x-ms-enum": { |
| 107 | + "name": "PrivateEndpointConnectionProvisioningState", |
| 108 | + "modelAsString": true |
| 109 | + } |
| 110 | + }, |
| 111 | + "PrivateLinkResource": { |
| 112 | + "type": "object", |
| 113 | + "properties": { |
| 114 | + "properties": { |
| 115 | + "$ref": "#/definitions/PrivateLinkResourceProperties", |
| 116 | + "description": "Resource properties.", |
| 117 | + "x-ms-client-flatten": true |
| 118 | + } |
| 119 | + }, |
| 120 | + "allOf": [ |
| 121 | + { |
| 122 | + "$ref": "../v5/types.json#/definitions/Resource" |
| 123 | + } |
| 124 | + ], |
| 125 | + "description": "A private link resource." |
| 126 | + }, |
| 127 | + "PrivateLinkResourceProperties": { |
| 128 | + "type": "object", |
| 129 | + "properties": { |
| 130 | + "groupId": { |
| 131 | + "description": "The private link resource group id.", |
| 132 | + "type": "string", |
| 133 | + "readOnly": true |
| 134 | + }, |
| 135 | + "requiredMembers": { |
| 136 | + "description": "The private link resource required member names.", |
| 137 | + "type": "array", |
| 138 | + "items": { |
| 139 | + "type": "string" |
| 140 | + }, |
| 141 | + "readOnly": true |
| 142 | + }, |
| 143 | + "requiredZoneNames": { |
| 144 | + "type": "array", |
| 145 | + "items": { |
| 146 | + "type": "string" |
| 147 | + }, |
| 148 | + "description": "The private link resource private link DNS zone name." |
| 149 | + } |
| 150 | + }, |
| 151 | + "description": "Properties of a private link resource." |
| 152 | + }, |
| 153 | + "PrivateEndpointConnectionListResult": { |
| 154 | + "type": "object", |
| 155 | + "properties": { |
| 156 | + "value": { |
| 157 | + "type": "array", |
| 158 | + "description": "Array of private endpoint connections.", |
| 159 | + "items": { |
| 160 | + "$ref": "#/definitions/PrivateEndpointConnection" |
| 161 | + } |
| 162 | + } |
| 163 | + }, |
| 164 | + "description": "List of private endpoint connections associated with the specified resource." |
| 165 | + }, |
| 166 | + "PrivateLinkResourceListResult": { |
| 167 | + "type": "object", |
| 168 | + "properties": { |
| 169 | + "value": { |
| 170 | + "type": "array", |
| 171 | + "description": "Array of private link resources", |
| 172 | + "items": { |
| 173 | + "$ref": "#/definitions/PrivateLinkResource" |
| 174 | + } |
| 175 | + } |
| 176 | + }, |
| 177 | + "description": "A list of private link resources." |
| 178 | + } |
| 179 | + }, |
| 180 | + "parameters": { |
| 181 | + "PrivateEndpointConnectionName": { |
| 182 | + "name": "privateEndpointConnectionName", |
| 183 | + "in": "path", |
| 184 | + "required": true, |
| 185 | + "type": "string", |
| 186 | + "description": "The name of the private endpoint connection associated with the Azure resource.", |
| 187 | + "x-ms-parameter-location": "method" |
| 188 | + } |
| 189 | + } |
| 190 | +} |
0 commit comments