|
| 1 | +{ |
| 2 | + "swagger": "2.0", |
| 3 | + "info": { |
| 4 | + "title": "MobileNetworkManagementClient", |
| 5 | + "description": "The resources in this swagger specification will be used to manage the virtual network functions deployed using mobile network", |
| 6 | + "version": "2022-03-01-preview" |
| 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 | + "definitions": { |
| 38 | + "SubResource": { |
| 39 | + "type": "object", |
| 40 | + "properties": { |
| 41 | + "id": { |
| 42 | + "type": "string", |
| 43 | + "description": "Resource ID." |
| 44 | + } |
| 45 | + }, |
| 46 | + "required": [ |
| 47 | + "id" |
| 48 | + ], |
| 49 | + "description": "Reference to another sub resource.", |
| 50 | + "x-ms-azure-resource": true |
| 51 | + }, |
| 52 | + "DataNetworkResourceId": { |
| 53 | + "type": "object", |
| 54 | + "properties": { |
| 55 | + "id": { |
| 56 | + "type": "string", |
| 57 | + "pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK]/[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+/[dD][aA][tT][aA][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+$", |
| 58 | + "description": "Data Network resource ID." |
| 59 | + } |
| 60 | + }, |
| 61 | + "required": [ |
| 62 | + "id" |
| 63 | + ], |
| 64 | + "description": "Reference to a Data Network resource.", |
| 65 | + "x-ms-azure-resource": true |
| 66 | + }, |
| 67 | + "AttachedDataNetworkResourceId": { |
| 68 | + "type": "object", |
| 69 | + "properties": { |
| 70 | + "id": { |
| 71 | + "type": "string", |
| 72 | + "pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK]/[pP][aA][cC][kK][eE][tT][cC][oO][rR][eE][cC][oO][nN][tT][rR][oO][lL][pP][lL][aA][nN][eE][sS]/[^/?#]+/[pP][aA][cC][kK][eE][tT][cC][oO][rR][eE][dD][aA][tT][aA][pP][lL][aA][nN][eE][sS]/[^/?#]+/[aA][tT][tT][aA][cC][hH][eE][dD][dD][aA][tT][aA][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+$", |
| 73 | + "description": "Attached Data Network resource ID." |
| 74 | + } |
| 75 | + }, |
| 76 | + "required": [ |
| 77 | + "id" |
| 78 | + ], |
| 79 | + "description": "Reference to an Attached Data Network resource.", |
| 80 | + "x-ms-azure-resource": true |
| 81 | + }, |
| 82 | + "MobileNetworkResourceId": { |
| 83 | + "type": "object", |
| 84 | + "properties": { |
| 85 | + "id": { |
| 86 | + "type": "string", |
| 87 | + "pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK]/[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+$", |
| 88 | + "description": "Mobile Network resource ID." |
| 89 | + } |
| 90 | + }, |
| 91 | + "required": [ |
| 92 | + "id" |
| 93 | + ], |
| 94 | + "description": "Reference to a Mobile Network resource.", |
| 95 | + "x-ms-azure-resource": true |
| 96 | + }, |
| 97 | + "ServiceResourceId": { |
| 98 | + "type": "object", |
| 99 | + "properties": { |
| 100 | + "id": { |
| 101 | + "type": "string", |
| 102 | + "pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK]/[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+/[sS][eE][rR][vV][iI][cC][eE][sS]/[^/?#]+$", |
| 103 | + "description": "Service resource ID." |
| 104 | + } |
| 105 | + }, |
| 106 | + "required": [ |
| 107 | + "id" |
| 108 | + ], |
| 109 | + "description": "Reference to a Service resource.", |
| 110 | + "x-ms-azure-resource": true |
| 111 | + }, |
| 112 | + "SimPolicyResourceId": { |
| 113 | + "type": "object", |
| 114 | + "properties": { |
| 115 | + "id": { |
| 116 | + "type": "string", |
| 117 | + "pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK]/[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+/[sS][iI][mM][pP][oO][lL][iI][cC][iI][eE][sS]/[^/?#]+$", |
| 118 | + "description": "SIM Policy resource ID." |
| 119 | + } |
| 120 | + }, |
| 121 | + "required": [ |
| 122 | + "id" |
| 123 | + ], |
| 124 | + "description": "Reference to a SIM Policy resource.", |
| 125 | + "x-ms-azure-resource": true |
| 126 | + }, |
| 127 | + "SliceResourceId": { |
| 128 | + "type": "object", |
| 129 | + "properties": { |
| 130 | + "id": { |
| 131 | + "type": "string", |
| 132 | + "pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK]/[mM][oO][bB][iI][lL][eE][nN][eE][tT][wW][oO][rR][kK][sS]/[^/?#]+/[sS][lL][iI][cC][eE][sS]/[^/?#]+$", |
| 133 | + "description": "Slice resource ID." |
| 134 | + } |
| 135 | + }, |
| 136 | + "required": [ |
| 137 | + "id" |
| 138 | + ], |
| 139 | + "description": "Reference to a Slice resource.", |
| 140 | + "x-ms-azure-resource": true |
| 141 | + }, |
| 142 | + "CustomLocationResourceId": { |
| 143 | + "type": "object", |
| 144 | + "properties": { |
| 145 | + "id": { |
| 146 | + "type": "string", |
| 147 | + "pattern": "^/[sS][uU][bB][sS][cC][rR][iI][pP][tT][iI][oO][nN][sS]/[^/?#]+/[rR][eE][sS][oO][uU][rR][cC][eE][gG][rR][oO][uU][pP][sS]/[^/?#]+/[pP][rR][oO][vV][iI][dD][eE][rR][sS]/[mM][iI][cC][rR][oO][sS][oO][fF][tT]\\.[eE][xX][tT][eE][nN][dD][eE][dD][lL][oO][cC][aA][tT][iI][oO][nN]/[cC][uU][sS][tT][oO][mM][lL][oO][cC][aA][tT][iI][oO][nN][sS]/[^/?#]+$", |
| 148 | + "description": "Azure ARC custom location resource ID." |
| 149 | + } |
| 150 | + }, |
| 151 | + "required": [ |
| 152 | + "id" |
| 153 | + ], |
| 154 | + "description": "Reference to an Azure ARC custom location resource.", |
| 155 | + "x-ms-azure-resource": true |
| 156 | + }, |
| 157 | + "ProvisioningState": { |
| 158 | + "type": "string", |
| 159 | + "readOnly": true, |
| 160 | + "description": "The current provisioning state.", |
| 161 | + "enum": [ |
| 162 | + "Unknown", |
| 163 | + "Succeeded", |
| 164 | + "Accepted", |
| 165 | + "Deleting", |
| 166 | + "Failed", |
| 167 | + "Canceled", |
| 168 | + "Deleted" |
| 169 | + ], |
| 170 | + "x-ms-enum": { |
| 171 | + "name": "ProvisioningState", |
| 172 | + "modelAsString": true, |
| 173 | + "values": [ |
| 174 | + { |
| 175 | + "value": "Unknown" |
| 176 | + }, |
| 177 | + { |
| 178 | + "value": "Succeeded" |
| 179 | + }, |
| 180 | + { |
| 181 | + "value": "Accepted" |
| 182 | + }, |
| 183 | + { |
| 184 | + "value": "Deleting" |
| 185 | + }, |
| 186 | + { |
| 187 | + "value": "Failed" |
| 188 | + }, |
| 189 | + { |
| 190 | + "value": "Canceled" |
| 191 | + }, |
| 192 | + { |
| 193 | + "value": "Deleted" |
| 194 | + } |
| 195 | + ] |
| 196 | + } |
| 197 | + }, |
| 198 | + "TagsObject": { |
| 199 | + "type": "object", |
| 200 | + "properties": { |
| 201 | + "tags": { |
| 202 | + "type": "object", |
| 203 | + "additionalProperties": { |
| 204 | + "type": "string" |
| 205 | + }, |
| 206 | + "description": "Resource tags." |
| 207 | + } |
| 208 | + }, |
| 209 | + "description": "Tags object for patch operations." |
| 210 | + }, |
| 211 | + "SimState": { |
| 212 | + "type": "string", |
| 213 | + "readOnly": true, |
| 214 | + "description": "The state of the sim resource.", |
| 215 | + "enum": [ |
| 216 | + "Disabled", |
| 217 | + "Enabled", |
| 218 | + "Invalid" |
| 219 | + ], |
| 220 | + "x-ms-enum": { |
| 221 | + "name": "SimState", |
| 222 | + "modelAsString": true, |
| 223 | + "values": [ |
| 224 | + { |
| 225 | + "value": "Disabled", |
| 226 | + "description": "The sim is disabled because not all configuration required for enabling is present." |
| 227 | + }, |
| 228 | + { |
| 229 | + "value": "Enabled", |
| 230 | + "description": "The sim is enabled." |
| 231 | + }, |
| 232 | + { |
| 233 | + "value": "Invalid", |
| 234 | + "description": "The sim cannot be enabled because some of the associated configuration is invalid." |
| 235 | + } |
| 236 | + ] |
| 237 | + } |
| 238 | + }, |
| 239 | + "InterfaceProperties": { |
| 240 | + "type": "object", |
| 241 | + "properties": { |
| 242 | + "name": { |
| 243 | + "type": "string", |
| 244 | + "description": "The logical name for this interface. This should match one of the interfaces configured on your Azure Stack Edge machine." |
| 245 | + }, |
| 246 | + "ipv4Address": { |
| 247 | + "$ref": "./ts29571.json#/definitions/Ipv4Addr", |
| 248 | + "description": "The IPv4 address." |
| 249 | + }, |
| 250 | + "ipv4Subnet": { |
| 251 | + "$ref": "./ts29571.json#/definitions/Ipv4AddrMask", |
| 252 | + "description": "The IPv4 subnet." |
| 253 | + }, |
| 254 | + "ipv4Gateway": { |
| 255 | + "$ref": "./ts29571.json#/definitions/Ipv4Addr", |
| 256 | + "description": "The default IPv4 gateway (router)." |
| 257 | + } |
| 258 | + }, |
| 259 | + "required": [ |
| 260 | + "name" |
| 261 | + ], |
| 262 | + "description": "Interface properties" |
| 263 | + } |
| 264 | + }, |
| 265 | + "parameters": { |
| 266 | + "AttachedDataNetworkNameParameter": { |
| 267 | + "name": "attachedDataNetworkName", |
| 268 | + "in": "path", |
| 269 | + "required": true, |
| 270 | + "type": "string", |
| 271 | + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])*(\\.[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])*)*$", |
| 272 | + "maxLength": 64, |
| 273 | + "description": "The name of the attached data network.", |
| 274 | + "x-ms-parameter-location": "method" |
| 275 | + }, |
| 276 | + "DataNetworkNameParameter": { |
| 277 | + "name": "dataNetworkName", |
| 278 | + "in": "path", |
| 279 | + "required": true, |
| 280 | + "type": "string", |
| 281 | + "pattern": "^[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])*(\\.[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])*)*$", |
| 282 | + "maxLength": 64, |
| 283 | + "description": "The name of the mobile network dataNetwork.", |
| 284 | + "x-ms-parameter-location": "method" |
| 285 | + }, |
| 286 | + "MobileNetworkNameParameter": { |
| 287 | + "name": "mobileNetworkName", |
| 288 | + "in": "path", |
| 289 | + "required": true, |
| 290 | + "type": "string", |
| 291 | + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", |
| 292 | + "maxLength": 64, |
| 293 | + "description": "The name of the mobile network.", |
| 294 | + "x-ms-parameter-location": "method" |
| 295 | + }, |
| 296 | + "PacketCoreControlPlaneNameParameter": { |
| 297 | + "name": "packetCoreControlPlaneName", |
| 298 | + "in": "path", |
| 299 | + "required": true, |
| 300 | + "type": "string", |
| 301 | + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", |
| 302 | + "maxLength": 64, |
| 303 | + "description": "The name of the packet core control plane.", |
| 304 | + "x-ms-parameter-location": "method" |
| 305 | + }, |
| 306 | + "PacketCoreDataPlaneNameParameter": { |
| 307 | + "name": "packetCoreDataPlaneName", |
| 308 | + "in": "path", |
| 309 | + "required": true, |
| 310 | + "type": "string", |
| 311 | + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", |
| 312 | + "maxLength": 64, |
| 313 | + "description": "The name of the packet core data plane.", |
| 314 | + "x-ms-parameter-location": "method" |
| 315 | + }, |
| 316 | + "ServiceNameParameter": { |
| 317 | + "name": "serviceName", |
| 318 | + "in": "path", |
| 319 | + "required": true, |
| 320 | + "type": "string", |
| 321 | + "pattern": "^(?!(default|requested|service)$)[a-zA-Z0-9][a-zA-Z0-9_-]*$", |
| 322 | + "maxLength": 64, |
| 323 | + "description": "The name of the service. You must not use any of the following reserved strings - `default`, `requested` or `service`", |
| 324 | + "x-ms-parameter-location": "method" |
| 325 | + }, |
| 326 | + "SimNameParameter": { |
| 327 | + "name": "simName", |
| 328 | + "in": "path", |
| 329 | + "required": true, |
| 330 | + "type": "string", |
| 331 | + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", |
| 332 | + "maxLength": 64, |
| 333 | + "description": "The name of the SIM.", |
| 334 | + "x-ms-parameter-location": "method" |
| 335 | + }, |
| 336 | + "SimPolicyNameParameter": { |
| 337 | + "name": "simPolicyName", |
| 338 | + "in": "path", |
| 339 | + "required": true, |
| 340 | + "type": "string", |
| 341 | + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", |
| 342 | + "maxLength": 64, |
| 343 | + "description": "The name of the SIM policy.", |
| 344 | + "x-ms-parameter-location": "method" |
| 345 | + }, |
| 346 | + "SiteNameParameter": { |
| 347 | + "name": "siteName", |
| 348 | + "in": "path", |
| 349 | + "required": true, |
| 350 | + "type": "string", |
| 351 | + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", |
| 352 | + "maxLength": 64, |
| 353 | + "description": "The name of the mobile network site.", |
| 354 | + "x-ms-parameter-location": "method" |
| 355 | + }, |
| 356 | + "SliceNameParameter": { |
| 357 | + "name": "sliceName", |
| 358 | + "in": "path", |
| 359 | + "required": true, |
| 360 | + "type": "string", |
| 361 | + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", |
| 362 | + "maxLength": 64, |
| 363 | + "description": "The name of the mobile network slice.", |
| 364 | + "x-ms-parameter-location": "method" |
| 365 | + } |
| 366 | + } |
| 367 | +} |
0 commit comments