|
| 1 | +{ |
| 2 | + "swagger": "2.0", |
| 3 | + "info": { |
| 4 | + "title": "MobileNetworkManagementClient", |
| 5 | + "description": "The resources in this API specification will be used to manage data network resources in mobile network to a particular packet core instance", |
| 6 | + "version": "2022-11-01" |
| 7 | + }, |
| 8 | + "host": "management.azure.com", |
| 9 | + "schemes": [ |
| 10 | + "https" |
| 11 | + ], |
| 12 | + "consumes": [ |
| 13 | + "application/json" |
| 14 | + ], |
| 15 | + "produces": [ |
| 16 | + "application/json" |
| 17 | + ], |
| 18 | + "security": [ |
| 19 | + { |
| 20 | + "azure_auth": [ |
| 21 | + "user_impersonation" |
| 22 | + ] |
| 23 | + } |
| 24 | + ], |
| 25 | + "securityDefinitions": { |
| 26 | + "azure_auth": { |
| 27 | + "type": "oauth2", |
| 28 | + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", |
| 29 | + "flow": "implicit", |
| 30 | + "description": "Azure Active Directory OAuth2 Flow.", |
| 31 | + "scopes": { |
| 32 | + "user_impersonation": "impersonate your user account" |
| 33 | + } |
| 34 | + } |
| 35 | + }, |
| 36 | + "paths": { |
| 37 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}": { |
| 38 | + "delete": { |
| 39 | + "tags": [ |
| 40 | + "DataNetwork" |
| 41 | + ], |
| 42 | + "operationId": "DataNetworks_Delete", |
| 43 | + "description": "Deletes the specified data network.", |
| 44 | + "parameters": [ |
| 45 | + { |
| 46 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" |
| 47 | + }, |
| 48 | + { |
| 49 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" |
| 50 | + }, |
| 51 | + { |
| 52 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" |
| 53 | + }, |
| 54 | + { |
| 55 | + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" |
| 56 | + }, |
| 57 | + { |
| 58 | + "$ref": "./common.json#/parameters/DataNetworkNameParameter" |
| 59 | + } |
| 60 | + ], |
| 61 | + "responses": { |
| 62 | + "200": { |
| 63 | + "description": "Delete successful." |
| 64 | + }, |
| 65 | + "202": { |
| 66 | + "description": "Accepted. Sets 'Deleting' provisioningState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation." |
| 67 | + }, |
| 68 | + "204": { |
| 69 | + "description": "Request successful. Resource does not exist." |
| 70 | + }, |
| 71 | + "default": { |
| 72 | + "description": "Error response describing why the operation failed.", |
| 73 | + "schema": { |
| 74 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" |
| 75 | + } |
| 76 | + } |
| 77 | + }, |
| 78 | + "x-ms-examples": { |
| 79 | + "Delete data network": { |
| 80 | + "$ref": "./examples/DataNetworkDelete.json" |
| 81 | + } |
| 82 | + }, |
| 83 | + "x-ms-long-running-operation": true, |
| 84 | + "x-ms-long-running-operation-options": { |
| 85 | + "final-state-via": "location" |
| 86 | + } |
| 87 | + }, |
| 88 | + "get": { |
| 89 | + "tags": [ |
| 90 | + "DataNetwork" |
| 91 | + ], |
| 92 | + "operationId": "DataNetworks_Get", |
| 93 | + "description": "Gets information about the specified data network.", |
| 94 | + "parameters": [ |
| 95 | + { |
| 96 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" |
| 97 | + }, |
| 98 | + { |
| 99 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" |
| 100 | + }, |
| 101 | + { |
| 102 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" |
| 103 | + }, |
| 104 | + { |
| 105 | + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" |
| 106 | + }, |
| 107 | + { |
| 108 | + "$ref": "./common.json#/parameters/DataNetworkNameParameter" |
| 109 | + } |
| 110 | + ], |
| 111 | + "responses": { |
| 112 | + "200": { |
| 113 | + "description": "Request successful. The operation returns the resulting data network resource.", |
| 114 | + "schema": { |
| 115 | + "$ref": "#/definitions/DataNetwork" |
| 116 | + } |
| 117 | + }, |
| 118 | + "default": { |
| 119 | + "description": "Error response describing why the operation failed.", |
| 120 | + "schema": { |
| 121 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" |
| 122 | + } |
| 123 | + } |
| 124 | + }, |
| 125 | + "x-ms-examples": { |
| 126 | + "Get data network": { |
| 127 | + "$ref": "./examples/DataNetworkGet.json" |
| 128 | + } |
| 129 | + } |
| 130 | + }, |
| 131 | + "put": { |
| 132 | + "tags": [ |
| 133 | + "DataNetwork" |
| 134 | + ], |
| 135 | + "operationId": "DataNetworks_CreateOrUpdate", |
| 136 | + "description": "Creates or updates a data network. Must be created in the same location as its parent mobile network.", |
| 137 | + "parameters": [ |
| 138 | + { |
| 139 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" |
| 140 | + }, |
| 141 | + { |
| 142 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" |
| 143 | + }, |
| 144 | + { |
| 145 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" |
| 146 | + }, |
| 147 | + { |
| 148 | + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" |
| 149 | + }, |
| 150 | + { |
| 151 | + "$ref": "./common.json#/parameters/DataNetworkNameParameter" |
| 152 | + }, |
| 153 | + { |
| 154 | + "name": "parameters", |
| 155 | + "in": "body", |
| 156 | + "required": true, |
| 157 | + "schema": { |
| 158 | + "$ref": "#/definitions/DataNetwork" |
| 159 | + }, |
| 160 | + "description": "Parameters supplied to the create or update data network operation." |
| 161 | + } |
| 162 | + ], |
| 163 | + "responses": { |
| 164 | + "200": { |
| 165 | + "description": "Update successful. The operation returns the resulting data network resource.", |
| 166 | + "schema": { |
| 167 | + "$ref": "#/definitions/DataNetwork" |
| 168 | + } |
| 169 | + }, |
| 170 | + "201": { |
| 171 | + "description": "Create successful. The operation returns the resulting data network resource.", |
| 172 | + "schema": { |
| 173 | + "$ref": "#/definitions/DataNetwork" |
| 174 | + } |
| 175 | + }, |
| 176 | + "default": { |
| 177 | + "description": "Error response describing why the operation failed.", |
| 178 | + "schema": { |
| 179 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" |
| 180 | + } |
| 181 | + } |
| 182 | + }, |
| 183 | + "x-ms-examples": { |
| 184 | + "Create data network": { |
| 185 | + "$ref": "./examples/DataNetworkCreate.json" |
| 186 | + } |
| 187 | + }, |
| 188 | + "x-ms-long-running-operation": true, |
| 189 | + "x-ms-long-running-operation-options": { |
| 190 | + "final-state-via": "azure-async-operation" |
| 191 | + } |
| 192 | + }, |
| 193 | + "patch": { |
| 194 | + "tags": [ |
| 195 | + "DataNetwork" |
| 196 | + ], |
| 197 | + "operationId": "DataNetworks_UpdateTags", |
| 198 | + "description": "Updates data network tags.", |
| 199 | + "parameters": [ |
| 200 | + { |
| 201 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" |
| 202 | + }, |
| 203 | + { |
| 204 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" |
| 205 | + }, |
| 206 | + { |
| 207 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" |
| 208 | + }, |
| 209 | + { |
| 210 | + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" |
| 211 | + }, |
| 212 | + { |
| 213 | + "$ref": "./common.json#/parameters/DataNetworkNameParameter" |
| 214 | + }, |
| 215 | + { |
| 216 | + "name": "parameters", |
| 217 | + "in": "body", |
| 218 | + "required": true, |
| 219 | + "schema": { |
| 220 | + "$ref": "./common.json#/definitions/TagsObject" |
| 221 | + }, |
| 222 | + "description": "Parameters supplied to update data network tags." |
| 223 | + } |
| 224 | + ], |
| 225 | + "responses": { |
| 226 | + "200": { |
| 227 | + "description": "Update successful. The operation returns the resulting data network resource.", |
| 228 | + "schema": { |
| 229 | + "$ref": "#/definitions/DataNetwork" |
| 230 | + } |
| 231 | + }, |
| 232 | + "default": { |
| 233 | + "description": "Error response describing why the operation failed.", |
| 234 | + "schema": { |
| 235 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" |
| 236 | + } |
| 237 | + } |
| 238 | + }, |
| 239 | + "x-ms-examples": { |
| 240 | + "Update data network tags": { |
| 241 | + "$ref": "./examples/DataNetworkUpdateTags.json" |
| 242 | + } |
| 243 | + } |
| 244 | + } |
| 245 | + }, |
| 246 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks": { |
| 247 | + "get": { |
| 248 | + "tags": [ |
| 249 | + "DataNetworks" |
| 250 | + ], |
| 251 | + "operationId": "DataNetworks_ListByMobileNetwork", |
| 252 | + "description": "Lists all data networks in the mobile network.", |
| 253 | + "parameters": [ |
| 254 | + { |
| 255 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" |
| 256 | + }, |
| 257 | + { |
| 258 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" |
| 259 | + }, |
| 260 | + { |
| 261 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" |
| 262 | + }, |
| 263 | + { |
| 264 | + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" |
| 265 | + } |
| 266 | + ], |
| 267 | + "responses": { |
| 268 | + "200": { |
| 269 | + "description": "Request successful. The operation returns a list of data network resources.", |
| 270 | + "schema": { |
| 271 | + "$ref": "#/definitions/DataNetworkListResult" |
| 272 | + } |
| 273 | + }, |
| 274 | + "default": { |
| 275 | + "description": "Error response describing why the operation failed.", |
| 276 | + "schema": { |
| 277 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" |
| 278 | + } |
| 279 | + } |
| 280 | + }, |
| 281 | + "x-ms-examples": { |
| 282 | + "List data networks in a mobile network": { |
| 283 | + "$ref": "./examples/DataNetworkListByMobileNetwork.json" |
| 284 | + } |
| 285 | + }, |
| 286 | + "x-ms-pageable": { |
| 287 | + "nextLinkName": "nextLink" |
| 288 | + } |
| 289 | + } |
| 290 | + } |
| 291 | + }, |
| 292 | + "definitions": { |
| 293 | + "DataNetwork": { |
| 294 | + "type": "object", |
| 295 | + "properties": { |
| 296 | + "properties": { |
| 297 | + "x-ms-client-flatten": true, |
| 298 | + "$ref": "#/definitions/DataNetworkPropertiesFormat", |
| 299 | + "description": "Data network properties." |
| 300 | + } |
| 301 | + }, |
| 302 | + "allOf": [ |
| 303 | + { |
| 304 | + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" |
| 305 | + } |
| 306 | + ], |
| 307 | + "description": "Data network resource. Must be created in the same location as its parent mobile network." |
| 308 | + }, |
| 309 | + "DataNetworkPropertiesFormat": { |
| 310 | + "description": "Data network properties.", |
| 311 | + "type": "object", |
| 312 | + "properties": { |
| 313 | + "provisioningState": { |
| 314 | + "readOnly": true, |
| 315 | + "$ref": "./common.json#/definitions/ProvisioningState", |
| 316 | + "description": "The provisioning state of the data network resource." |
| 317 | + }, |
| 318 | + "description": { |
| 319 | + "type": "string", |
| 320 | + "description": "An optional description for this data network." |
| 321 | + } |
| 322 | + } |
| 323 | + }, |
| 324 | + "DataNetworkListResult": { |
| 325 | + "type": "object", |
| 326 | + "properties": { |
| 327 | + "value": { |
| 328 | + "type": "array", |
| 329 | + "items": { |
| 330 | + "$ref": "#/definitions/DataNetwork" |
| 331 | + }, |
| 332 | + "description": "A list of data networks." |
| 333 | + }, |
| 334 | + "nextLink": { |
| 335 | + "type": "string", |
| 336 | + "readOnly": true, |
| 337 | + "description": "The URL to get the next set of results." |
| 338 | + } |
| 339 | + }, |
| 340 | + "description": "Response for data network API service call." |
| 341 | + } |
| 342 | + } |
| 343 | +} |
0 commit comments