From 77a11ca59d78dcbf610889e3e838f42f10431f29 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Wed, 6 Jul 2022 09:02:02 +0530 Subject: [PATCH 1/4] Added new API version 2022-04-01-preview --- .../attachedDataNetwork.json | 514 +++++++ .../preview/2022-04-01-preview/common.json | 367 +++++ .../2022-04-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-04-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-04-01-preview/examples/SiteGet.json | 35 + .../examples/SiteListByMobileNetwork.json | 38 + .../examples/SiteUpdateTags.json | 45 + .../examples/SliceCreate.json | 71 + .../examples/SliceDelete.json | 14 + .../2022-04-01-preview/examples/SliceGet.json | 36 + .../examples/SliceListByMobileNetwork.json | 39 + .../examples/SliceUpdateTags.json | 45 + .../2022-04-01-preview/mobileNetwork.json | 1189 +++++++++++++++++ .../preview/2022-04-01-preview/operation.json | 136 ++ .../packetCoreControlPlane.json | 396 ++++++ .../packetCoreDataPlane.json | 355 +++++ .../preview/2022-04-01-preview/service.json | 569 ++++++++ .../preview/2022-04-01-preview/simPolicy.json | 475 +++++++ .../preview/2022-04-01-preview/slice.json | 359 +++++ .../preview/2022-04-01-preview/ts29571.json | 335 +++++ .../mobilenetwork/resource-manager/readme.md | 21 +- .../resource-manager/readme.ruby.md | 13 +- 68 files changed, 7955 insertions(+), 2 deletions(-) create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/attachedDataNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/common.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/dataNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/OperationList.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimIdListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/mobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/operation.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreControlPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreDataPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/service.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/simPolicy.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/slice.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/ts29571.json diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/attachedDataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/attachedDataNetwork.json new file mode 100644 index 000000000000..a703742ec780 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/common.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/common.json new file mode 100644 index 000000000000..2175ce083174 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/common.json @@ -0,0 +1,367 @@ +{ + "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." + } + ] + } + }, + "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-04-01-preview/dataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/dataNetwork.json new file mode 100644 index 000000000000..f519ccc214db --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/AttachedDataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkCreate.json new file mode 100644 index 000000000000..e531955a6bed --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/AttachedDataNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkDelete.json new file mode 100644 index 000000000000..1ec3cdcef89d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/AttachedDataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkGet.json new file mode 100644 index 000000000000..595eb14444a3 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json new file mode 100644 index 000000000000..e3f6f3fea552 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/AttachedDataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkUpdateTags.json new file mode 100644 index 000000000000..24097f4c7b20 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/DataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkCreate.json new file mode 100644 index 000000000000..78002b1b3a71 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/DataNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkDelete.json new file mode 100644 index 000000000000..68b14c799f57 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/DataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkGet.json new file mode 100644 index 000000000000..166af9d9dea5 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/DataNetworkListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkListByMobileNetwork.json new file mode 100644 index 000000000000..2de6ba9b44a7 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/DataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkUpdateTags.json new file mode 100644 index 000000000000..00666b2f23be --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/MobileNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkCreate.json new file mode 100644 index 000000000000..d2d2d1688efd --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/MobileNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkDelete.json new file mode 100644 index 000000000000..00c4daf9b0da --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/MobileNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkGet.json new file mode 100644 index 000000000000..0e26ac138d97 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/MobileNetworkListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListByResourceGroup.json new file mode 100644 index 000000000000..57c155d54a7a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/MobileNetworkListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListBySubscription.json new file mode 100644 index 000000000000..fe63d5de5fe7 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/MobileNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkUpdateTags.json new file mode 100644 index 000000000000..3e3a20450cc5 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/OperationList.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/OperationList.json new file mode 100644 index 000000000000..88ea8defb7d4 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/PacketCoreControlPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneCreate.json new file mode 100644 index 000000000000..cf139944dfc2 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/PacketCoreControlPlaneDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneDelete.json new file mode 100644 index 000000000000..2c545bf9f14e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/PacketCoreControlPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneGet.json new file mode 100644 index 000000000000..6b7e0fa4adab --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json new file mode 100644 index 000000000000..00d890910c38 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json new file mode 100644 index 000000000000..e75492e96768 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json new file mode 100644 index 000000000000..cef08f282bb7 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/PacketCoreDataPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneCreate.json new file mode 100644 index 000000000000..71bc01235e18 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/PacketCoreDataPlaneDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneDelete.json new file mode 100644 index 000000000000..c73aef31b7cc --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/PacketCoreDataPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneGet.json new file mode 100644 index 000000000000..ebc1f6f897db --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json new file mode 100644 index 000000000000..b79ea8bcd143 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json new file mode 100644 index 000000000000..8d16697586aa --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/ServiceCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceCreate.json new file mode 100644 index 000000000000..ac43ba3a9ea9 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/ServiceDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceDelete.json new file mode 100644 index 000000000000..4c01df4041ba --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/ServiceGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceGet.json new file mode 100644 index 000000000000..433235690883 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/ServiceListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceListByMobileNetwork.json new file mode 100644 index 000000000000..821cd7d9fb1a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/ServiceUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceUpdateTags.json new file mode 100644 index 000000000000..54ec7fba333d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimCreate.json new file mode 100644 index 000000000000..fe2920c06476 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SimDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimDelete.json new file mode 100644 index 000000000000..d70d3aee8931 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGet.json new file mode 100644 index 000000000000..0a6dab7ba5a6 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SimIdListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimIdListByMobileNetwork.json new file mode 100644 index 000000000000..a40ca8fb41fd --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListByResourceGroup.json new file mode 100644 index 000000000000..2480b885f0f9 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListBySubscription.json new file mode 100644 index 000000000000..11848859e3ad --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SimPolicyCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyCreate.json new file mode 100644 index 000000000000..d179b97e0364 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SimPolicyDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyDelete.json new file mode 100644 index 000000000000..30ee78dd387a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SimPolicyGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyGet.json new file mode 100644 index 000000000000..0bb1ad6daa4c --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SimPolicyListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyListByMobileNetwork.json new file mode 100644 index 000000000000..f239d8011f36 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SimPolicyUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyUpdateTags.json new file mode 100644 index 000000000000..69a425f8f24e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimUpdateTags.json new file mode 100644 index 000000000000..1874c253688f --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SiteCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteCreate.json new file mode 100644 index 000000000000..50348962d265 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SiteDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteDelete.json new file mode 100644 index 000000000000..25e0712d4bdb --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SiteGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteGet.json new file mode 100644 index 000000000000..bf1efabfa08b --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SiteListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteListByMobileNetwork.json new file mode 100644 index 000000000000..b6673964a12b --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SiteUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteUpdateTags.json new file mode 100644 index 000000000000..3102340416a1 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SliceCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceCreate.json new file mode 100644 index 000000000000..a66477a4a464 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SliceDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceDelete.json new file mode 100644 index 000000000000..5fb5aba5462c --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SliceGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceGet.json new file mode 100644 index 000000000000..d7e6f407a557 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SliceListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceListByMobileNetwork.json new file mode 100644 index 000000000000..917c6120c364 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/examples/SliceUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceUpdateTags.json new file mode 100644 index 000000000000..195a097557ae --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/mobileNetwork.json new file mode 100644 index 000000000000..578d202a9de6 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/mobileNetwork.json @@ -0,0 +1,1189 @@ +{ + "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." + }, + "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-04-01-preview/operation.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/operation.json new file mode 100644 index 000000000000..d744586b6d9c --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/packetCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreControlPlane.json new file mode 100644 index 000000000000..62f25fdbc993 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/packetCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreDataPlane.json new file mode 100644 index 000000000000..1e0735c5587d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/service.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/service.json new file mode 100644 index 000000000000..1a25a199966e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/simPolicy.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/simPolicy.json new file mode 100644 index 000000000000..bff31e0979c9 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/slice.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/slice.json new file mode 100644 index 000000000000..1c7f1e804af8 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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-04-01-preview/ts29571.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/ts29571.json new file mode 100644 index 000000000000..1638283b3c6f --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-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.md b/specification/mobilenetwork/resource-manager/readme.md index 3514390c172e..fcfef8dd72d8 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-03-01-preview +tag: package-2022-04-01-preview +``` + +### Tag: package-2022-04-01-preview + +These settings apply only when `--tag=package-2022-04-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-04-01-preview' +input-file: + - Microsoft.MobileNetwork/preview/2022-04-01-preview/attachedDataNetwork.json + - Microsoft.MobileNetwork/preview/2022-04-01-preview/common.json + - Microsoft.MobileNetwork/preview/2022-04-01-preview/dataNetwork.json + - Microsoft.MobileNetwork/preview/2022-04-01-preview/mobileNetwork.json + - Microsoft.MobileNetwork/preview/2022-04-01-preview/operation.json + - Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreControlPlane.json + - Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreDataPlane.json + - Microsoft.MobileNetwork/preview/2022-04-01-preview/service.json + - Microsoft.MobileNetwork/preview/2022-04-01-preview/simPolicy.json + - Microsoft.MobileNetwork/preview/2022-04-01-preview/slice.json + - Microsoft.MobileNetwork/preview/2022-04-01-preview/ts29571.json ``` ### Tag: package-2022-03-01-preview diff --git a/specification/mobilenetwork/resource-manager/readme.ruby.md b/specification/mobilenetwork/resource-manager/readme.ruby.md index eee457be408b..72d8502cd9b9 100644 --- a/specification/mobilenetwork/resource-manager/readme.ruby.md +++ b/specification/mobilenetwork/resource-manager/readme.ruby.md @@ -4,7 +4,7 @@ These settings apply only when `--ruby` is specified on the command line. ```yaml package-name: azure_mgmt_mobilenetwork -package-version: 2022-03-01-preview +package-version: 2022-04-01-preview azure-arm: true ``` @@ -12,10 +12,21 @@ azure-arm: true ``` yaml $(ruby) && $(multiapi) batch: + - tag: package-2022-04-01-preview - tag: package-2022-03-01-preview - tag: package-2022-01-01-preview ``` +### Tag: package-2022-04-01-preview and ruby + +These settings apply only when `--tag=package-2022-04-01-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2022-04-01-preview' && $(ruby) +namespace: Microsoft.MobileNetwork +output-folder: $(ruby-sdks-folder)/mobilenetwork +``` + ### Tag: package-2022-03-01-preview and ruby These settings apply only when `--tag=package-2022-03-01-preview --ruby` is specified on the command line. From 97c40486d7a295c19a6aa87e97093d779d3a74b4 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Wed, 6 Jul 2022 09:43:57 +0530 Subject: [PATCH 2/4] Updated API version 2022-04-01-preview --- custom-words.txt | 5 +- .../attachedDataNetwork.json | 50 +- .../preview/2022-04-01-preview/common.json | 145 +++++- .../2022-04-01-preview/dataNetwork.json | 40 +- .../examples/AttachedDataNetworkCreate.json | 35 +- .../examples/AttachedDataNetworkDelete.json | 2 +- .../examples/AttachedDataNetworkGet.json | 13 +- ...dDataNetworkListByPacketCoreDataPlane.json | 13 +- .../AttachedDataNetworkUpdateTags.json | 13 +- .../examples/DataNetworkCreate.json | 2 +- .../examples/DataNetworkDelete.json | 2 +- .../examples/DataNetworkGet.json | 2 +- .../DataNetworkListByMobileNetwork.json | 2 +- .../examples/DataNetworkUpdateTags.json | 2 +- .../examples/MobileNetworkCreate.json | 2 +- .../examples/MobileNetworkDelete.json | 2 +- .../examples/MobileNetworkGet.json | 2 +- .../MobileNetworkListByResourceGroup.json | 2 +- .../MobileNetworkListBySubscription.json | 2 +- .../examples/MobileNetworkUpdateTags.json | 2 +- .../examples/OperationList.json | 2 +- .../PacketCoreControlPlaneCreate.json | 59 ++- .../PacketCoreControlPlaneDelete.json | 2 +- .../examples/PacketCoreControlPlaneGet.json | 21 +- ...etCoreControlPlaneListByResourceGroup.json | 21 +- ...ketCoreControlPlaneListBySubscription.json | 21 +- .../PacketCoreControlPlaneUpdateTags.json | 21 +- .../examples/PacketCoreDataPlaneCreate.json | 2 +- .../examples/PacketCoreDataPlaneDelete.json | 2 +- .../examples/PacketCoreDataPlaneGet.json | 2 +- ...DataPlaneListByPacketCoreControlPlane.json | 2 +- .../PacketCoreDataPlaneUpdateTags.json | 2 +- .../examples/ServiceCreate.json | 2 +- .../examples/ServiceDelete.json | 2 +- .../examples/ServiceGet.json | 2 +- .../examples/ServiceListByMobileNetwork.json | 2 +- .../examples/ServiceUpdateTags.json | 2 +- .../examples/SimCreate.json | 23 +- .../examples/SimDelete.json | 3 +- .../2022-04-01-preview/examples/SimGet.json | 11 +- .../examples/SimGroupCreate.json | 73 +++ .../examples/SimGroupDelete.json | 13 + .../examples/SimGroupGet.json | 36 ++ .../examples/SimGroupListByResourceGroup.json | 39 ++ .../examples/SimGroupListBySubscription.json | 38 ++ .../examples/SimGroupUpdateTags.json | 45 ++ .../examples/SimIdListByMobileNetwork.json | 8 +- ...ourceGroup.json => SimListBySimGroup.json} | 13 +- .../examples/SimListBySubscription.json | 54 -- .../examples/SimPolicyCreate.json | 2 +- .../examples/SimPolicyDelete.json | 2 +- .../examples/SimPolicyGet.json | 2 +- .../SimPolicyListByMobileNetwork.json | 2 +- .../examples/SimPolicyUpdateTags.json | 2 +- .../examples/SimUpdateTags.json | 62 --- .../examples/SiteCreate.json | 2 +- .../examples/SiteDelete.json | 2 +- .../2022-04-01-preview/examples/SiteGet.json | 2 +- .../examples/SiteListByMobileNetwork.json | 2 +- .../examples/SiteUpdateTags.json | 2 +- .../examples/SliceCreate.json | 2 +- .../examples/SliceDelete.json | 2 +- .../2022-04-01-preview/examples/SliceGet.json | 2 +- .../examples/SliceListByMobileNetwork.json | 2 +- .../examples/SliceUpdateTags.json | 2 +- ...pportedPacketCoreControlPlaneVersions.json | 19 + .../2022-04-01-preview/mobileNetwork.json | 466 ++++++++++++++---- .../preview/2022-04-01-preview/operation.json | 2 +- .../packetCoreControlPlane.json | 177 ++++++- .../packetCoreDataPlane.json | 22 +- .../preview/2022-04-01-preview/service.json | 48 +- .../preview/2022-04-01-preview/simPolicy.json | 82 +-- .../preview/2022-04-01-preview/slice.json | 50 +- .../preview/2022-04-01-preview/ts29571.json | 30 +- 74 files changed, 1314 insertions(+), 535 deletions(-) create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupUpdateTags.json rename specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/{SimListByResourceGroup.json => SimListBySimGroup.json} (82%) delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListBySubscription.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SupportedPacketCoreControlPlaneVersions.json diff --git a/custom-words.txt b/custom-words.txt index e43c65c9fedf..d9284e682fe4 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1938,6 +1938,7 @@ skillsets skiptoken sklearn skus +SKU SKU's SLES Sllb @@ -2613,4 +2614,6 @@ setx verifyx removex generateverificationcodex -favorited \ No newline at end of file +favorited +SIMIDs +ICCID \ No newline at end of file diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/attachedDataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/attachedDataNetwork.json index a703742ec780..3980aec710ab 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/attachedDataNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/attachedDataNetwork.json @@ -3,7 +3,7 @@ "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" + "version": "2022-04-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -204,7 +204,7 @@ "AttachedDataNetwork" ], "operationId": "AttachedDataNetworks_UpdateTags", - "description": "Updates an attached data network update tags.", + "description": "Updates an attached data network tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -258,10 +258,10 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCoreDataPlanes/{packetCoreDataPlaneName}/attachedDataNetworks": { "get": { "tags": [ - "AttachedDataNetwork" + "AttachedDataNetworks" ], "operationId": "AttachedDataNetworks_ListByPacketCoreDataPlane", - "description": "Gets all the data networks associated with a packet core data plane.", + "description": "Gets all the attached data networks associated with a packet core data plane.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -341,11 +341,19 @@ }, "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." + "description": "The user plane interface on the data network. For 5G networks, this is the N6 interface. For 4G networks, this is the SGi interface." + }, + "dnsAddresses": { + "type": "array", + "items": { + "$ref": "./ts29571.json#/definitions/Ipv4Addr" + }, + "uniqueItems": true, + "description": "The DNS servers to signal to UEs to use for this attached data network." }, "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." + "description": "The network address and port translation (NAPT) configuration.\nIf this is not specified, the attached data network will use a default NAPT configuration with NAPT enabled." }, "userEquipmentAddressPoolPrefix": { "type": "array", @@ -354,7 +362,7 @@ }, "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." + "description": "The user equipment (UE) address pool prefixes for the attached data network from which the packet core instance will dynamically assign IP addresses to UEs.\nThe packet core instance assigns an IP address to a UE when the UE sets up a PDU session.\n You must define at least one of userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix. If you define both, they must be of the same size." }, "userEquipmentStaticAddressPoolPrefix": { "type": "array", @@ -363,7 +371,7 @@ }, "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." + "description": "The user equipment (UE) address pool prefixes for the attached data network from which the packet core instance will assign static IP addresses to UEs.\nThe packet core instance assigns an IP address to a UE when the UE sets up a PDU session. The static IP address for a specific UE is set in StaticIPConfiguration on the corresponding SIM resource.\nAt least one of userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined, they must be of the same size." } }, "required": [ @@ -389,15 +397,15 @@ "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.", + "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.", + "description": "Whether NAPT is enabled for connections to this attached data network.", "$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.)", + "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 - 49,999.\n(Ports under 1,024 should not be used because these are special purpose ports reserved by IANA. Ports 50,000 and above are reserved for non-NAPT use.)", "$ref": "#/definitions/PortRange" }, "portReuseHoldTime": { @@ -405,7 +413,7 @@ "$ref": "#/definitions/PortReuseHoldTimes" }, "pinholeLimits": { - "description": "Maximum number of UDP and TCP pinholes that can be open simultaneously on the core interface.", + "description": "Maximum number of UDP and TCP pinholes that can be open simultaneously on the core interface. For 5G networks, this is the N6 interface. For 4G networks, this is the SGi interface.", "type": "integer", "format": "int32", "minimum": 1, @@ -419,7 +427,7 @@ } }, "NaptEnabled": { - "description": "Whether Network Address and Port Translation is enabled.", + "description": "Whether network address and port translation is enabled.", "type": "string", "enum": [ "Enabled", @@ -442,7 +450,7 @@ "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.)", + "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 - 49,999.\n(Ports under 1,024 should not be used because these are special purpose ports reserved by IANA. Ports 50,000 and above are reserved for non-NAPT use.)", "type": "object", "properties": { "minPort": { @@ -459,7 +467,7 @@ "format": "int32", "minimum": 1024, "maximum": 65535, - "default": 65535 + "default": 49999 } } }, @@ -488,25 +496,25 @@ "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.", + "description": "Pinhole timeout for TCP pinholes in seconds. Default for TCP is 2 hours 4 minutes, as per RFC 5382 section 5.", "type": "integer", "format": "int32", "minimum": 1, - "default": 7440 + "default": 180 }, "udp": { - "description": "Pinhole timeout for UDP pinholes in seconds. Default for UDP is 5 minutes per RFC 4787 section 4.3.", + "description": "Pinhole timeout for UDP pinholes in seconds. Default for UDP is 5 minutes, as per RFC 4787 section 4.3.", "type": "integer", "format": "int32", "minimum": 1, - "default": 300 + "default": 30 }, "icmp": { - "description": "Pinhole timeout for ICMP pinholes in seconds. Default for ICMP Echo is 60 seconds per RFC 5508 section 3.2.", + "description": "Pinhole timeout for ICMP pinholes in seconds. Default for ICMP Echo is 60 seconds, as per RFC 5508 section 3.2.", "type": "integer", "format": "int32", "minimum": 1, - "default": 60 + "default": 30 } } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/common.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/common.json index 2175ce083174..bf1e3c4e2d57 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/common.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/common.json @@ -3,7 +3,7 @@ "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" + "version": "2022-04-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -55,13 +55,13 @@ "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." + "description": "Data network resource ID." } }, "required": [ "id" ], - "description": "Reference to a Data Network resource.", + "description": "Reference to a data network resource.", "x-ms-azure-resource": true }, "AttachedDataNetworkResourceId": { @@ -70,13 +70,13 @@ "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." + "description": "Attached data network resource ID." } }, "required": [ "id" ], - "description": "Reference to an Attached Data Network resource.", + "description": "Reference to an attached data network resource.", "x-ms-azure-resource": true }, "MobileNetworkResourceId": { @@ -85,13 +85,13 @@ "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." + "description": "Mobile network resource ID." } }, "required": [ "id" ], - "description": "Reference to a Mobile Network resource.", + "description": "Reference to a mobile network resource.", "x-ms-azure-resource": true }, "ServiceResourceId": { @@ -106,7 +106,22 @@ "required": [ "id" ], - "description": "Reference to a Service resource.", + "description": "Reference to a service resource.", + "x-ms-azure-resource": true + }, + "SimGroupResourceId": { + "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][gG][rR][oO][uU][pP][sS]/[^/?#]+$", + "description": "SIM group resource ID." + } + }, + "required": [ + "id" + ], + "description": "Reference to a SIM group resource.", "x-ms-azure-resource": true }, "SimPolicyResourceId": { @@ -115,13 +130,13 @@ "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." + "description": "SIM policy resource ID." } }, "required": [ "id" ], - "description": "Reference to a SIM Policy resource.", + "description": "Reference to a SIM policy resource.", "x-ms-azure-resource": true }, "SliceResourceId": { @@ -136,7 +151,37 @@ "required": [ "id" ], - "description": "Reference to a Slice resource.", + "description": "Reference to a slice resource.", + "x-ms-azure-resource": true + }, + "AzureStackEdgeDeviceResourceId": { + "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]\\.[dD][aA][tT][aA][bB][oO][xX][eE][dD][gG][eE]/[dD][aA][tT][aA][bB][oO][xX][eE][dD][gG][eE][dD][eE][vV][iI][cC][eE][sS]/[^/?#]+$", + "description": "Azure Stack Edge device resource ID." + } + }, + "required": [ + "id" + ], + "description": "Reference to an Azure Arc custom location resource.", + "x-ms-azure-resource": true + }, + "ConnectedClusterResourceId": { + "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]\\.[kK][uU][bB][eE][rR][nN][eE][tT][eE][sS]/[cC][oO][nN][nN][eE][cC][tT][eE][dD][cC][lL][uU][sS][tT][eE][rR][sS]/[^/?#]+$", + "description": "Azure Arc connected cluster resource ID." + } + }, + "required": [ + "id" + ], + "description": "Reference to an Azure Arc custom location resource.", "x-ms-azure-resource": true }, "CustomLocationResourceId": { @@ -145,13 +190,13 @@ "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." + "description": "Azure Arc custom location resource ID." } }, "required": [ "id" ], - "description": "Reference to an Azure ARC custom location resource.", + "description": "Reference to an Azure Arc custom location resource.", "x-ms-azure-resource": true }, "ProvisioningState": { @@ -211,7 +256,7 @@ "SimState": { "type": "string", "readOnly": true, - "description": "The state of the sim resource.", + "description": "The state of the SIM resource.", "enum": [ "Disabled", "Enabled", @@ -223,15 +268,15 @@ "values": [ { "value": "Disabled", - "description": "The sim is disabled because not all configuration required for enabling is present." + "description": "The SIM is disabled because not all configuration required for enabling is present." }, { "value": "Enabled", - "description": "The sim is enabled." + "description": "The SIM is enabled." }, { "value": "Invalid", - "description": "The sim cannot be enabled because some of the associated configuration is invalid." + "description": "The SIM cannot be enabled because some of the associated configuration is invalid." } ] } @@ -241,7 +286,7 @@ "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." + "description": "The logical name for this interface. This should match one of the interfaces configured on your Azure Stack Edge device." }, "ipv4Address": { "$ref": "./ts29571.json#/definitions/Ipv4Addr", @@ -256,10 +301,54 @@ "description": "The default IPv4 gateway (router)." } }, - "required": [ - "name" - ], "description": "Interface properties" + }, + "BillingSku": { + "type": "string", + "description": "The SKU of the packet core control plane resource. The SKU list may change over time when a new SKU gets added or an exiting SKU gets removed.", + "enum": [ + "EvaluationPackage", + "FlagshipStarterPackage", + "EdgeSite2GBPS", + "EdgeSite3GBPS", + "EdgeSite4GBPS", + "MediumPackage", + "LargePackage" + ], + "x-ms-enum": { + "name": "BillingSku", + "modelAsString": true, + "values": [ + { + "value": "EvaluationPackage", + "description": "Evaluation package plan" + }, + { + "value": "FlagshipStarterPackage", + "description": "Flagship starter package plan" + }, + { + "value": "EdgeSite2GBPS", + "description": "Edge site 2Gbps plan" + }, + { + "value": "EdgeSite3GBPS", + "description": "Edge site 3Gbps plan" + }, + { + "value": "EdgeSite4GBPS", + "description": "Edge site 4Gbps plan" + }, + { + "value": "MediumPackage", + "description": "Medium package plan" + }, + { + "value": "LargePackage", + "description": "Large package plan" + } + ] + } } }, "parameters": { @@ -280,7 +369,7 @@ "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.", + "description": "The name of the data network.", "x-ms-parameter-location": "method" }, "MobileNetworkNameParameter": { @@ -323,6 +412,16 @@ "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" }, + "SimGroupNameParameter": { + "name": "simGroupName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", + "maxLength": 64, + "description": "The name of the SIM Group.", + "x-ms-parameter-location": "method" + }, "SimNameParameter": { "name": "simName", "in": "path", @@ -360,7 +459,7 @@ "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]*$", "maxLength": 64, - "description": "The name of the mobile network slice.", + "description": "The name of the network slice.", "x-ms-parameter-location": "method" } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/dataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/dataNetwork.json index f519ccc214db..b7ae36055550 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/dataNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/dataNetwork.json @@ -3,7 +3,7 @@ "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" + "version": "2022-04-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -37,10 +37,10 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/dataNetworks/{dataNetworkName}": { "delete": { "tags": [ - "DataNetworks" + "DataNetwork" ], "operationId": "DataNetworks_Delete", - "description": "Deletes the specified mobile network dataNetwork.", + "description": "Deletes the specified data network.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -76,7 +76,7 @@ } }, "x-ms-examples": { - "Delete mobile network dataNetwork": { + "Delete data network": { "$ref": "./examples/DataNetworkDelete.json" } }, @@ -87,10 +87,10 @@ }, "get": { "tags": [ - "DataNetworks" + "DataNetwork" ], "operationId": "DataNetworks_Get", - "description": "Gets information about the specified mobile network dataNetwork.", + "description": "Gets information about the specified data network.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -110,7 +110,7 @@ ], "responses": { "200": { - "description": "Request successful. The operation returns the resulting mobile network dataNetwork resource.", + "description": "Request successful. The operation returns the resulting data network resource.", "schema": { "$ref": "#/definitions/DataNetwork" } @@ -123,17 +123,17 @@ } }, "x-ms-examples": { - "Get mobile network dataNetwork": { + "Get data network": { "$ref": "./examples/DataNetworkGet.json" } } }, "put": { "tags": [ - "DataNetworks" + "DataNetwork" ], "operationId": "DataNetworks_CreateOrUpdate", - "description": "Creates or updates a mobile network dataNetwork.", + "description": "Creates or updates a data network.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -157,18 +157,18 @@ "schema": { "$ref": "#/definitions/DataNetwork" }, - "description": "Parameters supplied to the create or update mobile network dataNetwork operation." + "description": "Parameters supplied to the create or update data network operation." } ], "responses": { "200": { - "description": "Update successful. The operation returns the resulting mobile network dataNetwork resource.", + "description": "Update successful. The operation returns the resulting data network resource.", "schema": { "$ref": "#/definitions/DataNetwork" } }, "201": { - "description": "Create successful. The operation returns the resulting mobile network dataNetwork resource.", + "description": "Create successful. The operation returns the resulting data network resource.", "schema": { "$ref": "#/definitions/DataNetwork" } @@ -181,7 +181,7 @@ } }, "x-ms-examples": { - "Create mobile network dataNetwork": { + "Create data network": { "$ref": "./examples/DataNetworkCreate.json" } }, @@ -192,10 +192,10 @@ }, "patch": { "tags": [ - "DataNetworks" + "DataNetwork" ], "operationId": "DataNetworks_UpdateTags", - "description": "Update data network tags.", + "description": "Updates data network tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -249,7 +249,7 @@ "DataNetworks" ], "operationId": "DataNetworks_ListByMobileNetwork", - "description": "Lists all dataNetworks in the mobile network.", + "description": "Lists all data networks in the mobile network.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -266,7 +266,7 @@ ], "responses": { "200": { - "description": "Request successful. The operation returns a list of mobile network resources.", + "description": "Request successful. The operation returns a list of data network resources.", "schema": { "$ref": "#/definitions/DataNetworkListResult" } @@ -279,7 +279,7 @@ } }, "x-ms-examples": { - "List mobile network dataNetworks in a mobile network": { + "List data networks in a mobile network": { "$ref": "./examples/DataNetworkListByMobileNetwork.json" } }, @@ -335,7 +335,7 @@ "items": { "$ref": "#/definitions/DataNetwork" }, - "description": "A list of data networks in a resource group." + "description": "A list of data networks." }, "nextLink": { "type": "string", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkCreate.json index e531955a6bed..f286e75b43ef 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "TestPacketCoreCP", @@ -12,11 +12,14 @@ "userPlaneDataInterface": { "name": "N6" }, + "dnsAddresses": [ + "1.1.1.1" + ], "naptConfiguration": { "enabled": "Enabled", "portRange": { "minPort": 1024, - "maxPort": 65535 + "maxPort": 49999 }, "portReuseHoldTime": { "tcp": 120, @@ -24,9 +27,9 @@ }, "pinholeLimits": 65536, "pinholeTimeouts": { - "tcp": 7440, - "udp": 300, - "icmp": 60 + "tcp": 180, + "udp": 30, + "icmp": 30 } }, "userEquipmentAddressPoolPrefix": [ @@ -58,11 +61,14 @@ "userPlaneDataInterface": { "name": "N6" }, + "dnsAddresses": [ + "1.1.1.1" + ], "naptConfiguration": { "enabled": "Enabled", "portRange": { "minPort": 1024, - "maxPort": 65535 + "maxPort": 49999 }, "portReuseHoldTime": { "tcp": 120, @@ -70,9 +76,9 @@ }, "pinholeLimits": 65536, "pinholeTimeouts": { - "tcp": 7440, - "udp": 300, - "icmp": 60 + "tcp": 180, + "udp": 30, + "icmp": 30 } }, "userEquipmentAddressPoolPrefix": [ @@ -103,11 +109,14 @@ "userPlaneDataInterface": { "name": "N6" }, + "dnsAddresses": [ + "1.1.1.1" + ], "naptConfiguration": { "enabled": "Enabled", "portRange": { "minPort": 1024, - "maxPort": 65535 + "maxPort": 49999 }, "portReuseHoldTime": { "tcp": 120, @@ -115,9 +124,9 @@ }, "pinholeLimits": 65536, "pinholeTimeouts": { - "tcp": 7440, - "udp": 300, - "icmp": 60 + "tcp": 180, + "udp": 30, + "icmp": 30 } }, "userEquipmentAddressPoolPrefix": [ diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkDelete.json index 1ec3cdcef89d..dfec0de39d3f 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkDelete.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "TestPacketCoreCP", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkGet.json index 595eb14444a3..0c60c6ac6c29 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "TestPacketCoreCP", @@ -28,11 +28,14 @@ "userPlaneDataInterface": { "name": "N6" }, + "dnsAddresses": [ + "1.1.1.1" + ], "naptConfiguration": { "enabled": "Enabled", "portRange": { "minPort": 1024, - "maxPort": 65535 + "maxPort": 49999 }, "portReuseHoldTime": { "tcp": 120, @@ -40,9 +43,9 @@ }, "pinholeLimits": 65536, "pinholeTimeouts": { - "tcp": 7440, - "udp": 300, - "icmp": 60 + "tcp": 180, + "udp": 30, + "icmp": 30 } }, "userEquipmentAddressPoolPrefix": [ diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json index e3f6f3fea552..2d6b7771aee7 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "TestPacketCoreCP", @@ -29,11 +29,14 @@ "userPlaneDataInterface": { "name": "N6" }, + "dnsAddresses": [ + "1.1.1.1" + ], "naptConfiguration": { "enabled": "Enabled", "portRange": { "minPort": 1024, - "maxPort": 65535 + "maxPort": 49999 }, "portReuseHoldTime": { "tcp": 120, @@ -41,9 +44,9 @@ }, "pinholeLimits": 65536, "pinholeTimeouts": { - "tcp": 7440, - "udp": 300, - "icmp": 60 + "tcp": 180, + "udp": 30, + "icmp": 30 } }, "userEquipmentAddressPoolPrefix": [ diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkUpdateTags.json index 24097f4c7b20..343ac7a8beaa 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkUpdateTags.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "TestPacketCoreCP", @@ -37,11 +37,14 @@ "userPlaneDataInterface": { "name": "N6" }, + "dnsAddresses": [ + "1.1.1.1" + ], "naptConfiguration": { "enabled": "Enabled", "portRange": { "minPort": 1024, - "maxPort": 65535 + "maxPort": 49999 }, "portReuseHoldTime": { "tcp": 120, @@ -49,9 +52,9 @@ }, "pinholeLimits": 65536, "pinholeTimeouts": { - "tcp": 7440, - "udp": 300, - "icmp": 60 + "tcp": 180, + "udp": 30, + "icmp": 30 } }, "userEquipmentAddressPoolPrefix": [ diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkCreate.json index 78002b1b3a71..f3cf95d6c5f0 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkDelete.json index 68b14c799f57..e6cb28d1d6c0 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkDelete.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkGet.json index 166af9d9dea5..e6b7e78bb498 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkListByMobileNetwork.json index 2de6ba9b44a7..7be54695ea76 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkListByMobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkListByMobileNetwork.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkUpdateTags.json index 00666b2f23be..a58f54ed903b 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkUpdateTags.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkCreate.json index d2d2d1688efd..868f3e9775b8 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkDelete.json index 00c4daf9b0da..a71b8b8bfa16 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkDelete.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkGet.json index 0e26ac138d97..4ab30f4af532 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListByResourceGroup.json index 57c155d54a7a..e8a5bb41e9af 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListByResourceGroup.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1" }, diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListBySubscription.json index fe63d5de5fe7..a3ccfc92f698 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListBySubscription.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListBySubscription.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkUpdateTags.json index 3e3a20450cc5..7af6ed6cebab 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkUpdateTags.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/OperationList.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/OperationList.json index 88ea8defb7d4..643a14aa99cc 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/OperationList.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/OperationList.json @@ -1,7 +1,7 @@ { "parameters": { "location": "eastus", - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid" }, "responses": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneCreate.json index cf139944dfc2..0b91bb7f8043 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "TestPacketCoreCP", @@ -10,13 +10,28 @@ "mobileNetwork": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" }, - "customLocation": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + "platform": { + "type": "AKS-HCI", + "azureStackEdgeDevice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestAzureStackEdgeDevice" + }, + "connectedCluster": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/TestConnectedCluster" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + } }, "coreNetworkTechnology": "5GC", "version": "0.2.0", "controlPlaneAccessInterface": { "name": "N2" + }, + "sku": "testSku", + "localDiagnosticsAccess": { + "httpsServerCertificate": { + "certificateUrl": "https://contosovault.vault.azure.net/certificates/ingress" + } } } } @@ -42,13 +57,28 @@ "mobileNetwork": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" }, - "customLocation": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + "platform": { + "type": "AKS-HCI", + "azureStackEdgeDevice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestAzureStackEdgeDevice" + }, + "connectedCluster": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/TestConnectedCluster" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + } }, "coreNetworkTechnology": "5GC", "version": "0.2.0", "controlPlaneAccessInterface": { "name": "N2" + }, + "sku": "testSku", + "localDiagnosticsAccess": { + "httpsServerCertificate": { + "certificateUrl": "https://contosovault.vault.azure.net/certificates/ingress" + } } } } @@ -73,13 +103,28 @@ "mobileNetwork": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" }, - "customLocation": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + "platform": { + "type": "AKS-HCI", + "azureStackEdgeDevice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestAzureStackEdgeDevice" + }, + "connectedCluster": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/TestConnectedCluster" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + } }, "coreNetworkTechnology": "5GC", "version": "0.2.0", "controlPlaneAccessInterface": { "name": "N2" + }, + "sku": "testSku", + "localDiagnosticsAccess": { + "httpsServerCertificate": { + "certificateUrl": "https://contosovault.vault.azure.net/certificates/ingress" + } } } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneDelete.json index 2c545bf9f14e..567f85791dd4 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneDelete.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "TestPacketCoreCP" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneGet.json index 6b7e0fa4adab..66de41c18b6b 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "TestPacketCoreCP" @@ -26,13 +26,28 @@ "mobileNetwork": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" }, - "customLocation": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + "platform": { + "type": "AKS-HCI", + "azureStackEdgeDevice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestAzureStackEdgeDevice" + }, + "connectedCluster": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/TestConnectedCluster" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + } }, "coreNetworkTechnology": "5GC", "version": "0.2.0", "controlPlaneAccessInterface": { "name": "N2" + }, + "sku": "testSku", + "localDiagnosticsAccess": { + "httpsServerCertificate": { + "certificateUrl": "https://contosovault.vault.azure.net/certificates/ingress" + } } } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json index 00d890910c38..35c09d3395c2 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1" }, @@ -27,13 +27,28 @@ "mobileNetwork": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" }, - "customLocation": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + "platform": { + "type": "AKS-HCI", + "azureStackEdgeDevice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestAzureStackEdgeDevice" + }, + "connectedCluster": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/TestConnectedCluster" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + } }, "coreNetworkTechnology": "5GC", "version": "0.2.0", "controlPlaneAccessInterface": { "name": "N2" + }, + "sku": "testSku", + "localDiagnosticsAccess": { + "httpsServerCertificate": { + "certificateUrl": "https://contosovault.vault.azure.net/certificates/ingress" + } } } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json index e75492e96768..04702e77df23 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid" }, "responses": { @@ -26,13 +26,28 @@ "mobileNetwork": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" }, - "customLocation": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + "platform": { + "type": "AKS-HCI", + "azureStackEdgeDevice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestAzureStackEdgeDevice" + }, + "connectedCluster": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/TestConnectedCluster" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + } }, "coreNetworkTechnology": "5GC", "version": "0.2.0", "controlPlaneAccessInterface": { "name": "N2" + }, + "sku": "testSku", + "localDiagnosticsAccess": { + "httpsServerCertificate": { + "certificateUrl": "https://contosovault.vault.azure.net/certificates/ingress" + } } } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json index cef08f282bb7..dc8c9b10e061 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "TestPacketCoreCP", @@ -35,13 +35,28 @@ "mobileNetwork": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" }, - "customLocation": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + "platform": { + "type": "AKS-HCI", + "azureStackEdgeDevice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestAzureStackEdgeDevice" + }, + "connectedCluster": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/TestConnectedCluster" + }, + "customLocation": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation" + } }, "coreNetworkTechnology": "5GC", "version": "0.2.0", "controlPlaneAccessInterface": { "name": "N2" + }, + "sku": "testSku", + "localDiagnosticsAccess": { + "httpsServerCertificate": { + "certificateUrl": "https://contosovault.vault.azure.net/certificates/ingress" + } } } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneCreate.json index 71bc01235e18..a4bbed1828dc 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "testPacketCoreCP", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneDelete.json index c73aef31b7cc..6f06ea62a62a 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneDelete.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "testPacketCoreCP", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneGet.json index ebc1f6f897db..59ee5f51faea 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "testPacketCoreCP", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json index b79ea8bcd143..98e2c662e97e 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "testPacketCoreCP" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json index 8d16697586aa..b45154b99188 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "packetCoreControlPlaneName": "testPacketCoreCP", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceCreate.json index ac43ba3a9ea9..4758382260fb 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceDelete.json index 4c01df4041ba..45247de18dde 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceDelete.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceGet.json index 433235690883..1f325a0eeb17 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceListByMobileNetwork.json index 821cd7d9fb1a..59903cf27c31 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceListByMobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceListByMobileNetwork.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "testResourceGroupName", "mobileNetworkName": "testMobileNetwork" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceUpdateTags.json index 54ec7fba333d..ad507c1cd598 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceUpdateTags.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimCreate.json index fe2920c06476..04efb7635926 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimCreate.json @@ -1,19 +1,16 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", + "simGroupName": "testSimGroup", "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" @@ -38,8 +35,8 @@ "200": { "body": { "name": "testSim", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", - "type": "Microsoft.MobileNetwork/sims", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup/sims/testSim", + "type": "Microsoft.MobileNetwork/simGroups/sims", "systemData": { "createdBy": "user1", "createdByType": "User", @@ -48,15 +45,11 @@ "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" @@ -80,8 +73,8 @@ "201": { "body": { "name": "testSim", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", - "type": "Microsoft.MobileNetwork/sims", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup/sims/testSim", + "type": "Microsoft.MobileNetwork/simGroups/sims", "systemData": { "createdBy": "user1", "createdByType": "User", @@ -90,15 +83,11 @@ "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" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimDelete.json index d70d3aee8931..43ce93dd621f 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimDelete.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimDelete.json @@ -1,8 +1,9 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "testResourceGroupName", + "simGroupName": "testSimGroup", "simName": "testSim" }, "responses": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGet.json index 0a6dab7ba5a6..e48630c87f9e 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGet.json @@ -1,16 +1,17 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "testResourceGroupName", + "simGroupName": "testSimGroup", "simName": "testSimName" }, "responses": { "200": { "body": { "name": "testSim", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sim/testSim", - "type": "Microsoft.MobileNetwork/sims", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup/sims/testSim", + "type": "Microsoft.MobileNetwork/simGroups/sims", "systemData": { "createdBy": "user1", "createdByType": "User", @@ -19,15 +20,11 @@ "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" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupCreate.json new file mode 100644 index 000000000000..72f097db7213 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupCreate.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2022-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "simGroupName": "testSimGroup", + "parameters": { + "location": "eastus", + "properties": { + "encryptionKey": { + "keyUrl": "https://contosovault.vault.azure.net/keys/azureKey" + }, + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "testSimGroup", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup", + "type": "Microsoft.MobileNetwork/simGroups", + "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", + "encryptionKey": { + "keyUrl": "https://contosovault.vault.azure.net/keys/azureKey" + }, + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + } + } + } + }, + "201": { + "body": { + "name": "testSimGroup", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup", + "type": "Microsoft.MobileNetwork/simGroups", + "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", + "encryptionKey": { + "keyUrl": "https://contosovault.vault.azure.net/keys/azureKey" + }, + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupDelete.json new file mode 100644 index 000000000000..d35466df9083 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simGroupName": "testSimGroup" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupGet.json new file mode 100644 index 000000000000..ff8bac57378a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simGroupName": "testSimGroupName" + }, + "responses": { + "200": { + "body": { + "name": "testSimGroup", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup", + "type": "Microsoft.MobileNetwork/simGroups", + "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", + "encryptionKey": { + "keyUrl": "https://contosovault.vault.azure.net/keys/azureKey" + }, + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupListByResourceGroup.json new file mode 100644 index 000000000000..1bd3b9c963cc --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupListByResourceGroup.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2022-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testSimGroup", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup", + "type": "Microsoft.MobileNetwork/simGroups", + "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", + "encryptionKey": { + "keyUrl": "https://contosovault.vault.azure.net/keys/azureKey" + }, + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + } + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupListBySubscription.json new file mode 100644 index 000000000000..45c7afa0bae7 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupListBySubscription.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2022-04-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testSimGroup", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup", + "type": "Microsoft.MobileNetwork/simGroups", + "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", + "encryptionKey": { + "keyUrl": "https://contosovault.vault.azure.net/keys/azureKey" + }, + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + } + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupUpdateTags.json new file mode 100644 index 000000000000..a36347bb6f33 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupUpdateTags.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2022-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "simGroupName": "testSimGroup", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testSimGroup", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup", + "type": "Microsoft.MobileNetwork/simGroups", + "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", + "encryptionKey": { + "keyUrl": "https://contosovault.vault.azure.net/keys/azureKey" + }, + "mobileNetwork": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimIdListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimIdListByMobileNetwork.json index a40ca8fb41fd..ec00c623b313 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimIdListByMobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimIdListByMobileNetwork.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg", "mobileNetworkName": "testMobileNetworkName" @@ -10,7 +10,7 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.MobileNetwork/sims/testSim" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup/sims/testSim" } ], "nextLink": "nextLink" @@ -18,12 +18,12 @@ }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.MobileNetwork/locations/testLocation/operationStatuses/testOperation?api-version=2022-03-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.MobileNetwork/locations/testLocation/operationStatuses/testOperation?api-version=2022-04-01-preview" }, "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.MobileNetwork/sims/testSim" + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup/sims/testSim" } ], "nextLink": "nextLink" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListBySimGroup.json similarity index 82% rename from specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListByResourceGroup.json rename to specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListBySimGroup.json index 2480b885f0f9..ce8ba9b1fc1a 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListByResourceGroup.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListBySimGroup.json @@ -1,8 +1,9 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", - "resourceGroupName": "rg1" + "resourceGroupName": "rg1", + "simGroupName": "testSimGroup" }, "responses": { "200": { @@ -10,8 +11,8 @@ "value": [ { "name": "testSim", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", - "type": "Microsoft.MobileNetwork/sims", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/simGroups/testSimGroup/sims/testSim", + "type": "Microsoft.MobileNetwork/simGroups/sims", "systemData": { "createdBy": "user1", "createdByType": "User", @@ -20,15 +21,11 @@ "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" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListBySubscription.json deleted file mode 100644 index 11848859e3ad..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListBySubscription.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "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-04-01-preview/examples/SimPolicyCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyCreate.json index d179b97e0364..2ef0fe170f96 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyDelete.json index 30ee78dd387a..3c6f2049a8d6 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyDelete.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyGet.json index 0bb1ad6daa4c..379886efe898 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyListByMobileNetwork.json index f239d8011f36..def8a4798e28 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyListByMobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyListByMobileNetwork.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "testResourceGroupName", "mobileNetworkName": "testMobileNetwork" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyUpdateTags.json index 69a425f8f24e..45de968184d2 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyUpdateTags.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimUpdateTags.json deleted file mode 100644 index 1874c253688f..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimUpdateTags.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "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-04-01-preview/examples/SiteCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteCreate.json index 50348962d265..dca8c7914d86 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteDelete.json index 25e0712d4bdb..c81ce5b5b854 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteDelete.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteGet.json index bf1efabfa08b..0624fea22351 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteListByMobileNetwork.json index b6673964a12b..7a959e9accb0 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteListByMobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteListByMobileNetwork.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteUpdateTags.json index 3102340416a1..b29054bd6991 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteUpdateTags.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceCreate.json index a66477a4a464..1c6fcd3d1689 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceCreate.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceDelete.json index 5fb5aba5462c..f41384d55e7c 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceDelete.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceDelete.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceGet.json index d7e6f407a557..2fb4d87b0593 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceGet.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceListByMobileNetwork.json index 917c6120c364..c0941fe8e7f4 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceListByMobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceListByMobileNetwork.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceUpdateTags.json index 195a097557ae..b4df336453f3 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceUpdateTags.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2022-03-01-preview", + "api-version": "2022-04-01-preview", "subscriptionId": "subid", "resourceGroupName": "rg1", "mobileNetworkName": "testMobileNetwork", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SupportedPacketCoreControlPlaneVersions.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SupportedPacketCoreControlPlaneVersions.json new file mode 100644 index 000000000000..7ddedbbd8d63 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SupportedPacketCoreControlPlaneVersions.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2022-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg" + }, + "responses": { + "200": { + "body": { + "supportedVersions": [ + "PMN-4-11-1", + "PMN-4-10-2", + "PMN-4-9-4" + ], + "recommendedVersion": "PMN-4-11-1" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/mobileNetwork.json index 578d202a9de6..913621cc2445 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/mobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/mobileNetwork.json @@ -3,7 +3,7 @@ "info": { "title": "MobileNetworkManagementClient", "description": "The resources in this swagger specification will be used to manage mobile network resources", - "version": "2022-03-01-preview" + "version": "2022-04-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -37,7 +37,7 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}": { "delete": { "tags": [ - "MobileNetworks" + "MobileNetwork" ], "operationId": "MobileNetworks_Delete", "description": "Deletes the specified mobile network.", @@ -84,7 +84,7 @@ }, "get": { "tags": [ - "MobileNetworks" + "MobileNetwork" ], "operationId": "MobileNetworks_Get", "description": "Gets information about the specified mobile network.", @@ -124,7 +124,7 @@ }, "put": { "tags": [ - "MobileNetworks" + "MobileNetwork" ], "operationId": "MobileNetworks_CreateOrUpdate", "description": "Creates or updates a mobile network.", @@ -183,10 +183,10 @@ }, "patch": { "tags": [ - "MobileNetworks" + "MobileNetwork" ], "operationId": "MobileNetworks_UpdateTags", - "description": "Updates a mobile network update tags.", + "description": "Updates mobile network tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -315,10 +315,10 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/listSimIds": { "post": { "tags": [ - "MobileNetworks" + "MobileNetworkSIMIDs" ], "operationId": "MobileNetworks_ListSimIds", - "description": "List sim ids under a mobile network.", + "description": "Lists the IDs of all provisioned SIMs in a mobile network", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -335,7 +335,7 @@ ], "responses": { "200": { - "description": "List sim profile ids successful.", + "description": "List SIM IDs successful.", "schema": { "$ref": "#/definitions/SimIdListResult" } @@ -354,7 +354,7 @@ } }, "x-ms-examples": { - "List sim profile ids by network": { + "List the IDs of all provisioned SIMs in a mobile network": { "$ref": "./examples/SimIdListByMobileNetwork.json" } }, @@ -367,7 +367,7 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/sites/{siteName}": { "delete": { "tags": [ - "Sites" + "Site" ], "operationId": "Sites_Delete", "description": "Deletes the specified mobile network site.", @@ -417,7 +417,7 @@ }, "get": { "tags": [ - "Sites" + "Site" ], "operationId": "Sites_Get", "description": "Gets information about the specified mobile network site.", @@ -460,7 +460,7 @@ }, "put": { "tags": [ - "Sites" + "Site" ], "operationId": "Sites_CreateOrUpdate", "description": "Creates or updates a mobile network site.", @@ -522,10 +522,10 @@ }, "patch": { "tags": [ - "Sites" + "Site" ], "operationId": "Sites_UpdateTags", - "description": "Updates a site update tags.", + "description": "Updates site tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -618,13 +618,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}": { "delete": { "tags": [ - "Sims" + "SIMGroup" ], - "operationId": "Sims_Delete", - "description": "Deletes the specified sim.", + "operationId": "SimGroups_Delete", + "description": "Deletes the specified SIM group.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -636,7 +636,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "./common.json#/parameters/SimNameParameter" + "$ref": "./common.json#/parameters/SimGroupNameParameter" } ], "responses": { @@ -657,8 +657,8 @@ } }, "x-ms-examples": { - "Delete sim": { - "$ref": "./examples/SimDelete.json" + "Delete SIM group": { + "$ref": "./examples/SimGroupDelete.json" } }, "x-ms-long-running-operation": true, @@ -668,10 +668,10 @@ }, "get": { "tags": [ - "Sims" + "SIMGroup" ], - "operationId": "Sims_Get", - "description": "Gets information about the specified sim.", + "operationId": "SimGroups_Get", + "description": "Gets information about the specified SIM group.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -683,14 +683,14 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "./common.json#/parameters/SimNameParameter" + "$ref": "./common.json#/parameters/SimGroupNameParameter" } ], "responses": { "200": { - "description": "Request successful. The operation returns the resulting sim resource.", + "description": "Request successful. The operation returns the resulting SIM group resource.", "schema": { - "$ref": "#/definitions/Sim" + "$ref": "#/definitions/SimGroup" } }, "default": { @@ -701,17 +701,17 @@ } }, "x-ms-examples": { - "Get sim": { - "$ref": "./examples/SimGet.json" + "Get SIM group": { + "$ref": "./examples/SimGroupGet.json" } } }, "put": { "tags": [ - "Sims" + "SIMGroup" ], - "operationId": "Sims_CreateOrUpdate", - "description": "Creates or updates a Sim.", + "operationId": "SimGroups_CreateOrUpdate", + "description": "Creates or updates a SIM group.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -723,29 +723,29 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "./common.json#/parameters/SimNameParameter" + "$ref": "./common.json#/parameters/SimGroupNameParameter" }, { "name": "parameters", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/Sim" + "$ref": "#/definitions/SimGroup" }, - "description": "Parameters supplied to the create or update sim operation." + "description": "Parameters supplied to the create or update SIM group operation." } ], "responses": { "200": { - "description": "Update successful. The operation returns the resulting sim resource.", + "description": "Update successful. The operation returns the resulting SIM group resource.", "schema": { - "$ref": "#/definitions/Sim" + "$ref": "#/definitions/SimGroup" } }, "201": { - "description": "Create successful. The operation returns the resulting sim resource.", + "description": "Create successful. The operation returns the resulting SIM group resource.", "schema": { - "$ref": "#/definitions/Sim" + "$ref": "#/definitions/SimGroup" } }, "default": { @@ -756,8 +756,8 @@ } }, "x-ms-examples": { - "Create sim": { - "$ref": "./examples/SimCreate.json" + "Create SIM group": { + "$ref": "./examples/SimGroupCreate.json" } }, "x-ms-long-running-operation": true, @@ -767,10 +767,10 @@ }, "patch": { "tags": [ - "Sims" + "SIMGroup" ], - "operationId": "Sims_UpdateTags", - "description": "Updates a sim update tags.", + "operationId": "SimGroups_UpdateTags", + "description": "Updates SIM group tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -782,7 +782,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "./common.json#/parameters/SimNameParameter" + "$ref": "./common.json#/parameters/SimGroupNameParameter" }, { "name": "parameters", @@ -791,14 +791,14 @@ "schema": { "$ref": "./common.json#/definitions/TagsObject" }, - "description": "Parameters supplied to update sim tags." + "description": "Parameters supplied to update SIM group tags." } ], "responses": { "200": { - "description": "Update successful. The operation returns the resulting sim resource.", + "description": "Update successful. The operation returns the resulting SIM group resource.", "schema": { - "$ref": "#/definitions/Sim" + "$ref": "#/definitions/SimGroup" } }, "default": { @@ -809,19 +809,19 @@ } }, "x-ms-examples": { - "Update sim tags": { - "$ref": "./examples/SimUpdateTags.json" + "Update SIM group tags": { + "$ref": "./examples/SimGroupUpdateTags.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.MobileNetwork/sims": { + "/subscriptions/{subscriptionId}/providers/Microsoft.MobileNetwork/simGroups": { "get": { "tags": [ - "Sims" + "SIMGroups" ], - "operationId": "Sims_ListBySubscription", - "description": "Gets all the sims in a subscription.", + "operationId": "SimGroups_ListBySubscription", + "description": "Gets all the SIM groups in a subscription.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -832,9 +832,9 @@ ], "responses": { "200": { - "description": "Request successful. The operation returns a list of sim resources.", + "description": "Request successful. The operation returns a list of SIM group resources.", "schema": { - "$ref": "#/definitions/SimListResult" + "$ref": "#/definitions/SimGroupListResult" } }, "default": { @@ -845,8 +845,8 @@ } }, "x-ms-examples": { - "List sims in a subscription": { - "$ref": "./examples/SimListBySubscription.json" + "List SIM groups in a subscription": { + "$ref": "./examples/SimGroupListBySubscription.json" } }, "x-ms-pageable": { @@ -854,13 +854,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups": { "get": { "tags": [ - "Sims" + "SIMGroups" ], - "operationId": "Sims_ListByResourceGroup", - "description": "Gets all the Sims in a subscription.", + "operationId": "SimGroups_ListByResourceGroup", + "description": "Gets all the SIM groups in a resource group.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" @@ -874,7 +874,209 @@ ], "responses": { "200": { - "description": "Request successful. The operation returns a list of sim resources.", + "description": "Request successful. The operation returns a list of SIM group resources.", + "schema": { + "$ref": "#/definitions/SimGroupListResult" + } + }, + "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 groups in a resource group": { + "$ref": "./examples/SimGroupListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims/{simName}": { + "delete": { + "tags": [ + "SIM" + ], + "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/SimGroupNameParameter" + }, + { + "$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": [ + "SIM" + ], + "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/SimGroupNameParameter" + }, + { + "$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": [ + "SIM" + ], + "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/SimGroupNameParameter" + }, + { + "$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" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/simGroups/{simGroupName}/sims": { + "get": { + "tags": [ + "SIMs" + ], + "operationId": "Sims_ListBySimGroup", + "description": "Gets all the SIMs in a SIM 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" + }, + { + "$ref": "./common.json#/parameters/SimGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of SIM resources.", "schema": { "$ref": "#/definitions/SimListResult" } @@ -887,8 +1089,8 @@ } }, "x-ms-examples": { - "List sims in a resource group": { - "$ref": "./examples/SimListByResourceGroup.json" + "List SIMs in a SIM group": { + "$ref": "./examples/SimListBySimGroup.json" } }, "x-ms-pageable": { @@ -934,7 +1136,7 @@ }, "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." + "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", @@ -964,13 +1166,89 @@ }, "description": "Response for mobile networks API service call." }, + "SimGroup": { + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SimGroupPropertiesFormat", + "description": "SIM group Properties." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity used to retrieve the encryption key from Azure key vault." + }, + "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 group resource." + }, + "SimGroupPropertiesFormat": { + "type": "object", + "description": "SIM group properties.", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the SIM group resource." + }, + "encryptionKey": { + "$ref": "#/definitions/KeyVaultKey", + "description": "A key to encrypt the SIM data that belongs to this SIM group." + }, + "mobileNetwork": { + "$ref": "./common.json#/definitions/MobileNetworkResourceId", + "description": "Mobile network that this SIM belongs to" + } + } + }, + "KeyVaultKey": { + "description": "An Azure key vault key.", + "type": "object", + "properties": { + "keyUrl": { + "type": "string", + "description": "The key URL, unversioned. For example: https://contosovault.vault.azure.net/keys/azureKey." + } + } + }, + "SimGroupListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SimGroup" + }, + "description": "A list of SIM groups in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for list SIM groups API service call." + }, "Sim": { "type": "object", "properties": { "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/SimPropertiesFormat", - "description": "Sim Properties." + "description": "SIM Properties." }, "systemData": { "x-ms-client-flatten": true, @@ -981,27 +1259,27 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" } ], "required": [ "properties" ], - "description": "Sim resource." + "description": "SIM resource." }, "SimPropertiesFormat": { "type": "object", - "description": "Sim properties.", + "description": "SIM properties.", "properties": { "provisioningState": { "readOnly": true, "$ref": "./common.json#/definitions/ProvisioningState", - "description": "The provisioning state of the sim resource." + "description": "The provisioning state of the SIM resource." }, "simState": { "readOnly": true, "$ref": "./common.json#/definitions/SimState", - "description": "The state of the sim resource." + "description": "The state of the SIM resource." }, "internationalMobileSubscriberIdentity": { "type": "string", @@ -1010,12 +1288,12 @@ "create", "read" ], - "description": "The International Mobile Subscriber Identity (IMSI) for the sim." + "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." + "description": "The integrated circuit card ID (ICCID) for the SIM." }, "authenticationKey": { "type": "string", @@ -1025,7 +1303,7 @@ "create", "update" ], - "description": "The ki value for the sim." + "description": "The Ki value for the SIM." }, "operatorKeyCode": { "type": "string", @@ -1035,19 +1313,15 @@ "create", "update" ], - "description": "The Opc value for the sim." - }, - "mobileNetwork": { - "$ref": "./common.json#/definitions/MobileNetworkResourceId", - "description": "Mobile network that this sim belongs to" + "description": "The Opc value for the SIM." }, "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." + "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." + "description": "The SIM policy used by this SIM." }, "staticIpConfiguration": { "type": "array", @@ -1056,7 +1330,7 @@ }, "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}.", + "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" @@ -1069,23 +1343,23 @@ }, "SimStaticIpProperties": { "type": "object", - "description": "Static IP configuration for a sim, scoped to a particular attached data network and slice.", + "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." + "description": "The attached data network on which the static IP address will be used. The combination of attached data network 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." + "description": "The network slice on which the static IP address will be used. The combination of attached data network 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.", + "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." + "description": "The IPv4 address assigned to the SIM at this network scope. This address must be in the userEquipmentStaticAddressPoolPrefix defined in the attached data network." } } } @@ -1099,7 +1373,7 @@ "items": { "$ref": "./common.json#/definitions/SubResource" }, - "description": "A list of sim profile ids in a resource group." + "description": "A list of SIM IDs." }, "nextLink": { "type": "string", @@ -1107,7 +1381,7 @@ "description": "The URL to get the next set of results." } }, - "description": "Response for list sim ids API service call." + "description": "Response for list SIM IDs API service call." }, "SimListResult": { "type": "object", @@ -1117,7 +1391,7 @@ "items": { "$ref": "#/definitions/Sim" }, - "description": "A list of Sims in a resource group." + "description": "A list of SIMs in a resource group." }, "nextLink": { "type": "string", @@ -1125,7 +1399,7 @@ "description": "The URL to get the next set of results." } }, - "description": "Response for list Sims API service call." + "description": "Response for list SIMs API service call." }, "Site": { "type": "object", @@ -1156,14 +1430,14 @@ "provisioningState": { "readOnly": true, "$ref": "./common.json#/definitions/ProvisioningState", - "description": "The provisioning state of the site resource. **TODO**: Confirm if this is needed" + "description": "The provisioning state of the site resource." }, "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." + "description": "An array of IDs of the network functions deployed on the site, maintained by the user." } } }, @@ -1175,7 +1449,7 @@ "items": { "$ref": "#/definitions/Site" }, - "description": "A list of sites in a resource group." + "description": "A list of sites in a mobile network." }, "nextLink": { "type": "string", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/operation.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/operation.json index d744586b6d9c..c46a3aae50a9 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/operation.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/operation.json @@ -3,7 +3,7 @@ "info": { "title": "MobileNetworkManagementClient", "description": "The resources in this swagger specification will be used to manage the operations.", - "version": "2022-03-01-preview" + "version": "2022-04-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreControlPlane.json index 62f25fdbc993..2fe3407f4ccb 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreControlPlane.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreControlPlane.json @@ -3,7 +3,7 @@ "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" + "version": "2022-04-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -37,7 +37,7 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}": { "delete": { "tags": [ - "PacketCoreControlPlanes" + "PacketCoreControlPlane" ], "operationId": "PacketCoreControlPlanes_Delete", "description": "Deletes the specified packet core control plane.", @@ -84,7 +84,7 @@ }, "get": { "tags": [ - "PacketCoreControlPlanes" + "PacketCoreControlPlane" ], "operationId": "PacketCoreControlPlanes_Get", "description": "Gets information about the specified packet core control plane.", @@ -124,10 +124,10 @@ }, "put": { "tags": [ - "PacketCoreControlPlanes" + "PacketCoreControlPlane" ], "operationId": "PacketCoreControlPlanes_CreateOrUpdate", - "description": "Creates or updates a PacketCoreControlPlane.", + "description": "Creates or updates a packet core control plane.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" @@ -183,10 +183,10 @@ }, "patch": { "tags": [ - "PacketCoreControlPlanes" + "PacketCoreControlPlane" ], "operationId": "PacketCoreControlPlanes_UpdateTags", - "description": "Updates a PacketCoreControlPlane update tags.", + "description": "Updates packet core control planes tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" @@ -201,7 +201,7 @@ "schema": { "$ref": "./common.json#/definitions/TagsObject" }, - "description": "Parameters supplied to update PacketCoreControlPlane tags." + "description": "Parameters supplied to update packet core control plane tags." }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -237,7 +237,7 @@ "PacketCoreControlPlanes" ], "operationId": "PacketCoreControlPlanes_ListBySubscription", - "description": "Lists all the packetCoreControlPlanes in a subscription.", + "description": "Lists all the packet core control planes in a subscription.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -276,7 +276,7 @@ "PacketCoreControlPlanes" ], "operationId": "PacketCoreControlPlanes_ListByResourceGroup", - "description": "Lists all the packetCoreControlPlanes in a resource group.", + "description": "Lists all the packet core control planes in a resource group.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" @@ -311,6 +311,45 @@ "nextLinkName": "nextLink" } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/supportedPacketCoreControlPlaneVersions": { + "get": { + "tags": [ + "PacketCoreControlPlanes" + ], + "operationId": "PacketCoreControlPlanes_SupportedVersions", + "description": "Get the set of packet core control plane versions that are currently supported.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Get supported packet core control plane versions successful.", + "schema": { + "$ref": "#/definitions/SupportedPacketCoreControlPlaneVersionResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get supported packet core control plane versions": { + "$ref": "./examples/SupportedPacketCoreControlPlaneVersions.json" + } + } + } } }, "definitions": { @@ -322,6 +361,10 @@ "$ref": "#/definitions/PacketCoreControlPlanePropertiesFormat", "description": "Packet core control plane Properties." }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v3/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The identity used to retrieve the ingress certificate from Azure key vault." + }, "systemData": { "x-ms-client-flatten": true, "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/systemData", @@ -340,7 +383,7 @@ "description": "Packet core control plane resource." }, "PacketCoreControlPlanePropertiesFormat": { - "description": "PacketCoreControlPlane properties.", + "description": "Packet core control plane properties.", "type": "object", "properties": { "provisioningState": { @@ -350,15 +393,15 @@ }, "mobileNetwork": { "$ref": "./common.json#/definitions/MobileNetworkResourceId", - "description": "Mobile network that this packet core control plane belongs to" + "description": "Mobile network in which this packet core control plane is deployed." }, - "customLocation": { - "$ref": "./common.json#/definitions/CustomLocationResourceId", - "description": "Azure ARC custom location where the packet core is deployed." + "platform": { + "$ref": "#/definitions/PlatformConfiguration", + "description": "The platform where the packet core is deployed." }, "coreNetworkTechnology": { "$ref": "./ts29571.json#/definitions/CoreNetworkType", - "description": "The core network technology generation." + "description": "The core network technology generation (5G core or EPC / 4G core)." }, "version": { "type": "string", @@ -366,12 +409,25 @@ }, "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." + "description": "The control plane interface on the access network. For 5G networks, this is the N2 interface. For 4G networks, this is the S1-MME interface." + }, + "sku": { + "$ref": "./common.json#/definitions/BillingSku", + "description": "The SKU defining the throughput and SIM allowances for this packet core control plane deployment." + }, + "localDiagnosticsAccess": { + "$ref": "#/definitions/LocalDiagnosticsAccessConfiguration", + "description": "The kubernetes ingress configuration to control access to packet core diagnostics over local APIs." + }, + "interopSettings": { + "type": "object", + "description": "Settings to allow interoperability with third party components e.g. RANs and UEs." } }, "required": [ "mobileNetwork", - "controlPlaneAccessInterface" + "controlPlaneAccessInterface", + "sku" ] }, "PacketCoreControlPlaneListResult": { @@ -391,6 +447,91 @@ } }, "description": "Response for packet core control planes API service call." + }, + "PlatformConfiguration": { + "description": "The platform where the packet core is deployed.", + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/PlatformType", + "description": "The platform type where packet core is deployed." + }, + "azureStackEdgeDevice": { + "$ref": "./common.json#/definitions/AzureStackEdgeDeviceResourceId", + "description": "The Azure Stack Edge device where where the packet core is deployed. If the device is part of a fault tolerant pair, either device in the pair can be specified." + }, + "connectedCluster": { + "$ref": "./common.json#/definitions/ConnectedClusterResourceId", + "description": "Azure Arc connected cluster where the packet core is deployed." + }, + "customLocation": { + "$ref": "./common.json#/definitions/CustomLocationResourceId", + "description": "Azure Arc custom location where the packet core is deployed." + } + }, + "required": [ + "type" + ] + }, + "PlatformType": { + "type": "string", + "description": "The platform type where packet core is deployed. The contents of this enum can change.", + "enum": [ + "AKS-HCI", + "BaseVM" + ], + "x-ms-enum": { + "name": "PlatformType", + "modelAsString": true, + "values": [ + { + "value": "AKS-HCI", + "description": "If this option is chosen, you must set one of \"azureStackEdgeDevice\", \"connectedCluster\" or \"customLocation\". If multiple are set then \"customLocation\" will take precedence over \"connectedCluster\" which takes precedence over \"azureStackEdgeDevice\"." + }, + { + "value": "BaseVM", + "description": "If this option is chosen, you must set one of \"connectedCluster\" or \"customLocation\". If multiple are set then \"customLocation\" will take precedence over \"connectedCluster\"." + } + ] + } + }, + "LocalDiagnosticsAccessConfiguration": { + "description": "The kubernetes ingress configuration to control access to packet core diagnostics over local APIs.", + "type": "object", + "properties": { + "httpsServerCertificate": { + "$ref": "#/definitions/KeyVaultCertificate", + "description": "The HTTPS server TLS certificate used to secure local access to diagnostics." + } + } + }, + "KeyVaultCertificate": { + "description": "An Azure key vault certificate.", + "type": "object", + "properties": { + "certificateUrl": { + "type": "string", + "description": "The certificate URL, unversioned. For example: https://contosovault.vault.azure.net/certificates/ingress." + } + } + }, + "SupportedPacketCoreControlPlaneVersionResult": { + "type": "object", + "properties": { + "supportedVersions": { + "type": "array", + "items": { + "type": "string", + "description": "A supported version of packet core control plane" + }, + "description": "The supported packet core control plane versions." + }, + "recommendedVersion": { + "type": "string", + "description": "The recommended version to use for new packet core control plane deployments." + } + }, + "description": "Response for supported packet core control plane versions API call." } } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreDataPlane.json index 1e0735c5587d..ac8c0fc11825 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreDataPlane.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreDataPlane.json @@ -3,7 +3,7 @@ "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" + "version": "2022-04-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -37,7 +37,7 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCoreControlPlanes/{packetCoreControlPlaneName}/packetCoreDataPlanes/{packetCoreDataPlaneName}": { "delete": { "tags": [ - "PacketCoreDataPlanes" + "PacketCoreDataPlane" ], "operationId": "PacketCoreDataPlanes_Delete", "description": "Deletes the specified packet core data plane.", @@ -87,7 +87,7 @@ }, "get": { "tags": [ - "PacketCoreDataPlanes" + "PacketCoreDataPlane" ], "operationId": "PacketCoreDataPlanes_Get", "description": "Gets information about the specified packet core data plane.", @@ -130,10 +130,10 @@ }, "put": { "tags": [ - "PacketCoreDataPlanes" + "PacketCoreDataPlane" ], "operationId": "PacketCoreDataPlanes_CreateOrUpdate", - "description": "Creates or updates a PacketCoreDataPlane.", + "description": "Creates or updates a packet core data plane.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" @@ -192,10 +192,10 @@ }, "patch": { "tags": [ - "PacketCoreDataPlanes" + "PacketCoreDataPlane" ], "operationId": "PacketCoreDataPlanes_UpdateTags", - "description": "Updates a PacketCoreDataPlane update tags.", + "description": "Updates packet core data planes tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" @@ -213,7 +213,7 @@ "schema": { "$ref": "./common.json#/definitions/TagsObject" }, - "description": "Parameters supplied to update PacketCoreDataPlane tags." + "description": "Parameters supplied to update packet core data plane tags." }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -249,7 +249,7 @@ "PacketCoreDataPlanes" ], "operationId": "PacketCoreDataPlanes_ListByPacketCoreControlPlane", - "description": "Lists all the packetCoreDataPlanes associated with a packetCoreControlPlane.", + "description": "Lists all the packet core data planes associated with a packet core control plane.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" @@ -316,7 +316,7 @@ "description": "Packet core data plane resource." }, "PacketCoreDataPlanePropertiesFormat": { - "description": "PacketCoreDataPlane properties.", + "description": "Packet core data plane properties.", "type": "object", "properties": { "provisioningState": { @@ -326,7 +326,7 @@ }, "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." + "description": "The user plane interface on the access network. For 5G networks, this is the N3 interface. For 4G networks, this is the S1-U interface." } }, "required": [ diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/service.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/service.json index 1a25a199966e..2a4c6b775a33 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/service.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/service.json @@ -3,7 +3,7 @@ "info": { "title": "MobileNetworkManagementClient", "description": "The resources in this swagger specification will be used to manage service resources", - "version": "2022-03-01-preview" + "version": "2022-04-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -133,7 +133,7 @@ "Service" ], "operationId": "Services_CreateOrUpdate", - "description": "Creates or updates a Service.", + "description": "Creates or updates a service.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" @@ -195,7 +195,7 @@ "Service" ], "operationId": "Services_UpdateTags", - "description": "Update service tags.", + "description": "Updates service tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -246,7 +246,7 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/services": { "get": { "tags": [ - "Service" + "Services" ], "operationId": "Services_ListByMobileNetwork", "description": "Gets all the services in a mobile network.", @@ -324,18 +324,18 @@ "$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.", + "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.", + "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 SIM policy will define the QoS settings.", "$ref": "#/definitions/QosPolicy" }, "pccRules": { - "description": "The set of PCC Rules that make up this service.", + "description": "The set of data flow policy rules that make up this service.", "type": "array", "items": { "$ref": "#/definitions/PccRuleConfiguration" @@ -353,33 +353,33 @@ ] }, "PccRuleConfiguration": { - "description": "PCC rule configuration", + "description": "Data flow policy 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`.", + "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.", + "description": "A precedence value that is used to decide between data flow policy 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 data flow policy 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.", + "description": "The QoS policy to use for packets matching this rule. If this field is null then the parent service will define the QoS settings.", "$ref": "#/definitions/PccRuleQosPolicy" }, "trafficControl": { - "description": "Determines whether flows that match this PCC Rule are permitted.", + "description": "Determines whether flows that match this data flow policy rule are permitted.", "$ref": "#/definitions/TrafficControlPermission", "default": "Enabled" }, "serviceDataFlowTemplates": { - "description": "The set of service data flow templates to use for this PCC Rule.", + "description": "The set of data flow templates to use for this data flow policy rule.", "type": "array", "items": { "$ref": "#/definitions/ServiceDataFlowTemplate" @@ -398,11 +398,11 @@ ] }, "ServiceDataFlowTemplate": { - "description": "Service data flow (SDF) template", + "description": "Data flow 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`.", + "description": "The name of the data flow template. This must be unique within the parent data flow policy rule. 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 @@ -422,7 +422,7 @@ "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).", + "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 the packet core instance 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", @@ -458,7 +458,7 @@ "items": { "$ref": "#/definitions/Service" }, - "description": "A list of Services." + "description": "A list of services." }, "nextLink": { "type": "string", @@ -466,14 +466,14 @@ "description": "The URL to get the next set of results." } }, - "description": "Response for Services API service call." + "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.", + "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 corresponding to a GBR (guaranteed bit rate) QoS Flow. 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 }, @@ -483,17 +483,17 @@ "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.", + "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.", + "description": "QoS Flow preemption vulnerability. The preemption vulnerability of a QoS Flow controls whether it can be preempted by a 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.", + "description": "The maximum bit rate (MBR) for all service data flows that use this data flow policy rule or service.", "$ref": "./ts29571.json#/definitions/Ambr" } }, @@ -502,11 +502,11 @@ ] }, "PccRuleQosPolicy": { - "description": "PCC rule QoS policy", + "description": "Data flow policy 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.", + "description": "The guaranteed bit rate (GBR) for all service data flows that use this data flow policy rule. This is an optional setting. If you do not provide a value, there will be no GBR set for the data flow policy rule that uses this QoS definition.", "$ref": "./ts29571.json#/definitions/Ambr" } }, diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/simPolicy.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/simPolicy.json index bff31e0979c9..a83ddb8e5d35 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/simPolicy.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/simPolicy.json @@ -2,8 +2,8 @@ "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" + "description": "The resources in this swagger specification will be used to manage SIM policy resources", + "version": "2022-04-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -37,10 +37,10 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies/{simPolicyName}": { "delete": { "tags": [ - "SimPolicy" + "SIMPolicy" ], "operationId": "SimPolicies_Delete", - "description": "Deletes the specified sim policy.", + "description": "Deletes the specified SIM policy.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" @@ -76,7 +76,7 @@ } }, "x-ms-examples": { - "Delete sim policy": { + "Delete SIM policy": { "$ref": "./examples/SimPolicyDelete.json" } }, @@ -87,10 +87,10 @@ }, "get": { "tags": [ - "SimPolicy" + "SIMPolicy" ], "operationId": "SimPolicies_Get", - "description": "Gets information about the specified sim policy.", + "description": "Gets information about the specified SIM policy.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" @@ -110,7 +110,7 @@ ], "responses": { "200": { - "description": "Request successful. The operation returns the resulting sim policy resource.", + "description": "Request successful. The operation returns the resulting SIM policy resource.", "schema": { "$ref": "#/definitions/SimPolicy" } @@ -123,17 +123,17 @@ } }, "x-ms-examples": { - "Get sim policy": { + "Get SIM policy": { "$ref": "./examples/SimPolicyGet.json" } } }, "put": { "tags": [ - "SimPolicy" + "SIMPolicy" ], "operationId": "SimPolicies_CreateOrUpdate", - "description": "Creates or updates a SimPolicy.", + "description": "Creates or updates a SIM policy.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" @@ -151,7 +151,7 @@ "schema": { "$ref": "#/definitions/SimPolicy" }, - "description": "Parameters supplied to the create or update sim policy operation." + "description": "Parameters supplied to the create or update SIM policy operation." }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -162,13 +162,13 @@ ], "responses": { "200": { - "description": "Update successful. The operation returns the resulting sim policy resource.", + "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.", + "description": "Create successful. The operation returns the resulting SIM policy resource.", "schema": { "$ref": "#/definitions/SimPolicy" } @@ -181,7 +181,7 @@ } }, "x-ms-examples": { - "Create sim policy": { + "Create SIM policy": { "$ref": "./examples/SimPolicyCreate.json" } }, @@ -192,10 +192,10 @@ }, "patch": { "tags": [ - "SimPolicy" + "SIMPolicy" ], "operationId": "SimPolicies_UpdateTags", - "description": "Update sim policy tags.", + "description": "Updates SIM policy tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -219,12 +219,12 @@ "schema": { "$ref": "./common.json#/definitions/TagsObject" }, - "description": "Parameters supplied to update Sim Policy tags." + "description": "Parameters supplied to update SIM policy tags." } ], "responses": { "200": { - "description": "Update successful. The operation returns the resulting Sim Policy resource.", + "description": "Update successful. The operation returns the resulting SIM policy resource.", "schema": { "$ref": "#/definitions/SimPolicy" } @@ -237,7 +237,7 @@ } }, "x-ms-examples": { - "Update sim policy tags": { + "Update SIM policy tags": { "$ref": "./examples/SimPolicyUpdateTags.json" } } @@ -246,10 +246,10 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/simPolicies": { "get": { "tags": [ - "SimPolicy" + "SIMPolicies" ], "operationId": "SimPolicies_ListByMobileNetwork", - "description": "Gets all the simPolicies in a mobile network.", + "description": "Gets all the SIM policies in a mobile network.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" @@ -266,7 +266,7 @@ ], "responses": { "200": { - "description": "Request successful. The operation returns a list of sim policy resources.", + "description": "Request successful. The operation returns a list of SIM policy resources.", "schema": { "$ref": "#/definitions/SimPolicyListResult" } @@ -279,7 +279,7 @@ } }, "x-ms-examples": { - "List sim policies in a mobile network": { + "List SIM policies in a mobile network": { "$ref": "./examples/SimPolicyListByMobileNetwork.json" } }, @@ -296,7 +296,7 @@ "properties": { "x-ms-client-flatten": true, "$ref": "#/definitions/SimPolicyPropertiesFormat", - "description": "Sim policy Properties." + "description": "SIM policy Properties." }, "systemData": { "x-ms-client-flatten": true, @@ -313,14 +313,14 @@ "required": [ "properties" ], - "description": "Sim policy resource." + "description": "SIM policy resource." }, "SimPolicyPropertiesFormat": { - "description": "SimPolicy properties.", + "description": "SIM policy properties.", "type": "object", "properties": { "provisioningState": { - "description": "The provisioning state of the sim policy resource.", + "description": "The provisioning state of the SIM policy resource.", "$ref": "./common.json#/definitions/ProvisioningState" }, "ueAmbr": { @@ -328,11 +328,11 @@ "$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.", + "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.", + "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": { @@ -366,11 +366,11 @@ "type": "object", "properties": { "slice": { - "description": "A reference to the Slice that these settings apply to", + "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.", + "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": { @@ -393,11 +393,11 @@ ] }, "DataNetworkConfiguration": { - "description": "Settings controlling Data Network use", + "description": "Settings controlling data network use", "type": "object", "properties": { "dataNetwork": { - "description": "A reference to the Data Network that these settings apply to", + "description": "A reference to the data network that these settings apply to", "$ref": "./common.json#/definitions/DataNetworkResourceId" }, "sessionAmbr": { @@ -405,7 +405,7 @@ "$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.", + "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 corresponding to a GBR (guaranteed bit rate) QoS Flow. 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 }, @@ -415,12 +415,12 @@ "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.", + "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.", + "description": "Default QoS Flow preemption vulnerability. The preemption vulnerability of a QoS Flow controls whether it can be preempted by a 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" }, @@ -430,7 +430,7 @@ "default": "IPv4" }, "additionalAllowedSessionTypes": { - "description": "Allowed session types in addition to the default session type. Must not duplicate the default session type.", + "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" @@ -438,7 +438,7 @@ "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.", + "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" @@ -461,7 +461,7 @@ "items": { "$ref": "#/definitions/SimPolicy" }, - "description": "A list of SimPolicies." + "description": "A list of SIM policies." }, "nextLink": { "type": "string", @@ -469,7 +469,7 @@ "description": "The URL to get the next set of results." } }, - "description": "Response for SimPolicies API service call." + "description": "Response for SIM policies API service call." } } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/slice.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/slice.json index 1c7f1e804af8..da44fee170d5 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/slice.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/slice.json @@ -2,8 +2,8 @@ "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" + "description": "The resources in this swagger specification will be used to manage network slice resources in a mobile network", + "version": "2022-04-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -37,10 +37,10 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/mobileNetworks/{mobileNetworkName}/slices/{sliceName}": { "delete": { "tags": [ - "Slices" + "Slice" ], "operationId": "Slices_Delete", - "description": "Deletes the specified mobile network slice.", + "description": "Deletes the specified network slice.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -76,7 +76,7 @@ } }, "x-ms-examples": { - "Delete mobile network slice": { + "Delete network slice": { "$ref": "./examples/SliceDelete.json" } }, @@ -87,10 +87,10 @@ }, "get": { "tags": [ - "Slices" + "Slice" ], "operationId": "Slices_Get", - "description": "Gets information about the specified mobile network slice.", + "description": "Gets information about the specified network slice.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -110,7 +110,7 @@ ], "responses": { "200": { - "description": "Request successful. The operation returns the resulting mobile network slice resource.", + "description": "Request successful. The operation returns the resulting network slice resource.", "schema": { "$ref": "#/definitions/Slice" } @@ -123,17 +123,17 @@ } }, "x-ms-examples": { - "Get mobile network slice": { + "Get network slice": { "$ref": "./examples/SliceGet.json" } } }, "put": { "tags": [ - "Slices" + "Slice" ], "operationId": "Slices_CreateOrUpdate", - "description": "Creates or updates a mobile network slice.", + "description": "Creates or updates a network slice.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -157,18 +157,18 @@ "schema": { "$ref": "#/definitions/Slice" }, - "description": "Parameters supplied to the create or update mobile network slice operation." + "description": "Parameters supplied to the create or update network slice operation." } ], "responses": { "200": { - "description": "Update successful. The operation returns the resulting mobile network slice resource.", + "description": "Update successful. The operation returns the resulting network slice resource.", "schema": { "$ref": "#/definitions/Slice" } }, "201": { - "description": "Create successful. The operation returns the resulting mobile network slice resource.", + "description": "Create successful. The operation returns the resulting network slice resource.", "schema": { "$ref": "#/definitions/Slice" } @@ -181,7 +181,7 @@ } }, "x-ms-examples": { - "Create mobile network slice": { + "Create network slice": { "$ref": "./examples/SliceCreate.json" } }, @@ -192,10 +192,10 @@ }, "patch": { "tags": [ - "Slices" + "Slice" ], "operationId": "Slices_UpdateTags", - "description": "Update slice tags.", + "description": "Updates slice tags.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -219,12 +219,12 @@ "schema": { "$ref": "./common.json#/definitions/TagsObject" }, - "description": "Parameters supplied to update mobile network slice tags." + "description": "Parameters supplied to update network slice tags." } ], "responses": { "200": { - "description": "Update successful. The operation returns the resulting mobile network slice resource.", + "description": "Update successful. The operation returns the resulting network slice resource.", "schema": { "$ref": "#/definitions/Slice" } @@ -237,7 +237,7 @@ } }, "x-ms-examples": { - "Update mobile network slice tags": { + "Update network slice tags": { "$ref": "./examples/SliceUpdateTags.json" } } @@ -266,7 +266,7 @@ ], "responses": { "200": { - "description": "Request successful. The operation returns a list of mobile network resources.", + "description": "Request successful. The operation returns a list of network slice resources.", "schema": { "$ref": "#/definitions/SliceListResult" } @@ -279,7 +279,7 @@ } }, "x-ms-examples": { - "List mobile network slices in a mobile network": { + "List network slices in a mobile network": { "$ref": "./examples/SliceListByMobileNetwork.json" } }, @@ -326,7 +326,7 @@ }, "snssai": { "$ref": "./ts29571.json#/definitions/Snssai", - "description": "The S-NSSAI (single network slice selection assistance information). Unique at the scope of a MobileNetwork." + "description": "Single-network slice selection assistance information (S-NSSAI). Unique at the scope of a mobile network." }, "description": { "type": "string", @@ -345,7 +345,7 @@ "items": { "$ref": "#/definitions/Slice" }, - "description": "A list of data networks in a resource group." + "description": "A list of network slices in a mobile network." }, "nextLink": { "type": "string", @@ -353,7 +353,7 @@ "description": "The URL to get the next set of results." } }, - "description": "Response for attached data network API service call." + "description": "Response for network slice API service call." } } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/ts29571.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/ts29571.json index 1638283b3c6f..15d605a1ebd9 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/ts29571.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/ts29571.json @@ -3,7 +3,7 @@ "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" + "version": "2022-04-01-preview" }, "host": "management.azure.com", "schemes": [ @@ -68,7 +68,7 @@ "description": "Bit rate or null." }, "Ambr": { - "description": "Aggregate Maximum Bit Rate.", + "description": "Aggregate maximum bit rate.", "type": "object", "properties": { "uplink": { @@ -88,7 +88,7 @@ "AmbrRm": { "$ref": "#/definitions/Ambr", "x-nullable": true, - "description": "Aggregate Maximum Bit Rate or null." + "description": "Aggregate maximum bit rate or null." }, "RfspIndex": { "type": "integer", @@ -208,34 +208,34 @@ "Mcc": { "type": "string", "pattern": "^\\d{3}$", - "description": "Mobile Country Code." + "description": "Mobile country code." }, "MccRm": { "$ref": "#/definitions/Mcc", "x-nullable": true, - "description": "Mobile Country Code or null." + "description": "Mobile country code or null." }, "Mnc": { "type": "string", "pattern": "^\\d{2,3}$", - "description": "Mobile Network Code." + "description": "Mobile network code." }, "MncRm": { "$ref": "#/definitions/Mnc", "x-nullable": true, - "description": "Mobile Network Code or null." + "description": "Mobile network code or null." }, "PlmnId": { - "description": "Public Land Mobile Network (PLMN) ID.", + "description": "Public land mobile network (PLMN) ID.", "type": "object", "properties": { "mcc": { "$ref": "#/definitions/Mcc", - "description": "Mobile Country Code (MCC)." + "description": "Mobile country code (MCC)." }, "mnc": { "$ref": "#/definitions/Mnc", - "description": "Mobile Network Code (MNC)." + "description": "Mobile network code (MNC)." } }, "required": [ @@ -246,7 +246,7 @@ "PlmnIdRm": { "$ref": "#/definitions/PlmnId", "x-nullable": true, - "description": "Public Land Mobile Network ID or null." + "description": "Public land mobile network ID or null." }, "Tac": { "type": "string", @@ -260,7 +260,7 @@ }, "CoreNetworkType": { "type": "string", - "description": "Core network type.", + "description": "The core network technology generation (5G core or EPC / 4G core).", "enum": [ "5GC", "EPC" @@ -311,7 +311,7 @@ "description": "PDU session type or null." }, "Snssai": { - "description": "Single-Network Slice Selection Assistance Information (S-NSSAI).", + "description": "Single-network slice selection assistance information (S-NSSAI).", "type": "object", "properties": { "sst": { @@ -319,12 +319,12 @@ "format": "int32", "minimum": 0, "maximum": 255, - "description": "Slice/Service Type (SST)." + "description": "Slice/service type (SST)." }, "sd": { "type": "string", "pattern": "^[A-Fa-f0-9]{6}$", - "description": "Slice Differentiator (SD)." + "description": "Slice differentiator (SD)." } }, "required": [ From ee5fdd3adaee5c66873df117d0dad1fc93394595 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Wed, 6 Jul 2022 10:07:09 +0530 Subject: [PATCH 3/4] Addressed Spell Check errors --- custom-words.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom-words.txt b/custom-words.txt index d9284e682fe4..cd09ac37d58d 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2616,4 +2616,6 @@ removex generateverificationcodex favorited SIMIDs -ICCID \ No newline at end of file +ICCID +unversioned +RANs \ No newline at end of file From d96b1afb54185380bc783a21b19facf3bd15f26c Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Thu, 14 Jul 2022 17:36:31 +0530 Subject: [PATCH 4/4] Make packet core control plane version a (tenant level) ARM resource --- .../PacketCoreControlPlaneVersionGet.json | 21 +++ ...ontrolPlaneVersionListByResourceGroup.json | 43 +++++ ...pportedPacketCoreControlPlaneVersions.json | 19 -- .../packetCoreControlPlane.json | 167 ++++++++++++++++-- 4 files changed, 213 insertions(+), 37 deletions(-) create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneVersionGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneVersionListByResourceGroup.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SupportedPacketCoreControlPlaneVersions.json diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneVersionGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneVersionGet.json new file mode 100644 index 000000000000..1ee5af68d34a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneVersionGet.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2022-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg", + "versionName": "PMN-4-11-1" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.MobileNetwork/packetCoreControlPlaneVersions/PMN-4-11-1", + "name": "PMN-4-11-1", + "type": "Microsoft.MobileNetwork/packetCoreControlPlaneVersions", + "properties": { + "versionState": "Active", + "recommendedVersion": "Recommended" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneVersionListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneVersionListByResourceGroup.json new file mode 100644 index 000000000000..ba3e0088b8b2 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneVersionListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2022-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.MobileNetwork/packetCoreControlPlaneVersions/PMN-4-9-4", + "name": "PMN-4-9-4", + "type": "Microsoft.MobileNetwork/packetCoreControlPlaneVersions", + "properties": { + "versionState": "Active", + "recommendedVersion": "NotRecommended" + } + }, + { + "id": "/providers/Microsoft.MobileNetwork/packetCoreControlPlaneVersions/PMN-4-10-2", + "name": "PMN-4-10-2", + "type": "Microsoft.MobileNetwork/packetCoreControlPlaneVersions", + "properties": { + "versionState": "Active", + "recommendedVersion": "NotRecommended" + } + }, + { + "id": "/providers/Microsoft.MobileNetwork/packetCoreControlPlaneVersions/PMN-4-11-1", + "name": "PMN-4-11-1", + "type": "Microsoft.MobileNetwork/packetCoreControlPlaneVersions", + "properties": { + "versionState": "Active", + "recommendedVersion": "Recommended" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SupportedPacketCoreControlPlaneVersions.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SupportedPacketCoreControlPlaneVersions.json deleted file mode 100644 index 7ddedbbd8d63..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SupportedPacketCoreControlPlaneVersions.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2022-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg" - }, - "responses": { - "200": { - "body": { - "supportedVersions": [ - "PMN-4-11-1", - "PMN-4-10-2", - "PMN-4-9-4" - ], - "recommendedVersion": "PMN-4-11-1" - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreControlPlane.json index 2fe3407f4ccb..2e1e80831c56 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreControlPlane.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/packetCoreControlPlane.json @@ -312,29 +312,63 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/supportedPacketCoreControlPlaneVersions": { + "/providers/Microsoft.MobileNetwork/packetCoreControlPlaneVersions/{versionName}": { "get": { "tags": [ - "PacketCoreControlPlanes" + "PacketCoreControlPlaneVersion" ], - "operationId": "PacketCoreControlPlanes_SupportedVersions", - "description": "Get the set of packet core control plane versions that are currently supported.", + "operationId": "PacketCoreControlPlaneVersions_Get", + "description": "Gets information about the specified packet core control plane version.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "name": "versionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the packet core control plane version." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting packet core control plane version resource.", + "schema": { + "$ref": "#/definitions/PacketCoreControlPlaneVersion" + } }, + "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 version": { + "$ref": "./examples/PacketCoreControlPlaneVersionGet.json" + } + } + } + }, + "/providers/Microsoft.MobileNetwork/packetCoreControlPlaneVersions": { + "get": { + "tags": [ + "PacketCoreControlPlaneVersion" + ], + "operationId": "PacketCoreControlPlaneVersions_ListByResourceGroup", + "description": "Lists all supported packet core control planes versions.", + "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Get supported packet core control plane versions successful.", "schema": { - "$ref": "#/definitions/SupportedPacketCoreControlPlaneVersionResult" + "$ref": "#/definitions/PacketCoreControlPlaneVersionListResult" } }, "default": { @@ -346,8 +380,11 @@ }, "x-ms-examples": { "Get supported packet core control plane versions": { - "$ref": "./examples/SupportedPacketCoreControlPlaneVersions.json" + "$ref": "./examples/PacketCoreControlPlaneVersionListByResourceGroup.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } } @@ -515,23 +552,117 @@ } } }, - "SupportedPacketCoreControlPlaneVersionResult": { + "PacketCoreControlPlaneVersion": { + "description": "Packet core control plane version resource.", "type": "object", "properties": { - "supportedVersions": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PacketCoreControlPlaneVersionPropertiesFormat", + "description": "Packet core control plane version properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ], + "required": [ + "properties" + ] + }, + "PacketCoreControlPlaneVersionPropertiesFormat": { + "description": "Packet core control plane version properties.", + "type": "object", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the packet core control plane version resource." + }, + "versionState": { + "type": "string", + "description": "The state of this packet core control plane version.", + "enum": [ + "Unknown", + "Preview", + "Validating", + "ValidationFailed", + "Active", + "Deprecated" + ], + "x-ms-enum": { + "name": "versionState", + "modelAsString": true, + "values": [ + { + "value": "Unknown", + "description": "The state of this version is unknown." + }, + { + "value": "Preview", + "description": "This version is a preview and is not suitable for production use." + }, + { + "value": "Validating", + "description": "This version is currently being validated." + }, + { + "value": "ValidationFailed", + "description": "This version failed validation." + }, + { + "value": "Active", + "description": "This version is active and suitable for production use." + }, + { + "value": "Deprecated", + "description": "This version is deprecated and is no longer supported." + } + ] + } + }, + "recommendedVersion": { + "type": "string", + "description": "Indicates whether this is the recommended version to use for new packet core control plane deployments.", + "enum": [ + "Recommended", + "NotRecommended" + ], + "x-ms-enum": { + "name": "recommendedVersion", + "modelAsString": true, + "values": [ + { + "value": "Recommended", + "description": "This is the recommended version to use for new packet core control plane deployments." + }, + { + "value": "NotRecommended", + "description": "This is not the recommended version to use for new packet core control plane deployments." + } + ] + } + } + } + }, + "PacketCoreControlPlaneVersionListResult": { + "description": "Response for packet core control plane version API service call.", + "type": "object", + "properties": { + "value": { "type": "array", "items": { - "type": "string", - "description": "A supported version of packet core control plane" + "$ref": "#/definitions/PacketCoreControlPlaneVersion" }, - "description": "The supported packet core control plane versions." + "description": "A list of supported packet core control plane versions." }, - "recommendedVersion": { + "nextLink": { + "readOnly": true, "type": "string", - "description": "The recommended version to use for new packet core control plane deployments." + "description": "The URL to get the next set of results." } - }, - "description": "Response for supported packet core control plane versions API call." + } } } }