From 7f17f653643e0fc40f93da37314fcf458385a4bc Mon Sep 17 00:00:00 2001 From: rainbowFi Date: Fri, 11 Mar 2022 10:12:16 +0000 Subject: [PATCH] Fmc/new pmn api master (#6496) * Copy 2022-01-01-preview API to new version folder * Update API version number * Remove deprecated TacList field * Rename interfaces to be 4G/5G agnostic * Remove SIM activation/deactivation API paths as this action is no longer supported * Update configurationState field to be more generic and useful * Fix linting errors * Fix up interface documentation strings * Commit changes from prettier * Replace ConfigurationState with SimState in 2021-04-01-preview API * Fix up accidental change * Markups from ARM review Co-authored-by: Fiona Corden --- .../preview/2021-04-01-preview/common.json | 11 +- .../examples/SimCreate.json | 4 +- .../2021-04-01-preview/examples/SimGet.json | 2 +- .../examples/SimListByResourceGroup.json | 2 +- .../examples/SimListBySubscription.json | 2 +- .../examples/SimUpdateTags.json | 2 +- .../2021-04-01-preview/mobileNetwork.json | 6 +- .../attachedDataNetwork.json | 514 +++++++ .../preview/2022-03-01-preview/common.json | 410 ++++++ .../2022-03-01-preview/dataNetwork.json | 349 +++++ .../examples/AttachedDataNetworkCreate.json | 133 ++ .../examples/AttachedDataNetworkDelete.json | 15 + .../examples/AttachedDataNetworkGet.json | 58 + ...dDataNetworkListByPacketCoreDataPlane.json | 61 + .../AttachedDataNetworkUpdateTags.json | 67 + .../examples/DataNetworkCreate.json | 59 + .../examples/DataNetworkDelete.json | 14 + .../examples/DataNetworkGet.json | 32 + .../DataNetworkListByMobileNetwork.json | 35 + .../examples/DataNetworkUpdateTags.json | 41 + .../examples/MobileNetworkCreate.json | 67 + .../examples/MobileNetworkDelete.json | 13 + .../examples/MobileNetworkGet.json | 34 + .../MobileNetworkListByResourceGroup.json | 37 + .../MobileNetworkListBySubscription.json | 36 + .../examples/MobileNetworkUpdateTags.json | 43 + .../examples/OperationList.json | 25 + .../PacketCoreControlPlaneCreate.json | 88 ++ .../PacketCoreControlPlaneDelete.json | 13 + .../examples/PacketCoreControlPlaneGet.json | 41 + ...etCoreControlPlaneListByResourceGroup.json | 45 + ...ketCoreControlPlaneListBySubscription.json | 44 + .../PacketCoreControlPlaneUpdateTags.json | 50 + .../examples/PacketCoreDataPlaneCreate.json | 65 + .../examples/PacketCoreDataPlaneDelete.json | 14 + .../examples/PacketCoreDataPlaneGet.json | 34 + ...DataPlaneListByPacketCoreControlPlane.json | 38 + .../PacketCoreDataPlaneUpdateTags.json | 43 + .../examples/ServiceCreate.json | 179 +++ .../examples/ServiceDelete.json | 14 + .../examples/ServiceGet.json | 72 + .../examples/ServiceListByMobileNetwork.json | 75 ++ .../examples/ServiceUpdateTags.json | 81 ++ .../examples/SimCreate.json | 123 ++ .../examples/SimDelete.json | 13 + .../2022-03-01-preview/examples/SimGet.json | 52 + .../examples/SimIdListByMobileNetwork.json | 33 + .../examples/SimListByResourceGroup.json | 55 + .../examples/SimListBySubscription.json | 54 + .../examples/SimPolicyCreate.json | 176 +++ .../examples/SimPolicyDelete.json | 14 + .../examples/SimPolicyGet.json | 71 + .../SimPolicyListByMobileNetwork.json | 74 + .../examples/SimPolicyUpdateTags.json | 80 ++ .../examples/SimUpdateTags.json | 62 + .../examples/SiteCreate.json | 69 + .../examples/SiteDelete.json | 14 + .../2022-03-01-preview/examples/SiteGet.json | 35 + .../examples/SiteListByMobileNetwork.json | 38 + .../examples/SiteUpdateTags.json | 45 + .../examples/SliceCreate.json | 71 + .../examples/SliceDelete.json | 14 + .../2022-03-01-preview/examples/SliceGet.json | 36 + .../examples/SliceListByMobileNetwork.json | 39 + .../examples/SliceUpdateTags.json | 45 + .../2022-03-01-preview/mobileNetwork.json | 1194 +++++++++++++++++ .../preview/2022-03-01-preview/operation.json | 136 ++ .../packetCoreControlPlane.json | 396 ++++++ .../packetCoreDataPlane.json | 355 +++++ .../preview/2022-03-01-preview/service.json | 569 ++++++++ .../preview/2022-03-01-preview/simPolicy.json | 475 +++++++ .../preview/2022-03-01-preview/slice.json | 359 +++++ .../preview/2022-03-01-preview/ts29571.json | 335 +++++ .../resource-manager/readme.go.md | 11 + .../mobilenetwork/resource-manager/readme.md | 21 +- 75 files changed, 8017 insertions(+), 15 deletions(-) create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/attachedDataNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/common.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/dataNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/OperationList.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimIdListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/mobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/operation.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/packetCoreControlPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/packetCoreDataPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/service.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/simPolicy.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/slice.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/ts29571.json diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/common.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/common.json index 3b053746b936..46ce9307f9c2 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/common.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/common.json @@ -170,16 +170,17 @@ }, "description": "Tags object for patch operations." }, - "ConfigurationState": { + "SimState": { "type": "string", "readOnly": true, - "description": "The state of the configuration for this resource - complete or incomplete.", + "description": "The state of the sim resource.", "enum": [ - "Incomplete", - "Complete" + "Disabled", + "Enabled", + "Invalid" ], "x-ms-enum": { - "name": "ConfigurationState", + "name": "SimState", "modelAsString": true } }, diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimCreate.json index a080b8c1f9ff..6853198c6dd7 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimCreate.json @@ -38,7 +38,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "configurationState": "Complete", + "simState": "Enabled", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { @@ -67,7 +67,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "configurationState": "Complete", + "simState": "Enabled", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimGet.json index 2345671c89ac..54518ee14735 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimGet.json @@ -22,7 +22,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "configurationState": "Complete", + "simState": "Enabled", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListByResourceGroup.json index d4a5c6a5ce02..204d5c0091cc 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListByResourceGroup.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListByResourceGroup.json @@ -23,7 +23,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "configurationState": "Complete", + "simState": "Enabled", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListBySubscription.json index 0d448adb8965..fe446cf91ddf 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListBySubscription.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListBySubscription.json @@ -22,7 +22,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "configurationState": "Complete", + "simState": "Enabled", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimUpdateTags.json index cac40477a47d..8bc3610cb4db 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimUpdateTags.json @@ -32,7 +32,7 @@ }, "properties": { "provisioningState": "Succeeded", - "configurationState": "Complete", + "simState": "Enabled", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/mobileNetwork.json index 8464d09726e4..1350bdc99e77 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/mobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/mobileNetwork.json @@ -1102,10 +1102,10 @@ "$ref": "./common.json#/definitions/ProvisioningState", "description": "The provisioning state of the sim resource." }, - "configurationState": { + "simState": { "readOnly": true, - "$ref": "./common.json#/definitions/ConfigurationState", - "description": "The configuration state of the sim resource - complete or incomplete." + "$ref": "./common.json#/definitions/SimState", + "description": "The state of the sim resource." }, "activationState": { "readOnly": true, diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/attachedDataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/attachedDataNetwork.json new file mode 100644 index 000000000000..a703742ec780 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/attachedDataNetwork.json @@ -0,0 +1,514 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage attached data network resources in mobile network attached to a particular packet core instance", + "version": "2022-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCoreDataPlanes/{packetCoreDataPlaneName}/attachedDataNetworks/{attachedDataNetworkName}": { + "delete": { + "tags": [ + "AttachedDataNetwork" + ], + "operationId": "AttachedDataNetworks_Delete", + "description": "Deletes the specified attached data network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "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." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete attached data network resource": { + "$ref": "./examples/AttachedDataNetworkDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "AttachedDataNetwork" + ], + "operationId": "AttachedDataNetworks_Get", + "description": "Gets information about the specified attached data network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting attached data network resource.", + "schema": { + "$ref": "#/definitions/AttachedDataNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get attached data network": { + "$ref": "./examples/AttachedDataNetworkGet.json" + } + } + }, + "put": { + "tags": [ + "AttachedDataNetwork" + ], + "operationId": "AttachedDataNetworks_CreateOrUpdate", + "description": "Creates or updates an attached data network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AttachedDataNetwork" + }, + "description": "Parameters supplied to the create or update attached data network operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting attached data network resource.", + "schema": { + "$ref": "#/definitions/AttachedDataNetwork" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting attached data network resource.", + "schema": { + "$ref": "#/definitions/AttachedDataNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create attached data network": { + "$ref": "./examples/AttachedDataNetworkCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "AttachedDataNetwork" + ], + "operationId": "AttachedDataNetworks_UpdateTags", + "description": "Updates an attached data network update tags.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update attached data network tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting attached data network resource.", + "schema": { + "$ref": "#/definitions/AttachedDataNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update attached data network tags": { + "$ref": "./examples/AttachedDataNetworkUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCoreDataPlanes/{packetCoreDataPlaneName}/attachedDataNetworks": { + "get": { + "tags": [ + "AttachedDataNetwork" + ], + "operationId": "AttachedDataNetworks_ListByPacketCoreDataPlane", + "description": "Gets all the data networks associated with a packet core data plane.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of attached data network resources.", + "schema": { + "$ref": "#/definitions/AttachedDataNetworkListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List attached data networks in a data plane": { + "$ref": "./examples/AttachedDataNetworkListByPacketCoreDataPlane.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AttachedDataNetwork": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/AttachedDataNetworkPropertiesFormat", + "description": "Data network properties." + }, + "systemData": { + "x-ms-client-flatten": true, + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "description": "Attached data network resource." + }, + "AttachedDataNetworkPropertiesFormat": { + "description": "Data network properties.", + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the attached data network resource." + }, + "userPlaneDataInterface": { + "$ref": "./common.json#/definitions/InterfaceProperties", + "description": "The user plane interface on the data network. In 5G networks this is called as N6 interface whereas in 4G networks this is called as SGi interface." + }, + "naptConfiguration": { + "$ref": "#/definitions/NaptConfiguration", + "description": "The Network Address and Port Translation configuration.\nIf not specified the attached data network uses a default NAPT configuration with NAPT enabled." + }, + "userEquipmentAddressPoolPrefix": { + "type": "array", + "items": { + "$ref": "./ts29571.json#/definitions/Ipv4AddrMask" + }, + "minItems": 1, + "uniqueItems": true, + "description": "The user equipment address pool prefixes for the attached data network that are dynamically assigned by the core to UEs when they set up a PDU session.\nAt least one of userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined then they must be the same size." + }, + "userEquipmentStaticAddressPoolPrefix": { + "type": "array", + "items": { + "$ref": "./ts29571.json#/definitions/Ipv4AddrMask" + }, + "minItems": 1, + "uniqueItems": true, + "description": "The user equipment address pool prefixes for the attached data network that are statically assigned by the core to UEs when they set up a PDU session.\nThe mapping of static IP to sim is configured in staticIpConfiguration on the sim resource.\nAt least one of userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined then they must be the same size." + } + }, + "required": [ + "userPlaneDataInterface" + ] + }, + "AttachedDataNetworkListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AttachedDataNetwork" + }, + "description": "A list of data networks in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for attached data network API service call." + }, + "NaptConfiguration": { + "description": "The Network Address and Port Translation settings to use for the attached data network.", + "type": "object", + "properties": { + "enabled": { + "description": "Whether NAPT is enabled for connections to this attachedDataNetwork.", + "$ref": "#/definitions/NaptEnabled" + }, + "portRange": { + "description": "Range of port numbers to use as translated ports on each translated address.\nIf not specified and NAPT is enabled, this range defaults to 1,024 - 65,535. (Ports under 1,024 should not be used because these are special purpose ports reserved by IANA.)", + "$ref": "#/definitions/PortRange" + }, + "portReuseHoldTime": { + "description": "The minimum time (in seconds) that will pass before a port that was used by a closed pinhole can be recycled for use by another pinhole. All hold times must be minimum 1 second.", + "$ref": "#/definitions/PortReuseHoldTimes" + }, + "pinholeLimits": { + "description": "Maximum number of UDP and TCP pinholes that can be open simultaneously on the core interface.", + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 65536, + "default": 65536 + }, + "pinholeTimeouts": { + "description": "Expiry times of inactive NAPT pinholes, in seconds. All timers must be at least 1 second.", + "$ref": "#/definitions/PinholeTimeouts" + } + } + }, + "NaptEnabled": { + "description": "Whether Network Address and Port Translation is enabled.", + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "NaptEnabled", + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "NAPT is enabled" + }, + { + "value": "Disabled", + "description": "NAPT is disabled" + } + ] + }, + "default": "Enabled" + }, + "PortRange": { + "description": "Range of port numbers to use as translated ports on each translated address.\nIf not specified and NAPT is enabled, this range defaults to 1,024 - 65,535. (Ports under 1,024 should not be used because these are special purpose ports reserved by IANA.)", + "type": "object", + "properties": { + "minPort": { + "description": "The minimum port number", + "type": "integer", + "format": "int32", + "minimum": 1024, + "maximum": 65535, + "default": 1024 + }, + "maxPort": { + "description": "The maximum port number", + "type": "integer", + "format": "int32", + "minimum": 1024, + "maximum": 65535, + "default": 65535 + } + } + }, + "PortReuseHoldTimes": { + "description": "The minimum time (in seconds) that will pass before a port that was used by a closed pinhole can be recycled for use by another pinhole. All hold times must be minimum 1 second.", + "type": "object", + "properties": { + "tcp": { + "description": "Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused. Default for TCP is 2 minutes.", + "type": "integer", + "format": "int32", + "minimum": 1, + "default": 120 + }, + "udp": { + "description": "Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused. Default for UDP is 1 minute.", + "type": "integer", + "format": "int32", + "minimum": 1, + "default": 60 + } + } + }, + "PinholeTimeouts": { + "description": "Expiry times of inactive NAPT pinholes, in seconds. All timers must be at least 1 second.", + "type": "object", + "properties": { + "tcp": { + "description": "Pinhole timeout for TCP pinholes in seconds. Default for TCP is 2 hours 4 minutes per RFC 5382 section 5.", + "type": "integer", + "format": "int32", + "minimum": 1, + "default": 7440 + }, + "udp": { + "description": "Pinhole timeout for UDP pinholes in seconds. Default for UDP is 5 minutes per RFC 4787 section 4.3.", + "type": "integer", + "format": "int32", + "minimum": 1, + "default": 300 + }, + "icmp": { + "description": "Pinhole timeout for ICMP pinholes in seconds. Default for ICMP Echo is 60 seconds per RFC 5508 section 3.2.", + "type": "integer", + "format": "int32", + "minimum": 1, + "default": 60 + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/common.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/common.json new file mode 100644 index 000000000000..ce0b3734e15f --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/common.json @@ -0,0 +1,410 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage the virtual network functions deployed using mobile network", + "version": "2022-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": {}, + "definitions": { + "SubResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + }, + "required": [ + "id" + ], + "description": "Reference to another sub resource.", + "x-ms-azure-resource": true + }, + "DataNetworkResourceId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "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]/[^/?#]+$", + "description": "Data Network resource ID." + } + }, + "required": [ + "id" + ], + "description": "Reference to a Data Network resource.", + "x-ms-azure-resource": true + }, + "AttachedDataNetworkResourceId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "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]/[^/?#]+$", + "description": "Attached Data Network resource ID." + } + }, + "required": [ + "id" + ], + "description": "Reference to an Attached Data Network resource.", + "x-ms-azure-resource": true + }, + "MobileNetworkResourceId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "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]/[^/?#]+$", + "description": "Mobile Network resource ID." + } + }, + "required": [ + "id" + ], + "description": "Reference to a Mobile Network resource.", + "x-ms-azure-resource": true + }, + "ServiceResourceId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "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]/[^/?#]+$", + "description": "Service resource ID." + } + }, + "required": [ + "id" + ], + "description": "Reference to a Service resource.", + "x-ms-azure-resource": true + }, + "SimPolicyResourceId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "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]/[^/?#]+$", + "description": "SIM Policy resource ID." + } + }, + "required": [ + "id" + ], + "description": "Reference to a SIM Policy resource.", + "x-ms-azure-resource": true + }, + "SliceResourceId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "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]/[^/?#]+$", + "description": "Slice resource ID." + } + }, + "required": [ + "id" + ], + "description": "Reference to a Slice resource.", + "x-ms-azure-resource": true + }, + "CustomLocationResourceId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "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]/[^/?#]+$", + "description": "Azure ARC custom location resource ID." + } + }, + "required": [ + "id" + ], + "description": "Reference to an Azure ARC custom location resource.", + "x-ms-azure-resource": true + }, + "ProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Unknown", + "Succeeded", + "Accepted", + "Deleting", + "Failed", + "Canceled", + "Deleted" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "value": "Unknown" + }, + { + "value": "Succeeded" + }, + { + "value": "Accepted" + }, + { + "value": "Deleting" + }, + { + "value": "Failed" + }, + { + "value": "Canceled" + }, + { + "value": "Deleted" + } + ] + } + }, + "TagsObject": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Tags object for patch operations." + }, + "SimState": { + "type": "string", + "readOnly": true, + "description": "The state of the sim resource.", + "enum": [ + "Disabled", + "Enabled", + "Invalid" + ], + "x-ms-enum": { + "name": "SimState", + "modelAsString": true, + "values": [ + { + "value": "Disabled", + "description": "The sim is disabled because not all configuration required for enabling is present." + }, + { + "value": "Enabled", + "description": "The sim is enabled." + }, + { + "value": "Invalid", + "description": "The sim cannot be enabled because some of the associated configuration is invalid." + } + ] + } + }, + "ActivationState": { + "type": "string", + "readOnly": true, + "description": "The current activation state of the Sim on the network.", + "enum": [ + "NotActivated", + "Activated", + "Activating", + "Deactivating", + "Deactivated", + "Failed" + ], + "x-ms-enum": { + "name": "ActivationState", + "modelAsString": true, + "values": [ + { + "value": "NotActivated", + "description": "The sim has not been activated and will not receive service." + }, + { + "value": "Activated", + "description": "The sim is activated and will receive service." + }, + { + "value": "Activating", + "description": "The sim is in the process of being activated." + }, + { + "value": "Deactivating", + "description": "The sim is in the process of being deactivated." + }, + { + "value": "Deactivated", + "description": "The sim has been deactivated and will not longer receive service." + }, + { + "value": "Failed", + "description": "Activation failed for this sim." + } + ] + } + }, + "InterfaceProperties": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The logical name for this interface. This should match one of the interfaces configured on your Azure Stack Edge machine." + }, + "ipv4Address": { + "$ref": "./ts29571.json#/definitions/Ipv4Addr", + "description": "The IPv4 address." + }, + "ipv4Subnet": { + "$ref": "./ts29571.json#/definitions/Ipv4AddrMask", + "description": "The IPv4 subnet." + }, + "ipv4Gateway": { + "$ref": "./ts29571.json#/definitions/Ipv4Addr", + "description": "The default IPv4 gateway (router)." + } + }, + "required": [ + "name" + ], + "description": "Interface properties" + } + }, + "parameters": { + "AttachedDataNetworkNameParameter": { + "name": "attachedDataNetworkName", + "in": "path", + "required": true, + "type": "string", + "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])*)*$", + "maxLength": 64, + "description": "The name of the attached data network.", + "x-ms-parameter-location": "method" + }, + "DataNetworkNameParameter": { + "name": "dataNetworkName", + "in": "path", + "required": true, + "type": "string", + "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])*)*$", + "maxLength": 64, + "description": "The name of the mobile network dataNetwork.", + "x-ms-parameter-location": "method" + }, + "MobileNetworkNameParameter": { + "name": "mobileNetworkName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "maxLength": 64, + "description": "The name of the mobile network.", + "x-ms-parameter-location": "method" + }, + "PacketCoreControlPlaneNameParameter": { + "name": "packetCoreControlPlaneName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "maxLength": 64, + "description": "The name of the packet core control plane.", + "x-ms-parameter-location": "method" + }, + "PacketCoreDataPlaneNameParameter": { + "name": "packetCoreDataPlaneName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "maxLength": 64, + "description": "The name of the packet core data plane.", + "x-ms-parameter-location": "method" + }, + "ServiceNameParameter": { + "name": "serviceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^(?!(default|requested|service)$)[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "maxLength": 64, + "description": "The name of the service. You must not use any of the following reserved strings - `default`, `requested` or `service`", + "x-ms-parameter-location": "method" + }, + "SimNameParameter": { + "name": "simName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "maxLength": 64, + "description": "The name of the SIM.", + "x-ms-parameter-location": "method" + }, + "SimPolicyNameParameter": { + "name": "simPolicyName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "maxLength": 64, + "description": "The name of the SIM policy.", + "x-ms-parameter-location": "method" + }, + "SiteNameParameter": { + "name": "siteName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "maxLength": 64, + "description": "The name of the mobile network site.", + "x-ms-parameter-location": "method" + }, + "SliceNameParameter": { + "name": "sliceName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "maxLength": 64, + "description": "The name of the mobile network slice.", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/dataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/dataNetwork.json new file mode 100644 index 000000000000..f519ccc214db --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/dataNetwork.json @@ -0,0 +1,349 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage data network resources in mobile network to a particular packet core instance", + "version": "2022-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}": { + "delete": { + "tags": [ + "DataNetworks" + ], + "operationId": "DataNetworks_Delete", + "description": "Deletes the specified mobile network dataNetwork.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/DataNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "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." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete mobile network dataNetwork": { + "$ref": "./examples/DataNetworkDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "DataNetworks" + ], + "operationId": "DataNetworks_Get", + "description": "Gets information about the specified mobile network dataNetwork.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/DataNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting mobile network dataNetwork resource.", + "schema": { + "$ref": "#/definitions/DataNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get mobile network dataNetwork": { + "$ref": "./examples/DataNetworkGet.json" + } + } + }, + "put": { + "tags": [ + "DataNetworks" + ], + "operationId": "DataNetworks_CreateOrUpdate", + "description": "Creates or updates a mobile network dataNetwork.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/DataNetworkNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DataNetwork" + }, + "description": "Parameters supplied to the create or update mobile network dataNetwork operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting mobile network dataNetwork resource.", + "schema": { + "$ref": "#/definitions/DataNetwork" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting mobile network dataNetwork resource.", + "schema": { + "$ref": "#/definitions/DataNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create mobile network dataNetwork": { + "$ref": "./examples/DataNetworkCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "DataNetworks" + ], + "operationId": "DataNetworks_UpdateTags", + "description": "Update data network tags.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/DataNetworkNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update data network tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting data network resource.", + "schema": { + "$ref": "#/definitions/DataNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update data network tags": { + "$ref": "./examples/DataNetworkUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks": { + "get": { + "tags": [ + "DataNetworks" + ], + "operationId": "DataNetworks_ListByMobileNetwork", + "description": "Lists all dataNetworks in the mobile network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of mobile network resources.", + "schema": { + "$ref": "#/definitions/DataNetworkListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List mobile network dataNetworks in a mobile network": { + "$ref": "./examples/DataNetworkListByMobileNetwork.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "DataNetwork": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DataNetworkPropertiesFormat", + "description": "Data network properties." + }, + "systemData": { + "x-ms-client-flatten": true, + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Data network resource." + }, + "DataNetworkPropertiesFormat": { + "description": "Data network properties.", + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the data network resource." + }, + "description": { + "type": "string", + "description": "An optional description for this data network." + } + } + }, + "DataNetworkListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DataNetwork" + }, + "description": "A list of data networks in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for data network API service call." + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkCreate.json new file mode 100644 index 000000000000..e531955a6bed --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkCreate.json @@ -0,0 +1,133 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP", + "packetCoreDataPlaneName": "TestPacketCoreDP", + "attachedDataNetworkName": "TestAttachedDataNetwork", + "parameters": { + "location": "eastus", + "properties": { + "userPlaneDataInterface": { + "name": "N6" + }, + "naptConfiguration": { + "enabled": "Enabled", + "portRange": { + "minPort": 1024, + "maxPort": 65535 + }, + "portReuseHoldTime": { + "tcp": 120, + "udp": 60 + }, + "pinholeLimits": 65536, + "pinholeTimeouts": { + "tcp": 7440, + "udp": 300, + "icmp": 60 + } + }, + "userEquipmentAddressPoolPrefix": [ + "2.2.0.0/16" + ], + "userEquipmentStaticAddressPoolPrefix": [ + "2.4.0.0/16" + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "TestAttachedDataNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoresControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork", + "type": "Microsoft.MobileNetwork/attachedDataNetwork", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "userPlaneDataInterface": { + "name": "N6" + }, + "naptConfiguration": { + "enabled": "Enabled", + "portRange": { + "minPort": 1024, + "maxPort": 65535 + }, + "portReuseHoldTime": { + "tcp": 120, + "udp": 60 + }, + "pinholeLimits": 65536, + "pinholeTimeouts": { + "tcp": 7440, + "udp": 300, + "icmp": 60 + } + }, + "userEquipmentAddressPoolPrefix": [ + "2.2.0.0/16" + ], + "userEquipmentStaticAddressPoolPrefix": [ + "2.4.0.0/16" + ] + } + } + }, + "201": { + "body": { + "name": "TestAttachedDataNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoresControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork", + "type": "Microsoft.MobileNetwork/attachedDataNetwork", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "userPlaneDataInterface": { + "name": "N6" + }, + "naptConfiguration": { + "enabled": "Enabled", + "portRange": { + "minPort": 1024, + "maxPort": 65535 + }, + "portReuseHoldTime": { + "tcp": 120, + "udp": 60 + }, + "pinholeLimits": 65536, + "pinholeTimeouts": { + "tcp": 7440, + "udp": 300, + "icmp": 60 + } + }, + "userEquipmentAddressPoolPrefix": [ + "2.2.0.0/16" + ], + "userEquipmentStaticAddressPoolPrefix": [ + "2.4.0.0/16" + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkDelete.json new file mode 100644 index 000000000000..1ec3cdcef89d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP", + "packetCoreDataPlaneName": "TestPacketCoreDP", + "attachedDataNetworkName": "TestAttachedDataNetwork" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkGet.json new file mode 100644 index 000000000000..595eb14444a3 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkGet.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP", + "packetCoreDataPlaneName": "TestPacketCoreDP", + "attachedDataNetworkName": "TestAttachedDataNetwork" + }, + "responses": { + "200": { + "body": { + "name": "TestAttachedDataNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork", + "type": "Microsoft.MobileNetwork/attachedDataNetwork", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "userPlaneDataInterface": { + "name": "N6" + }, + "naptConfiguration": { + "enabled": "Enabled", + "portRange": { + "minPort": 1024, + "maxPort": 65535 + }, + "portReuseHoldTime": { + "tcp": 120, + "udp": 60 + }, + "pinholeLimits": 65536, + "pinholeTimeouts": { + "tcp": 7440, + "udp": 300, + "icmp": 60 + } + }, + "userEquipmentAddressPoolPrefix": [ + "2.2.0.0/16" + ], + "userEquipmentStaticAddressPoolPrefix": [ + "2.4.0.0/16" + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json new file mode 100644 index 000000000000..e3f6f3fea552 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP", + "packetCoreDataPlaneName": "TestPacketCoreDP" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "TestAttachedDataNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork", + "type": "Microsoft.MobileNetwork/attachedDataNetworks", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "userPlaneDataInterface": { + "name": "N6" + }, + "naptConfiguration": { + "enabled": "Enabled", + "portRange": { + "minPort": 1024, + "maxPort": 65535 + }, + "portReuseHoldTime": { + "tcp": 120, + "udp": 60 + }, + "pinholeLimits": 65536, + "pinholeTimeouts": { + "tcp": 7440, + "udp": 300, + "icmp": 60 + } + }, + "userEquipmentAddressPoolPrefix": [ + "2.2.0.0/16" + ], + "userEquipmentStaticAddressPoolPrefix": [ + "2.4.0.0/16" + ] + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkUpdateTags.json new file mode 100644 index 000000000000..24097f4c7b20 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkUpdateTags.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP", + "packetCoreDataPlaneName": "TestPacketCoreDP", + "attachedDataNetworkName": "TestAttachedDataNetwork", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "TestAccessPoint", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork", + "type": "Microsoft.MobileNetwork/attachedDataNetwork", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "userPlaneDataInterface": { + "name": "N6" + }, + "naptConfiguration": { + "enabled": "Enabled", + "portRange": { + "minPort": 1024, + "maxPort": 65535 + }, + "portReuseHoldTime": { + "tcp": 120, + "udp": 60 + }, + "pinholeLimits": 65536, + "pinholeTimeouts": { + "tcp": 7440, + "udp": 300, + "icmp": 60 + } + }, + "userEquipmentAddressPoolPrefix": [ + "2.2.0.0/16" + ], + "userEquipmentStaticAddressPoolPrefix": [ + "2.4.0.0/16" + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkCreate.json new file mode 100644 index 000000000000..78002b1b3a71 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkCreate.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "dataNetworkName": "testDataNetwork", + "parameters": { + "location": "eastus", + "properties": { + "description": "myFavouriteDataNetwork" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testDataNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testDataNetwork", + "type": "Microsoft.MobileNetwork/mobileNetworks/dataNetworks", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "description": "myFavouriteDataNetwork" + } + } + }, + "201": { + "body": { + "name": "testDataNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testDataNetwork", + "type": "Microsoft.MobileNetwork/mobileNetworks/dataNetworks", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Created", + "description": "myFavouriteDataNetwork" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkDelete.json new file mode 100644 index 000000000000..68b14c799f57 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "dataNetworkName": "testDataNetwork" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkGet.json new file mode 100644 index 000000000000..166af9d9dea5 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "dataNetworkName": "testDataNetwork" + }, + "responses": { + "200": { + "body": { + "name": "testDataNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testDataNetwork", + "type": "Microsoft.MobileNetwork/mobileNetworks/dataNetworks", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "description": "myFavouriteDataNetwork" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkListByMobileNetwork.json new file mode 100644 index 000000000000..2de6ba9b44a7 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkListByMobileNetwork.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testDataNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testDataNetwork", + "type": "Microsoft.MobileNetwork/mobileNetworks/dataNetworks", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "description": "myFavouriteDataNetwork" + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkUpdateTags.json new file mode 100644 index 000000000000..00666b2f23be --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkUpdateTags.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "dataNetworkName": "testDataNetwork", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testDataNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testDataNetwork", + "type": "Microsoft.MobileNetwork/mobileNetworks/dataNetworks", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "description": "myFavouriteDataNetwork" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkCreate.json new file mode 100644 index 000000000000..d2d2d1688efd --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkCreate.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "parameters": { + "location": "eastus", + "properties": { + "publicLandMobileNetworkIdentifier": { + "mcc": "001", + "mnc": "01" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "testMobileNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork", + "type": "Microsoft.MobileNetwork/mobileNetworks", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "publicLandMobileNetworkIdentifier": { + "mcc": "001", + "mnc": "01" + } + } + } + }, + "201": { + "body": { + "name": "testMobileNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork", + "type": "Microsoft.MobileNetwork/mobileNetworks", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Created", + "publicLandMobileNetworkIdentifier": { + "mcc": "001", + "mnc": "01" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkDelete.json new file mode 100644 index 000000000000..00c4daf9b0da --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkGet.json new file mode 100644 index 000000000000..0e26ac138d97 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork" + }, + "responses": { + "200": { + "body": { + "name": "testMobileNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork", + "type": "Microsoft.MobileNetwork/mobileNetworks", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "publicLandMobileNetworkIdentifier": { + "mcc": "001", + "mnc": "01" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkListByResourceGroup.json new file mode 100644 index 000000000000..57c155d54a7a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkListByResourceGroup.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testMobileNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork", + "type": "Microsoft.MobileNetwork/mobileNetworks", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "publicLandMobileNetworkIdentifier": { + "mcc": "001", + "mnc": "01" + } + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkListBySubscription.json new file mode 100644 index 000000000000..fe63d5de5fe7 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkListBySubscription.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testMobileNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork", + "type": "Microsoft.MobileNetwork/mobileNetworks", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "publicLandMobileNetworkIdentifier": { + "mcc": "001", + "mnc": "01" + } + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkUpdateTags.json new file mode 100644 index 000000000000..3e3a20450cc5 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkUpdateTags.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testMobileNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork", + "type": "Microsoft.MobileNetwork/mobileNetworks", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "publicLandMobileNetworkIdentifier": { + "mcc": "001", + "mnc": "01" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/OperationList.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/OperationList.json new file mode 100644 index 000000000000..88ea8defb7d4 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/OperationList.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "location": "eastus", + "api-version": "2022-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "isDataAction": false, + "name": "Microsoft.MobileNetwork/mobileNetworks/read", + "display": { + "provider": "Microsoft.MobileNetwok", + "resource": "MobileNetwork", + "operation": "Get mobileNetwork", + "description": "Gets mobileNetwork" + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneCreate.json new file mode 100644 index 000000000000..cf139944dfc2 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneCreate.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP", + "parameters": { + "location": "eastus", + "properties": { + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + }, + "coreNetworkTechnology": "5GC", + "version": "0.2.0", + "controlPlaneAccessInterface": { + "name": "N2" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "TestPacketCoreCP", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP", + "type": "Microsoft.MobileNetwork/packetCoreControlPlane", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + }, + "coreNetworkTechnology": "5GC", + "version": "0.2.0", + "controlPlaneAccessInterface": { + "name": "N2" + } + } + } + }, + "201": { + "body": { + "name": "TestPacketCoreCP", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP", + "type": "Microsoft.MobileNetwork/packetCoreControlPlane", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + }, + "coreNetworkTechnology": "5GC", + "version": "0.2.0", + "controlPlaneAccessInterface": { + "name": "N2" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneDelete.json new file mode 100644 index 000000000000..2c545bf9f14e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneGet.json new file mode 100644 index 000000000000..6b7e0fa4adab --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneGet.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP" + }, + "responses": { + "200": { + "body": { + "name": "TestPacketCoreCP", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP", + "type": "Microsoft.MobileNetwork/packetCoreControlPlane", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + }, + "coreNetworkTechnology": "5GC", + "version": "0.2.0", + "controlPlaneAccessInterface": { + "name": "N2" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json new file mode 100644 index 000000000000..00d890910c38 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "TestPacketCoreCP", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP", + "type": "Microsoft.MobileNetwork/packetCoreControlPlane", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + }, + "coreNetworkTechnology": "5GC", + "version": "0.2.0", + "controlPlaneAccessInterface": { + "name": "N2" + } + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneListBySubscription.json new file mode 100644 index 000000000000..e75492e96768 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneListBySubscription.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "TestPacketCoreCP", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP", + "type": "Microsoft.MobileNetwork/packetCoreControlPlane", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + }, + "coreNetworkTechnology": "5GC", + "version": "0.2.0", + "controlPlaneAccessInterface": { + "name": "N2" + } + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneUpdateTags.json new file mode 100644 index 000000000000..cef08f282bb7 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneUpdateTags.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "TestPacketCoreCP", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP", + "type": "Microsoft.MobileNetwork/packetCoreControlPlane", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + }, + "coreNetworkTechnology": "5GC", + "version": "0.2.0", + "controlPlaneAccessInterface": { + "name": "N2" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneCreate.json new file mode 100644 index 000000000000..71bc01235e18 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneCreate.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "testPacketCoreCP", + "packetCoreDataPlaneName": "testPacketCoreDP", + "parameters": { + "location": "eastus", + "properties": { + "userPlaneAccessInterface": { + "name": "N3" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "TestPacketCoreDP", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP", + "type": "Microsoft.MobileNetwork/packetCoreDataPlane", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "userPlaneAccessInterface": { + "name": "N3" + } + } + } + }, + "201": { + "body": { + "name": "TestPacketCoreDP", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP", + "type": "Microsoft.MobileNetwork/packetCoreDataPlane", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "userPlaneAccessInterface": { + "name": "N3" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneDelete.json new file mode 100644 index 000000000000..c73aef31b7cc --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "testPacketCoreCP", + "packetCoreDataPlaneName": "testPacketCoreDP" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneGet.json new file mode 100644 index 000000000000..ebc1f6f897db --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "testPacketCoreCP", + "packetCoreDataPlaneName": "testPacketCoreDP" + }, + "responses": { + "200": { + "body": { + "name": "TestPacketCoreDP", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP", + "type": "Microsoft.MobileNetwork/packetCoreDataPlane", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "userPlaneAccessInterface": { + "name": "N3" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json new file mode 100644 index 000000000000..b79ea8bcd143 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "testPacketCoreCP" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "TestPacketCoreDP", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP", + "type": "Microsoft.MobileNetwork/packetCoreDataPlane", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "userPlaneAccessInterface": { + "name": "N3" + } + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneUpdateTags.json new file mode 100644 index 000000000000..8d16697586aa --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneUpdateTags.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "testPacketCoreCP", + "packetCoreDataPlaneName": "testPacketCoreDP", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "TestPacketCoreDP", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP", + "type": "Microsoft.MobileNetwork/packetCoreDataPlane", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "userPlaneAccessInterface": { + "name": "N3" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceCreate.json new file mode 100644 index 000000000000..ac43ba3a9ea9 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceCreate.json @@ -0,0 +1,179 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "serviceName": "TestService", + "parameters": { + "location": "eastus", + "properties": { + "servicePrecedence": 255, + "serviceQosPolicy": { + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "maximumBitRate": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + } + }, + "pccRules": [ + { + "ruleName": "default-rule", + "rulePrecedence": 255, + "ruleQosPolicy": { + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "maximumBitRate": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + } + }, + "trafficControl": "Enabled", + "serviceDataFlowTemplates": [ + { + "templateName": "IP-to-server", + "direction": "Uplink", + "protocol": [ + "ip" + ], + "remoteIpList": [ + "10.3.4.0/24" + ], + "ports": [] + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "testPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/TestService", + "type": "Microsoft.MobileNetwork/service", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "servicePrecedence": 255, + "serviceQosPolicy": { + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "maximumBitRate": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + } + }, + "pccRules": [ + { + "ruleName": "default-rule", + "rulePrecedence": 255, + "ruleQosPolicy": { + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "maximumBitRate": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + } + }, + "trafficControl": "Enabled", + "serviceDataFlowTemplates": [ + { + "templateName": "IP-to-server", + "direction": "Uplink", + "protocol": [ + "ip" + ], + "remoteIpList": [ + "10.3.4.0/24" + ], + "ports": [] + } + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "testPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/TestService", + "type": "Microsoft.MobileNetwork/service", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Accepted", + "servicePrecedence": 255, + "serviceQosPolicy": { + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "maximumBitRate": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + } + }, + "pccRules": [ + { + "ruleName": "default-rule", + "rulePrecedence": 255, + "ruleQosPolicy": { + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "maximumBitRate": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + } + }, + "trafficControl": "Enabled", + "serviceDataFlowTemplates": [ + { + "templateName": "IP-to-server", + "direction": "Uplink", + "protocol": [ + "ip" + ], + "remoteIpList": [ + "10.3.4.0/24" + ], + "ports": [] + } + ] + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceDelete.json new file mode 100644 index 000000000000..4c01df4041ba --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "serviceName": "TestService" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceGet.json new file mode 100644 index 000000000000..433235690883 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceGet.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "serviceName": "TestService" + }, + "responses": { + "200": { + "body": { + "name": "testPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/TestService", + "type": "Microsoft.MobileNetwork/service", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Accepted", + "servicePrecedence": 255, + "serviceQosPolicy": { + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "maximumBitRate": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + } + }, + "pccRules": [ + { + "ruleName": "default-rule", + "rulePrecedence": 255, + "ruleQosPolicy": { + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "maximumBitRate": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + } + }, + "trafficControl": "Enabled", + "serviceDataFlowTemplates": [ + { + "templateName": "IP-to-server", + "direction": "Uplink", + "protocol": [ + "ip" + ], + "remoteIpList": [ + "10.3.4.0/24" + ], + "ports": [] + } + ] + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceListByMobileNetwork.json new file mode 100644 index 000000000000..821cd7d9fb1a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceListByMobileNetwork.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "mobileNetworkName": "testMobileNetwork" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/TestService", + "type": "Microsoft.MobileNetwork/service", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Accepted", + "servicePrecedence": 255, + "serviceQosPolicy": { + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "maximumBitRate": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + } + }, + "pccRules": [ + { + "ruleName": "default-rule", + "rulePrecedence": 255, + "ruleQosPolicy": { + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "maximumBitRate": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + } + }, + "trafficControl": "Enabled", + "serviceDataFlowTemplates": [ + { + "templateName": "IP-to-server", + "direction": "Uplink", + "protocol": [ + "ip" + ], + "remoteIpList": [ + "10.3.4.0/24" + ], + "ports": [] + } + ] + } + ] + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceUpdateTags.json new file mode 100644 index 000000000000..54ec7fba333d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceUpdateTags.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "serviceName": "TestService", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "TestService", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/TestService", + "type": "Microsoft.MobileNetwork/service", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "servicePrecedence": 255, + "serviceQosPolicy": { + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "maximumBitRate": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + } + }, + "pccRules": [ + { + "ruleName": "default-rule", + "rulePrecedence": 255, + "ruleQosPolicy": { + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "maximumBitRate": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + } + }, + "trafficControl": "Enabled", + "serviceDataFlowTemplates": [ + { + "templateName": "IP-to-server", + "direction": "Uplink", + "protocol": [ + "ip" + ], + "remoteIpList": [ + "10.3.4.0/24" + ], + "ports": [] + } + ] + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimCreate.json new file mode 100644 index 000000000000..fe2920c06476 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimCreate.json @@ -0,0 +1,123 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "simName": "testSim", + "parameters": { + "location": "testLocation", + "properties": { + "integratedCircuitCardIdentifier": "8900000000000000000", + "internationalMobileSubscriberIdentity": "00000", + "authenticationKey": "00000000000000000000000000000000", + "operatorKeyCode": "00000000000000000000000000000000", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "deviceType": "Video camera", + "simPolicy": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy" + }, + "staticIpConfiguration": [ + { + "attachedDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + }, + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "staticIp": { + "ipv4Address": "2.4.0.1" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "testSim", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", + "type": "Microsoft.MobileNetwork/sims", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "simState": "Enabled", + "integratedCircuitCardIdentifier": "8900000000000000000", + "internationalMobileSubscriberIdentity": "00000", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "deviceType": "Video camera", + "simPolicy": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy" + }, + "staticIpConfiguration": [ + { + "attachedDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + }, + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "staticIp": { + "ipv4Address": "2.4.0.1" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "testSim", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", + "type": "Microsoft.MobileNetwork/sims", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "simState": "Enabled", + "integratedCircuitCardIdentifier": "8900000000000000000", + "internationalMobileSubscriberIdentity": "00000", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "deviceType": "Video camera", + "simPolicy": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy" + }, + "staticIpConfiguration": [ + { + "attachedDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + }, + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "staticIp": { + "ipv4Address": "2.4.0.1" + } + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimDelete.json new file mode 100644 index 000000000000..d70d3aee8931 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simName": "testSim" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimGet.json new file mode 100644 index 000000000000..0a6dab7ba5a6 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimGet.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simName": "testSimName" + }, + "responses": { + "200": { + "body": { + "name": "testSim", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sim/testSim", + "type": "Microsoft.MobileNetwork/sims", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "simState": "Enabled", + "integratedCircuitCardIdentifier": "8900000000000000000", + "internationalMobileSubscriberIdentity": "00000", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "deviceType": "Video camera", + "simPolicy": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy" + }, + "staticIpConfiguration": [ + { + "attachedDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + }, + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "staticIp": { + "ipv4Address": "2.4.0.1" + } + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimIdListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimIdListByMobileNetwork.json new file mode 100644 index 000000000000..a40ca8fb41fd --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimIdListByMobileNetwork.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg", + "mobileNetworkName": "testMobileNetworkName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.MobileNetwork/sims/testSim" + } + ], + "nextLink": "nextLink" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.MobileNetwork/locations/testLocation/operationStatuses/testOperation?api-version=2022-03-01-preview" + }, + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.MobileNetwork/sims/testSim" + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimListByResourceGroup.json new file mode 100644 index 000000000000..2480b885f0f9 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimListByResourceGroup.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testSim", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", + "type": "Microsoft.MobileNetwork/sims", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "simState": "Enabled", + "integratedCircuitCardIdentifier": "8900000000000000000", + "internationalMobileSubscriberIdentity": "00000", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "deviceType": "Video camera", + "simPolicy": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy" + }, + "staticIpConfiguration": [ + { + "attachedDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + }, + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "staticIp": { + "ipv4Address": "2.4.0.1" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimListBySubscription.json new file mode 100644 index 000000000000..11848859e3ad --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimListBySubscription.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testSim", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", + "type": "Microsoft.MobileNetwork/sims", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "simState": "Enabled", + "integratedCircuitCardIdentifier": "8900000000000000000", + "internationalMobileSubscriberIdentity": "00000", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "deviceType": "Video camera", + "simPolicy": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy" + }, + "staticIpConfiguration": [ + { + "attachedDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + }, + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "staticIp": { + "ipv4Address": "2.4.0.1" + } + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyCreate.json new file mode 100644 index 000000000000..d179b97e0364 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyCreate.json @@ -0,0 +1,176 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "simPolicyName": "testPolicy", + "parameters": { + "location": "eastus", + "properties": { + "registrationTimer": 3240, + "ueAmbr": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + }, + "defaultSlice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "sliceConfigurations": [ + { + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "defaultDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork" + }, + "dataNetworkConfigurations": [ + { + "dataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork" + }, + "sessionAmbr": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + }, + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "defaultSessionType": "IPv4", + "additionalAllowedSessionTypes": [], + "allowedServices": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/testService" + } + ] + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "testPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/testPolicy", + "type": "Microsoft.MobileNetwork/simPolicy", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "registrationTimer": 3240, + "ueAmbr": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + }, + "defaultSlice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "sliceConfigurations": [ + { + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "defaultDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork" + }, + "dataNetworkConfigurations": [ + { + "dataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork" + }, + "sessionAmbr": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + }, + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "defaultSessionType": "IPv4", + "additionalAllowedSessionTypes": [], + "allowedServices": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/testService" + } + ] + } + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "testPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/testPolicy", + "type": "Microsoft.MobileNetwork/simPolicy", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Accepted", + "registrationTimer": 3240, + "ueAmbr": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + }, + "defaultSlice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "sliceConfigurations": [ + { + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "defaultDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork" + }, + "dataNetworkConfigurations": [ + { + "dataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork" + }, + "sessionAmbr": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + }, + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "defaultSessionType": "IPv4", + "additionalAllowedSessionTypes": [], + "allowedServices": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/testService" + } + ] + } + ] + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyDelete.json new file mode 100644 index 000000000000..30ee78dd387a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "simPolicyName": "testPolicy" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyGet.json new file mode 100644 index 000000000000..0bb1ad6daa4c --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyGet.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "simPolicyName": "testPolicy" + }, + "responses": { + "200": { + "body": { + "name": "testPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/testPolicy", + "type": "Microsoft.MobileNetwork/simPolicy", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Accepted", + "registrationTimer": 3240, + "ueAmbr": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + }, + "defaultSlice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "sliceConfigurations": [ + { + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "defaultDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork" + }, + "dataNetworkConfigurations": [ + { + "dataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork" + }, + "sessionAmbr": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + }, + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "defaultSessionType": "IPv4", + "additionalAllowedSessionTypes": [], + "allowedServices": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/testService" + } + ] + } + ] + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyListByMobileNetwork.json new file mode 100644 index 000000000000..f239d8011f36 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyListByMobileNetwork.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "mobileNetworkName": "testMobileNetwork" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/testPolicy", + "type": "Microsoft.MobileNetwork/simPolicy", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Accepted", + "registrationTimer": 3240, + "ueAmbr": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + }, + "defaultSlice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "sliceConfigurations": [ + { + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "defaultDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork" + }, + "dataNetworkConfigurations": [ + { + "dataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork" + }, + "sessionAmbr": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + }, + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "defaultSessionType": "IPv4", + "additionalAllowedSessionTypes": [], + "allowedServices": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/testService" + } + ] + } + ] + } + ] + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyUpdateTags.json new file mode 100644 index 000000000000..69a425f8f24e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyUpdateTags.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "simPolicyName": "testPolicy", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/testPolicy", + "type": "Microsoft.MobileNetwork/simPolicy", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "registrationTimer": 3240, + "ueAmbr": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + }, + "defaultSlice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "sliceConfigurations": [ + { + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "defaultDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork" + }, + "dataNetworkConfigurations": [ + { + "dataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/dataNetworks/testdataNetwork" + }, + "sessionAmbr": { + "uplink": "500 Mbps", + "downlink": "1 Gbps" + }, + "5qi": 9, + "allocationAndRetentionPriorityLevel": 9, + "preemptionCapability": "NotPreempt", + "preemptionVulnerability": "Preemptable", + "defaultSessionType": "IPv4", + "additionalAllowedSessionTypes": [], + "allowedServices": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/services/testService" + } + ] + } + ] + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimUpdateTags.json new file mode 100644 index 000000000000..1874c253688f --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimUpdateTags.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "simName": "testSim", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testSim", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sim/testSim", + "type": "Microsoft.MobileNetwork/sims", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "testLocation", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "simState": "Enabled", + "integratedCircuitCardIdentifier": "8900000000000000000", + "internationalMobileSubscriberIdentity": "00000", + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + }, + "deviceType": "Video camera", + "simPolicy": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/simPolicies/MySimPolicy" + }, + "staticIpConfiguration": [ + { + "attachedDataNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + }, + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "staticIp": { + "ipv4Address": "2.4.0.1" + } + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteCreate.json new file mode 100644 index 000000000000..50348962d265 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteCreate.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "siteName": "testSite", + "parameters": { + "location": "testLocation", + "properties": { + "networkFunctions": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HybridNetwork/networkFunctions/testNf" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "testSite", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/sites/testSite", + "type": "Microsoft.MobileNetwork/mobileNetworks/sites", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "networkFunctions": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HybridNetwork/networkFunctions/testNf" + } + ] + } + } + }, + "201": { + "body": { + "name": "testSite", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/sites/testSite", + "type": "Microsoft.MobileNetwork/mobileNetworks/sites", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "testLocation", + "properties": { + "provisioningState": "Created", + "networkFunctions": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HybridNetwork/networkFunctions/testNf" + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteDelete.json new file mode 100644 index 000000000000..25e0712d4bdb --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "siteName": "testSite" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteGet.json new file mode 100644 index 000000000000..bf1efabfa08b --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "siteName": "testSite" + }, + "responses": { + "200": { + "body": { + "name": "testSite", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/sites/testSite", + "type": "Microsoft.MobileNetwork/mobileNetworks/sites", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "networkFunctions": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HybridNetwork/networkFunctions/testNf" + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteListByMobileNetwork.json new file mode 100644 index 000000000000..b6673964a12b --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteListByMobileNetwork.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testSite", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/sites/testSite", + "type": "Microsoft.MobileNetwork/mobileNetworks/sites", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "networkFunctions": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HybridNetwork/networkFunctions/testNf" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteUpdateTags.json new file mode 100644 index 000000000000..3102340416a1 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteUpdateTags.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "siteName": "testSite", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testSite", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/sites/testSite", + "type": "Microsoft.MobileNetwork/mobileNetworks/sites", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "testLocation", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "networkFunctions": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HybridNetwork/networkFunctions/testNf" + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceCreate.json new file mode 100644 index 000000000000..a66477a4a464 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceCreate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "sliceName": "testSlice", + "parameters": { + "location": "eastus", + "properties": { + "snssai": { + "sst": 1, + "sd": "1abcde" + }, + "description": "myFavouriteSlice" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testSlice", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice", + "type": "Microsoft.MobileNetwork/mobileNetworks/slices", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "snssai": { + "sst": 1, + "sd": "1abcde" + }, + "description": "myFavouriteSlice" + } + } + }, + "201": { + "body": { + "name": "testSlice", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice", + "type": "Microsoft.MobileNetwork/mobileNetworks/slices", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Created", + "snssai": { + "sst": 1, + "sd": "1abcde" + }, + "description": "myFavouriteSlice" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceDelete.json new file mode 100644 index 000000000000..5fb5aba5462c --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "sliceName": "testSlice" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceGet.json new file mode 100644 index 000000000000..d7e6f407a557 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "sliceName": "testSlice" + }, + "responses": { + "200": { + "body": { + "name": "testSlice", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice", + "type": "Microsoft.MobileNetwork/mobileNetworks/slices", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "snssai": { + "sst": 1, + "sd": "1abcde" + }, + "description": "myFavouriteSlice" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceListByMobileNetwork.json new file mode 100644 index 000000000000..917c6120c364 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceListByMobileNetwork.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testSlice", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice", + "type": "Microsoft.MobileNetwork/mobileNetworks/slices", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "snssai": { + "sst": 1, + "sd": "1abcde" + }, + "description": "myFavouriteSlice" + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceUpdateTags.json new file mode 100644 index 000000000000..195a097557ae --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceUpdateTags.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2022-03-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "sliceName": "testSlice", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testSlice", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice", + "type": "Microsoft.MobileNetwork/mobileNetworks/slices", + "systemData": { + "createdBy": "user1", + "createdByType": "User", + "createdAt": "2020-01-01T17:18:19.1234567Z", + "lastModifiedBy": "user2", + "lastModifiedByType": "User", + "lastModifiedAt": "2020-01-02T17:18:19.1234567Z" + }, + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "snssai": { + "sst": 1, + "sd": "1abcde" + }, + "description": "myFavouriteSlice" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/mobileNetwork.json new file mode 100644 index 000000000000..2744dbac391b --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/mobileNetwork.json @@ -0,0 +1,1194 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage mobile network resources", + "version": "2022-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}": { + "delete": { + "tags": [ + "MobileNetworks" + ], + "operationId": "MobileNetworks_Delete", + "description": "Deletes the specified mobile network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "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." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete mobile network": { + "$ref": "./examples/MobileNetworkDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "MobileNetworks" + ], + "operationId": "MobileNetworks_Get", + "description": "Gets information about the specified mobile network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting mobile network resource.", + "schema": { + "$ref": "#/definitions/MobileNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get mobile network": { + "$ref": "./examples/MobileNetworkGet.json" + } + } + }, + "put": { + "tags": [ + "MobileNetworks" + ], + "operationId": "MobileNetworks_CreateOrUpdate", + "description": "Creates or updates a mobile network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/MobileNetwork" + }, + "description": "Parameters supplied to the create or update mobile network operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting mobile network resource.", + "schema": { + "$ref": "#/definitions/MobileNetwork" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting mobile network resource.", + "schema": { + "$ref": "#/definitions/MobileNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create mobile network": { + "$ref": "./examples/MobileNetworkCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "MobileNetworks" + ], + "operationId": "MobileNetworks_UpdateTags", + "description": "Updates a mobile network update tags.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update mobile network tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting mobile network resource.", + "schema": { + "$ref": "#/definitions/MobileNetwork" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update mobile network tags": { + "$ref": "./examples/MobileNetworkUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MobileNetwork/mobileNetworks": { + "get": { + "tags": [ + "MobileNetworks" + ], + "operationId": "MobileNetworks_ListBySubscription", + "description": "Lists all the mobile networks in a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of mobile network resources.", + "schema": { + "$ref": "#/definitions/MobileNetworkListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List mobile networks in a subscription": { + "$ref": "./examples/MobileNetworkListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks": { + "get": { + "tags": [ + "MobileNetworks" + ], + "operationId": "MobileNetworks_ListByResourceGroup", + "description": "Lists all the mobile networks in a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of mobile network resources.", + "schema": { + "$ref": "#/definitions/MobileNetworkListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List mobile networks in resource group": { + "$ref": "./examples/MobileNetworkListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/listSimIds": { + "post": { + "tags": [ + "MobileNetworks" + ], + "operationId": "MobileNetworks_ListSimIds", + "description": "List sim ids under a mobile network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "List sim profile ids successful.", + "schema": { + "$ref": "#/definitions/SimIdListResult" + } + }, + "202": { + "description": "Accepted. Returns an operation URI that can be queried to find the current state of the operation.", + "schema": { + "$ref": "#/definitions/SimIdListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List sim profile ids by network": { + "$ref": "./examples/SimIdListByMobileNetwork.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/sites/{siteName}": { + "delete": { + "tags": [ + "Sites" + ], + "operationId": "Sites_Delete", + "description": "Deletes the specified mobile network site.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SiteNameParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "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." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete mobile network site": { + "$ref": "./examples/SiteDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Sites" + ], + "operationId": "Sites_Get", + "description": "Gets information about the specified mobile network site.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SiteNameParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting mobile network site resource.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get mobile network site": { + "$ref": "./examples/SiteGet.json" + } + } + }, + "put": { + "tags": [ + "Sites" + ], + "operationId": "Sites_CreateOrUpdate", + "description": "Creates or updates a mobile network site.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SiteNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Site" + }, + "description": "Parameters supplied to the create or update mobile network site operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting mobile network site resource.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting mobile network site resource.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create mobile network site": { + "$ref": "./examples/SiteCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "Sites" + ], + "operationId": "Sites_UpdateTags", + "description": "Updates a site update tags.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SiteNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update network site tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting network site resource.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update mobile network site tags": { + "$ref": "./examples/SiteUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/sites": { + "get": { + "tags": [ + "Sites" + ], + "operationId": "Sites_ListByMobileNetwork", + "description": "Lists all sites in the mobile network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of mobile network resources.", + "schema": { + "$ref": "#/definitions/SiteListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List mobile network sites in a mobile network": { + "$ref": "./examples/SiteListByMobileNetwork.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}": { + "delete": { + "tags": [ + "Sims" + ], + "operationId": "Sims_Delete", + "description": "Deletes the specified sim.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/SimNameParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "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." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete sim": { + "$ref": "./examples/SimDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Sims" + ], + "operationId": "Sims_Get", + "description": "Gets information about the specified sim.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/SimNameParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting sim resource.", + "schema": { + "$ref": "#/definitions/Sim" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get sim": { + "$ref": "./examples/SimGet.json" + } + } + }, + "put": { + "tags": [ + "Sims" + ], + "operationId": "Sims_CreateOrUpdate", + "description": "Creates or updates a Sim.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/SimNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Sim" + }, + "description": "Parameters supplied to the create or update sim operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting sim resource.", + "schema": { + "$ref": "#/definitions/Sim" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting sim resource.", + "schema": { + "$ref": "#/definitions/Sim" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create sim": { + "$ref": "./examples/SimCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "Sims" + ], + "operationId": "Sims_UpdateTags", + "description": "Updates a sim update tags.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/SimNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update sim tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting sim resource.", + "schema": { + "$ref": "#/definitions/Sim" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update sim tags": { + "$ref": "./examples/SimUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MobileNetwork/sims": { + "get": { + "tags": [ + "Sims" + ], + "operationId": "Sims_ListBySubscription", + "description": "Gets all the sims in a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of sim resources.", + "schema": { + "$ref": "#/definitions/SimListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List sims in a subscription": { + "$ref": "./examples/SimListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims": { + "get": { + "tags": [ + "Sims" + ], + "operationId": "Sims_ListByResourceGroup", + "description": "Gets all the Sims in a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of sim resources.", + "schema": { + "$ref": "#/definitions/SimListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List sims in a resource group": { + "$ref": "./examples/SimListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "MobileNetwork": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/MobileNetworkPropertiesFormat", + "description": "Mobile network properties." + }, + "systemData": { + "x-ms-client-flatten": true, + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "description": "Mobile network resource." + }, + "MobileNetworkPropertiesFormat": { + "type": "object", + "description": "Mobile network properties.", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the mobile network resource." + }, + "publicLandMobileNetworkIdentifier": { + "$ref": "./ts29571.json#/definitions/PlmnId", + "description": "The unique public land mobile network identifier for the network. This is made up of the Mobile Country Code and Mobile Network Code, as defined in https://www.itu.int/rec/T-REC-E.212. The values 001-01 and 001-001 can be used for testing and the values 999-99 and 999-999 can be used on internal private networks." + }, + "serviceKey": { + "type": "string", + "readOnly": true, + "description": "The mobile network resource identifier" + } + }, + "required": [ + "publicLandMobileNetworkIdentifier" + ] + }, + "MobileNetworkListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/MobileNetwork" + }, + "description": "A list of mobile networks in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for mobile networks API service call." + }, + "Sim": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SimPropertiesFormat", + "description": "Sim Properties." + }, + "systemData": { + "x-ms-client-flatten": true, + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "description": "Sim resource." + }, + "SimPropertiesFormat": { + "type": "object", + "description": "Sim properties.", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the sim resource." + }, + "simState": { + "readOnly": true, + "$ref": "./common.json#/definitions/SimState", + "description": "The state of the sim resource." + }, + "activationState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ActivationState", + "description": "The activation state of the sim resource." + }, + "internationalMobileSubscriberIdentity": { + "type": "string", + "pattern": "^[0-9]{5,15}$", + "x-ms-mutability": [ + "create", + "read" + ], + "description": "The International Mobile Subscriber Identity (IMSI) for the sim." + }, + "integratedCircuitCardIdentifier": { + "type": "string", + "pattern": "^89[0-9]{17,18}$", + "description": "The Integrated Circuit Card ID (ICC Id) for the sim." + }, + "authenticationKey": { + "type": "string", + "pattern": "^[0-9a-fA-F]{32}$", + "x-ms-secret": true, + "x-ms-mutability": [ + "create", + "update" + ], + "description": "The ki value for the sim." + }, + "operatorKeyCode": { + "type": "string", + "pattern": "^[0-9a-fA-F]{32}$", + "x-ms-secret": true, + "x-ms-mutability": [ + "create", + "update" + ], + "description": "The Opc value for the sim." + }, + "mobileNetwork": { + "$ref": "./common.json#/definitions/MobileNetworkResourceId", + "description": "Mobile network that this sim belongs to" + }, + "deviceType": { + "type": "string", + "description": "An optional free-form text field that can be used to record the device type this sim is associated with, for example 'Video camera'. The Azure portal allows Sims to be grouped and filtered based on this value." + }, + "simPolicy": { + "$ref": "./common.json#/definitions/SimPolicyResourceId", + "description": "The simPolicy used by this sim." + }, + "staticIpConfiguration": { + "type": "array", + "items": { + "$ref": "#/definitions/SimStaticIpProperties" + }, + "minItems": 1, + "uniqueItems": true, + "description": "A list of static IP addresses assigned to this sim. Each address is assigned at a defined network scope, made up of {attached data network, slice}.", + "x-ms-identifiers": [ + "attachedDataNetwork", + "slice" + ] + } + }, + "required": [ + "internationalMobileSubscriberIdentity" + ] + }, + "SimStaticIpProperties": { + "type": "object", + "description": "Static IP configuration for a sim, scoped to a particular attached data network and slice.", + "properties": { + "attachedDataNetwork": { + "$ref": "./common.json#/definitions/AttachedDataNetworkResourceId", + "description": "The attached data network on which the static IP address will be used. The combination of attachedDataNetwork and slice defines the network scope of the IP address." + }, + "slice": { + "$ref": "./common.json#/definitions/SliceResourceId", + "description": "The network slice on which the static IP address will be used. The combination of attachedDataNetwork and slice defines the network scope of the IP address." + }, + "staticIp": { + "type": "object", + "description": "The static IP configuration for the sim to use at the defined network scope.", + "properties": { + "ipv4Address": { + "$ref": "./ts29571.json#/definitions/Ipv4Addr", + "description": "The IPv4 address assigned to the sim at this network scope. This address must be in the userEquipmentStaticAddressPoolPrefix defined in the attachedDataNetwork." + } + } + } + } + }, + "SimIdListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "./common.json#/definitions/SubResource" + }, + "description": "A list of sim profile ids in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for list sim ids API service call." + }, + "SimListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Sim" + }, + "description": "A list of Sims in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for list Sims API service call." + }, + "Site": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SitePropertiesFormat", + "description": "Site properties." + }, + "systemData": { + "x-ms-client-flatten": true, + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "description": "Site resource." + }, + "SitePropertiesFormat": { + "type": "object", + "description": "Site properties.", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the site resource. **TODO**: Confirm if this is needed" + }, + "networkFunctions": { + "type": "array", + "items": { + "$ref": "./common.json#/definitions/SubResource" + }, + "description": "An array of ids of the network functions deployed on the site, maintained by the user." + } + } + }, + "SiteListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Site" + }, + "description": "A list of sites in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for sites API service call." + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/operation.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/operation.json new file mode 100644 index 000000000000..d744586b6d9c --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/operation.json @@ -0,0 +1,136 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage the operations.", + "version": "2022-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.MobileNetwork/operations": { + "get": { + "tags": [ + "operations" + ], + "operationId": "Operations_List", + "description": "Gets a list of the operations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK Returns a list of operations.", + "schema": { + "$ref": "#/definitions/OperationList" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registration Operations": { + "$ref": "./examples/OperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Operation": { + "properties": { + "isDataAction": { + "type": "boolean", + "description": "Indicates whether the operation applies to data-plane." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}" + }, + "display": { + "readOnly": true, + "description": "The object that represents the operation.", + "type": "object", + "properties": { + "provider": { + "type": "string", + "description": "Service provider: Microsoft.MobileNetwork" + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed: Registration definition, registration assignment etc." + }, + "operation": { + "type": "string", + "description": "Operation type: Read, write, delete, etc." + }, + "description": { + "type": "string", + "description": "Description of the operation." + } + } + } + }, + "type": "object", + "description": "Object that describes a single Microsoft.MobileNetwork operation." + }, + "OperationList": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Microsoft.MobileNetwork operations.", + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "type": "object", + "description": "List of the operations." + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/packetCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/packetCoreControlPlane.json new file mode 100644 index 000000000000..62f25fdbc993 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/packetCoreControlPlane.json @@ -0,0 +1,396 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage packet core control plane resources", + "version": "2022-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}": { + "delete": { + "tags": [ + "PacketCoreControlPlanes" + ], + "operationId": "PacketCoreControlPlanes_Delete", + "description": "Deletes the specified packet core control plane.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "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." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete packet core control plane": { + "$ref": "./examples/PacketCoreControlPlaneDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "PacketCoreControlPlanes" + ], + "operationId": "PacketCoreControlPlanes_Get", + "description": "Gets information about the specified packet core control plane.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting packet core control plane resource.", + "schema": { + "$ref": "#/definitions/PacketCoreControlPlane" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get packet core control plane": { + "$ref": "./examples/PacketCoreControlPlaneGet.json" + } + } + }, + "put": { + "tags": [ + "PacketCoreControlPlanes" + ], + "operationId": "PacketCoreControlPlanes_CreateOrUpdate", + "description": "Creates or updates a PacketCoreControlPlane.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PacketCoreControlPlane" + }, + "description": "Parameters supplied to the create or update packet core control plane operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting packet core control plane resource.", + "schema": { + "$ref": "#/definitions/PacketCoreControlPlane" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting packet core control plane resource.", + "schema": { + "$ref": "#/definitions/PacketCoreControlPlane" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create packet core control plane": { + "$ref": "./examples/PacketCoreControlPlaneCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "PacketCoreControlPlanes" + ], + "operationId": "PacketCoreControlPlanes_UpdateTags", + "description": "Updates a PacketCoreControlPlane update tags.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update PacketCoreControlPlane tags." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting packet core control plane resource.", + "schema": { + "$ref": "#/definitions/PacketCoreControlPlane" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update packet core control plane tags": { + "$ref": "./examples/PacketCoreControlPlaneUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes": { + "get": { + "tags": [ + "PacketCoreControlPlanes" + ], + "operationId": "PacketCoreControlPlanes_ListBySubscription", + "description": "Lists all the packetCoreControlPlanes in a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of packet core control plane resources.", + "schema": { + "$ref": "#/definitions/PacketCoreControlPlaneListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List packet core control planes in a subscription": { + "$ref": "./examples/PacketCoreControlPlaneListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes": { + "get": { + "tags": [ + "PacketCoreControlPlanes" + ], + "operationId": "PacketCoreControlPlanes_ListByResourceGroup", + "description": "Lists all the packetCoreControlPlanes in a resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of packet core control plane resources.", + "schema": { + "$ref": "#/definitions/PacketCoreControlPlaneListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List packet core control planes in resource group": { + "$ref": "./examples/PacketCoreControlPlaneListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "PacketCoreControlPlane": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PacketCoreControlPlanePropertiesFormat", + "description": "Packet core control plane Properties." + }, + "systemData": { + "x-ms-client-flatten": true, + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "description": "Packet core control plane resource." + }, + "PacketCoreControlPlanePropertiesFormat": { + "description": "PacketCoreControlPlane properties.", + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the packet core control plane resource." + }, + "mobileNetwork": { + "$ref": "./common.json#/definitions/MobileNetworkResourceId", + "description": "Mobile network that this packet core control plane belongs to" + }, + "customLocation": { + "$ref": "./common.json#/definitions/CustomLocationResourceId", + "description": "Azure ARC custom location where the packet core is deployed." + }, + "coreNetworkTechnology": { + "$ref": "./ts29571.json#/definitions/CoreNetworkType", + "description": "The core network technology generation." + }, + "version": { + "type": "string", + "description": "The version of the packet core software that is deployed." + }, + "controlPlaneAccessInterface": { + "$ref": "./common.json#/definitions/InterfaceProperties", + "description": "The control plane interface on the access network. In 5G networks this is called as N2 interface whereas in 4G networks this is called as S1-MME interface." + } + }, + "required": [ + "mobileNetwork", + "controlPlaneAccessInterface" + ] + }, + "PacketCoreControlPlaneListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PacketCoreControlPlane" + }, + "description": "A list of packet core control planes in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for packet core control planes API service call." + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/packetCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/packetCoreDataPlane.json new file mode 100644 index 000000000000..1e0735c5587d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/packetCoreDataPlane.json @@ -0,0 +1,355 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage packet core data plane resources", + "version": "2022-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCoreDataPlanes/{packetCoreDataPlaneName}": { + "delete": { + "tags": [ + "PacketCoreDataPlanes" + ], + "operationId": "PacketCoreDataPlanes_Delete", + "description": "Deletes the specified packet core data plane.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "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." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete packet core data plane": { + "$ref": "./examples/PacketCoreDataPlaneDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "PacketCoreDataPlanes" + ], + "operationId": "PacketCoreDataPlanes_Get", + "description": "Gets information about the specified packet core data plane.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting packet core data plane resource.", + "schema": { + "$ref": "#/definitions/PacketCoreDataPlane" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get packet core data plane": { + "$ref": "./examples/PacketCoreDataPlaneGet.json" + } + } + }, + "put": { + "tags": [ + "PacketCoreDataPlanes" + ], + "operationId": "PacketCoreDataPlanes_CreateOrUpdate", + "description": "Creates or updates a PacketCoreDataPlane.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PacketCoreDataPlane" + }, + "description": "Parameters supplied to the create or update packet core data plane operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting packet core data plane resource.", + "schema": { + "$ref": "#/definitions/PacketCoreDataPlane" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting packet core data plane resource.", + "schema": { + "$ref": "#/definitions/PacketCoreDataPlane" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create packet core data plane": { + "$ref": "./examples/PacketCoreDataPlaneCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "PacketCoreDataPlanes" + ], + "operationId": "PacketCoreDataPlanes_UpdateTags", + "description": "Updates a PacketCoreDataPlane update tags.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update PacketCoreDataPlane tags." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting packet core data plane resource.", + "schema": { + "$ref": "#/definitions/PacketCoreDataPlane" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update packet core data plane tags": { + "$ref": "./examples/PacketCoreDataPlaneUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCoreDataPlanes": { + "get": { + "tags": [ + "PacketCoreDataPlanes" + ], + "operationId": "PacketCoreDataPlanes_ListByPacketCoreControlPlane", + "description": "Lists all the packetCoreDataPlanes associated with a packetCoreControlPlane.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of packet core data plane resources.", + "schema": { + "$ref": "#/definitions/PacketCoreDataPlaneListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List packet core data planes in a control plane": { + "$ref": "./examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "PacketCoreDataPlane": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PacketCoreDataPlanePropertiesFormat", + "description": "Packet core data plane Properties." + }, + "systemData": { + "x-ms-client-flatten": true, + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "description": "Packet core data plane resource." + }, + "PacketCoreDataPlanePropertiesFormat": { + "description": "PacketCoreDataPlane properties.", + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the packet core data plane resource." + }, + "userPlaneAccessInterface": { + "$ref": "./common.json#/definitions/InterfaceProperties", + "description": "The user plane interface on the access network. In 5G networks this is called as N3 interface whereas in 4G networks this is called the S1-U interface." + } + }, + "required": [ + "userPlaneAccessInterface" + ] + }, + "PacketCoreDataPlaneListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PacketCoreDataPlane" + }, + "description": "A list of packet core data planes in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for packet core data planes API service call." + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/service.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/service.json new file mode 100644 index 000000000000..1a25a199966e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/service.json @@ -0,0 +1,569 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage service resources", + "version": "2022-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/services/{serviceName}": { + "delete": { + "tags": [ + "Service" + ], + "operationId": "Services_Delete", + "description": "Deletes the specified service.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "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." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete service": { + "$ref": "./examples/ServiceDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Service" + ], + "operationId": "Services_Get", + "description": "Gets information about the specified service.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting service resource.", + "schema": { + "$ref": "#/definitions/Service" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get service": { + "$ref": "./examples/ServiceGet.json" + } + } + }, + "put": { + "tags": [ + "Service" + ], + "operationId": "Services_CreateOrUpdate", + "description": "Creates or updates a Service.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/ServiceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Service" + }, + "description": "Parameters supplied to the create or update service operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting service resource.", + "schema": { + "$ref": "#/definitions/Service" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting service resource.", + "schema": { + "$ref": "#/definitions/Service" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create service": { + "$ref": "./examples/ServiceCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "Service" + ], + "operationId": "Services_UpdateTags", + "description": "Update service tags.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/ServiceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update service tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting service resource.", + "schema": { + "$ref": "#/definitions/Service" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update service tags": { + "$ref": "./examples/ServiceUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/services": { + "get": { + "tags": [ + "Service" + ], + "operationId": "Services_ListByMobileNetwork", + "description": "Gets all the services in a mobile network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of service resources.", + "schema": { + "$ref": "#/definitions/ServiceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List services in a mobile network": { + "$ref": "./examples/ServiceListByMobileNetwork.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Service": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServicePropertiesFormat", + "description": "Service Properties." + }, + "systemData": { + "x-ms-client-flatten": true, + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "description": "Service resource." + }, + "ServicePropertiesFormat": { + "description": "Service properties.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state of the service resource.", + "$ref": "./common.json#/definitions/ProvisioningState" + }, + "servicePrecedence": { + "description": "A precedence value that is used to decide between services when identifying the QoS values to use for a particular Sim. A lower value means a higher priority. This value should be unique among all services configured in the Mobile Network.", + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 255 + }, + "serviceQosPolicy": { + "description": "The QoS policy to use for packets matching this service. This can be overridden for particular flows using the ruleQosPolicy field in a PccRuleConfiguration. If this field is null then the UE's simPolicy will define the QoS settings.", + "$ref": "#/definitions/QosPolicy" + }, + "pccRules": { + "description": "The set of PCC Rules that make up this service.", + "type": "array", + "items": { + "$ref": "#/definitions/PccRuleConfiguration" + }, + "minItems": 1, + "uniqueItems": true, + "x-ms-identifiers": [ + "ruleName" + ] + } + }, + "required": [ + "servicePrecedence", + "pccRules" + ] + }, + "PccRuleConfiguration": { + "description": "PCC rule configuration", + "type": "object", + "properties": { + "ruleName": { + "description": "The name of the rule. This must be unique within the parent Service. You must not use any of the following reserved strings - `default`, `requested` or `service`.", + "type": "string", + "pattern": "^(?!(default|requested|service)$)[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "maxLength": 64 + }, + "rulePrecedence": { + "description": "A precedence value that is used to decide between PCC Rules when identifying the QoS values to use for a particular Sim. A lower value means a higher priority. This value should be unique among all PCC Rules configured in the Mobile Network.", + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 255 + }, + "ruleQosPolicy": { + "description": "The QoS policy to use for packets matching this rule. If this field is null then the Service will define the QoS settings.", + "$ref": "#/definitions/PccRuleQosPolicy" + }, + "trafficControl": { + "description": "Determines whether flows that match this PCC Rule are permitted.", + "$ref": "#/definitions/TrafficControlPermission", + "default": "Enabled" + }, + "serviceDataFlowTemplates": { + "description": "The set of service data flow templates to use for this PCC Rule.", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceDataFlowTemplate" + }, + "minItems": 1, + "uniqueItems": true, + "x-ms-identifiers": [ + "templateName" + ] + } + }, + "required": [ + "ruleName", + "rulePrecedence", + "serviceDataFlowTemplates" + ] + }, + "ServiceDataFlowTemplate": { + "description": "Service data flow (SDF) template", + "type": "object", + "properties": { + "templateName": { + "description": "The name of the SDF template. This must be unique within the parent PccRuleConfiguration. You must not use any of the following reserved strings - `default`, `requested` or `service`.", + "type": "string", + "pattern": "^(?!(default|requested|service)$)[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "maxLength": 64 + }, + "direction": { + "description": "The direction of this flow.", + "$ref": "#/definitions/SdfDirection" + }, + "protocol": { + "description": "A list of the allowed protocol(s) for this flow. If you want this flow to be able to use any protocol within the internet protocol suite, use the value `ip`. If you only want to allow a selection of protocols, you must use the corresponding IANA Assigned Internet Protocol Number for each protocol, as described in https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml. For example, for UDP, you must use 17. If you use the value `ip` then you must leave the field `port` unspecified.", + "type": "array", + "items": { + "type": "string", + "pattern": "^(ip|[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$" + }, + "minItems": 1, + "uniqueItems": true + }, + "remoteIpList": { + "description": "The remote IP address(es) to which UEs will connect for this flow. If you want to allow connections on any IP address, use the value `any`. Otherwise, you must provide each of the remote IP addresses to which Fusion Core will connect for this flow. You must provide each IP address in CIDR notation, including the netmask (for example, 192.0.2.54/24).", + "type": "array", + "items": { + "type": "string", + "pattern": "^(any|(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2])))$", + "description": "IPv4 address mask or value `any`", + "example": "198.51.0.0/16" + }, + "minItems": 1, + "uniqueItems": true + }, + "ports": { + "description": "The port(s) to which UEs will connect for this flow. You can specify zero or more ports or port ranges. If you specify one or more ports or port ranges then you must specify a value other than `ip` in the `protocol` field. This is an optional setting. If you do not specify it then connections will be allowed on all ports. Port ranges must be specified as -. For example: [`8080`, `8082-8085`].", + "type": "array", + "items": { + "type": "string", + "pattern": "^([1-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])(-([1-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]))?$" + }, + "uniqueItems": true + } + }, + "required": [ + "templateName", + "direction", + "protocol", + "remoteIpList" + ] + }, + "ServiceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Service" + }, + "description": "A list of Services." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for Services API service call." + }, + "QosPolicy": { + "description": "QoS policy", + "type": "object", + "properties": { + "5qi": { + "description": "QoS Flow 5G QoS Indicator value. The 5QI identifies a specific QoS forwarding treatment to be provided to a flow. This must not be a standardized 5QI value selecting a GBR (Guaranteed Bit Rate) QoS. The illegal GBR 5QI values are: 1, 2, 3, 4, 65, 66, 67, 71, 72, 73, 74, 75, 76, 82, 83, 84, and 85. See 3GPP TS23.501 section 5.7.2.1 for a full description of the 5Qi parameter, and table 5.7.4-1 for the definition of which are the GBR 5QI values.", + "$ref": "./ts29571.json#/definitions/5QiPriorityLevel", + "default": 9 + }, + "allocationAndRetentionPriorityLevel": { + "description": "QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of `preemptionCapability` and `preemptionVulnerability` allow it. 1 is the highest level of priority. If this field is not specified then `5qi` is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.", + "$ref": "./ts29571.json#/definitions/ArpPriorityLevel", + "default": 9 + }, + "preemptionCapability": { + "description": "QoS Flow preemption capability. The Preemption Capability of a QoS Flow controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.", + "$ref": "./ts29571.json#/definitions/PreemptionCapability", + "default": "NotPreempt" + }, + "preemptionVulnerability": { + "description": "QoS Flow preemption vulnerability. The Preemption Vulnerability of a QoS Flow controls whether it can be preempted by QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.", + "$ref": "./ts29571.json#/definitions/PreemptionVulnerability", + "default": "Preemptable" + }, + "maximumBitRate": { + "description": "The Maximum Bit Rate (MBR) for all service data flows that use this PCC Rule or Service.", + "$ref": "./ts29571.json#/definitions/Ambr" + } + }, + "required": [ + "maximumBitRate" + ] + }, + "PccRuleQosPolicy": { + "description": "PCC rule QoS policy", + "type": "object", + "properties": { + "guaranteedBitRate": { + "description": "The Guaranteed Bit Rate (GBR) for all service data flows that use this PCC Rule. This is an optional setting. If you do not provide a value, there will be no GBR set for the PCC Rule that uses this QoS definition.", + "$ref": "./ts29571.json#/definitions/Ambr" + } + }, + "allOf": [ + { + "$ref": "#/definitions/QosPolicy" + } + ] + }, + "TrafficControlPermission": { + "type": "string", + "description": "Traffic control permission.", + "enum": [ + "Enabled", + "Blocked" + ], + "x-ms-enum": { + "name": "TrafficControlPermission", + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "Traffic matching this rule is allowed to flow." + }, + { + "value": "Blocked", + "description": "Traffic matching this rule is not allowed to flow." + } + ] + } + }, + "SdfDirection": { + "type": "string", + "description": "Service data flow direction.", + "enum": [ + "Uplink", + "Downlink", + "Bidirectional" + ], + "x-ms-enum": { + "name": "SdfDirection", + "modelAsString": true, + "values": [ + { + "value": "Uplink", + "description": "Traffic flowing from the UE to the data network." + }, + { + "value": "Downlink", + "description": "Traffic flowing from the data network to the UE." + }, + { + "value": "Bidirectional", + "description": "Traffic flowing both to and from the UE." + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/simPolicy.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/simPolicy.json new file mode 100644 index 000000000000..bff31e0979c9 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/simPolicy.json @@ -0,0 +1,475 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage sim policy resources", + "version": "2022-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies/{simPolicyName}": { + "delete": { + "tags": [ + "SimPolicy" + ], + "operationId": "SimPolicies_Delete", + "description": "Deletes the specified sim policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SimPolicyNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "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." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete sim policy": { + "$ref": "./examples/SimPolicyDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "SimPolicy" + ], + "operationId": "SimPolicies_Get", + "description": "Gets information about the specified sim policy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SimPolicyNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting sim policy resource.", + "schema": { + "$ref": "#/definitions/SimPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get sim policy": { + "$ref": "./examples/SimPolicyGet.json" + } + } + }, + "put": { + "tags": [ + "SimPolicy" + ], + "operationId": "SimPolicies_CreateOrUpdate", + "description": "Creates or updates a SimPolicy.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SimPolicyNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SimPolicy" + }, + "description": "Parameters supplied to the create or update sim policy operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting sim policy resource.", + "schema": { + "$ref": "#/definitions/SimPolicy" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting sim policy resource.", + "schema": { + "$ref": "#/definitions/SimPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create sim policy": { + "$ref": "./examples/SimPolicyCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "SimPolicy" + ], + "operationId": "SimPolicies_UpdateTags", + "description": "Update sim policy tags.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SimPolicyNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update Sim Policy tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting Sim Policy resource.", + "schema": { + "$ref": "#/definitions/SimPolicy" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update sim policy tags": { + "$ref": "./examples/SimPolicyUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies": { + "get": { + "tags": [ + "SimPolicy" + ], + "operationId": "SimPolicies_ListByMobileNetwork", + "description": "Gets all the simPolicies in a mobile network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of sim policy resources.", + "schema": { + "$ref": "#/definitions/SimPolicyListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List sim policies in a mobile network": { + "$ref": "./examples/SimPolicyListByMobileNetwork.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "SimPolicy": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SimPolicyPropertiesFormat", + "description": "Sim policy Properties." + }, + "systemData": { + "x-ms-client-flatten": true, + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "description": "Sim policy resource." + }, + "SimPolicyPropertiesFormat": { + "description": "SimPolicy properties.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state of the sim policy resource.", + "$ref": "./common.json#/definitions/ProvisioningState" + }, + "ueAmbr": { + "description": "Aggregate maximum bit rate across all non-GBR QoS flows of all PDU sessions of a given UE. See 3GPP TS23.501 section 5.7.2.6 for a full description of the UE-AMBR.", + "$ref": "./ts29571.json#/definitions/Ambr" + }, + "defaultSlice": { + "description": "The default slice to use if the UE does not explicitly specify it. This slice must exist in the `sliceConfigurations` map.", + "$ref": "./common.json#/definitions/SliceResourceId" + }, + "rfspIndex": { + "description": "RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413. This is an optional setting and by default is unspecified.", + "$ref": "./ts29571.json#/definitions/RfspIndex" + }, + "registrationTimer": { + "description": "Interval for the UE periodic registration update procedure, in seconds.", + "type": "integer", + "format": "int32", + "minimum": 30, + "default": 3240 + }, + "sliceConfigurations": { + "description": "The allowed slices and the settings to use for them. The list must not contain duplicate items and must contain at least one item.", + "type": "array", + "items": { + "$ref": "#/definitions/SliceConfiguration" + }, + "minItems": 1, + "uniqueItems": true, + "x-ms-identifiers": [ + "slice" + ] + } + }, + "required": [ + "ueAmbr", + "defaultSlice", + "sliceConfigurations" + ] + }, + "SliceConfiguration": { + "description": "Per-slice settings", + "type": "object", + "properties": { + "slice": { + "description": "A reference to the Slice that these settings apply to", + "$ref": "./common.json#/definitions/SliceResourceId" + }, + "defaultDataNetwork": { + "description": "The default data network to use if the UE does not explicitly specify it. Configuration for this object must exist in the `dataNetworkConfigurations` map.", + "$ref": "./common.json#/definitions/DataNetworkResourceId" + }, + "dataNetworkConfigurations": { + "description": "The allowed data networks and the settings to use for them. The list must not contain duplicate items and must contain at least one item.", + "type": "array", + "items": { + "$ref": "#/definitions/DataNetworkConfiguration" + }, + "minItems": 1, + "uniqueItems": true, + "x-ms-identifiers": [ + "dataNetwork" + ] + } + }, + "required": [ + "slice", + "defaultDataNetwork", + "dataNetworkConfigurations" + ] + }, + "DataNetworkConfiguration": { + "description": "Settings controlling Data Network use", + "type": "object", + "properties": { + "dataNetwork": { + "description": "A reference to the Data Network that these settings apply to", + "$ref": "./common.json#/definitions/DataNetworkResourceId" + }, + "sessionAmbr": { + "description": "Aggregate maximum bit rate across all non-GBR QoS flows of a given PDU session. See 3GPP TS23.501 section 5.7.2.6 for a full description of the Session-AMBR.", + "$ref": "./ts29571.json#/definitions/Ambr" + }, + "5qi": { + "description": "Default QoS Flow 5G QoS Indicator value. The 5QI identifies a specific QoS forwarding treatment to be provided to a flow. This must not be a standardized 5QI value selecting a GBR (Guaranteed Bit Rate) QoS. The illegal GBR 5QI values are: 1, 2, 3, 4, 65, 66, 67, 71, 72, 73, 74, 75, 76, 82, 83, 84, and 85. See 3GPP TS23.501 section 5.7.2.1 for a full description of the 5Qi parameter, and table 5.7.4-1 for the definition of which are the GBR 5QI values.", + "$ref": "./ts29571.json#/definitions/5QiPriorityLevel", + "default": 9 + }, + "allocationAndRetentionPriorityLevel": { + "description": "Default QoS Flow allocation and retention priority (ARP) level. Flows with higher priority preempt flows with lower priority, if the settings of `preemptionCapability` and `preemptionVulnerability` allow it. 1 is the highest level of priority. If this field is not specified then `5qi` is used to derive the ARP value. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.", + "$ref": "./ts29571.json#/definitions/ArpPriorityLevel", + "default": 9 + }, + "preemptionCapability": { + "description": "Default QoS Flow preemption capability. The Preemption Capability of a QoS Flow controls whether it can preempt another QoS Flow with a lower priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.", + "$ref": "./ts29571.json#/definitions/PreemptionCapability", + "default": "NotPreempt" + }, + "preemptionVulnerability": { + "description": "Default QoS Flow preemption vulnerability. The Preemption Vulnerability of a QoS Flow controls whether it can be preempted by QoS Flow with a higher priority level. See 3GPP TS23.501 section 5.7.2.2 for a full description of the ARP parameters.", + "$ref": "./ts29571.json#/definitions/PreemptionVulnerability", + "default": "Preemptable" + }, + "defaultSessionType": { + "description": "The default PDU session type, which is used if the UE does not request a specific session type.", + "$ref": "./ts29571.json#/definitions/PduSessionType", + "default": "IPv4" + }, + "additionalAllowedSessionTypes": { + "description": "Allowed session types in addition to the default session type. Must not duplicate the default session type.", + "type": "array", + "items": { + "$ref": "./ts29571.json#/definitions/PduSessionType" + }, + "maxItems": 1 + }, + "allowedServices": { + "description": "List of Services that can be used as part of this Sim Policy. The list must not contain duplicate items and must contain at least one item.", + "type": "array", + "items": { + "$ref": "./common.json#/definitions/ServiceResourceId" + }, + "minItems": 1, + "uniqueItems": true + } + }, + "required": [ + "dataNetwork", + "sessionAmbr", + "allowedServices" + ] + }, + "SimPolicyListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SimPolicy" + }, + "description": "A list of SimPolicies." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for SimPolicies API service call." + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/slice.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/slice.json new file mode 100644 index 000000000000..1c7f1e804af8 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/slice.json @@ -0,0 +1,359 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage network slice resources in mobile network", + "version": "2022-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/slices/{sliceName}": { + "delete": { + "tags": [ + "Slices" + ], + "operationId": "Slices_Delete", + "description": "Deletes the specified mobile network slice.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SliceNameParameter" + } + ], + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "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." + }, + "204": { + "description": "Request successful. Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete mobile network slice": { + "$ref": "./examples/SliceDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Slices" + ], + "operationId": "Slices_Get", + "description": "Gets information about the specified mobile network slice.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SliceNameParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting mobile network slice resource.", + "schema": { + "$ref": "#/definitions/Slice" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get mobile network slice": { + "$ref": "./examples/SliceGet.json" + } + } + }, + "put": { + "tags": [ + "Slices" + ], + "operationId": "Slices_CreateOrUpdate", + "description": "Creates or updates a mobile network slice.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SliceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Slice" + }, + "description": "Parameters supplied to the create or update mobile network slice operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting mobile network slice resource.", + "schema": { + "$ref": "#/definitions/Slice" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting mobile network slice resource.", + "schema": { + "$ref": "#/definitions/Slice" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create mobile network slice": { + "$ref": "./examples/SliceCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "Slices" + ], + "operationId": "Slices_UpdateTags", + "description": "Update slice tags.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SliceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update mobile network slice tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting mobile network slice resource.", + "schema": { + "$ref": "#/definitions/Slice" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update mobile network slice tags": { + "$ref": "./examples/SliceUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/slices": { + "get": { + "tags": [ + "Slices" + ], + "operationId": "Slices_ListByMobileNetwork", + "description": "Lists all slices in the mobile network.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of mobile network resources.", + "schema": { + "$ref": "#/definitions/SliceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List mobile network slices in a mobile network": { + "$ref": "./examples/SliceListByMobileNetwork.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Slice": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SlicePropertiesFormat", + "description": "Slice properties." + }, + "systemData": { + "x-ms-client-flatten": true, + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ], + "required": [ + "properties" + ], + "description": "Network slice resource." + }, + "SlicePropertiesFormat": { + "description": "Network slice properties.", + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the network slice resource." + }, + "snssai": { + "$ref": "./ts29571.json#/definitions/Snssai", + "description": "The S-NSSAI (single network slice selection assistance information). Unique at the scope of a MobileNetwork." + }, + "description": { + "type": "string", + "description": "An optional description for this network slice." + } + }, + "required": [ + "snssai" + ] + }, + "SliceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Slice" + }, + "description": "A list of data networks in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for attached data network API service call." + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/ts29571.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/ts29571.json new file mode 100644 index 000000000000..1638283b3c6f --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/ts29571.json @@ -0,0 +1,335 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage the virtual network functions deployed using mobile network. They are standard mobile network properties defined by 3GPP in TS 29.571 v16.6.0.", + "version": "2022-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": {}, + "definitions": { + "Ipv4Addr": { + "type": "string", + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$", + "description": "IPv4 address.", + "example": "198.51.100.1" + }, + "Ipv4AddrRm": { + "$ref": "#/definitions/Ipv4Addr", + "x-nullable": true, + "description": "IPv4 address or null." + }, + "Ipv4AddrMask": { + "type": "string", + "pattern": "^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2]))$", + "description": "IPv4 address mask.", + "example": "198.51.0.0/16" + }, + "Ipv4AddrMaskRm": { + "$ref": "#/definitions/Ipv4AddrMask", + "x-nullable": true, + "description": "IPv4 address mask or null." + }, + "BitRate": { + "type": "string", + "pattern": "^\\d+(\\.\\d+)? (bps|Kbps|Mbps|Gbps|Tbps)$", + "description": "Bit rate." + }, + "BitRateRm": { + "$ref": "#/definitions/BitRate", + "x-nullable": true, + "description": "Bit rate or null." + }, + "Ambr": { + "description": "Aggregate Maximum Bit Rate.", + "type": "object", + "properties": { + "uplink": { + "$ref": "#/definitions/BitRate", + "description": "Uplink bit rate." + }, + "downlink": { + "$ref": "#/definitions/BitRate", + "description": "Downlink bit rate." + } + }, + "required": [ + "uplink", + "downlink" + ] + }, + "AmbrRm": { + "$ref": "#/definitions/Ambr", + "x-nullable": true, + "description": "Aggregate Maximum Bit Rate or null." + }, + "RfspIndex": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 256, + "description": "RAT/Frequency Selection Priority Index" + }, + "RfspIndexRm": { + "$ref": "#/definitions/RfspIndex", + "x-nullable": true, + "description": "RAT/Frequency Selection Priority Index or null" + }, + "5Qi": { + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 255, + "description": "5G QoS Identifier." + }, + "5QiRm": { + "$ref": "#/definitions/5Qi", + "x-nullable": true, + "description": "5G QoS Identifier or null." + }, + "5QiPriorityLevel": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 127, + "description": "5G QoS Identifier priority level." + }, + "5QiPriorityLevelRm": { + "$ref": "#/definitions/5QiPriorityLevel", + "x-nullable": true, + "description": "5G QoS Identifier priority level or null." + }, + "ArpPriorityLevel": { + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 15, + "description": "ARP priority level." + }, + "ArpPriorityLevelRm": { + "$ref": "#/definitions/ArpPriorityLevel", + "x-nullable": true, + "description": "ARP priority level or null." + }, + "PreemptionCapability": { + "type": "string", + "description": "Preemption capability.", + "enum": [ + "NotPreempt", + "MayPreempt" + ], + "x-ms-enum": { + "name": "PreemptionCapability", + "modelAsString": true, + "values": [ + { + "value": "NotPreempt", + "description": "Cannot preempt" + }, + { + "value": "MayPreempt", + "description": "May preempt" + } + ] + } + }, + "PreemptionVulnerability": { + "type": "string", + "description": "Preemption vulnerability.", + "enum": [ + "NotPreemptable", + "Preemptable" + ], + "x-ms-enum": { + "name": "PreemptionVulnerability", + "modelAsString": true, + "values": [ + { + "value": "NotPreemptable", + "description": "Cannot be preempted" + }, + { + "value": "Preemptable", + "description": "May be preempted" + } + ] + } + }, + "Arp": { + "description": "Allocation and Retention Priority (ARP) parameters.", + "type": "object", + "properties": { + "priorityLevel": { + "$ref": "#/definitions/ArpPriorityLevel", + "description": "ARP priority level." + }, + "preemptCap": { + "$ref": "#/definitions/PreemptionCapability", + "description": "ARP preemption capability." + }, + "preemptVuln": { + "$ref": "#/definitions/PreemptionVulnerability", + "description": "ARP preemption vulnerability" + } + }, + "required": [ + "priorityLevel", + "preemptCap", + "preemptVuln" + ] + }, + "Mcc": { + "type": "string", + "pattern": "^\\d{3}$", + "description": "Mobile Country Code." + }, + "MccRm": { + "$ref": "#/definitions/Mcc", + "x-nullable": true, + "description": "Mobile Country Code or null." + }, + "Mnc": { + "type": "string", + "pattern": "^\\d{2,3}$", + "description": "Mobile Network Code." + }, + "MncRm": { + "$ref": "#/definitions/Mnc", + "x-nullable": true, + "description": "Mobile Network Code or null." + }, + "PlmnId": { + "description": "Public Land Mobile Network (PLMN) ID.", + "type": "object", + "properties": { + "mcc": { + "$ref": "#/definitions/Mcc", + "description": "Mobile Country Code (MCC)." + }, + "mnc": { + "$ref": "#/definitions/Mnc", + "description": "Mobile Network Code (MNC)." + } + }, + "required": [ + "mcc", + "mnc" + ] + }, + "PlmnIdRm": { + "$ref": "#/definitions/PlmnId", + "x-nullable": true, + "description": "Public Land Mobile Network ID or null." + }, + "Tac": { + "type": "string", + "pattern": "(^[A-Fa-f0-9]{4}$)|(^[A-Fa-f0-9]{6}$)", + "description": "Tracking Area Code (TAC)." + }, + "TacRm": { + "$ref": "#/definitions/Tac", + "x-nullable": true, + "description": "Tracking Area Code (TAC) or null." + }, + "CoreNetworkType": { + "type": "string", + "description": "Core network type.", + "enum": [ + "5GC", + "EPC" + ], + "x-ms-enum": { + "name": "CoreNetworkType", + "modelAsString": true, + "values": [ + { + "value": "5GC", + "description": "5G core" + }, + { + "value": "EPC", + "description": "EPC / 4G core" + } + ] + } + }, + "CoreNetworkTypeRm": { + "$ref": "#/definitions/CoreNetworkType", + "x-nullable": true, + "description": "Core network type or null." + }, + "PduSessionType": { + "type": "string", + "description": "PDU session type (IPv4/IPv6).", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "PduSessionType", + "modelAsString": true, + "values": [ + { + "value": "IPv4" + }, + { + "value": "IPv6" + } + ] + } + }, + "PduSessionTypeRm": { + "$ref": "#/definitions/PduSessionType", + "x-nullable": true, + "description": "PDU session type or null." + }, + "Snssai": { + "description": "Single-Network Slice Selection Assistance Information (S-NSSAI).", + "type": "object", + "properties": { + "sst": { + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 255, + "description": "Slice/Service Type (SST)." + }, + "sd": { + "type": "string", + "pattern": "^[A-Fa-f0-9]{6}$", + "description": "Slice Differentiator (SD)." + } + }, + "required": [ + "sst" + ] + } + } +} diff --git a/specification/mobilenetwork/resource-manager/readme.go.md b/specification/mobilenetwork/resource-manager/readme.go.md index 0060f934730b..2a0fba501b2e 100644 --- a/specification/mobilenetwork/resource-manager/readme.go.md +++ b/specification/mobilenetwork/resource-manager/readme.go.md @@ -12,11 +12,22 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2022-03-01-preview - tag: package-2022-01-01-preview - tag: package-2021-04-01-preview - tag: package-2020-06-01-preview ``` +### Tag: package-2022-03-01-preview and go + +These settings apply only when `--tag=package-2022-03-01-preview --go` is specified on the command line. +Please also specify `--go-sdks-folder=`. + +```yaml $(tag) == 'package-2022-03-01-preview' && $(go) +namespace: mobilenetwork +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2022-03-01-preview/$(namespace) +``` + ### Tag: package-2022-01-01-preview and go These settings apply only when `--tag=package-2022-01-01-preview --go` is specified on the command line. diff --git a/specification/mobilenetwork/resource-manager/readme.md b/specification/mobilenetwork/resource-manager/readme.md index c0acc37a49d1..a91c2734cd4b 100644 --- a/specification/mobilenetwork/resource-manager/readme.md +++ b/specification/mobilenetwork/resource-manager/readme.md @@ -27,7 +27,26 @@ These are the global settings for the mobilenetwork. ```yaml openapi-type: arm openapi-subtype: rpaas -tag: package-2022-01-01-preview +tag: package-2022-03-01-preview +``` + +### Tag: package-2022-03-01-preview + +These settings apply only when `--tag=package-2022-03-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-03-01-preview' +input-file: + - Microsoft.MobileNetwork/preview/2022-03-01-preview/attachedDataNetwork.json + - Microsoft.MobileNetwork/preview/2022-03-01-preview/common.json + - Microsoft.MobileNetwork/preview/2022-03-01-preview/dataNetwork.json + - Microsoft.MobileNetwork/preview/2022-03-01-preview/mobileNetwork.json + - Microsoft.MobileNetwork/preview/2022-03-01-preview/operation.json + - Microsoft.MobileNetwork/preview/2022-03-01-preview/packetCoreControlPlane.json + - Microsoft.MobileNetwork/preview/2022-03-01-preview/packetCoreDataPlane.json + - Microsoft.MobileNetwork/preview/2022-03-01-preview/service.json + - Microsoft.MobileNetwork/preview/2022-03-01-preview/simPolicy.json + - Microsoft.MobileNetwork/preview/2022-03-01-preview/slice.json + - Microsoft.MobileNetwork/preview/2022-03-01-preview/ts29571.json ``` ### Tag: package-2022-01-01-preview