From 8e8454710476fe35b901ac006e683bc7a7e1504a Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Wed, 9 Feb 2022 16:31:14 +0530 Subject: [PATCH 01/19] Mobile Network REST API Specification --- .../preview/2020-06-01-preview/common.json | 117 + .../examples/NetworkCreate.json | 52 + .../examples/NetworkDelete.json | 13 + .../examples/NetworkGet.json | 32 + .../examples/NetworkListByResourceGroup.json | 35 + .../examples/NetworkListBySubscription.json | 34 + .../examples/NetworkUpdateTags.json | 41 + .../examples/OperationList.json | 24 + .../examples/PacketCoreCreate.json | 38 + .../examples/PacketCoreDelete.json | 13 + .../examples/PacketCoreGet.json | 22 + .../PacketCoreListByResourceGroup.json | 25 + .../PacketCoreListBySubscription.json | 24 + .../examples/PacketCoreUpdateTags.json | 31 + .../examples/SimCreate.json | 40 + .../examples/SimDelete.json | 13 + .../2020-06-01-preview/examples/SimGet.json | 22 + .../examples/SimListByResourceGroup.json | 25 + .../examples/SimListBySubscription.json | 24 + .../examples/SimProfileActivate.json | 49 + .../examples/SimProfileCreate.json | 58 + .../examples/SimProfileDeactivate.json | 49 + .../examples/SimProfileDelete.json | 14 + .../examples/SimProfileGet.json | 30 + .../examples/SimProfileIdListByNetwork.json | 30 + .../examples/SimProfileListBySim.json | 31 + .../examples/SimProfileUpdateTags.json | 40 + .../examples/SimUpdateTags.json | 32 + .../examples/SiteCreate.json | 44 + .../examples/SiteDelete.json | 14 + .../2020-06-01-preview/examples/SiteGet.json | 24 + .../examples/SiteListByNetwork.json | 27 + .../examples/SiteUpdateTags.json | 34 + .../2020-06-01-preview/mobileNetwork.json | 2013 +++++++++++++++++ .../preview/2020-06-01-preview/operation.json | 132 ++ .../attachedDataNetwork.json | 496 ++++ .../preview/2021-04-01-preview/common.json | 316 +++ .../2021-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 | 106 + .../PacketCoreControlPlaneDelete.json | 13 + .../examples/PacketCoreControlPlaneGet.json | 47 + ...etCoreControlPlaneListByResourceGroup.json | 51 + ...ketCoreControlPlaneListBySubscription.json | 50 + .../PacketCoreControlPlaneUpdateTags.json | 56 + .../examples/PacketCoreDataPlaneCreate.json | 71 + .../examples/PacketCoreDataPlaneDelete.json | 14 + .../examples/PacketCoreDataPlaneGet.json | 36 + ...DataPlaneListByPacketCoreControlPlane.json | 40 + .../PacketCoreDataPlaneUpdateTags.json | 45 + .../examples/ServiceCreate.json | 179 ++ .../examples/ServiceDelete.json | 14 + .../examples/ServiceGet.json | 72 + .../examples/ServiceListByMobileNetwork.json | 75 + .../examples/ServiceUpdateTags.json | 81 + .../examples/SimActivate.json | 71 + .../examples/SimCreate.json | 84 + .../examples/SimDeactivate.json | 71 + .../examples/SimDelete.json | 13 + .../2021-04-01-preview/examples/SimGet.json | 39 + .../examples/SimIdListByMobileNetwork.json | 33 + .../examples/SimListByResourceGroup.json | 42 + .../examples/SimListBySubscription.json | 41 + .../examples/SimPolicyCreate.json | 176 ++ .../examples/SimPolicyDelete.json | 14 + .../examples/SimPolicyGet.json | 71 + .../SimPolicyListByMobileNetwork.json | 74 + .../examples/SimPolicyUpdateTags.json | 80 + .../examples/SimUpdateTags.json | 49 + .../examples/SiteCreate.json | 69 + .../examples/SiteDelete.json | 14 + .../2021-04-01-preview/examples/SiteGet.json | 35 + .../examples/SiteListByMobileNetwork.json | 38 + .../examples/SiteUpdateTags.json | 45 + .../examples/SliceCreate.json | 71 + .../examples/SliceDelete.json | 14 + .../2021-04-01-preview/examples/SliceGet.json | 36 + .../examples/SliceListByMobileNetwork.json | 39 + .../examples/SliceUpdateTags.json | 45 + .../2021-04-01-preview/mobileNetwork.json | 1256 ++++++++++ .../preview/2021-04-01-preview/operation.json | 133 ++ .../packetCoreControlPlane.json | 406 ++++ .../packetCoreDataPlane.json | 355 +++ .../preview/2021-04-01-preview/service.json | 539 +++++ .../preview/2021-04-01-preview/simPolicy.json | 469 ++++ .../preview/2021-04-01-preview/slice.json | 359 +++ .../preview/2021-04-01-preview/ts29571.json | 297 +++ .../attachedDataNetwork.json | 496 ++++ .../preview/2022-01-01-preview/common.json | 318 +++ .../2022-01-01-preview/dataNetwork.json | 349 +++ .../examples/AttachedDataNetworkCreate.json | 127 ++ .../examples/AttachedDataNetworkDelete.json | 15 + .../examples/AttachedDataNetworkGet.json | 56 + ...dDataNetworkListByPacketCoreDataPlane.json | 59 + .../AttachedDataNetworkUpdateTags.json | 65 + .../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 | 100 + .../PacketCoreControlPlaneDelete.json | 13 + .../examples/PacketCoreControlPlaneGet.json | 45 + ...etCoreControlPlaneListByResourceGroup.json | 49 + ...ketCoreControlPlaneListBySubscription.json | 48 + .../PacketCoreControlPlaneUpdateTags.json | 54 + .../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/SimActivate.json | 71 + .../examples/SimCreate.json | 84 + .../examples/SimDeactivate.json | 71 + .../examples/SimDelete.json | 13 + .../2022-01-01-preview/examples/SimGet.json | 39 + .../examples/SimIdListByMobileNetwork.json | 33 + .../examples/SimListByResourceGroup.json | 42 + .../examples/SimListBySubscription.json | 41 + .../examples/SimPolicyCreate.json | 176 ++ .../examples/SimPolicyDelete.json | 14 + .../examples/SimPolicyGet.json | 71 + .../SimPolicyListByMobileNetwork.json | 74 + .../examples/SimPolicyUpdateTags.json | 80 + .../examples/SimUpdateTags.json | 49 + .../examples/SiteCreate.json | 69 + .../examples/SiteDelete.json | 14 + .../2022-01-01-preview/examples/SiteGet.json | 35 + .../examples/SiteListByMobileNetwork.json | 38 + .../examples/SiteUpdateTags.json | 45 + .../examples/SliceCreate.json | 71 + .../examples/SliceDelete.json | 14 + .../2022-01-01-preview/examples/SliceGet.json | 36 + .../examples/SliceListByMobileNetwork.json | 39 + .../examples/SliceUpdateTags.json | 45 + .../2022-01-01-preview/mobileNetwork.json | 1256 ++++++++++ .../preview/2022-01-01-preview/operation.json | 133 ++ .../packetCoreControlPlane.json | 406 ++++ .../packetCoreDataPlane.json | 355 +++ .../preview/2022-01-01-preview/service.json | 539 +++++ .../preview/2022-01-01-preview/simPolicy.json | 469 ++++ .../preview/2022-01-01-preview/slice.json | 359 +++ .../preview/2022-01-01-preview/ts29571.json | 297 +++ .../resource-manager/readme.csharp.md | 15 + .../resource-manager/readme.go.md | 48 + .../mobilenetwork/resource-manager/readme.md | 120 + .../resource-manager/readme.python.md | 21 + .../resource-manager/readme.ruby.md | 19 + .../resource-manager/readme.typescript.md | 14 + 177 files changed, 19365 insertions(+) create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/common.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/OperationList.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileActivate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDeactivate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileIdListByNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileListBySim.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteListByNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/mobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/operation.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/attachedDataNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/common.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/dataNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/OperationList.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimActivate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimDeactivate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimIdListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/mobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/operation.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreControlPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreDataPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/service.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/simPolicy.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/slice.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/ts29571.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/dataNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/OperationList.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimActivate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimDeactivate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimIdListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceCreate.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceDelete.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceGet.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceListByMobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceUpdateTags.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/operation.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreControlPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreDataPlane.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/simPolicy.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/slice.json create mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/ts29571.json create mode 100644 specification/mobilenetwork/resource-manager/readme.csharp.md create mode 100644 specification/mobilenetwork/resource-manager/readme.go.md create mode 100644 specification/mobilenetwork/resource-manager/readme.md create mode 100644 specification/mobilenetwork/resource-manager/readme.python.md create mode 100644 specification/mobilenetwork/resource-manager/readme.ruby.md create mode 100644 specification/mobilenetwork/resource-manager/readme.typescript.md diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/common.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/common.json new file mode 100644 index 000000000000..bbc015939de4 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/common.json @@ -0,0 +1,117 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage mobile network resources", + "version": "2020-06-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": { + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + }, + "description": "Reference to another sub resource.", + "x-ms-azure-resource": true + }, + "ProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Unknown", + "Succeeded", + "Updating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "TagsObject": { + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Tags object for patch operations." + }, + "NetworkType": { + "type": "string", + "description": "The packet core type.", + "enum": [ + "Private" + ], + "x-ms-enum": { + "name": "NetworkType", + "modelAsString": true + } + }, + "SimType": { + "type": "string", + "description": "The sim type.", + "enum": [ + "Physical", + "ESim" + ], + "x-ms-enum": { + "name": "SimType", + "modelAsString": true + } + }, + "ActivationState": { + "type": "string", + "readOnly": true, + "description": "The current activation state of the SimProfile on the network.", + "enum": [ + "NotActivated", + "Activated", + "Activating", + "Deactivating", + "Deactivated", + "Failed" + ], + "x-ms-enum": { + "name": "ActivationState", + "modelAsString": true + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkCreate.json new file mode 100644 index 000000000000..1bf6506a0722 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkCreate.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkName": "testNetwork", + "parameters": { + "location": "eastus", + "properties": { + "mobileCountryCode": "testMobileCountryCode", + "mobileNetworkCode": "testMobileNetworkCode", + "spectrumAccessProvider": "testSpectrumAccessProvider" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork", + "type": "Microsoft.MobileNetwork/networks", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "mobileCountryCode": "testMobileCountryCode", + "mobileNetworkCode": "testMobileNetworkCode", + "serviceKey": "testServiceKey", + "networkType": "Public", + "spectrumAccessProvider": "testSpectrumAccessProvider" + } + } + }, + "201": { + "body": { + "name": "testNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork", + "type": "Microsoft.MobileNetwork/networks", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Created", + "mobileCountryCode": "testMobileCountryCode", + "mobileNetworkCode": "testMobileNetworkCode", + "serviceKey": "testServiceKey", + "networkType": "Public", + "spectrumAccessProvider": "testSpectrumAccessProvider" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkDelete.json new file mode 100644 index 000000000000..d6f483fafe89 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkName": "testNetwork" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkGet.json new file mode 100644 index 000000000000..46a9a1fe6a9a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkName": "testNetwork" + }, + "responses": { + "200": { + "body": { + "name": "testNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork", + "type": "Microsoft.MobileNetwork/networks", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "mobileCountryCode": "testMobileCountryCode", + "mobileNetworkCode": "testMobileNetworkCode", + "serviceKey": "testServiceKey", + "networkType": "Public", + "spectrumAccessProvider": "testSpectrumAccessProvider", + "packetCores": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore" + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListByResourceGroup.json new file mode 100644 index 000000000000..bca3542ae079 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListByResourceGroup.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork", + "type": "Microsoft.MobileNetwork/networks", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "mobileCountryCode": "testMobileCountryCode", + "mobileNetworkCode": "testMobileNetworkCode", + "serviceKey": "testServiceKey", + "networkType": "Public", + "spectrumAccessProvider": "testSpectrumAccessProvider", + "packetCores": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListBySubscription.json new file mode 100644 index 000000000000..c0e36009a6fc --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListBySubscription.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork", + "type": "Microsoft.MobileNetwork/networks", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded", + "mobileCountryCode": "testMobileCountryCode", + "mobileNetworkCode": "testMobileNetworkCode", + "serviceKey": "testServiceKey", + "networkType": "Public", + "spectrumAccessProvider": "testSpectrumAccessProvider", + "packetCores": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkUpdateTags.json new file mode 100644 index 000000000000..4c3f2d0811ec --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkUpdateTags.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkName": "testNetwork", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testNetwork", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork", + "type": "Microsoft.MobileNetwork/networks", + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "mobileCountryCode": "testMobileCountryCode", + "mobileNetworkCode": "testMobileNetworkCode", + "serviceKey": "testServiceKey", + "networkType": "Public", + "spectrumAccessProvider": "testSpectrumAccessProvider", + "packetCores": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore" + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/OperationList.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/OperationList.json new file mode 100644 index 000000000000..0e2bd4bdc91d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/OperationList.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "location": "eastus", + "api-version": "2020-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "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/2020-06-01-preview/examples/PacketCoreCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreCreate.json new file mode 100644 index 000000000000..eb07b4a0b8a6 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreCreate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreName": "testPacketCore", + "parameters": { + "location": "eastus", + "properties": {} + } + }, + "responses": { + "200": { + "body": { + "name": "testPacketCore", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore", + "type": "Microsoft.MobileNetwork/packetCores", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "testPacketCore", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore", + "type": "Microsoft.MobileNetwork/packetCores", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreDelete.json new file mode 100644 index 000000000000..c9379350f59c --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreName": "testPacketCore" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreGet.json new file mode 100644 index 000000000000..c8e148f97de0 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreName": "testPacketCore" + }, + "responses": { + "200": { + "body": { + "name": "testPacketCore", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore", + "type": "Microsoft.MobileNetwork/packetCores", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Accepted" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListByResourceGroup.json new file mode 100644 index 000000000000..855fa0319fa8 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListByResourceGroup.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPacketCore", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore", + "type": "Microsoft.MobileNetwork/packetCores", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListBySubscription.json new file mode 100644 index 000000000000..c24aae76caaa --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListBySubscription.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPacketCore", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore", + "type": "Microsoft.MobileNetwork/packetCores", + "location": "eastus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreUpdateTags.json new file mode 100644 index 000000000000..9ccb92d670c3 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreUpdateTags.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreName": "testPacketCore", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testPacketCore", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore", + "type": "Microsoft.MobileNetwork/packetCores", + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimCreate.json new file mode 100644 index 000000000000..8e2fc5bc3542 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimCreate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "simName": "testSim", + "parameters": { + "location": "testLocation", + "properties": { + "simType": "ESim" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testSim", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", + "type": "Microsoft.MobileNetwork/sims", + "location": "testLocation", + "properties": { + "provisioningState": "Accepted", + "simType": "ESim" + } + } + }, + "201": { + "body": { + "name": "testSim", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", + "type": "Microsoft.MobileNetwork/sims", + "location": "testLocation", + "properties": { + "provisioningState": "Created", + "simType": "ESim" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimDelete.json new file mode 100644 index 000000000000..1ce0b1c2b9f3 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simName": "testSim" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimGet.json new file mode 100644 index 000000000000..127cb892f56d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2020-06-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", + "location": "testLocation", + "properties": { + "provisioningState": "Accepted", + "simType": "Physical" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListByResourceGroup.json new file mode 100644 index 000000000000..3bdf72d96873 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListByResourceGroup.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2020-06-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", + "location": "testLocation", + "properties": { + "provisioningState": "Accepted", + "simType": "ESim" + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListBySubscription.json new file mode 100644 index 000000000000..32265e35de4c --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListBySubscription.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testSim", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", + "type": "Microsoft.MobileNetwork/sims", + "location": "testLocation", + "properties": { + "provisioningState": "Accepted", + "simType": "ESim" + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileActivate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileActivate.json new file mode 100644 index 000000000000..fd1a2fdf821b --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileActivate.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simName": "testSimName", + "simProfileName": "testSimProfileName" + }, + "responses": { + "200": { + "body": { + "name": "TestSimProfile", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", + "type": "Microsoft.MobileNetwork/sims/simProfiles", + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "activationState": "Activated", + "internationalMobileSubscriberIdentity": "TestImsi", + "integratedCircuitCardIdentifier": "testIccid", + "networks": [ + { + "id": "TestNetwork" + } + ] + } + } + }, + "202": { + "body": { + "name": "TestSimProfile", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", + "type": "Microsoft.MobileNetwork/sims/simProfiles", + "location": "testLocation", + "properties": { + "provisioningState": "Accepted", + "activationState": "Activated", + "internationalMobileSubscriberIdentity": "TestImsi", + "integratedCircuitCardIdentifier": "testIccid", + "networks": [ + { + "id": "TestNetwork" + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileCreate.json new file mode 100644 index 000000000000..83ea062fd9ca --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileCreate.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "simName": "testSim", + "simProfileName": "TestSimProfile", + "parameters": { + "location": "testLocation", + "properties": { + "integratedCircuitCardIdentifier": "TestIccId", + "internationalMobileSubscriberIdentity": "TestImsi", + "authenticationKey": "testAuthKey", + "operatorKeyCode": "testOpc" + } + } + }, + "responses": { + "200": { + "body": { + "name": "TestSimProfile", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", + "type": "Microsoft.MobileNetwork/sims/simProfiles", + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "activationState": "Activated", + "internationalMobileSubscriberIdentity": "TestImsi", + "integratedCircuitCardIdentifier": "testIccid", + "networks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork" + } + ] + } + } + }, + "201": { + "body": { + "name": "TestSimProfile", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", + "type": "Microsoft.MobileNetwork/sims/simProfiles", + "location": "testLocation", + "properties": { + "provisioningState": "Accepted", + "activationState": "Activated", + "internationalMobileSubscriberIdentity": "TestImsi", + "integratedCircuitCardIdentifier": "testIccid", + "networks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork" + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDeactivate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDeactivate.json new file mode 100644 index 000000000000..c6623939d8f8 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDeactivate.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simName": "testSimName", + "simProfileName": "testSimProfileName" + }, + "responses": { + "200": { + "body": { + "name": "TestSimProfile", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", + "type": "Microsoft.MobileNetwork/sims/simProfiles", + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "activationState": "Deactivated", + "internationalMobileSubscriberIdentity": "TestImsi", + "integratedCircuitCardIdentifier": "testIccid", + "networks": [ + { + "id": "TestNetwork" + } + ] + } + } + }, + "202": { + "body": { + "name": "TestSimProfile", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", + "type": "Microsoft.MobileNetwork/sims/simProfiles", + "location": "testLocation", + "properties": { + "provisioningState": "Accepted", + "activationState": "Deactivated", + "internationalMobileSubscriberIdentity": "TestImsi", + "integratedCircuitCardIdentifier": "testIccid", + "networks": [ + { + "id": "TestNetwork" + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDelete.json new file mode 100644 index 000000000000..547d5fc16b96 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "simName": "testSim", + "simProfileName": "testSimProfile" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileGet.json new file mode 100644 index 000000000000..aa0388eaaa2a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "simName": "testSim", + "simProfileName": "TestSimProfile" + }, + "responses": { + "200": { + "body": { + "name": "TestSimProfile", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/simName/simProfiles/TestSimProfile", + "type": "Microsoft.MobileNetwork/sims/simProfiles", + "location": "testLocation", + "properties": { + "provisioningState": "Accepted", + "activationState": "Activated", + "internationalMobileSubscriberIdentity": "TestImsi", + "integratedCircuitCardIdentifier": "testIccid", + "networks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork" + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileIdListByNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileIdListByNetwork.json new file mode 100644 index 000000000000..d0cdf95c49f9 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileIdListByNetwork.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "networkName": "testNetworkName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile" + } + ], + "nextLink": "nextLink" + } + }, + "202": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile" + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileListBySim.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileListBySim.json new file mode 100644 index 000000000000..fe5227b9a20e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileListBySim.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simName": "testSimName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "testLocation", + "properties": { + "provisioningState": "Accepted", + "activationState": "Activated", + "internationalMobileSubscriberIdentity": "TestImsi", + "integratedCircuitCardIdentifier": "testIccid", + "networks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork" + } + ] + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileUpdateTags.json new file mode 100644 index 000000000000..2e7ebc3ebcc2 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileUpdateTags.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "simName": "testSim", + "simProfileName": "testSimProfile", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testSimProfile", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", + "type": "Microsoft.MobileNetwork/sims/simProfiles", + "location": "eastus", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Accepted", + "activationState": "Activated", + "internationalMobileSubscriberIdentity": "testImsi", + "integratedCircuitCardIdentifier": "testIccid", + "networks": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork" + } + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimUpdateTags.json new file mode 100644 index 000000000000..614e1877cf53 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimUpdateTags.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2020-06-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", + "location": "testLocation", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "simType": "Physical" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteCreate.json new file mode 100644 index 000000000000..d80c56f630be --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteCreate.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkName": "testNetwork", + "siteName": "testSite", + "parameters": { + "location": "testLocation", + "properties": { + "customLocation": "testCustomLocation", + "trackingAreaCode": "testTrackingAreaCode" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testSite", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork/sites/testSite", + "type": "Microsoft.MobileNetwork/networks/sites", + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "customLocation": "testCustomLocation", + "trackingAreaCode": "testTrackingAreaCode" + } + } + }, + "201": { + "body": { + "name": "testSite", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork/sites/testSite", + "type": "Microsoft.MobileNetwork/networks/sites", + "location": "testLocation", + "properties": { + "provisioningState": "Created", + "customLocation": "testCustomLocation", + "trackingAreaCode": "testTrackingAreaCode" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteDelete.json new file mode 100644 index 000000000000..07bc86908b6e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkName": "testNetwork", + "siteName": "testSite" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteGet.json new file mode 100644 index 000000000000..ae0793444fec --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkName": "testNetwork", + "siteName": "testSite" + }, + "responses": { + "200": { + "body": { + "name": "testSite", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork/sites/testSite", + "type": "Microsoft.MobileNetwork/networks/sites", + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "customLocation": "testCustomLocation", + "trackingAreaCode": "testTrackingAreaCode" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteListByNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteListByNetwork.json new file mode 100644 index 000000000000..f3b5c7d90205 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteListByNetwork.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkName": "testNetwork" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testSite", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork/sites/testSite", + "type": "Microsoft.MobileNetwork/networks/sites", + "location": "testLocation", + "properties": { + "provisioningState": "Succeeded", + "customLocation": "testCustomLocation", + "trackingAreaCode": "testTrackingAreaCode" + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteUpdateTags.json new file mode 100644 index 000000000000..e9be4ac5dddd --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteUpdateTags.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2020-06-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkName": "testNetwork", + "siteName": "testSite", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testSite", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork/sites/testSite", + "type": "Microsoft.MobileNetwork/networks/sites", + "location": "testLocation", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Succeeded", + "customLocation": "testCustomLocation", + "trackingAreaCode": "testTrackingAreaCode" + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/mobileNetwork.json new file mode 100644 index 000000000000..2fb39ef7afb1 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/mobileNetwork.json @@ -0,0 +1,2013 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage mobile network resources", + "version": "2020-06-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/networks/{networkName}": { + "delete": { + "tags": [ + "Networks" + ], + "operationId": "Networks_Delete", + "description": "Deletes the specified network.", + "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" + }, + { + "name": "networkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network." + } + ], + "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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete network": { + "$ref": "./examples/NetworkDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Networks" + ], + "operationId": "Networks_Get", + "description": "Gets information about the specified network.", + "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" + }, + { + "name": "networkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of network." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting network resource.", + "schema": { + "$ref": "#/definitions/Network" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get network": { + "$ref": "./examples/NetworkGet.json" + } + } + }, + "put": { + "tags": [ + "Networks" + ], + "operationId": "Networks_CreateOrUpdate", + "description": "Creates or updates a network.", + "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" + }, + { + "name": "networkName", + "in": "path", + "required": true, + "type": "string", + "description": "Name of network." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Network" + }, + "description": "Parameters supplied to the create or update network operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting network resource.", + "schema": { + "$ref": "#/definitions/Network" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting network resource.", + "schema": { + "$ref": "#/definitions/Network" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create network": { + "$ref": "./examples/NetworkCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "Networks" + ], + "operationId": "Networks_UpdateTags", + "description": "Updates a network update tags.", + "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" + }, + { + "name": "networkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update network tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting network resource.", + "schema": { + "$ref": "#/definitions/Network" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update network tags": { + "$ref": "./examples/NetworkUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MobileNetwork/networks": { + "get": { + "tags": [ + "Networks" + ], + "operationId": "Networks_ListBySubscription", + "description": "Lists all the networks in a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of network resources.", + "schema": { + "$ref": "#/definitions/NetworkListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List all networks": { + "$ref": "./examples/NetworkListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/networks": { + "get": { + "tags": [ + "Networks" + ], + "operationId": "Networks_ListByResourceGroup", + "description": "Lists all the networks in a resource group.", + "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": "Request successful. The operation returns a list of network resources.", + "schema": { + "$ref": "#/definitions/NetworkListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List networks in resource group": { + "$ref": "./examples/NetworkListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/networks/{networkName}/listSimProfileIds": { + "post": { + "tags": [ + "Networks" + ], + "operationId": "MobileNetwork_ListSimProfileId", + "description": "List sim profile ids under a network.", + "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" + }, + { + "name": "networkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network." + } + ], + "responses": { + "200": { + "description": "List sim profile ids successful.", + "schema": { + "$ref": "#/definitions/SimProfileIdListResult" + } + }, + "202": { + "description": "Accepted. Returns an operation URI that can be queried to find the current state of the operation.", + "schema": { + "$ref": "#/definitions/SimProfileIdListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List sim profile ids by network": { + "$ref": "./examples/SimProfileIdListByNetwork.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCores/{packetCoreName}": { + "delete": { + "tags": [ + "PacketCores" + ], + "operationId": "PacketCores_Delete", + "description": "Deletes the specified packet core.", + "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" + }, + { + "name": "packetCoreName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the packetCore." + } + ], + "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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete packetCore": { + "$ref": "./examples/PacketCoreDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "PacketCores" + ], + "operationId": "PacketCores_Get", + "description": "Gets information about the specified PacketCore.", + "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" + }, + { + "name": "packetCoreName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of packetCore." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting mobile network resource.", + "schema": { + "$ref": "#/definitions/PacketCore" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get packetCore": { + "$ref": "./examples/PacketCoreGet.json" + } + } + }, + "put": { + "tags": [ + "PacketCores" + ], + "operationId": "PacketCores_CreateOrUpdate", + "description": "Creates or updates a packetCore.", + "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" + }, + { + "name": "packetCoreName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the packetCore." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PacketCore" + }, + "description": "Parameters supplied to the create or update packetCore operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting packetCore resource.", + "schema": { + "$ref": "#/definitions/PacketCore" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting packetCore resource.", + "schema": { + "$ref": "#/definitions/PacketCore" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create packetCore": { + "$ref": "./examples/PacketCoreCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "PacketCores" + ], + "operationId": "PacketCores_UpdateTags", + "description": "Updates a packetCore update tags.", + "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" + }, + { + "name": "packetCoreName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the packetCore." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update packetCore tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting packetCore resource.", + "schema": { + "$ref": "#/definitions/PacketCore" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update packetCore tags": { + "$ref": "./examples/PacketCoreUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/networks/{networkName}/sites/{siteName}": { + "delete": { + "tags": [ + "Sites" + ], + "operationId": "Sites_Delete", + "description": "Deletes the specified network site.", + "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" + }, + { + "name": "networkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network." + }, + { + "name": "siteName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network site." + } + ], + "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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete 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 network site.", + "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" + }, + { + "name": "networkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of network." + }, + { + "name": "siteName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network site." + } + ], + "responses": { + "200": { + "description": "Request 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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get network site": { + "$ref": "./examples/SiteGet.json" + } + } + }, + "put": { + "tags": [ + "Sites" + ], + "operationId": "Sites_CreateOrUpdate", + "description": "Creates or updates a network site.", + "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" + }, + { + "name": "networkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network site." + }, + { + "name": "siteName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network site." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Site" + }, + "description": "Parameters supplied to the create or update network site operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting network site resource.", + "schema": { + "$ref": "#/definitions/Site" + } + }, + "201": { + "description": "Create 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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create 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/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" + }, + { + "name": "networkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network site." + }, + { + "name": "siteName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network site." + }, + { + "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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update network site tags": { + "$ref": "./examples/SiteUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/networks/{networkName}/sites": { + "get": { + "tags": [ + "Sites" + ], + "operationId": "Sites_ListByNetwork", + "description": "Lists all sites in the network.", + "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" + }, + { + "name": "networkName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the network." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of network site resources.", + "schema": { + "$ref": "#/definitions/SiteListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List all network sites": { + "$ref": "./examples/SiteListByNetwork.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/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" + }, + { + "name": "simName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim." + } + ], + "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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete sim resource": { + "$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/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" + }, + { + "name": "simName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of sim." + } + ], + "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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "simName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Sim" + }, + "description": "Parameters supplied to the create or update sim operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "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/v2/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/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" + }, + { + "name": "simName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim." + }, + { + "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/v2/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/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List all sims": { + "$ref": "./examples/SimListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MobileNetwork/packetCores": { + "get": { + "tags": [ + "PacketCores" + ], + "operationId": "PacketCores_ListBySubscription", + "description": "Lists all the packet cores in a subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of packet core resources.", + "schema": { + "$ref": "#/definitions/PacketCoreListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List all packet cores": { + "$ref": "./examples/PacketCoreListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCores": { + "get": { + "tags": [ + "PacketCores" + ], + "operationId": "PacketCores_ListByResourceGroup", + "description": "Lists all the packet cores in a resource group.", + "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": "Request successful. The operation returns a list of packet core resources.", + "schema": { + "$ref": "#/definitions/PacketCoreListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List packet cores in resource group": { + "$ref": "./examples/PacketCoreListByResourceGroup.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/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": "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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List sims in resource group": { + "$ref": "./examples/SimListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/simProfiles/{simProfileName}": { + "delete": { + "tags": [ + "SimProfiles" + ], + "operationId": "SimProfiles_Delete", + "description": "Deletes the specified sim profile.", + "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" + }, + { + "name": "simName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim." + }, + { + "name": "simProfileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim profile." + } + ], + "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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete sim profile resource": { + "$ref": "./examples/SimProfileDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "SimProfiles" + ], + "operationId": "SimProfiles_Get", + "description": "Gets information about the specified sim profile.", + "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" + }, + { + "name": "simName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of sim." + }, + { + "name": "simProfileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim profile." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns the resulting sim profile resource.", + "schema": { + "$ref": "#/definitions/SimProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get sim profile": { + "$ref": "./examples/SimProfileGet.json" + } + } + }, + "put": { + "tags": [ + "SimProfiles" + ], + "operationId": "SimProfiles_CreateOrUpdate", + "description": "Creates or updates a sim profile.", + "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" + }, + { + "name": "simName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim." + }, + { + "name": "simProfileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim profile." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/SimProfile" + }, + "description": "Parameters supplied to the create or update sim profile operation." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting sim profile resource.", + "schema": { + "$ref": "#/definitions/SimProfile" + } + }, + "201": { + "description": "Create successful. The operation returns the resulting sim profile resource.", + "schema": { + "$ref": "#/definitions/SimProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create sim profile": { + "$ref": "./examples/SimProfileCreate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "patch": { + "tags": [ + "SimProfiles" + ], + "operationId": "SimProfiles_UpdateTags", + "description": "Updates a sim profile update tags.", + "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" + }, + { + "name": "simName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim." + }, + { + "name": "simProfileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim profile." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update sim profile tags." + } + ], + "responses": { + "200": { + "description": "Update successful. The operation returns the resulting sim profile resource.", + "schema": { + "$ref": "#/definitions/SimProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update sim profile tags": { + "$ref": "./examples/SimProfileUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/simProfiles": { + "get": { + "tags": [ + "SimProfiles" + ], + "operationId": "SimProfiles_ListBySim", + "description": "Lists all sim profiles in the sim", + "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" + }, + { + "name": "simName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim." + } + ], + "responses": { + "200": { + "description": "Request successful. The operation returns a list of sim profile resources.", + "schema": { + "$ref": "#/definitions/SimProfileListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List all sim profiles in a sim": { + "$ref": "./examples/SimProfileListBySim.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/simProfiles/{simProfileName}/activate": { + "post": { + "tags": [ + "SimProfiles" + ], + "operationId": "SimProfiles_Activate", + "description": "Activates the specified sim profile.", + "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" + }, + { + "name": "simName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim." + }, + { + "name": "simProfileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim profile." + } + ], + "responses": { + "200": { + "description": "SimProfile activation successful.", + "schema": { + "$ref": "#/definitions/SimProfile" + } + }, + "202": { + "description": "Accepted. Sets 'Activating' in activationState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation.", + "schema": { + "$ref": "#/definitions/SimProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Activate sim profile": { + "$ref": "./examples/SimProfileActivate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/simProfiles/{simProfileName}/deactivate": { + "post": { + "tags": [ + "SimProfiles" + ], + "operationId": "SimProfiles_Deactivate", + "description": "Deactivates the specified sim profiles.", + "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" + }, + { + "name": "simName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim profile." + }, + { + "name": "simProfileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the sim profile." + } + ], + "responses": { + "200": { + "description": "Sim deactivation successful.", + "schema": { + "$ref": "#/definitions/SimProfile" + } + }, + "202": { + "description": "Accepted. Sets 'Deactivating' in activationState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation.", + "schema": { + "$ref": "#/definitions/SimProfile" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deactivate sim profile resource": { + "$ref": "./examples/SimProfileDeactivate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + } + }, + "definitions": { + "Network": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/NetworkPropertiesFormat", + "description": "Network properties." + }, + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "description": "Network resource." + }, + "NetworkPropertiesFormat": { + "description": "Network properties.", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the network resource." + }, + "mobileCountryCode": { + "type": "string", + "description": "The mobile country code for the network." + }, + "mobileNetworkCode": { + "type": "string", + "description": "The mobile network code for the network." + }, + "serviceKey": { + "type": "string", + "readOnly": true, + "description": "The network resource identifier" + }, + "networkType": { + "$ref": "./common.json#/definitions/NetworkType", + "description": "The type of the network." + }, + "spectrumAccessProvider": { + "type": "string", + "description": "The spectrum access provider for the network." + }, + "packetCores": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "./common.json#/definitions/SubResource" + }, + "description": "An array of ids of the packet cores associated with the network resource." + } + } + }, + "NetworkListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Network" + }, + "description": "A list of networks in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for networks API service call." + }, + "Sim": { + "properties": { + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SimPropertiesFormat", + "description": "Sim properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "description": "Sim resource." + }, + "SimPropertiesFormat": { + "description": "Sim properties.", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the sim resource." + }, + "simType": { + "$ref": "./common.json#/definitions/SimType", + "description": "The type of the sim." + } + } + }, + "SimListResult": { + "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 sims API service call." + }, + "Site": { + "properties": { + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SitePropertiesFormat", + "description": "Site properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "description": "Site resource." + }, + "SitePropertiesFormat": { + "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." + }, + "customLocation": { + "type": "string", + "description": "Azure arc custom location where the network site is paired. **TODO**: Confirm type and property." + }, + "trackingAreaCode": { + "type": "string", + "description": "Tracking area code for the network site." + } + } + }, + "SiteListResult": { + "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." + }, + "SimProfile": { + "properties": { + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SimProfilePropertiesFormat", + "description": "Sim profile Properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "description": "Sim profile resource." + }, + "SimProfilePropertiesFormat": { + "description": "Sim profile properties.", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the sim profile resource." + }, + "activationState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ActivationState", + "description": "The activation state of the sim profile resource." + }, + "internationalMobileSubscriberIdentity": { + "type": "string", + "description": "The International Mobile Subscriber Identity (IMSI) for the sim profile." + }, + "integratedCircuitCardIdentifier": { + "type": "string", + "description": "The Integrated Circuit Card ID (ICC Id) for the sim profile." + }, + "authenticationKey": { + "type": "string", + "x-ms-secret": true, + "x-ms-mutability": [ + "create" + ], + "description": "The ki value for the sim profile." + }, + "operatorKeyCode": { + "type": "string", + "x-ms-secret": true, + "x-ms-mutability": [ + "create" + ], + "description": "The Opc value for the sim profile." + }, + "networks": { + "type": "array", + "items": { + "$ref": "./common.json#/definitions/SubResource" + }, + "description": "A list of network ids that the sim profile is attached. **TODO** Typically one, but can a Sim be attached to multiple networks" + } + } + }, + "SimProfileIdListResult": { + "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 sim profile ids API service call." + }, + "SimProfileListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SimProfile" + }, + "description": "A list of sim profiles in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for sim profiles API service call." + }, + "PacketCore": { + "properties": { + "systemData": { + "readOnly": true, + "description": "The system meta data relating to this resource.", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/PacketCorePropertiesFormat", + "description": "Packet core properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "description": "Packet core resource." + }, + "PacketCorePropertiesFormat": { + "description": "PacketCore properties.", + "properties": { + "provisioningState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ProvisioningState", + "description": "The provisioning state of the packet core resource." + } + } + }, + "PacketCoreListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/PacketCore" + }, + "description": "A list of packet cores in a resource group." + }, + "nextLink": { + "type": "string", + "readOnly": true, + "description": "The URL to get the next set of results." + } + }, + "description": "Response for packet cores API service call." + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/operation.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/operation.json new file mode 100644 index 000000000000..ce879245796d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/operation.json @@ -0,0 +1,132 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage the operations.", + "version": "2020-06-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/v2/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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Registration Operations": { + "$ref": "./examples/OperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Operation": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}" + }, + "isDataAction": { + "description": "Indicates whether the operation is a data action", + "type": "boolean" + }, + "display": { + "readOnly": true, + "description": "The object that represents the operation.", + "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." + }, + "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/2021-04-01-preview/attachedDataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/attachedDataNetwork.json new file mode 100644 index 000000000000..42843be80163 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/attachedDataNetwork.json @@ -0,0 +1,496 @@ +{ + "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": "2021-04-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.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "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/v2/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.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AttachedDataNetwork" + }, + "description": "Parameters supplied to the create or update attached data network operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "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/v2/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.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update attached data network tags." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "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/v2/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.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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." + }, + "n6Interface": { + "$ref": "./common.json#/definitions/InterfaceProperties", + "description": "Interface configuration for N6 reference point, which connects the packetCore to the attachedDataNetwork." + }, + "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." + } + }, + "required": [ + "n6Interface", + "userEquipmentAddressPoolPrefix" + ] + }, + "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 + }, + "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/2021-04-01-preview/common.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/common.json new file mode 100644 index 000000000000..21d59496f0ad --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/common.json @@ -0,0 +1,316 @@ +{ + "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": "2021-04-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 + }, + "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 + } + }, + "TagsObject": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Tags object for patch operations." + }, + "ActivationState": { + "type": "string", + "readOnly": true, + "description": "The current activation state of the Sim on the network.", + "enum": [ + "NotActivated", + "Activated", + "Activating", + "Deactivating", + "Deactivated", + "Failed" + ], + "x-ms-enum": { + "name": "ActivationState", + "modelAsString": true + } + }, + "InterfaceProperties": { + "type": "object", + "properties": { + "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": [ + "ipv4Address", + "ipv4Subnet", + "ipv4Gateway" + ], + "description": "IP address and subnet." + } + }, + "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/2021-04-01-preview/dataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/dataNetwork.json new file mode 100644 index 000000000000..0dfeaa1f82f3 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-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": "2021-04-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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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/2021-04-01-preview/examples/AttachedDataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkCreate.json new file mode 100644 index 000000000000..0d47f42b650c --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkCreate.json @@ -0,0 +1,133 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP", + "packetCoreDataPlaneName": "TestPacketCoreDP", + "attachedDataNetworkName": "TestAttachedDataNetwork", + "parameters": { + "location": "eastus", + "properties": { + "n6Interface": { + "ipv4Address": "10.28.130.2", + "ipv4Subnet": "10.28.130.0/24", + "ipv4Gateway": "10.28.130.1" + }, + "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", + "2.3.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": { + "n6Interface": { + "ipv4Address": "10.28.130.2", + "ipv4Subnet": "10.28.130.0/24", + "ipv4Gateway": "10.28.130.1" + }, + "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", + "2.3.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": { + "n6Interface": { + "ipv4Address": "10.28.130.2", + "ipv4Subnet": "10.28.130.0/24", + "ipv4Gateway": "10.28.130.1" + }, + "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", + "2.3.0.0/16" + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkDelete.json new file mode 100644 index 000000000000..d7aa48bc6ef9 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/AttachedDataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkGet.json new file mode 100644 index 000000000000..e1a2ccd938ba --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkGet.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "n6Interface": { + "ipv4Address": "10.28.130.2", + "ipv4Subnet": "10.28.130.0/24", + "ipv4Gateway": "10.28.130.1" + }, + "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", + "2.3.0.0/16" + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json new file mode 100644 index 000000000000..7dd2798b6071 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "n6Interface": { + "ipv4Address": "10.28.130.2", + "ipv4Subnet": "10.28.130.0/24", + "ipv4Gateway": "10.28.130.1" + }, + "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", + "2.3.0.0/16" + ] + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkUpdateTags.json new file mode 100644 index 000000000000..4a8cf586038a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkUpdateTags.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "n6Interface": { + "ipv4Address": "10.28.130.2", + "ipv4Subnet": "10.28.130.0/24", + "ipv4Gateway": "10.28.130.1" + }, + "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", + "2.3.0.0/16" + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkCreate.json new file mode 100644 index 000000000000..1c832978be4a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkCreate.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/DataNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkDelete.json new file mode 100644 index 000000000000..8ddf475078f8 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "dataNetworkName": "testDataNetwork" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkGet.json new file mode 100644 index 000000000000..32449645df8e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/DataNetworkListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkListByMobileNetwork.json new file mode 100644 index 000000000000..371302e057f2 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkListByMobileNetwork.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/DataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkUpdateTags.json new file mode 100644 index 000000000000..344dceef4c3e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkUpdateTags.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/MobileNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkCreate.json new file mode 100644 index 000000000000..9f7487b7af68 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkCreate.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/MobileNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkDelete.json new file mode 100644 index 000000000000..9b47e2e040ec --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkGet.json new file mode 100644 index 000000000000..dde174a14f21 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/MobileNetworkListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkListByResourceGroup.json new file mode 100644 index 000000000000..3decbcc26a88 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkListByResourceGroup.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/MobileNetworkListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkListBySubscription.json new file mode 100644 index 000000000000..81fec46232de --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkListBySubscription.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/MobileNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkUpdateTags.json new file mode 100644 index 000000000000..28f1bf5211a0 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkUpdateTags.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/OperationList.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/OperationList.json new file mode 100644 index 000000000000..e1c9b7ac7dc3 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/OperationList.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "location": "eastus", + "api-version": "2021-04-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/2021-04-01-preview/examples/PacketCoreControlPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneCreate.json new file mode 100644 index 000000000000..ddd2e4cf76ac --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneCreate.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "ipv4Address": "10.28.128.2", + "ipv4Subnet": "10.28.128.0/24", + "ipv4Gateway": "10.28.128.1" + } + } + } + }, + "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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "ipv4Address": "10.28.128.2", + "ipv4Subnet": "10.28.128.0/24", + "ipv4Gateway": "10.28.128.1" + } + } + } + }, + "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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "ipv4Address": "10.28.128.2", + "ipv4Subnet": "10.28.128.0/24", + "ipv4Gateway": "10.28.128.1" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneDelete.json new file mode 100644 index 000000000000..1165d58f70bd --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneGet.json new file mode 100644 index 000000000000..30fc21afeb14 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneGet.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "ipv4Address": "10.28.128.2", + "ipv4Subnet": "10.28.128.0/24", + "ipv4Gateway": "10.28.128.1" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json new file mode 100644 index 000000000000..8849fd6d438f --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "ipv4Address": "10.28.128.2", + "ipv4Subnet": "10.28.128.0/24", + "ipv4Gateway": "10.28.128.1" + } + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json new file mode 100644 index 000000000000..9b838470141a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "ipv4Address": "10.28.128.2", + "ipv4Subnet": "10.28.128.0/24", + "ipv4Gateway": "10.28.128.1" + } + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json new file mode 100644 index 000000000000..b58a2be89af9 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "ipv4Address": "10.28.128.2", + "ipv4Subnet": "10.28.128.0/24", + "ipv4Gateway": "10.28.128.1" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneCreate.json new file mode 100644 index 000000000000..a895e5676746 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneCreate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "testPacketCoreCP", + "packetCoreDataPlaneName": "testPacketCoreDP", + "parameters": { + "location": "eastus", + "properties": { + "n3Interface": { + "ipv4Address": "10.28.129.2", + "ipv4Subnet": "10.28.129.0/24", + "ipv4Gateway": "10.28.129.1" + } + } + } + }, + "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", + "n3Interface": { + "ipv4Address": "10.28.129.2", + "ipv4Subnet": "10.28.129.0/24", + "ipv4Gateway": "10.28.129.1" + } + } + } + }, + "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", + "n3Interface": { + "ipv4Address": "10.28.129.2", + "ipv4Subnet": "10.28.129.0/24", + "ipv4Gateway": "10.28.129.1" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneDelete.json new file mode 100644 index 000000000000..52fc3ca7bfcd --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "testPacketCoreCP", + "packetCoreDataPlaneName": "testPacketCoreDP" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneGet.json new file mode 100644 index 000000000000..f2ed8f8f3847 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "n3Interface": { + "ipv4Address": "10.28.129.2", + "ipv4Subnet": "10.28.129.0/24", + "ipv4Gateway": "10.28.129.1" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json new file mode 100644 index 000000000000..6dd61d67359f --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "n3Interface": { + "ipv4Address": "10.28.129.2", + "ipv4Subnet": "10.28.129.0/24", + "ipv4Gateway": "10.28.129.1" + } + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json new file mode 100644 index 000000000000..95712cbb07d5 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "n3Interface": { + "ipv4Address": "10.28.129.2", + "ipv4Subnet": "10.28.129.0/24", + "ipv4Gateway": "10.28.129.1" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceCreate.json new file mode 100644 index 000000000000..773c7be9cfa8 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceCreate.json @@ -0,0 +1,179 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/ServiceDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceDelete.json new file mode 100644 index 000000000000..a338e5d5b007 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "serviceName": "TestService" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceGet.json new file mode 100644 index 000000000000..1409a9571add --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceGet.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/ServiceListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceListByMobileNetwork.json new file mode 100644 index 000000000000..b7cdda6fb96b --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceListByMobileNetwork.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/ServiceUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceUpdateTags.json new file mode 100644 index 000000000000..3fe0ab11e51e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceUpdateTags.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/SimActivate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimActivate.json new file mode 100644 index 000000000000..e2d6de2b7587 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimActivate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simName": "testSimName" + }, + "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", + "activationState": "Activated", + "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" + } + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.MobileNetwork/locations/testLocation/operationStatuses/testOperation?api-version=2021-04-01-preview" + }, + "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", + "activationState": "Activating", + "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/2021-04-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimCreate.json new file mode 100644 index 000000000000..528216908dde --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimCreate.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2021-04-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" + } + } + } + }, + "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", + "activationState": "Activating", + "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" + } + } + } + }, + "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", + "activationState": "Activating", + "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/2021-04-01-preview/examples/SimDeactivate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimDeactivate.json new file mode 100644 index 000000000000..c5b18f85848f --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimDeactivate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simName": "testSim" + }, + "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", + "activationState": "Deactivated", + "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" + } + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.MobileNetwork/locations/testLocation/operationStatuses/testOperation?api-version=2021-04-01-preview" + }, + "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", + "activationState": "Deactivating", + "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/2021-04-01-preview/examples/SimDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimDelete.json new file mode 100644 index 000000000000..9503d5fa3c51 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simName": "testSim" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimGet.json new file mode 100644 index 000000000000..aa9de76ff88e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "activationState": "Activating", + "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/2021-04-01-preview/examples/SimIdListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimIdListByMobileNetwork.json new file mode 100644 index 000000000000..f11b56e38866 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimIdListByMobileNetwork.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2021-04-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=2021-04-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/2021-04-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListByResourceGroup.json new file mode 100644 index 000000000000..66f3bd3d78d9 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListByResourceGroup.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "activationState": "Activating", + "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/2021-04-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListBySubscription.json new file mode 100644 index 000000000000..e7ac3140b62e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListBySubscription.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "activationState": "Activating", + "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/2021-04-01-preview/examples/SimPolicyCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyCreate.json new file mode 100644 index 000000000000..9829a0a15610 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyCreate.json @@ -0,0 +1,176 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/SimPolicyDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyDelete.json new file mode 100644 index 000000000000..0e301134d43e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "simPolicyName": "testPolicy" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyGet.json new file mode 100644 index 000000000000..efcd81abe496 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyGet.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/SimPolicyListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyListByMobileNetwork.json new file mode 100644 index 000000000000..6f4593be9d3f --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyListByMobileNetwork.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/SimPolicyUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyUpdateTags.json new file mode 100644 index 000000000000..5ae7b9564969 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyUpdateTags.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimUpdateTags.json new file mode 100644 index 000000000000..98cd55bb776c --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimUpdateTags.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2021-04-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", + "activationState": "Activating", + "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/2021-04-01-preview/examples/SiteCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteCreate.json new file mode 100644 index 000000000000..c05b98b6eaf0 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteCreate.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/SiteDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteDelete.json new file mode 100644 index 000000000000..e01049373511 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "siteName": "testSite" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteGet.json new file mode 100644 index 000000000000..aeb3ba70f491 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/SiteListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteListByMobileNetwork.json new file mode 100644 index 000000000000..ef8d1c36a2b9 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteListByMobileNetwork.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/SiteUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteUpdateTags.json new file mode 100644 index 000000000000..445b6aaed8d7 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteUpdateTags.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/SliceCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceCreate.json new file mode 100644 index 000000000000..f0a14d75ac83 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceCreate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/SliceDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceDelete.json new file mode 100644 index 000000000000..88b500c88734 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-04-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork", + "sliceName": "testSlice" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceGet.json new file mode 100644 index 000000000000..f2845e172136 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/SliceListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceListByMobileNetwork.json new file mode 100644 index 000000000000..677c3b54cfe7 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceListByMobileNetwork.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/examples/SliceUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceUpdateTags.json new file mode 100644 index 000000000000..497a0ee8c939 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceUpdateTags.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2021-04-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/2021-04-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/mobileNetwork.json new file mode 100644 index 000000000000..96702fe9d1c6 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/mobileNetwork.json @@ -0,0 +1,1256 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage mobile network resources", + "version": "2021-04-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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/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": "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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List sims in a resource group": { + "$ref": "./examples/SimListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/activate": { + "post": { + "tags": [ + "Sims" + ], + "operationId": "Sims_Activate", + "description": "Activates the specified sim.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./common.json#/parameters/SimNameParameter" + } + ], + "responses": { + "200": { + "description": "Sim activation successful.", + "schema": { + "$ref": "#/definitions/Sim" + } + }, + "202": { + "description": "Accepted. Sets 'Activating' in activationState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation.", + "schema": { + "$ref": "#/definitions/Sim" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Activate a sim": { + "$ref": "./examples/SimActivate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/deactivate": { + "post": { + "tags": [ + "Sims" + ], + "operationId": "Sims_Deactivate", + "description": "Deactivates the specified sim.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./common.json#/parameters/SimNameParameter" + } + ], + "responses": { + "200": { + "description": "Sim deactivation successful.", + "schema": { + "$ref": "#/definitions/Sim" + } + }, + "202": { + "description": "Accepted. Sets 'Deactivating' in activationState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation.", + "schema": { + "$ref": "#/definitions/Sim" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deactivate a sim": { + "$ref": "./examples/SimDeactivate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + } + }, + "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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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." + }, + "activationState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ActivationState", + "description": "The activation state of the sim resource." + }, + "internationalMobileSubscriberIdentity": { + "type": "string", + "pattern": "^[0-9]{5,15}$", + "x-ms-mutability": [ + "create", + "read" + ], + "description": "The International Mobile Subscriber Identity (IMSI) for the sim." + }, + "integratedCircuitCardIdentifier": { + "type": "string", + "pattern": "^89[0-9]{17,18}$", + "description": "The Integrated Circuit Card ID (ICC Id) for the sim." + }, + "authenticationKey": { + "type": "string", + "pattern": "^[0-9a-fA-F]{32}$", + "x-ms-secret": true, + "x-ms-mutability": [ + "create", + "update" + ], + "description": "The ki value for the sim." + }, + "operatorKeyCode": { + "type": "string", + "pattern": "^[0-9a-fA-F]{32}$", + "x-ms-secret": true, + "x-ms-mutability": [ + "create", + "update" + ], + "description": "The Opc value for the sim." + }, + "mobileNetwork": { + "$ref": "./common.json#/definitions/MobileNetworkResourceId", + "description": "Mobile network that this sim belongs to" + }, + "deviceType": { + "type": "string", + "description": "An optional free-form text field that can be used to record the device type this sim is associated with, for example 'Video camera'. The Azure portal allows Sims to be grouped and filtered based on this value." + }, + "simPolicy": { + "$ref": "./common.json#/definitions/SimPolicyResourceId", + "description": "The simPolicy used by this sim." + } + }, + "required": [ + "internationalMobileSubscriberIdentity" + ] + }, + "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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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/2021-04-01-preview/operation.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/operation.json new file mode 100644 index 000000000000..f71eec306675 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/operation.json @@ -0,0 +1,133 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage the operations.", + "version": "2021-04-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/v2/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/v2/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." + }, + "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/2021-04-01-preview/packetCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreControlPlane.json new file mode 100644 index 000000000000..fe7f4458471f --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreControlPlane.json @@ -0,0 +1,406 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage packet core control plane resources", + "version": "2021-04-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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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." + }, + "tacList": { + "type": "array", + "items": { + "$ref": "./ts29571.json#/definitions/Tac" + }, + "minItems": 1, + "uniqueItems": true, + "description": "The list of tracking area codes supported by the packet core control plane resource." + }, + "n2Interface": { + "$ref": "./common.json#/definitions/InterfaceProperties", + "description": "Interface configuration for N2 reference point." + } + }, + "required": [ + "mobileNetwork", + "tacList", + "n2Interface" + ] + }, + "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/2021-04-01-preview/packetCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreDataPlane.json new file mode 100644 index 000000000000..3ad9caf2c336 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-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": "2021-04-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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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." + }, + "n3Interface": { + "$ref": "./common.json#/definitions/InterfaceProperties", + "description": "Interface configuration for N3 reference point." + } + }, + "required": [ + "n3Interface" + ] + }, + "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/2021-04-01-preview/service.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/service.json new file mode 100644 index 000000000000..559312d15e8e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/service.json @@ -0,0 +1,539 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage service resources", + "version": "2021-04-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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/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" + }, + { + "$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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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 + } + }, + "required": [ + "servicePrecedence", + "pccRules" + ] + }, + "PccRuleConfiguration": { + "description": "PCC rule configuration", + "type": "object", + "properties": { + "ruleName": { + "description": "The name of the 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 + }, + "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 + } + }, + "required": [ + "ruleName", + "rulePrecedence", + "serviceDataFlowTemplates" + ] + }, + "ServiceDataFlowTemplate": { + "description": "Service data flow (SDF) template", + "type": "object", + "properties": { + "templateName": { + "description": "The name of the SDF template. 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 + } + }, + "SdfDirection": { + "type": "string", + "description": "Service data flow direction.", + "enum": [ + "Uplink", + "Downlink", + "Bidirectional" + ], + "x-ms-enum": { + "name": "SdfDirection", + "modelAsString": true + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/simPolicy.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/simPolicy.json new file mode 100644 index 000000000000..bcda9ccec78a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/simPolicy.json @@ -0,0 +1,469 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage sim policy resources", + "version": "2021-04-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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SimPolicyNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SimPolicyNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/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" + }, + { + "$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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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 + } + }, + "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 + } + }, + "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/2021-04-01-preview/slice.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/slice.json new file mode 100644 index 000000000000..bfb7ddcc7fcf --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-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": "2021-04-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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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/2021-04-01-preview/ts29571.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/ts29571.json new file mode 100644 index 000000000000..ffeaece91855 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/ts29571.json @@ -0,0 +1,297 @@ +{ + "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": "2021-04-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 + } + }, + "PreemptionVulnerability": { + "type": "string", + "description": "Preemption vulnerability.", + "enum": [ + "NotPreemptable", + "Preemptable" + ], + "x-ms-enum": { + "name": "PreemptionVulnerability", + "modelAsString": true + } + }, + "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 + } + }, + "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 + } + }, + "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/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json new file mode 100644 index 000000000000..66df91f98f04 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json @@ -0,0 +1,496 @@ +{ + "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-01-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.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "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/v2/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.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/AttachedDataNetwork" + }, + "description": "Parameters supplied to the create or update attached data network operation." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "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/v2/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.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + }, + "description": "Parameters supplied to update attached data network tags." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "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/v2/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.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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." + }, + "n6Interface": { + "$ref": "./common.json#/definitions/InterfaceProperties", + "description": "Interface configuration for N6 reference point, which connects the packetCore to the attachedDataNetwork." + }, + "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." + } + }, + "required": [ + "n6Interface", + "userEquipmentAddressPoolPrefix" + ] + }, + "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 + }, + "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-01-01-preview/common.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json new file mode 100644 index 000000000000..075736832f85 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json @@ -0,0 +1,318 @@ +{ + "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-01-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 + }, + "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 + } + }, + "TagsObject": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + } + }, + "description": "Tags object for patch operations." + }, + "ActivationState": { + "type": "string", + "readOnly": true, + "description": "The current activation state of the Sim on the network.", + "enum": [ + "NotActivated", + "Activated", + "Activating", + "Deactivating", + "Deactivated", + "Failed" + ], + "x-ms-enum": { + "name": "ActivationState", + "modelAsString": true + } + }, + "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-01-01-preview/dataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/dataNetwork.json new file mode 100644 index 000000000000..3eded83b497d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-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-01-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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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-01-01-preview/examples/AttachedDataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json new file mode 100644 index 000000000000..4b69773740b3 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "api-version": "2022-01-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP", + "packetCoreDataPlaneName": "TestPacketCoreDP", + "attachedDataNetworkName": "TestAttachedDataNetwork", + "parameters": { + "location": "eastus", + "properties": { + "n6Interface": { + "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", + "2.3.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": { + "n6Interface": { + "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", + "2.3.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": { + "n6Interface": { + "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", + "2.3.0.0/16" + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkDelete.json new file mode 100644 index 000000000000..ccc8421c5fc4 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/AttachedDataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json new file mode 100644 index 000000000000..37afd77374e3 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "n6Interface": { + "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", + "2.3.0.0/16" + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json new file mode 100644 index 000000000000..0a8beb951d26 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "n6Interface": { + "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", + "2.3.0.0/16" + ] + } + } + ] + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json new file mode 100644 index 000000000000..4ae11e88841e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "n6Interface": { + "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", + "2.3.0.0/16" + ] + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkCreate.json new file mode 100644 index 000000000000..f92356dd37c8 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkCreate.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/DataNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkDelete.json new file mode 100644 index 000000000000..74273c019eea --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/DataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkGet.json new file mode 100644 index 000000000000..fa10e27807a3 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/DataNetworkListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkListByMobileNetwork.json new file mode 100644 index 000000000000..d8be43bb4a2e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkListByMobileNetwork.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/DataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkUpdateTags.json new file mode 100644 index 000000000000..848b8566f735 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/DataNetworkUpdateTags.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/MobileNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkCreate.json new file mode 100644 index 000000000000..a3b6980e6eed --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkCreate.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/MobileNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkDelete.json new file mode 100644 index 000000000000..bc243734e6f2 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-01-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "mobileNetworkName": "testMobileNetwork" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkGet.json new file mode 100644 index 000000000000..ee6a1f284fc2 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/MobileNetworkListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkListByResourceGroup.json new file mode 100644 index 000000000000..9d6cf7b79495 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkListByResourceGroup.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/MobileNetworkListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkListBySubscription.json new file mode 100644 index 000000000000..dee5455ce125 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkListBySubscription.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/MobileNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkUpdateTags.json new file mode 100644 index 000000000000..172f5d5c8bc2 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/MobileNetworkUpdateTags.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/OperationList.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/OperationList.json new file mode 100644 index 000000000000..bf0b13da63a5 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/OperationList.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "location": "eastus", + "api-version": "2022-01-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-01-01-preview/examples/PacketCoreControlPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneCreate.json new file mode 100644 index 000000000000..c2a7c6302a80 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneCreate.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "name": "N2" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneDelete.json new file mode 100644 index 000000000000..977f65d9c444 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-01-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "TestPacketCoreCP" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneGet.json new file mode 100644 index 000000000000..1140e8a48609 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneGet.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "name": "N2" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json new file mode 100644 index 000000000000..63dc1ffb76d0 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "name": "N2" + } + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListBySubscription.json new file mode 100644 index 000000000000..ea05ab4c257d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListBySubscription.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "name": "N2" + } + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneUpdateTags.json new file mode 100644 index 000000000000..e6e0dee76aba --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneUpdateTags.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "tacList": [ + "aabb", + "ccdd" + ], + "n2Interface": { + "name": "N2" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneCreate.json new file mode 100644 index 000000000000..c6d6f2acbc35 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneCreate.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2022-01-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "packetCoreControlPlaneName": "testPacketCoreCP", + "packetCoreDataPlaneName": "testPacketCoreDP", + "parameters": { + "location": "eastus", + "properties": { + "n3Interface": { + "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", + "n3Interface": { + "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", + "n3Interface": { + "name": "N3" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneDelete.json new file mode 100644 index 000000000000..b13adba16941 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/PacketCoreDataPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneGet.json new file mode 100644 index 000000000000..77838dc71305 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "n3Interface": { + "name": "N3" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json new file mode 100644 index 000000000000..a5538d26ac58 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "n3Interface": { + "name": "N3" + } + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneUpdateTags.json new file mode 100644 index 000000000000..2876a9d4037e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneUpdateTags.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "n3Interface": { + "name": "N3" + } + } + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceCreate.json new file mode 100644 index 000000000000..05d53cf91bdc --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceCreate.json @@ -0,0 +1,179 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/ServiceDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceDelete.json new file mode 100644 index 000000000000..ddb7ca65b211 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/ServiceGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceGet.json new file mode 100644 index 000000000000..7484d32e8bc7 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceGet.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/ServiceListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceListByMobileNetwork.json new file mode 100644 index 000000000000..6114df3792d0 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceListByMobileNetwork.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/ServiceUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceUpdateTags.json new file mode 100644 index 000000000000..7097aadc2e24 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/ServiceUpdateTags.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SimActivate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimActivate.json new file mode 100644 index 000000000000..ff6895a3fc64 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimActivate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2022-01-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simName": "testSimName" + }, + "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", + "activationState": "Activated", + "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" + } + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.MobileNetwork/locations/testLocation/operationStatuses/testOperation?api-version=2022-01-01-preview" + }, + "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", + "activationState": "Activating", + "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-01-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json new file mode 100644 index 000000000000..d4935c1370f8 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2022-01-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" + } + } + } + }, + "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", + "activationState": "Activating", + "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" + } + } + } + }, + "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", + "activationState": "Activating", + "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-01-01-preview/examples/SimDeactivate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimDeactivate.json new file mode 100644 index 000000000000..b52948c34266 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimDeactivate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2022-01-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simName": "testSim" + }, + "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", + "activationState": "Deactivated", + "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" + } + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.MobileNetwork/locations/testLocation/operationStatuses/testOperation?api-version=2022-01-01-preview" + }, + "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", + "activationState": "Deactivating", + "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-01-01-preview/examples/SimDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimDelete.json new file mode 100644 index 000000000000..5ba22c946102 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2022-01-01-preview", + "subscriptionId": "subid", + "resourceGroupName": "testResourceGroupName", + "simName": "testSim" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json new file mode 100644 index 000000000000..296f344149ac --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "activationState": "Activating", + "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-01-01-preview/examples/SimIdListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimIdListByMobileNetwork.json new file mode 100644 index 000000000000..d37c16fc3e24 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimIdListByMobileNetwork.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-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-01-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json new file mode 100644 index 000000000000..0678c2e229c8 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "activationState": "Activating", + "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-01-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json new file mode 100644 index 000000000000..34d3cb342736 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "activationState": "Activating", + "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-01-01-preview/examples/SimPolicyCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyCreate.json new file mode 100644 index 000000000000..5d33446cf24f --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyCreate.json @@ -0,0 +1,176 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SimPolicyDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyDelete.json new file mode 100644 index 000000000000..6961ec19e541 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SimPolicyGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyGet.json new file mode 100644 index 000000000000..af8f3e09ada1 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyGet.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SimPolicyListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyListByMobileNetwork.json new file mode 100644 index 000000000000..0e4618fa905e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyListByMobileNetwork.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SimPolicyUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyUpdateTags.json new file mode 100644 index 000000000000..ed579f213fa9 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimPolicyUpdateTags.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json new file mode 100644 index 000000000000..6788fd6be6e6 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2022-01-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", + "activationState": "Activating", + "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-01-01-preview/examples/SiteCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteCreate.json new file mode 100644 index 000000000000..868687dd1658 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteCreate.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SiteDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteDelete.json new file mode 100644 index 000000000000..94daca1487e1 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SiteGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteGet.json new file mode 100644 index 000000000000..099e3e2dc691 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SiteListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteListByMobileNetwork.json new file mode 100644 index 000000000000..aadf407a6609 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteListByMobileNetwork.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SiteUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteUpdateTags.json new file mode 100644 index 000000000000..a916672af02e --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SiteUpdateTags.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SliceCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceCreate.json new file mode 100644 index 000000000000..6db3f6ee1f4f --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceCreate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SliceDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceDelete.json new file mode 100644 index 000000000000..77f8fe3f302d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SliceGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceGet.json new file mode 100644 index 000000000000..6755cb50059d --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SliceListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceListByMobileNetwork.json new file mode 100644 index 000000000000..d325429fab16 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceListByMobileNetwork.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/examples/SliceUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceUpdateTags.json new file mode 100644 index 000000000000..716b442a88ab --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SliceUpdateTags.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2022-01-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-01-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json new file mode 100644 index 000000000000..41a864cee5d1 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json @@ -0,0 +1,1256 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage mobile network resources", + "version": "2022-01-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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/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": "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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List sims in a resource group": { + "$ref": "./examples/SimListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/activate": { + "post": { + "tags": [ + "Sims" + ], + "operationId": "Sims_Activate", + "description": "Activates the specified sim.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./common.json#/parameters/SimNameParameter" + } + ], + "responses": { + "200": { + "description": "Sim activation successful.", + "schema": { + "$ref": "#/definitions/Sim" + } + }, + "202": { + "description": "Accepted. Sets 'Activating' in activationState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation.", + "schema": { + "$ref": "#/definitions/Sim" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Activate a sim": { + "$ref": "./examples/SimActivate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/deactivate": { + "post": { + "tags": [ + "Sims" + ], + "operationId": "Sims_Deactivate", + "description": "Deactivates the specified sim.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "./common.json#/parameters/SimNameParameter" + } + ], + "responses": { + "200": { + "description": "Sim deactivation successful.", + "schema": { + "$ref": "#/definitions/Sim" + } + }, + "202": { + "description": "Accepted. Sets 'Deactivating' in activationState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation.", + "schema": { + "$ref": "#/definitions/Sim" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Deactivate a sim": { + "$ref": "./examples/SimDeactivate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + } + }, + "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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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." + }, + "activationState": { + "readOnly": true, + "$ref": "./common.json#/definitions/ActivationState", + "description": "The activation state of the sim resource." + }, + "internationalMobileSubscriberIdentity": { + "type": "string", + "pattern": "^[0-9]{5,15}$", + "x-ms-mutability": [ + "create", + "read" + ], + "description": "The International Mobile Subscriber Identity (IMSI) for the sim." + }, + "integratedCircuitCardIdentifier": { + "type": "string", + "pattern": "^89[0-9]{17,18}$", + "description": "The Integrated Circuit Card ID (ICC Id) for the sim." + }, + "authenticationKey": { + "type": "string", + "pattern": "^[0-9a-fA-F]{32}$", + "x-ms-secret": true, + "x-ms-mutability": [ + "create", + "update" + ], + "description": "The ki value for the sim." + }, + "operatorKeyCode": { + "type": "string", + "pattern": "^[0-9a-fA-F]{32}$", + "x-ms-secret": true, + "x-ms-mutability": [ + "create", + "update" + ], + "description": "The Opc value for the sim." + }, + "mobileNetwork": { + "$ref": "./common.json#/definitions/MobileNetworkResourceId", + "description": "Mobile network that this sim belongs to" + }, + "deviceType": { + "type": "string", + "description": "An optional free-form text field that can be used to record the device type this sim is associated with, for example 'Video camera'. The Azure portal allows Sims to be grouped and filtered based on this value." + }, + "simPolicy": { + "$ref": "./common.json#/definitions/SimPolicyResourceId", + "description": "The simPolicy used by this sim." + } + }, + "required": [ + "internationalMobileSubscriberIdentity" + ] + }, + "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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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-01-01-preview/operation.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/operation.json new file mode 100644 index 000000000000..caa8fcb7a886 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/operation.json @@ -0,0 +1,133 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage the operations.", + "version": "2022-01-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/v2/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/v2/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." + }, + "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-01-01-preview/packetCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreControlPlane.json new file mode 100644 index 000000000000..7c94f56d98ad --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreControlPlane.json @@ -0,0 +1,406 @@ +{ + "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-01-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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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." + }, + "tacList": { + "type": "array", + "items": { + "$ref": "./ts29571.json#/definitions/Tac" + }, + "minItems": 1, + "uniqueItems": true, + "description": "The list of tracking area codes supported by the packet core control plane resource." + }, + "n2Interface": { + "$ref": "./common.json#/definitions/InterfaceProperties", + "description": "Interface configuration for N2 reference point." + } + }, + "required": [ + "mobileNetwork", + "tacList", + "n2Interface" + ] + }, + "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-01-01-preview/packetCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreDataPlane.json new file mode 100644 index 000000000000..3d615e601d15 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-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-01-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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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." + }, + "n3Interface": { + "$ref": "./common.json#/definitions/InterfaceProperties", + "description": "Interface configuration for N3 reference point." + } + }, + "required": [ + "n3Interface" + ] + }, + "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-01-01-preview/service.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json new file mode 100644 index 000000000000..a2d57b0f084b --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json @@ -0,0 +1,539 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage service resources", + "version": "2022-01-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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/ServiceNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/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" + }, + { + "$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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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 + } + }, + "required": [ + "servicePrecedence", + "pccRules" + ] + }, + "PccRuleConfiguration": { + "description": "PCC rule configuration", + "type": "object", + "properties": { + "ruleName": { + "description": "The name of the 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 + }, + "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 + } + }, + "required": [ + "ruleName", + "rulePrecedence", + "serviceDataFlowTemplates" + ] + }, + "ServiceDataFlowTemplate": { + "description": "Service data flow (SDF) template", + "type": "object", + "properties": { + "templateName": { + "description": "The name of the SDF template. 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 + } + }, + "SdfDirection": { + "type": "string", + "description": "Service data flow direction.", + "enum": [ + "Uplink", + "Downlink", + "Bidirectional" + ], + "x-ms-enum": { + "name": "SdfDirection", + "modelAsString": true + } + } + } +} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/simPolicy.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/simPolicy.json new file mode 100644 index 000000000000..48faf14e5262 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/simPolicy.json @@ -0,0 +1,469 @@ +{ + "swagger": "2.0", + "info": { + "title": "MobileNetworkManagementClient", + "description": "The resources in this swagger specification will be used to manage sim policy resources", + "version": "2022-01-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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SimPolicyNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "./common.json#/parameters/SimPolicyNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/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" + }, + { + "$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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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 + } + }, + "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 + } + }, + "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-01-01-preview/slice.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/slice.json new file mode 100644 index 000000000000..95158ca53bbc --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-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-01-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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/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" + }, + { + "$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/v2/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/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", + "readOnly": true, + "description": "Metadata pertaining to creation and last modification of the resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/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-01-01-preview/ts29571.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/ts29571.json new file mode 100644 index 000000000000..1251078d8a1a --- /dev/null +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/ts29571.json @@ -0,0 +1,297 @@ +{ + "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-01-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 + } + }, + "PreemptionVulnerability": { + "type": "string", + "description": "Preemption vulnerability.", + "enum": [ + "NotPreemptable", + "Preemptable" + ], + "x-ms-enum": { + "name": "PreemptionVulnerability", + "modelAsString": true + } + }, + "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 + } + }, + "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 + } + }, + "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.csharp.md b/specification/mobilenetwork/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..c170674c10d4 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/readme.csharp.md @@ -0,0 +1,15 @@ +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.MobileNetwork + output-folder: $(csharp-sdks-folder)/mobilenetwork/management/Microsoft.MobileNetwork/GeneratedProtocol +``` diff --git a/specification/mobilenetwork/resource-manager/readme.go.md b/specification/mobilenetwork/resource-manager/readme.go.md new file mode 100644 index 000000000000..0060f934730b --- /dev/null +++ b/specification/mobilenetwork/resource-manager/readme.go.md @@ -0,0 +1,48 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2022-01-01-preview + - tag: package-2021-04-01-preview + - tag: package-2020-06-01-preview +``` + +### Tag: package-2022-01-01-preview and go + +These settings apply only when `--tag=package-2022-01-01-preview --go` is specified on the command line. +Please also specify `--go-sdks-folder=`. + +```yaml $(tag) == 'package-2022-01-01-preview' && $(go) +namespace: mobilenetwork +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2022-01-01-preview/$(namespace) +``` + +### Tag: package-2021-04-01-preview and go + +These settings apply only when `--tag=package-2021-04-01-preview --go` is specified on the command line. +Please also specify `--go-sdks-folder=`. + +```yaml $(tag) == 'package-2021-04-01-preview' && $(go) +namespace: mobilenetwork +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-04-01-preview/$(namespace) +``` + +### Tag: package-2020-06-01-preview and go + +These settings apply only when `--tag=package-2020-06-01-preview --go` is specified on the command line. +Please also specify `--go-sdks-folder=`. + +```yaml $(tag) == 'package-2020-06-01-preview' && $(go) +namespace: mobilenetwork +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-06-01-preview/$(namespace) +``` diff --git a/specification/mobilenetwork/resource-manager/readme.md b/specification/mobilenetwork/resource-manager/readme.md new file mode 100644 index 000000000000..c0acc37a49d1 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/readme.md @@ -0,0 +1,120 @@ +# mobilenetwork + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for mobilenetwork. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the mobilenetwork. + +```yaml +openapi-type: arm +openapi-subtype: rpaas +tag: package-2022-01-01-preview +``` + +### Tag: package-2022-01-01-preview + +These settings apply only when `--tag=package-2022-01-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-01-01-preview' +input-file: + - Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json + - Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json + - Microsoft.MobileNetwork/preview/2022-01-01-preview/dataNetwork.json + - Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json + - Microsoft.MobileNetwork/preview/2022-01-01-preview/operation.json + - Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreControlPlane.json + - Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreDataPlane.json + - Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json + - Microsoft.MobileNetwork/preview/2022-01-01-preview/simPolicy.json + - Microsoft.MobileNetwork/preview/2022-01-01-preview/slice.json + - Microsoft.MobileNetwork/preview/2022-01-01-preview/ts29571.json +``` + +### Tag: package-2021-04-01-preview + +These settings apply only when `--tag=package-2021-04-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2021-04-01-preview' +input-file: + - Microsoft.MobileNetwork/preview/2021-04-01-preview/attachedDataNetwork.json + - Microsoft.MobileNetwork/preview/2021-04-01-preview/common.json + - Microsoft.MobileNetwork/preview/2021-04-01-preview/dataNetwork.json + - Microsoft.MobileNetwork/preview/2021-04-01-preview/mobileNetwork.json + - Microsoft.MobileNetwork/preview/2021-04-01-preview/operation.json + - Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreControlPlane.json + - Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreDataPlane.json + - Microsoft.MobileNetwork/preview/2021-04-01-preview/service.json + - Microsoft.MobileNetwork/preview/2021-04-01-preview/simPolicy.json + - Microsoft.MobileNetwork/preview/2021-04-01-preview/slice.json + - Microsoft.MobileNetwork/preview/2021-04-01-preview/ts29571.json +``` + +### Tag: package-2020-06-01-preview + +These settings apply only when `--tag=package-2020-06-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2020-06-01-preview' +input-file: + - Microsoft.MobileNetwork/preview/2020-06-01-preview/common.json + - Microsoft.MobileNetwork/preview/2020-06-01-preview/operation.json + - Microsoft.MobileNetwork/preview/2020-06-01-preview/mobileNetwork.json +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +```yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-sdk-for-ruby + after_scripts: + - bundle install && rake arm:regen_all_profiles['azure_mgmt_mobilenetwork'] +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/mobilenetwork/resource-manager/readme.python.md b/specification/mobilenetwork/resource-manager/readme.python.md new file mode 100644 index 000000000000..1294f91727d8 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/readme.python.md @@ -0,0 +1,21 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +```yaml $(python) +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: Microsoft.MobileNetwork + package-name: mobilenetwork + package-version: 2020-06-01-preview + clear-output-folder: true +``` + +```yaml $(python) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt/mobilenetwork +``` diff --git a/specification/mobilenetwork/resource-manager/readme.ruby.md b/specification/mobilenetwork/resource-manager/readme.ruby.md new file mode 100644 index 000000000000..fafcac6cc51c --- /dev/null +++ b/specification/mobilenetwork/resource-manager/readme.ruby.md @@ -0,0 +1,19 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +```yaml +package-name: azure_mgmt_mobilenetwork +package-version: 2020-06-01-preview +azure-arm: true +``` + +### Tag: package-2020-06-01-preview and ruby + +These settings apply only when `--tag=package-2020-06-01-preview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2020-06-01-preview' && $(ruby) +namespace: Microsoft.MobileNetwork +output-folder: $(ruby-sdks-folder)/mobilenetwork +``` \ No newline at end of file diff --git a/specification/mobilenetwork/resource-manager/readme.typescript.md b/specification/mobilenetwork/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..570e3661f0d6 --- /dev/null +++ b/specification/mobilenetwork/resource-manager/readme.typescript.md @@ -0,0 +1,14 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-mobilenetwork" + output-folder: "$(typescript-sdks-folder)/sdk/mobilenetwork/arm-mobilenetwork" + payload-flattening-threshold: 1 + clear-output-folder: true + generate-metadata: true +``` From 07664abc855a9b9c51ce302a1c2bbb480105e80d Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Wed, 9 Feb 2022 17:39:44 +0530 Subject: [PATCH 02/19] Removed API versions 2020-06-01-preview and 2021-04-01-preview. Have only the API version 2022-01-01-preview in Public --- .../preview/2020-06-01-preview/common.json | 117 - .../examples/NetworkCreate.json | 52 - .../examples/NetworkDelete.json | 13 - .../examples/NetworkGet.json | 32 - .../examples/NetworkListByResourceGroup.json | 35 - .../examples/NetworkListBySubscription.json | 34 - .../examples/NetworkUpdateTags.json | 41 - .../examples/OperationList.json | 24 - .../examples/PacketCoreCreate.json | 38 - .../examples/PacketCoreDelete.json | 13 - .../examples/PacketCoreGet.json | 22 - .../PacketCoreListByResourceGroup.json | 25 - .../PacketCoreListBySubscription.json | 24 - .../examples/PacketCoreUpdateTags.json | 31 - .../examples/SimCreate.json | 40 - .../examples/SimDelete.json | 13 - .../2020-06-01-preview/examples/SimGet.json | 22 - .../examples/SimListByResourceGroup.json | 25 - .../examples/SimListBySubscription.json | 24 - .../examples/SimProfileActivate.json | 49 - .../examples/SimProfileCreate.json | 58 - .../examples/SimProfileDeactivate.json | 49 - .../examples/SimProfileDelete.json | 14 - .../examples/SimProfileGet.json | 30 - .../examples/SimProfileIdListByNetwork.json | 30 - .../examples/SimProfileListBySim.json | 31 - .../examples/SimProfileUpdateTags.json | 40 - .../examples/SimUpdateTags.json | 32 - .../examples/SiteCreate.json | 44 - .../examples/SiteDelete.json | 14 - .../2020-06-01-preview/examples/SiteGet.json | 24 - .../examples/SiteListByNetwork.json | 27 - .../examples/SiteUpdateTags.json | 34 - .../2020-06-01-preview/mobileNetwork.json | 2013 ----------------- .../preview/2020-06-01-preview/operation.json | 132 -- .../attachedDataNetwork.json | 496 ---- .../preview/2021-04-01-preview/common.json | 316 --- .../2021-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 | 106 - .../PacketCoreControlPlaneDelete.json | 13 - .../examples/PacketCoreControlPlaneGet.json | 47 - ...etCoreControlPlaneListByResourceGroup.json | 51 - ...ketCoreControlPlaneListBySubscription.json | 50 - .../PacketCoreControlPlaneUpdateTags.json | 56 - .../examples/PacketCoreDataPlaneCreate.json | 71 - .../examples/PacketCoreDataPlaneDelete.json | 14 - .../examples/PacketCoreDataPlaneGet.json | 36 - ...DataPlaneListByPacketCoreControlPlane.json | 40 - .../PacketCoreDataPlaneUpdateTags.json | 45 - .../examples/ServiceCreate.json | 179 -- .../examples/ServiceDelete.json | 14 - .../examples/ServiceGet.json | 72 - .../examples/ServiceListByMobileNetwork.json | 75 - .../examples/ServiceUpdateTags.json | 81 - .../examples/SimActivate.json | 71 - .../examples/SimCreate.json | 84 - .../examples/SimDeactivate.json | 71 - .../examples/SimDelete.json | 13 - .../2021-04-01-preview/examples/SimGet.json | 39 - .../examples/SimIdListByMobileNetwork.json | 33 - .../examples/SimListByResourceGroup.json | 42 - .../examples/SimListBySubscription.json | 41 - .../examples/SimPolicyCreate.json | 176 -- .../examples/SimPolicyDelete.json | 14 - .../examples/SimPolicyGet.json | 71 - .../SimPolicyListByMobileNetwork.json | 74 - .../examples/SimPolicyUpdateTags.json | 80 - .../examples/SimUpdateTags.json | 49 - .../examples/SiteCreate.json | 69 - .../examples/SiteDelete.json | 14 - .../2021-04-01-preview/examples/SiteGet.json | 35 - .../examples/SiteListByMobileNetwork.json | 38 - .../examples/SiteUpdateTags.json | 45 - .../examples/SliceCreate.json | 71 - .../examples/SliceDelete.json | 14 - .../2021-04-01-preview/examples/SliceGet.json | 36 - .../examples/SliceListByMobileNetwork.json | 39 - .../examples/SliceUpdateTags.json | 45 - .../2021-04-01-preview/mobileNetwork.json | 1256 ---------- .../preview/2021-04-01-preview/operation.json | 133 -- .../packetCoreControlPlane.json | 406 ---- .../packetCoreDataPlane.json | 355 --- .../preview/2021-04-01-preview/service.json | 539 ----- .../preview/2021-04-01-preview/simPolicy.json | 469 ---- .../preview/2021-04-01-preview/slice.json | 359 --- .../preview/2021-04-01-preview/ts29571.json | 297 --- 103 files changed, 11205 deletions(-) delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/common.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListByResourceGroup.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListBySubscription.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/OperationList.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListByResourceGroup.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListBySubscription.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListByResourceGroup.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListBySubscription.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileActivate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDeactivate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileIdListByNetwork.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileListBySim.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteListByNetwork.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/mobileNetwork.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/operation.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/attachedDataNetwork.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/common.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/dataNetwork.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkListByMobileNetwork.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkListByResourceGroup.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkListBySubscription.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/OperationList.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceListByMobileNetwork.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimActivate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimDeactivate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimIdListByMobileNetwork.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListByResourceGroup.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListBySubscription.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyListByMobileNetwork.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteListByMobileNetwork.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceCreate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceDelete.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceGet.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceListByMobileNetwork.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceUpdateTags.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/mobileNetwork.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/operation.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreControlPlane.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreDataPlane.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/service.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/simPolicy.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/slice.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/ts29571.json diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/common.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/common.json deleted file mode 100644 index bbc015939de4..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/common.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "MobileNetworkManagementClient", - "description": "The resources in this swagger specification will be used to manage mobile network resources", - "version": "2020-06-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": { - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - } - }, - "description": "Reference to another sub resource.", - "x-ms-azure-resource": true - }, - "ProvisioningState": { - "type": "string", - "readOnly": true, - "description": "The current provisioning state.", - "enum": [ - "Unknown", - "Succeeded", - "Updating", - "Deleting", - "Failed" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "TagsObject": { - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - } - }, - "description": "Tags object for patch operations." - }, - "NetworkType": { - "type": "string", - "description": "The packet core type.", - "enum": [ - "Private" - ], - "x-ms-enum": { - "name": "NetworkType", - "modelAsString": true - } - }, - "SimType": { - "type": "string", - "description": "The sim type.", - "enum": [ - "Physical", - "ESim" - ], - "x-ms-enum": { - "name": "SimType", - "modelAsString": true - } - }, - "ActivationState": { - "type": "string", - "readOnly": true, - "description": "The current activation state of the SimProfile on the network.", - "enum": [ - "NotActivated", - "Activated", - "Activating", - "Deactivating", - "Deactivated", - "Failed" - ], - "x-ms-enum": { - "name": "ActivationState", - "modelAsString": true - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkCreate.json deleted file mode 100644 index 1bf6506a0722..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkCreate.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkName": "testNetwork", - "parameters": { - "location": "eastus", - "properties": { - "mobileCountryCode": "testMobileCountryCode", - "mobileNetworkCode": "testMobileNetworkCode", - "spectrumAccessProvider": "testSpectrumAccessProvider" - } - } - }, - "responses": { - "200": { - "body": { - "name": "testNetwork", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork", - "type": "Microsoft.MobileNetwork/networks", - "location": "eastus", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "mobileCountryCode": "testMobileCountryCode", - "mobileNetworkCode": "testMobileNetworkCode", - "serviceKey": "testServiceKey", - "networkType": "Public", - "spectrumAccessProvider": "testSpectrumAccessProvider" - } - } - }, - "201": { - "body": { - "name": "testNetwork", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork", - "type": "Microsoft.MobileNetwork/networks", - "location": "eastus", - "tags": {}, - "properties": { - "provisioningState": "Created", - "mobileCountryCode": "testMobileCountryCode", - "mobileNetworkCode": "testMobileNetworkCode", - "serviceKey": "testServiceKey", - "networkType": "Public", - "spectrumAccessProvider": "testSpectrumAccessProvider" - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkDelete.json deleted file mode 100644 index d6f483fafe89..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkName": "testNetwork" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkGet.json deleted file mode 100644 index 46a9a1fe6a9a..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkGet.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkName": "testNetwork" - }, - "responses": { - "200": { - "body": { - "name": "testNetwork", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork", - "type": "Microsoft.MobileNetwork/networks", - "location": "eastus", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "mobileCountryCode": "testMobileCountryCode", - "mobileNetworkCode": "testMobileNetworkCode", - "serviceKey": "testServiceKey", - "networkType": "Public", - "spectrumAccessProvider": "testSpectrumAccessProvider", - "packetCores": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore" - } - ] - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListByResourceGroup.json deleted file mode 100644 index bca3542ae079..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListByResourceGroup.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "testNetwork", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork", - "type": "Microsoft.MobileNetwork/networks", - "location": "eastus", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "mobileCountryCode": "testMobileCountryCode", - "mobileNetworkCode": "testMobileNetworkCode", - "serviceKey": "testServiceKey", - "networkType": "Public", - "spectrumAccessProvider": "testSpectrumAccessProvider", - "packetCores": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore" - } - ] - } - } - ] - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListBySubscription.json deleted file mode 100644 index c0e36009a6fc..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkListBySubscription.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "testNetwork", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork", - "type": "Microsoft.MobileNetwork/networks", - "location": "eastus", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "mobileCountryCode": "testMobileCountryCode", - "mobileNetworkCode": "testMobileNetworkCode", - "serviceKey": "testServiceKey", - "networkType": "Public", - "spectrumAccessProvider": "testSpectrumAccessProvider", - "packetCores": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore" - } - ] - } - } - ] - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkUpdateTags.json deleted file mode 100644 index 4c3f2d0811ec..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/NetworkUpdateTags.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkName": "testNetwork", - "parameters": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "name": "testNetwork", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork", - "type": "Microsoft.MobileNetwork/networks", - "location": "eastus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "mobileCountryCode": "testMobileCountryCode", - "mobileNetworkCode": "testMobileNetworkCode", - "serviceKey": "testServiceKey", - "networkType": "Public", - "spectrumAccessProvider": "testSpectrumAccessProvider", - "packetCores": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore" - } - ] - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/OperationList.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/OperationList.json deleted file mode 100644 index 0e2bd4bdc91d..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/OperationList.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "location": "eastus", - "api-version": "2020-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "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/2020-06-01-preview/examples/PacketCoreCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreCreate.json deleted file mode 100644 index eb07b4a0b8a6..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreCreate.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "packetCoreName": "testPacketCore", - "parameters": { - "location": "eastus", - "properties": {} - } - }, - "responses": { - "200": { - "body": { - "name": "testPacketCore", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore", - "type": "Microsoft.MobileNetwork/packetCores", - "location": "eastus", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - }, - "201": { - "body": { - "name": "testPacketCore", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore", - "type": "Microsoft.MobileNetwork/packetCores", - "location": "eastus", - "tags": {}, - "properties": { - "provisioningState": "Created" - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreDelete.json deleted file mode 100644 index c9379350f59c..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "packetCoreName": "testPacketCore" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreGet.json deleted file mode 100644 index c8e148f97de0..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreGet.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "packetCoreName": "testPacketCore" - }, - "responses": { - "200": { - "body": { - "name": "testPacketCore", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore", - "type": "Microsoft.MobileNetwork/packetCores", - "location": "eastus", - "tags": {}, - "properties": { - "provisioningState": "Accepted" - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListByResourceGroup.json deleted file mode 100644 index 855fa0319fa8..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListByResourceGroup.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "testPacketCore", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore", - "type": "Microsoft.MobileNetwork/packetCores", - "location": "eastus", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListBySubscription.json deleted file mode 100644 index c24aae76caaa..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreListBySubscription.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "testPacketCore", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore", - "type": "Microsoft.MobileNetwork/packetCores", - "location": "eastus", - "tags": {}, - "properties": { - "provisioningState": "Succeeded" - } - } - ] - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreUpdateTags.json deleted file mode 100644 index 9ccb92d670c3..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/PacketCoreUpdateTags.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "packetCoreName": "testPacketCore", - "parameters": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "name": "testPacketCore", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCores/testPacketCore", - "type": "Microsoft.MobileNetwork/packetCores", - "location": "eastus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimCreate.json deleted file mode 100644 index 8e2fc5bc3542..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimCreate.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "simName": "testSim", - "parameters": { - "location": "testLocation", - "properties": { - "simType": "ESim" - } - } - }, - "responses": { - "200": { - "body": { - "name": "testSim", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", - "type": "Microsoft.MobileNetwork/sims", - "location": "testLocation", - "properties": { - "provisioningState": "Accepted", - "simType": "ESim" - } - } - }, - "201": { - "body": { - "name": "testSim", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", - "type": "Microsoft.MobileNetwork/sims", - "location": "testLocation", - "properties": { - "provisioningState": "Created", - "simType": "ESim" - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimDelete.json deleted file mode 100644 index 1ce0b1c2b9f3..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "testResourceGroupName", - "simName": "testSim" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimGet.json deleted file mode 100644 index 127cb892f56d..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimGet.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-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", - "location": "testLocation", - "properties": { - "provisioningState": "Accepted", - "simType": "Physical" - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListByResourceGroup.json deleted file mode 100644 index 3bdf72d96873..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListByResourceGroup.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-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", - "location": "testLocation", - "properties": { - "provisioningState": "Accepted", - "simType": "ESim" - } - } - ] - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListBySubscription.json deleted file mode 100644 index 32265e35de4c..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimListBySubscription.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "testSim", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim", - "type": "Microsoft.MobileNetwork/sims", - "location": "testLocation", - "properties": { - "provisioningState": "Accepted", - "simType": "ESim" - } - } - ] - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileActivate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileActivate.json deleted file mode 100644 index fd1a2fdf821b..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileActivate.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "testResourceGroupName", - "simName": "testSimName", - "simProfileName": "testSimProfileName" - }, - "responses": { - "200": { - "body": { - "name": "TestSimProfile", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", - "type": "Microsoft.MobileNetwork/sims/simProfiles", - "location": "testLocation", - "properties": { - "provisioningState": "Succeeded", - "activationState": "Activated", - "internationalMobileSubscriberIdentity": "TestImsi", - "integratedCircuitCardIdentifier": "testIccid", - "networks": [ - { - "id": "TestNetwork" - } - ] - } - } - }, - "202": { - "body": { - "name": "TestSimProfile", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", - "type": "Microsoft.MobileNetwork/sims/simProfiles", - "location": "testLocation", - "properties": { - "provisioningState": "Accepted", - "activationState": "Activated", - "internationalMobileSubscriberIdentity": "TestImsi", - "integratedCircuitCardIdentifier": "testIccid", - "networks": [ - { - "id": "TestNetwork" - } - ] - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileCreate.json deleted file mode 100644 index 83ea062fd9ca..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileCreate.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "simName": "testSim", - "simProfileName": "TestSimProfile", - "parameters": { - "location": "testLocation", - "properties": { - "integratedCircuitCardIdentifier": "TestIccId", - "internationalMobileSubscriberIdentity": "TestImsi", - "authenticationKey": "testAuthKey", - "operatorKeyCode": "testOpc" - } - } - }, - "responses": { - "200": { - "body": { - "name": "TestSimProfile", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", - "type": "Microsoft.MobileNetwork/sims/simProfiles", - "location": "testLocation", - "properties": { - "provisioningState": "Succeeded", - "activationState": "Activated", - "internationalMobileSubscriberIdentity": "TestImsi", - "integratedCircuitCardIdentifier": "testIccid", - "networks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork" - } - ] - } - } - }, - "201": { - "body": { - "name": "TestSimProfile", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", - "type": "Microsoft.MobileNetwork/sims/simProfiles", - "location": "testLocation", - "properties": { - "provisioningState": "Accepted", - "activationState": "Activated", - "internationalMobileSubscriberIdentity": "TestImsi", - "integratedCircuitCardIdentifier": "testIccid", - "networks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork" - } - ] - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDeactivate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDeactivate.json deleted file mode 100644 index c6623939d8f8..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDeactivate.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "testResourceGroupName", - "simName": "testSimName", - "simProfileName": "testSimProfileName" - }, - "responses": { - "200": { - "body": { - "name": "TestSimProfile", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", - "type": "Microsoft.MobileNetwork/sims/simProfiles", - "location": "testLocation", - "properties": { - "provisioningState": "Succeeded", - "activationState": "Deactivated", - "internationalMobileSubscriberIdentity": "TestImsi", - "integratedCircuitCardIdentifier": "testIccid", - "networks": [ - { - "id": "TestNetwork" - } - ] - } - } - }, - "202": { - "body": { - "name": "TestSimProfile", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", - "type": "Microsoft.MobileNetwork/sims/simProfiles", - "location": "testLocation", - "properties": { - "provisioningState": "Accepted", - "activationState": "Deactivated", - "internationalMobileSubscriberIdentity": "TestImsi", - "integratedCircuitCardIdentifier": "testIccid", - "networks": [ - { - "id": "TestNetwork" - } - ] - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDelete.json deleted file mode 100644 index 547d5fc16b96..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "simName": "testSim", - "simProfileName": "testSimProfile" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileGet.json deleted file mode 100644 index aa0388eaaa2a..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileGet.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "simName": "testSim", - "simProfileName": "TestSimProfile" - }, - "responses": { - "200": { - "body": { - "name": "TestSimProfile", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/simName/simProfiles/TestSimProfile", - "type": "Microsoft.MobileNetwork/sims/simProfiles", - "location": "testLocation", - "properties": { - "provisioningState": "Accepted", - "activationState": "Activated", - "internationalMobileSubscriberIdentity": "TestImsi", - "integratedCircuitCardIdentifier": "testIccid", - "networks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork" - } - ] - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileIdListByNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileIdListByNetwork.json deleted file mode 100644 index d0cdf95c49f9..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileIdListByNetwork.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "testResourceGroupName", - "networkName": "testNetworkName" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile" - } - ], - "nextLink": "nextLink" - } - }, - "202": { - "body": { - "value": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile" - } - ], - "nextLink": "nextLink" - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileListBySim.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileListBySim.json deleted file mode 100644 index fe5227b9a20e..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileListBySim.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "testResourceGroupName", - "simName": "testSimName" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "location": "testLocation", - "properties": { - "provisioningState": "Accepted", - "activationState": "Activated", - "internationalMobileSubscriberIdentity": "TestImsi", - "integratedCircuitCardIdentifier": "testIccid", - "networks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork" - } - ] - } - } - ], - "nextLink": "nextLink" - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileUpdateTags.json deleted file mode 100644 index 2e7ebc3ebcc2..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimProfileUpdateTags.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "simName": "testSim", - "simProfileName": "testSimProfile", - "parameters": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "name": "testSimProfile", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/sims/testSim/simProfiles/testSimProfile", - "type": "Microsoft.MobileNetwork/sims/simProfiles", - "location": "eastus", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Accepted", - "activationState": "Activated", - "internationalMobileSubscriberIdentity": "testImsi", - "integratedCircuitCardIdentifier": "testIccid", - "networks": [ - { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork" - } - ] - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimUpdateTags.json deleted file mode 100644 index 614e1877cf53..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SimUpdateTags.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-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", - "location": "testLocation", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "simType": "Physical" - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteCreate.json deleted file mode 100644 index d80c56f630be..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteCreate.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkName": "testNetwork", - "siteName": "testSite", - "parameters": { - "location": "testLocation", - "properties": { - "customLocation": "testCustomLocation", - "trackingAreaCode": "testTrackingAreaCode" - } - } - }, - "responses": { - "200": { - "body": { - "name": "testSite", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork/sites/testSite", - "type": "Microsoft.MobileNetwork/networks/sites", - "location": "testLocation", - "properties": { - "provisioningState": "Succeeded", - "customLocation": "testCustomLocation", - "trackingAreaCode": "testTrackingAreaCode" - } - } - }, - "201": { - "body": { - "name": "testSite", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork/sites/testSite", - "type": "Microsoft.MobileNetwork/networks/sites", - "location": "testLocation", - "properties": { - "provisioningState": "Created", - "customLocation": "testCustomLocation", - "trackingAreaCode": "testTrackingAreaCode" - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteDelete.json deleted file mode 100644 index 07bc86908b6e..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkName": "testNetwork", - "siteName": "testSite" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteGet.json deleted file mode 100644 index ae0793444fec..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteGet.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkName": "testNetwork", - "siteName": "testSite" - }, - "responses": { - "200": { - "body": { - "name": "testSite", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork/sites/testSite", - "type": "Microsoft.MobileNetwork/networks/sites", - "location": "testLocation", - "properties": { - "provisioningState": "Succeeded", - "customLocation": "testCustomLocation", - "trackingAreaCode": "testTrackingAreaCode" - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteListByNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteListByNetwork.json deleted file mode 100644 index f3b5c7d90205..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteListByNetwork.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkName": "testNetwork" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "testSite", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork/sites/testSite", - "type": "Microsoft.MobileNetwork/networks/sites", - "location": "testLocation", - "properties": { - "provisioningState": "Succeeded", - "customLocation": "testCustomLocation", - "trackingAreaCode": "testTrackingAreaCode" - } - } - ] - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteUpdateTags.json deleted file mode 100644 index e9be4ac5dddd..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/examples/SiteUpdateTags.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2020-06-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "networkName": "testNetwork", - "siteName": "testSite", - "parameters": { - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - }, - "responses": { - "200": { - "body": { - "name": "testSite", - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/networks/testNetwork/sites/testSite", - "type": "Microsoft.MobileNetwork/networks/sites", - "location": "testLocation", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "provisioningState": "Succeeded", - "customLocation": "testCustomLocation", - "trackingAreaCode": "testTrackingAreaCode" - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/mobileNetwork.json deleted file mode 100644 index 2fb39ef7afb1..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/mobileNetwork.json +++ /dev/null @@ -1,2013 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "MobileNetworkManagementClient", - "description": "The resources in this swagger specification will be used to manage mobile network resources", - "version": "2020-06-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/networks/{networkName}": { - "delete": { - "tags": [ - "Networks" - ], - "operationId": "Networks_Delete", - "description": "Deletes the specified network.", - "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" - }, - { - "name": "networkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network." - } - ], - "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/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete network": { - "$ref": "./examples/NetworkDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "Networks" - ], - "operationId": "Networks_Get", - "description": "Gets information about the specified network.", - "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" - }, - { - "name": "networkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of network." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting network resource.", - "schema": { - "$ref": "#/definitions/Network" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get network": { - "$ref": "./examples/NetworkGet.json" - } - } - }, - "put": { - "tags": [ - "Networks" - ], - "operationId": "Networks_CreateOrUpdate", - "description": "Creates or updates a network.", - "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" - }, - { - "name": "networkName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of network." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Network" - }, - "description": "Parameters supplied to the create or update network operation." - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting network resource.", - "schema": { - "$ref": "#/definitions/Network" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting network resource.", - "schema": { - "$ref": "#/definitions/Network" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create network": { - "$ref": "./examples/NetworkCreate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "patch": { - "tags": [ - "Networks" - ], - "operationId": "Networks_UpdateTags", - "description": "Updates a network update tags.", - "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" - }, - { - "name": "networkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./common.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update network tags." - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting network resource.", - "schema": { - "$ref": "#/definitions/Network" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update network tags": { - "$ref": "./examples/NetworkUpdateTags.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.MobileNetwork/networks": { - "get": { - "tags": [ - "Networks" - ], - "operationId": "Networks_ListBySubscription", - "description": "Lists all the networks in a subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of network resources.", - "schema": { - "$ref": "#/definitions/NetworkListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List all networks": { - "$ref": "./examples/NetworkListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/networks": { - "get": { - "tags": [ - "Networks" - ], - "operationId": "Networks_ListByResourceGroup", - "description": "Lists all the networks in a resource group.", - "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": "Request successful. The operation returns a list of network resources.", - "schema": { - "$ref": "#/definitions/NetworkListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List networks in resource group": { - "$ref": "./examples/NetworkListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/networks/{networkName}/listSimProfileIds": { - "post": { - "tags": [ - "Networks" - ], - "operationId": "MobileNetwork_ListSimProfileId", - "description": "List sim profile ids under a network.", - "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" - }, - { - "name": "networkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network." - } - ], - "responses": { - "200": { - "description": "List sim profile ids successful.", - "schema": { - "$ref": "#/definitions/SimProfileIdListResult" - } - }, - "202": { - "description": "Accepted. Returns an operation URI that can be queried to find the current state of the operation.", - "schema": { - "$ref": "#/definitions/SimProfileIdListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List sim profile ids by network": { - "$ref": "./examples/SimProfileIdListByNetwork.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCores/{packetCoreName}": { - "delete": { - "tags": [ - "PacketCores" - ], - "operationId": "PacketCores_Delete", - "description": "Deletes the specified packet core.", - "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" - }, - { - "name": "packetCoreName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the packetCore." - } - ], - "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/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete packetCore": { - "$ref": "./examples/PacketCoreDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "PacketCores" - ], - "operationId": "PacketCores_Get", - "description": "Gets information about the specified PacketCore.", - "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" - }, - { - "name": "packetCoreName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of packetCore." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting mobile network resource.", - "schema": { - "$ref": "#/definitions/PacketCore" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get packetCore": { - "$ref": "./examples/PacketCoreGet.json" - } - } - }, - "put": { - "tags": [ - "PacketCores" - ], - "operationId": "PacketCores_CreateOrUpdate", - "description": "Creates or updates a packetCore.", - "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" - }, - { - "name": "packetCoreName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the packetCore." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PacketCore" - }, - "description": "Parameters supplied to the create or update packetCore operation." - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting packetCore resource.", - "schema": { - "$ref": "#/definitions/PacketCore" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting packetCore resource.", - "schema": { - "$ref": "#/definitions/PacketCore" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create packetCore": { - "$ref": "./examples/PacketCoreCreate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "patch": { - "tags": [ - "PacketCores" - ], - "operationId": "PacketCores_UpdateTags", - "description": "Updates a packetCore update tags.", - "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" - }, - { - "name": "packetCoreName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the packetCore." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./common.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update packetCore tags." - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting packetCore resource.", - "schema": { - "$ref": "#/definitions/PacketCore" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update packetCore tags": { - "$ref": "./examples/PacketCoreUpdateTags.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/networks/{networkName}/sites/{siteName}": { - "delete": { - "tags": [ - "Sites" - ], - "operationId": "Sites_Delete", - "description": "Deletes the specified network site.", - "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" - }, - { - "name": "networkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network." - }, - { - "name": "siteName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network site." - } - ], - "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/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete 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 network site.", - "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" - }, - { - "name": "networkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of network." - }, - { - "name": "siteName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network site." - } - ], - "responses": { - "200": { - "description": "Request 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/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get network site": { - "$ref": "./examples/SiteGet.json" - } - } - }, - "put": { - "tags": [ - "Sites" - ], - "operationId": "Sites_CreateOrUpdate", - "description": "Creates or updates a network site.", - "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" - }, - { - "name": "networkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network site." - }, - { - "name": "siteName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network site." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Site" - }, - "description": "Parameters supplied to the create or update network site operation." - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting network site resource.", - "schema": { - "$ref": "#/definitions/Site" - } - }, - "201": { - "description": "Create 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/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create 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/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" - }, - { - "name": "networkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network site." - }, - { - "name": "siteName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network site." - }, - { - "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/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update network site tags": { - "$ref": "./examples/SiteUpdateTags.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/networks/{networkName}/sites": { - "get": { - "tags": [ - "Sites" - ], - "operationId": "Sites_ListByNetwork", - "description": "Lists all sites in the network.", - "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" - }, - { - "name": "networkName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the network." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of network site resources.", - "schema": { - "$ref": "#/definitions/SiteListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List all network sites": { - "$ref": "./examples/SiteListByNetwork.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/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" - }, - { - "name": "simName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim." - } - ], - "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/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete sim resource": { - "$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/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" - }, - { - "name": "simName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of sim." - } - ], - "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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "simName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/Sim" - }, - "description": "Parameters supplied to the create or update sim operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - } - ], - "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/v2/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/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" - }, - { - "name": "simName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim." - }, - { - "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/v2/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/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "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/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List all sims": { - "$ref": "./examples/SimListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.MobileNetwork/packetCores": { - "get": { - "tags": [ - "PacketCores" - ], - "operationId": "PacketCores_ListBySubscription", - "description": "Lists all the packet cores in a subscription.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of packet core resources.", - "schema": { - "$ref": "#/definitions/PacketCoreListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List all packet cores": { - "$ref": "./examples/PacketCoreListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/packetCores": { - "get": { - "tags": [ - "PacketCores" - ], - "operationId": "PacketCores_ListByResourceGroup", - "description": "Lists all the packet cores in a resource group.", - "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": "Request successful. The operation returns a list of packet core resources.", - "schema": { - "$ref": "#/definitions/PacketCoreListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List packet cores in resource group": { - "$ref": "./examples/PacketCoreListByResourceGroup.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/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": "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/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List sims in resource group": { - "$ref": "./examples/SimListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/simProfiles/{simProfileName}": { - "delete": { - "tags": [ - "SimProfiles" - ], - "operationId": "SimProfiles_Delete", - "description": "Deletes the specified sim profile.", - "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" - }, - { - "name": "simName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim." - }, - { - "name": "simProfileName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim profile." - } - ], - "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/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Delete sim profile resource": { - "$ref": "./examples/SimProfileDelete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "SimProfiles" - ], - "operationId": "SimProfiles_Get", - "description": "Gets information about the specified sim profile.", - "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" - }, - { - "name": "simName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of sim." - }, - { - "name": "simProfileName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim profile." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns the resulting sim profile resource.", - "schema": { - "$ref": "#/definitions/SimProfile" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get sim profile": { - "$ref": "./examples/SimProfileGet.json" - } - } - }, - "put": { - "tags": [ - "SimProfiles" - ], - "operationId": "SimProfiles_CreateOrUpdate", - "description": "Creates or updates a sim profile.", - "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" - }, - { - "name": "simName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim." - }, - { - "name": "simProfileName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim profile." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/SimProfile" - }, - "description": "Parameters supplied to the create or update sim profile operation." - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting sim profile resource.", - "schema": { - "$ref": "#/definitions/SimProfile" - } - }, - "201": { - "description": "Create successful. The operation returns the resulting sim profile resource.", - "schema": { - "$ref": "#/definitions/SimProfile" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Create sim profile": { - "$ref": "./examples/SimProfileCreate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "patch": { - "tags": [ - "SimProfiles" - ], - "operationId": "SimProfiles_UpdateTags", - "description": "Updates a sim profile update tags.", - "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" - }, - { - "name": "simName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim." - }, - { - "name": "simProfileName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim profile." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./common.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update sim profile tags." - } - ], - "responses": { - "200": { - "description": "Update successful. The operation returns the resulting sim profile resource.", - "schema": { - "$ref": "#/definitions/SimProfile" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Update sim profile tags": { - "$ref": "./examples/SimProfileUpdateTags.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/simProfiles": { - "get": { - "tags": [ - "SimProfiles" - ], - "operationId": "SimProfiles_ListBySim", - "description": "Lists all sim profiles in the sim", - "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" - }, - { - "name": "simName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim." - } - ], - "responses": { - "200": { - "description": "Request successful. The operation returns a list of sim profile resources.", - "schema": { - "$ref": "#/definitions/SimProfileListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List all sim profiles in a sim": { - "$ref": "./examples/SimProfileListBySim.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/simProfiles/{simProfileName}/activate": { - "post": { - "tags": [ - "SimProfiles" - ], - "operationId": "SimProfiles_Activate", - "description": "Activates the specified sim profile.", - "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" - }, - { - "name": "simName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim." - }, - { - "name": "simProfileName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim profile." - } - ], - "responses": { - "200": { - "description": "SimProfile activation successful.", - "schema": { - "$ref": "#/definitions/SimProfile" - } - }, - "202": { - "description": "Accepted. Sets 'Activating' in activationState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation.", - "schema": { - "$ref": "#/definitions/SimProfile" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Activate sim profile": { - "$ref": "./examples/SimProfileActivate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/simProfiles/{simProfileName}/deactivate": { - "post": { - "tags": [ - "SimProfiles" - ], - "operationId": "SimProfiles_Deactivate", - "description": "Deactivates the specified sim profiles.", - "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" - }, - { - "name": "simName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim profile." - }, - { - "name": "simProfileName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sim profile." - } - ], - "responses": { - "200": { - "description": "Sim deactivation successful.", - "schema": { - "$ref": "#/definitions/SimProfile" - } - }, - "202": { - "description": "Accepted. Sets 'Deactivating' in activationState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation.", - "schema": { - "$ref": "#/definitions/SimProfile" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Deactivate sim profile resource": { - "$ref": "./examples/SimProfileDeactivate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - } - }, - "definitions": { - "Network": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/NetworkPropertiesFormat", - "description": "Network properties." - }, - "systemData": { - "readOnly": true, - "description": "The system meta data relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "description": "Network resource." - }, - "NetworkPropertiesFormat": { - "description": "Network properties.", - "properties": { - "provisioningState": { - "readOnly": true, - "$ref": "./common.json#/definitions/ProvisioningState", - "description": "The provisioning state of the network resource." - }, - "mobileCountryCode": { - "type": "string", - "description": "The mobile country code for the network." - }, - "mobileNetworkCode": { - "type": "string", - "description": "The mobile network code for the network." - }, - "serviceKey": { - "type": "string", - "readOnly": true, - "description": "The network resource identifier" - }, - "networkType": { - "$ref": "./common.json#/definitions/NetworkType", - "description": "The type of the network." - }, - "spectrumAccessProvider": { - "type": "string", - "description": "The spectrum access provider for the network." - }, - "packetCores": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "./common.json#/definitions/SubResource" - }, - "description": "An array of ids of the packet cores associated with the network resource." - } - } - }, - "NetworkListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Network" - }, - "description": "A list of networks in a resource group." - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "The URL to get the next set of results." - } - }, - "description": "Response for networks API service call." - }, - "Sim": { - "properties": { - "systemData": { - "readOnly": true, - "description": "The system meta data relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SimPropertiesFormat", - "description": "Sim properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "description": "Sim resource." - }, - "SimPropertiesFormat": { - "description": "Sim properties.", - "properties": { - "provisioningState": { - "readOnly": true, - "$ref": "./common.json#/definitions/ProvisioningState", - "description": "The provisioning state of the sim resource." - }, - "simType": { - "$ref": "./common.json#/definitions/SimType", - "description": "The type of the sim." - } - } - }, - "SimListResult": { - "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 sims API service call." - }, - "Site": { - "properties": { - "systemData": { - "readOnly": true, - "description": "The system meta data relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SitePropertiesFormat", - "description": "Site properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "description": "Site resource." - }, - "SitePropertiesFormat": { - "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." - }, - "customLocation": { - "type": "string", - "description": "Azure arc custom location where the network site is paired. **TODO**: Confirm type and property." - }, - "trackingAreaCode": { - "type": "string", - "description": "Tracking area code for the network site." - } - } - }, - "SiteListResult": { - "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." - }, - "SimProfile": { - "properties": { - "systemData": { - "readOnly": true, - "description": "The system meta data relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SimProfilePropertiesFormat", - "description": "Sim profile Properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "description": "Sim profile resource." - }, - "SimProfilePropertiesFormat": { - "description": "Sim profile properties.", - "properties": { - "provisioningState": { - "readOnly": true, - "$ref": "./common.json#/definitions/ProvisioningState", - "description": "The provisioning state of the sim profile resource." - }, - "activationState": { - "readOnly": true, - "$ref": "./common.json#/definitions/ActivationState", - "description": "The activation state of the sim profile resource." - }, - "internationalMobileSubscriberIdentity": { - "type": "string", - "description": "The International Mobile Subscriber Identity (IMSI) for the sim profile." - }, - "integratedCircuitCardIdentifier": { - "type": "string", - "description": "The Integrated Circuit Card ID (ICC Id) for the sim profile." - }, - "authenticationKey": { - "type": "string", - "x-ms-secret": true, - "x-ms-mutability": [ - "create" - ], - "description": "The ki value for the sim profile." - }, - "operatorKeyCode": { - "type": "string", - "x-ms-secret": true, - "x-ms-mutability": [ - "create" - ], - "description": "The Opc value for the sim profile." - }, - "networks": { - "type": "array", - "items": { - "$ref": "./common.json#/definitions/SubResource" - }, - "description": "A list of network ids that the sim profile is attached. **TODO** Typically one, but can a Sim be attached to multiple networks" - } - } - }, - "SimProfileIdListResult": { - "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 sim profile ids API service call." - }, - "SimProfileListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SimProfile" - }, - "description": "A list of sim profiles in a resource group." - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "The URL to get the next set of results." - } - }, - "description": "Response for sim profiles API service call." - }, - "PacketCore": { - "properties": { - "systemData": { - "readOnly": true, - "description": "The system meta data relating to this resource.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/PacketCorePropertiesFormat", - "description": "Packet core properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "description": "Packet core resource." - }, - "PacketCorePropertiesFormat": { - "description": "PacketCore properties.", - "properties": { - "provisioningState": { - "readOnly": true, - "$ref": "./common.json#/definitions/ProvisioningState", - "description": "The provisioning state of the packet core resource." - } - } - }, - "PacketCoreListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/PacketCore" - }, - "description": "A list of packet cores in a resource group." - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "The URL to get the next set of results." - } - }, - "description": "Response for packet cores API service call." - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/operation.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/operation.json deleted file mode 100644 index ce879245796d..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2020-06-01-preview/operation.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "MobileNetworkManagementClient", - "description": "The resources in this swagger specification will be used to manage the operations.", - "version": "2020-06-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/v2/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/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Get Registration Operations": { - "$ref": "./examples/OperationList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "Operation": { - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "Operation name: {provider}/{resource}/{operation}" - }, - "isDataAction": { - "description": "Indicates whether the operation is a data action", - "type": "boolean" - }, - "display": { - "readOnly": true, - "description": "The object that represents the operation.", - "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." - }, - "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/2021-04-01-preview/attachedDataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/attachedDataNetwork.json deleted file mode 100644 index 42843be80163..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/attachedDataNetwork.json +++ /dev/null @@ -1,496 +0,0 @@ -{ - "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": "2021-04-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.json#/parameters/PacketCoreControlPlaneNameParameter" - }, - { - "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" - }, - { - "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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.json#/parameters/PacketCoreControlPlaneNameParameter" - }, - { - "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" - }, - { - "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - } - ], - "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/v2/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.json#/parameters/PacketCoreControlPlaneNameParameter" - }, - { - "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" - }, - { - "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AttachedDataNetwork" - }, - "description": "Parameters supplied to the create or update attached data network operation." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - } - ], - "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/v2/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.json#/parameters/PacketCoreControlPlaneNameParameter" - }, - { - "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" - }, - { - "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "./common.json#/definitions/TagsObject" - }, - "description": "Parameters supplied to update attached data network tags." - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - } - ], - "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/v2/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.json#/parameters/PacketCoreControlPlaneNameParameter" - }, - { - "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - } - ], - "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/v2/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/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "Metadata pertaining to creation and last modification of the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/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." - }, - "n6Interface": { - "$ref": "./common.json#/definitions/InterfaceProperties", - "description": "Interface configuration for N6 reference point, which connects the packetCore to the attachedDataNetwork." - }, - "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." - } - }, - "required": [ - "n6Interface", - "userEquipmentAddressPoolPrefix" - ] - }, - "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 - }, - "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/2021-04-01-preview/common.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/common.json deleted file mode 100644 index 21d59496f0ad..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/common.json +++ /dev/null @@ -1,316 +0,0 @@ -{ - "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": "2021-04-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 - }, - "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 - } - }, - "TagsObject": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - } - }, - "description": "Tags object for patch operations." - }, - "ActivationState": { - "type": "string", - "readOnly": true, - "description": "The current activation state of the Sim on the network.", - "enum": [ - "NotActivated", - "Activated", - "Activating", - "Deactivating", - "Deactivated", - "Failed" - ], - "x-ms-enum": { - "name": "ActivationState", - "modelAsString": true - } - }, - "InterfaceProperties": { - "type": "object", - "properties": { - "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": [ - "ipv4Address", - "ipv4Subnet", - "ipv4Gateway" - ], - "description": "IP address and subnet." - } - }, - "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/2021-04-01-preview/dataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/dataNetwork.json deleted file mode 100644 index 0dfeaa1f82f3..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/dataNetwork.json +++ /dev/null @@ -1,349 +0,0 @@ -{ - "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": "2021-04-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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "Metadata pertaining to creation and last modification of the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/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/2021-04-01-preview/examples/AttachedDataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkCreate.json deleted file mode 100644 index 0d47f42b650c..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkCreate.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "packetCoreControlPlaneName": "TestPacketCoreCP", - "packetCoreDataPlaneName": "TestPacketCoreDP", - "attachedDataNetworkName": "TestAttachedDataNetwork", - "parameters": { - "location": "eastus", - "properties": { - "n6Interface": { - "ipv4Address": "10.28.130.2", - "ipv4Subnet": "10.28.130.0/24", - "ipv4Gateway": "10.28.130.1" - }, - "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", - "2.3.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": { - "n6Interface": { - "ipv4Address": "10.28.130.2", - "ipv4Subnet": "10.28.130.0/24", - "ipv4Gateway": "10.28.130.1" - }, - "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", - "2.3.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": { - "n6Interface": { - "ipv4Address": "10.28.130.2", - "ipv4Subnet": "10.28.130.0/24", - "ipv4Gateway": "10.28.130.1" - }, - "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", - "2.3.0.0/16" - ] - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkDelete.json deleted file mode 100644 index d7aa48bc6ef9..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkDelete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/AttachedDataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkGet.json deleted file mode 100644 index e1a2ccd938ba..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkGet.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "n6Interface": { - "ipv4Address": "10.28.130.2", - "ipv4Subnet": "10.28.130.0/24", - "ipv4Gateway": "10.28.130.1" - }, - "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", - "2.3.0.0/16" - ] - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json deleted file mode 100644 index 7dd2798b6071..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "n6Interface": { - "ipv4Address": "10.28.130.2", - "ipv4Subnet": "10.28.130.0/24", - "ipv4Gateway": "10.28.130.1" - }, - "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", - "2.3.0.0/16" - ] - } - } - ] - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkUpdateTags.json deleted file mode 100644 index 4a8cf586038a..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/AttachedDataNetworkUpdateTags.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "n6Interface": { - "ipv4Address": "10.28.130.2", - "ipv4Subnet": "10.28.130.0/24", - "ipv4Gateway": "10.28.130.1" - }, - "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", - "2.3.0.0/16" - ] - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkCreate.json deleted file mode 100644 index 1c832978be4a..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkCreate.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/DataNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkDelete.json deleted file mode 100644 index 8ddf475078f8..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "mobileNetworkName": "testMobileNetwork", - "dataNetworkName": "testDataNetwork" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkGet.json deleted file mode 100644 index 32449645df8e..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkGet.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/DataNetworkListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkListByMobileNetwork.json deleted file mode 100644 index 371302e057f2..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkListByMobileNetwork.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/DataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkUpdateTags.json deleted file mode 100644 index 344dceef4c3e..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/DataNetworkUpdateTags.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/MobileNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkCreate.json deleted file mode 100644 index 9f7487b7af68..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkCreate.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/MobileNetworkDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkDelete.json deleted file mode 100644 index 9b47e2e040ec..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "mobileNetworkName": "testMobileNetwork" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkGet.json deleted file mode 100644 index dde174a14f21..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkGet.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/MobileNetworkListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkListByResourceGroup.json deleted file mode 100644 index 3decbcc26a88..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkListByResourceGroup.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/MobileNetworkListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkListBySubscription.json deleted file mode 100644 index 81fec46232de..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkListBySubscription.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/MobileNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkUpdateTags.json deleted file mode 100644 index 28f1bf5211a0..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/MobileNetworkUpdateTags.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/OperationList.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/OperationList.json deleted file mode 100644 index e1c9b7ac7dc3..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/OperationList.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "location": "eastus", - "api-version": "2021-04-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/2021-04-01-preview/examples/PacketCoreControlPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneCreate.json deleted file mode 100644 index ddd2e4cf76ac..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneCreate.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "tacList": [ - "aabb", - "ccdd" - ], - "n2Interface": { - "ipv4Address": "10.28.128.2", - "ipv4Subnet": "10.28.128.0/24", - "ipv4Gateway": "10.28.128.1" - } - } - } - }, - "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", - "tacList": [ - "aabb", - "ccdd" - ], - "n2Interface": { - "ipv4Address": "10.28.128.2", - "ipv4Subnet": "10.28.128.0/24", - "ipv4Gateway": "10.28.128.1" - } - } - } - }, - "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", - "tacList": [ - "aabb", - "ccdd" - ], - "n2Interface": { - "ipv4Address": "10.28.128.2", - "ipv4Subnet": "10.28.128.0/24", - "ipv4Gateway": "10.28.128.1" - } - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneDelete.json deleted file mode 100644 index 1165d58f70bd..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "packetCoreControlPlaneName": "TestPacketCoreCP" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneGet.json deleted file mode 100644 index 30fc21afeb14..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneGet.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "tacList": [ - "aabb", - "ccdd" - ], - "n2Interface": { - "ipv4Address": "10.28.128.2", - "ipv4Subnet": "10.28.128.0/24", - "ipv4Gateway": "10.28.128.1" - } - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json deleted file mode 100644 index 8849fd6d438f..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "tacList": [ - "aabb", - "ccdd" - ], - "n2Interface": { - "ipv4Address": "10.28.128.2", - "ipv4Subnet": "10.28.128.0/24", - "ipv4Gateway": "10.28.128.1" - } - } - } - ], - "nextLink": "nextLink" - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json deleted file mode 100644 index 9b838470141a..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "tacList": [ - "aabb", - "ccdd" - ], - "n2Interface": { - "ipv4Address": "10.28.128.2", - "ipv4Subnet": "10.28.128.0/24", - "ipv4Gateway": "10.28.128.1" - } - } - } - ], - "nextLink": "nextLink" - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json deleted file mode 100644 index b58a2be89af9..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "tacList": [ - "aabb", - "ccdd" - ], - "n2Interface": { - "ipv4Address": "10.28.128.2", - "ipv4Subnet": "10.28.128.0/24", - "ipv4Gateway": "10.28.128.1" - } - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneCreate.json deleted file mode 100644 index a895e5676746..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneCreate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "packetCoreControlPlaneName": "testPacketCoreCP", - "packetCoreDataPlaneName": "testPacketCoreDP", - "parameters": { - "location": "eastus", - "properties": { - "n3Interface": { - "ipv4Address": "10.28.129.2", - "ipv4Subnet": "10.28.129.0/24", - "ipv4Gateway": "10.28.129.1" - } - } - } - }, - "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", - "n3Interface": { - "ipv4Address": "10.28.129.2", - "ipv4Subnet": "10.28.129.0/24", - "ipv4Gateway": "10.28.129.1" - } - } - } - }, - "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", - "n3Interface": { - "ipv4Address": "10.28.129.2", - "ipv4Subnet": "10.28.129.0/24", - "ipv4Gateway": "10.28.129.1" - } - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneDelete.json deleted file mode 100644 index 52fc3ca7bfcd..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "packetCoreControlPlaneName": "testPacketCoreCP", - "packetCoreDataPlaneName": "testPacketCoreDP" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneGet.json deleted file mode 100644 index f2ed8f8f3847..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneGet.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "n3Interface": { - "ipv4Address": "10.28.129.2", - "ipv4Subnet": "10.28.129.0/24", - "ipv4Gateway": "10.28.129.1" - } - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json deleted file mode 100644 index 6dd61d67359f..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "n3Interface": { - "ipv4Address": "10.28.129.2", - "ipv4Subnet": "10.28.129.0/24", - "ipv4Gateway": "10.28.129.1" - } - } - } - ], - "nextLink": "nextLink" - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json deleted file mode 100644 index 95712cbb07d5..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "n3Interface": { - "ipv4Address": "10.28.129.2", - "ipv4Subnet": "10.28.129.0/24", - "ipv4Gateway": "10.28.129.1" - } - } - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceCreate.json deleted file mode 100644 index 773c7be9cfa8..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceCreate.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/ServiceDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceDelete.json deleted file mode 100644 index a338e5d5b007..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "mobileNetworkName": "testMobileNetwork", - "serviceName": "TestService" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceGet.json deleted file mode 100644 index 1409a9571add..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceGet.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/ServiceListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceListByMobileNetwork.json deleted file mode 100644 index b7cdda6fb96b..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceListByMobileNetwork.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/ServiceUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceUpdateTags.json deleted file mode 100644 index 3fe0ab11e51e..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/ServiceUpdateTags.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/SimActivate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimActivate.json deleted file mode 100644 index e2d6de2b7587..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimActivate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "testResourceGroupName", - "simName": "testSimName" - }, - "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", - "activationState": "Activated", - "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" - } - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.MobileNetwork/locations/testLocation/operationStatuses/testOperation?api-version=2021-04-01-preview" - }, - "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", - "activationState": "Activating", - "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/2021-04-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimCreate.json deleted file mode 100644 index 528216908dde..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimCreate.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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" - } - } - } - }, - "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", - "activationState": "Activating", - "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" - } - } - } - }, - "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", - "activationState": "Activating", - "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/2021-04-01-preview/examples/SimDeactivate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimDeactivate.json deleted file mode 100644 index c5b18f85848f..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimDeactivate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "testResourceGroupName", - "simName": "testSim" - }, - "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", - "activationState": "Deactivated", - "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" - } - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.MobileNetwork/locations/testLocation/operationStatuses/testOperation?api-version=2021-04-01-preview" - }, - "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", - "activationState": "Deactivating", - "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/2021-04-01-preview/examples/SimDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimDelete.json deleted file mode 100644 index 9503d5fa3c51..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "testResourceGroupName", - "simName": "testSim" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimGet.json deleted file mode 100644 index aa9de76ff88e..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimGet.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "activationState": "Activating", - "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/2021-04-01-preview/examples/SimIdListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimIdListByMobileNetwork.json deleted file mode 100644 index f11b56e38866..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimIdListByMobileNetwork.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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=2021-04-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/2021-04-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListByResourceGroup.json deleted file mode 100644 index 66f3bd3d78d9..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListByResourceGroup.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "activationState": "Activating", - "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/2021-04-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListBySubscription.json deleted file mode 100644 index e7ac3140b62e..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimListBySubscription.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "activationState": "Activating", - "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/2021-04-01-preview/examples/SimPolicyCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyCreate.json deleted file mode 100644 index 9829a0a15610..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyCreate.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/SimPolicyDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyDelete.json deleted file mode 100644 index 0e301134d43e..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "mobileNetworkName": "testMobileNetwork", - "simPolicyName": "testPolicy" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyGet.json deleted file mode 100644 index efcd81abe496..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyGet.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/SimPolicyListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyListByMobileNetwork.json deleted file mode 100644 index 6f4593be9d3f..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyListByMobileNetwork.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/SimPolicyUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyUpdateTags.json deleted file mode 100644 index 5ae7b9564969..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimPolicyUpdateTags.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimUpdateTags.json deleted file mode 100644 index 98cd55bb776c..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SimUpdateTags.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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", - "activationState": "Activating", - "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/2021-04-01-preview/examples/SiteCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteCreate.json deleted file mode 100644 index c05b98b6eaf0..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteCreate.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/SiteDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteDelete.json deleted file mode 100644 index e01049373511..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "mobileNetworkName": "testMobileNetwork", - "siteName": "testSite" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteGet.json deleted file mode 100644 index aeb3ba70f491..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteGet.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/SiteListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteListByMobileNetwork.json deleted file mode 100644 index ef8d1c36a2b9..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteListByMobileNetwork.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/SiteUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteUpdateTags.json deleted file mode 100644 index 445b6aaed8d7..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SiteUpdateTags.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/SliceCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceCreate.json deleted file mode 100644 index f0a14d75ac83..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceCreate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/SliceDelete.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceDelete.json deleted file mode 100644 index 88b500c88734..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceDelete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "rg1", - "mobileNetworkName": "testMobileNetwork", - "sliceName": "testSlice" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceGet.json deleted file mode 100644 index f2845e172136..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceGet.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/SliceListByMobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceListByMobileNetwork.json deleted file mode 100644 index 677c3b54cfe7..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceListByMobileNetwork.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/examples/SliceUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceUpdateTags.json deleted file mode 100644 index 497a0ee8c939..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/examples/SliceUpdateTags.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-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/2021-04-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/mobileNetwork.json deleted file mode 100644 index 96702fe9d1c6..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/mobileNetwork.json +++ /dev/null @@ -1,1256 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "MobileNetworkManagementClient", - "description": "The resources in this swagger specification will be used to manage mobile network resources", - "version": "2021-04-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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/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": "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/v2/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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List sims in a resource group": { - "$ref": "./examples/SimListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/activate": { - "post": { - "tags": [ - "Sims" - ], - "operationId": "Sims_Activate", - "description": "Activates the specified sim.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./common.json#/parameters/SimNameParameter" - } - ], - "responses": { - "200": { - "description": "Sim activation successful.", - "schema": { - "$ref": "#/definitions/Sim" - } - }, - "202": { - "description": "Accepted. Sets 'Activating' in activationState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation.", - "schema": { - "$ref": "#/definitions/Sim" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Activate a sim": { - "$ref": "./examples/SimActivate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/deactivate": { - "post": { - "tags": [ - "Sims" - ], - "operationId": "Sims_Deactivate", - "description": "Deactivates the specified sim.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./common.json#/parameters/SimNameParameter" - } - ], - "responses": { - "200": { - "description": "Sim deactivation successful.", - "schema": { - "$ref": "#/definitions/Sim" - } - }, - "202": { - "description": "Accepted. Sets 'Deactivating' in activationState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation.", - "schema": { - "$ref": "#/definitions/Sim" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Deactivate a sim": { - "$ref": "./examples/SimDeactivate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - } - }, - "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/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "Metadata pertaining to creation and last modification of the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "Metadata pertaining to creation and last modification of the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/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." - }, - "activationState": { - "readOnly": true, - "$ref": "./common.json#/definitions/ActivationState", - "description": "The activation state of the sim resource." - }, - "internationalMobileSubscriberIdentity": { - "type": "string", - "pattern": "^[0-9]{5,15}$", - "x-ms-mutability": [ - "create", - "read" - ], - "description": "The International Mobile Subscriber Identity (IMSI) for the sim." - }, - "integratedCircuitCardIdentifier": { - "type": "string", - "pattern": "^89[0-9]{17,18}$", - "description": "The Integrated Circuit Card ID (ICC Id) for the sim." - }, - "authenticationKey": { - "type": "string", - "pattern": "^[0-9a-fA-F]{32}$", - "x-ms-secret": true, - "x-ms-mutability": [ - "create", - "update" - ], - "description": "The ki value for the sim." - }, - "operatorKeyCode": { - "type": "string", - "pattern": "^[0-9a-fA-F]{32}$", - "x-ms-secret": true, - "x-ms-mutability": [ - "create", - "update" - ], - "description": "The Opc value for the sim." - }, - "mobileNetwork": { - "$ref": "./common.json#/definitions/MobileNetworkResourceId", - "description": "Mobile network that this sim belongs to" - }, - "deviceType": { - "type": "string", - "description": "An optional free-form text field that can be used to record the device type this sim is associated with, for example 'Video camera'. The Azure portal allows Sims to be grouped and filtered based on this value." - }, - "simPolicy": { - "$ref": "./common.json#/definitions/SimPolicyResourceId", - "description": "The simPolicy used by this sim." - } - }, - "required": [ - "internationalMobileSubscriberIdentity" - ] - }, - "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/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "Metadata pertaining to creation and last modification of the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/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/2021-04-01-preview/operation.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/operation.json deleted file mode 100644 index f71eec306675..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/operation.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "MobileNetworkManagementClient", - "description": "The resources in this swagger specification will be used to manage the operations.", - "version": "2021-04-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/v2/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/v2/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." - }, - "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/2021-04-01-preview/packetCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreControlPlane.json deleted file mode 100644 index fe7f4458471f..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreControlPlane.json +++ /dev/null @@ -1,406 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "MobileNetworkManagementClient", - "description": "The resources in this swagger specification will be used to manage packet core control plane resources", - "version": "2021-04-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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "Metadata pertaining to creation and last modification of the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/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." - }, - "tacList": { - "type": "array", - "items": { - "$ref": "./ts29571.json#/definitions/Tac" - }, - "minItems": 1, - "uniqueItems": true, - "description": "The list of tracking area codes supported by the packet core control plane resource." - }, - "n2Interface": { - "$ref": "./common.json#/definitions/InterfaceProperties", - "description": "Interface configuration for N2 reference point." - } - }, - "required": [ - "mobileNetwork", - "tacList", - "n2Interface" - ] - }, - "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/2021-04-01-preview/packetCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreDataPlane.json deleted file mode 100644 index 3ad9caf2c336..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreDataPlane.json +++ /dev/null @@ -1,355 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "MobileNetworkManagementClient", - "description": "The resources in this swagger specification will be used to manage packet core data plane resources", - "version": "2021-04-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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" - }, - { - "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" - }, - { - "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "Metadata pertaining to creation and last modification of the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/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." - }, - "n3Interface": { - "$ref": "./common.json#/definitions/InterfaceProperties", - "description": "Interface configuration for N3 reference point." - } - }, - "required": [ - "n3Interface" - ] - }, - "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/2021-04-01-preview/service.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/service.json deleted file mode 100644 index 559312d15e8e..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/service.json +++ /dev/null @@ -1,539 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "MobileNetworkManagementClient", - "description": "The resources in this swagger specification will be used to manage service resources", - "version": "2021-04-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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./common.json#/parameters/MobileNetworkNameParameter" - }, - { - "$ref": "./common.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./common.json#/parameters/MobileNetworkNameParameter" - }, - { - "$ref": "./common.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./common.json#/parameters/ServiceNameParameter" - }, - { - "$ref": "./common.json#/parameters/MobileNetworkNameParameter" - }, - { - "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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/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" - }, - { - "$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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./common.json#/parameters/MobileNetworkNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "Metadata pertaining to creation and last modification of the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/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 - } - }, - "required": [ - "servicePrecedence", - "pccRules" - ] - }, - "PccRuleConfiguration": { - "description": "PCC rule configuration", - "type": "object", - "properties": { - "ruleName": { - "description": "The name of the 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 - }, - "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 - } - }, - "required": [ - "ruleName", - "rulePrecedence", - "serviceDataFlowTemplates" - ] - }, - "ServiceDataFlowTemplate": { - "description": "Service data flow (SDF) template", - "type": "object", - "properties": { - "templateName": { - "description": "The name of the SDF template. 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 - } - }, - "SdfDirection": { - "type": "string", - "description": "Service data flow direction.", - "enum": [ - "Uplink", - "Downlink", - "Bidirectional" - ], - "x-ms-enum": { - "name": "SdfDirection", - "modelAsString": true - } - } - } -} diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/simPolicy.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/simPolicy.json deleted file mode 100644 index bcda9ccec78a..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/simPolicy.json +++ /dev/null @@ -1,469 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "MobileNetworkManagementClient", - "description": "The resources in this swagger specification will be used to manage sim policy resources", - "version": "2021-04-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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./common.json#/parameters/MobileNetworkNameParameter" - }, - { - "$ref": "./common.json#/parameters/SimPolicyNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./common.json#/parameters/MobileNetworkNameParameter" - }, - { - "$ref": "./common.json#/parameters/SimPolicyNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/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" - }, - { - "$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/v2/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/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./common.json#/parameters/MobileNetworkNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "Metadata pertaining to creation and last modification of the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/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 - } - }, - "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 - } - }, - "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/2021-04-01-preview/slice.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/slice.json deleted file mode 100644 index bfb7ddcc7fcf..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/slice.json +++ /dev/null @@ -1,359 +0,0 @@ -{ - "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": "2021-04-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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/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" - }, - { - "$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/v2/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/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/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/v2/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/v2/types.json#/definitions/systemData", - "readOnly": true, - "description": "Metadata pertaining to creation and last modification of the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/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/2021-04-01-preview/ts29571.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/ts29571.json deleted file mode 100644 index ffeaece91855..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2021-04-01-preview/ts29571.json +++ /dev/null @@ -1,297 +0,0 @@ -{ - "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": "2021-04-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 - } - }, - "PreemptionVulnerability": { - "type": "string", - "description": "Preemption vulnerability.", - "enum": [ - "NotPreemptable", - "Preemptable" - ], - "x-ms-enum": { - "name": "PreemptionVulnerability", - "modelAsString": true - } - }, - "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 - } - }, - "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 - } - }, - "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" - ] - } - } -} From bb88231a2be9ac46ed389e92a46343bfca8da492 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Wed, 9 Feb 2022 18:39:38 +0530 Subject: [PATCH 03/19] Addressed Swagger Avocado and Swagger SpellCheck Errors --- custom-words.txt | 18 ++++++++++- .../mobilenetwork/resource-manager/readme.md | 30 ------------------- 2 files changed, 17 insertions(+), 31 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index 27168567e77b..5135133d6795 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -2470,4 +2470,20 @@ testrun loadtest xvalue yvalue -servermetrics \ No newline at end of file +servermetrics +napt +Napt +NAPT +Plmn +IMSI +UE's +Preemptable +Ambr +AMBR +rfsp +Rfsp +snssai +Snssai +NSSAI +Tbps +Vuln \ No newline at end of file diff --git a/specification/mobilenetwork/resource-manager/readme.md b/specification/mobilenetwork/resource-manager/readme.md index c0acc37a49d1..bd9d13c2d9c0 100644 --- a/specification/mobilenetwork/resource-manager/readme.md +++ b/specification/mobilenetwork/resource-manager/readme.md @@ -49,36 +49,6 @@ input-file: - Microsoft.MobileNetwork/preview/2022-01-01-preview/ts29571.json ``` -### Tag: package-2021-04-01-preview - -These settings apply only when `--tag=package-2021-04-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2021-04-01-preview' -input-file: - - Microsoft.MobileNetwork/preview/2021-04-01-preview/attachedDataNetwork.json - - Microsoft.MobileNetwork/preview/2021-04-01-preview/common.json - - Microsoft.MobileNetwork/preview/2021-04-01-preview/dataNetwork.json - - Microsoft.MobileNetwork/preview/2021-04-01-preview/mobileNetwork.json - - Microsoft.MobileNetwork/preview/2021-04-01-preview/operation.json - - Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreControlPlane.json - - Microsoft.MobileNetwork/preview/2021-04-01-preview/packetCoreDataPlane.json - - Microsoft.MobileNetwork/preview/2021-04-01-preview/service.json - - Microsoft.MobileNetwork/preview/2021-04-01-preview/simPolicy.json - - Microsoft.MobileNetwork/preview/2021-04-01-preview/slice.json - - Microsoft.MobileNetwork/preview/2021-04-01-preview/ts29571.json -``` - -### Tag: package-2020-06-01-preview - -These settings apply only when `--tag=package-2020-06-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2020-06-01-preview' -input-file: - - Microsoft.MobileNetwork/preview/2020-06-01-preview/common.json - - Microsoft.MobileNetwork/preview/2020-06-01-preview/operation.json - - Microsoft.MobileNetwork/preview/2020-06-01-preview/mobileNetwork.json -``` - --- # Code Generation From 11a774fb4801ef3d71f44293924528d5dae63395 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Wed, 9 Feb 2022 22:47:11 +0530 Subject: [PATCH 04/19] Addressed Parameters Order Errors --- .../attachedDataNetwork.json | 30 +++++++++---------- .../preview/2022-01-01-preview/service.json | 4 +-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json index 66df91f98f04..e85d095fb31c 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json @@ -42,6 +42,9 @@ "operationId": "AttachedDataNetworks_Delete", "description": "Deletes the specified attached data network.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, { "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" }, @@ -51,9 +54,6 @@ { "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, @@ -95,6 +95,9 @@ "operationId": "AttachedDataNetworks_Get", "description": "Gets information about the specified attached data network.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, { "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" }, @@ -104,9 +107,6 @@ { "$ref": "./common.json#/parameters/AttachedDataNetworkNameParameter" }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, @@ -141,6 +141,9 @@ "operationId": "AttachedDataNetworks_CreateOrUpdate", "description": "Creates or updates an attached data network.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, { "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" }, @@ -159,9 +162,6 @@ }, "description": "Parameters supplied to the create or update attached data network operation." }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, @@ -206,6 +206,9 @@ "operationId": "AttachedDataNetworks_UpdateTags", "description": "Updates an attached data network update tags.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, { "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" }, @@ -224,9 +227,6 @@ }, "description": "Parameters supplied to update attached data network tags." }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, @@ -264,13 +264,13 @@ "description": "Gets all the data networks associated with a packet core data plane.", "parameters": [ { - "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" + "$ref": "./common.json#/parameters/PacketCoreControlPlaneNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "./common.json#/parameters/PacketCoreDataPlaneNameParameter" }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json index a2d57b0f084b..48487e83db3e 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json @@ -139,10 +139,10 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { - "$ref": "./common.json#/parameters/ServiceNameParameter" + "$ref": "./common.json#/parameters/MobileNetworkNameParameter" }, { - "$ref": "./common.json#/parameters/MobileNetworkNameParameter" + "$ref": "./common.json#/parameters/ServiceNameParameter" }, { "name": "parameters", From f88a7f718d3ee09bf17e80f8b4ce88e3c1a10dd1 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Wed, 9 Feb 2022 23:25:51 +0530 Subject: [PATCH 05/19] Merge azure-rest-api-specs-pr branch ssivathas/mobilenetwork-public-api into satravi/mobilenetwork-rest-api-specs --- .../preview/2022-01-01-preview/common.json | 15 --- .../PacketCoreControlPlaneCreate.json | 12 -- .../examples/PacketCoreControlPlaneGet.json | 4 - ...etCoreControlPlaneListByResourceGroup.json | 4 - ...ketCoreControlPlaneListBySubscription.json | 4 - .../PacketCoreControlPlaneUpdateTags.json | 4 - .../examples/SimCreate.json | 4 +- .../2022-01-01-preview/examples/SimGet.json | 2 +- .../examples/SimListByResourceGroup.json | 2 +- .../examples/SimListBySubscription.json | 2 +- .../examples/SimUpdateTags.json | 2 +- .../2022-01-01-preview/mobileNetwork.json | 104 ------------------ .../packetCoreControlPlane.json | 10 -- 13 files changed, 6 insertions(+), 163 deletions(-) diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json index 075736832f85..ebc4e90364e1 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json @@ -175,10 +175,7 @@ "readOnly": true, "description": "The current activation state of the Sim on the network.", "enum": [ - "NotActivated", "Activated", - "Activating", - "Deactivating", "Deactivated", "Failed" ], @@ -193,18 +190,6 @@ "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": [ diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneCreate.json index c2a7c6302a80..e997af1b8b58 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneCreate.json @@ -15,10 +15,6 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "tacList": [ - "aabb", - "ccdd" - ], "n2Interface": { "name": "N2" } @@ -51,10 +47,6 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "tacList": [ - "aabb", - "ccdd" - ], "n2Interface": { "name": "N2" } @@ -86,10 +78,6 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "tacList": [ - "aabb", - "ccdd" - ], "n2Interface": { "name": "N2" } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneGet.json index 1140e8a48609..fbeb5102e989 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneGet.json @@ -31,10 +31,6 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "tacList": [ - "aabb", - "ccdd" - ], "n2Interface": { "name": "N2" } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json index 63dc1ffb76d0..73351a8bf330 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json @@ -32,10 +32,6 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "tacList": [ - "aabb", - "ccdd" - ], "n2Interface": { "name": "N2" } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListBySubscription.json index ea05ab4c257d..55085b06e649 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListBySubscription.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListBySubscription.json @@ -31,10 +31,6 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "tacList": [ - "aabb", - "ccdd" - ], "n2Interface": { "name": "N2" } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneUpdateTags.json index e6e0dee76aba..c75169dd5e0a 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneUpdateTags.json @@ -40,10 +40,6 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "tacList": [ - "aabb", - "ccdd" - ], "n2Interface": { "name": "N2" } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json index d4935c1370f8..5274b4aba048 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json @@ -38,7 +38,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "activationState": "Activating", + "activationState": "Activated", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { @@ -67,7 +67,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "activationState": "Activating", + "activationState": "Activated", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json index 296f344149ac..a61fc504072c 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json @@ -22,7 +22,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "activationState": "Activating", + "activationState": "Activated", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json index 0678c2e229c8..b62d721ba734 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json @@ -23,7 +23,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "activationState": "Activating", + "activationState": "Activated", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json index 34d3cb342736..0ef3e61a5c1e 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json @@ -22,7 +22,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "activationState": "Activating", + "activationState": "Activated", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json index 6788fd6be6e6..d8c6bf368414 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json @@ -32,7 +32,7 @@ }, "properties": { "provisioningState": "Succeeded", - "activationState": "Activating", + "activationState": "Activated", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json index 41a864cee5d1..a43d0676f68d 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json @@ -895,110 +895,6 @@ "nextLinkName": "nextLink" } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/activate": { - "post": { - "tags": [ - "Sims" - ], - "operationId": "Sims_Activate", - "description": "Activates the specified sim.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./common.json#/parameters/SimNameParameter" - } - ], - "responses": { - "200": { - "description": "Sim activation successful.", - "schema": { - "$ref": "#/definitions/Sim" - } - }, - "202": { - "description": "Accepted. Sets 'Activating' in activationState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation.", - "schema": { - "$ref": "#/definitions/Sim" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Activate a sim": { - "$ref": "./examples/SimActivate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MobileNetwork/sims/{simName}/deactivate": { - "post": { - "tags": [ - "Sims" - ], - "operationId": "Sims_Deactivate", - "description": "Deactivates the specified sim.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./common.json#/parameters/SimNameParameter" - } - ], - "responses": { - "200": { - "description": "Sim deactivation successful.", - "schema": { - "$ref": "#/definitions/Sim" - } - }, - "202": { - "description": "Accepted. Sets 'Deactivating' in activationState until the operation completes. Returns an operation URI that can be queried to find the current state of the operation.", - "schema": { - "$ref": "#/definitions/Sim" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Deactivate a sim": { - "$ref": "./examples/SimDeactivate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } } }, "definitions": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreControlPlane.json index 7c94f56d98ad..abd1a78ad535 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreControlPlane.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreControlPlane.json @@ -364,15 +364,6 @@ "type": "string", "description": "The version of the packet core software that is deployed." }, - "tacList": { - "type": "array", - "items": { - "$ref": "./ts29571.json#/definitions/Tac" - }, - "minItems": 1, - "uniqueItems": true, - "description": "The list of tracking area codes supported by the packet core control plane resource." - }, "n2Interface": { "$ref": "./common.json#/definitions/InterfaceProperties", "description": "Interface configuration for N2 reference point." @@ -380,7 +371,6 @@ }, "required": [ "mobileNetwork", - "tacList", "n2Interface" ] }, From 34a572b37d8cb75e7ec85571bbf4c415573c2c15 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Thu, 10 Feb 2022 17:07:19 +0530 Subject: [PATCH 06/19] Removed Unreferenced JSON Files --- .../examples/SimActivate.json | 71 ------------------- .../examples/SimDeactivate.json | 71 ------------------- 2 files changed, 142 deletions(-) delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimActivate.json delete mode 100644 specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimDeactivate.json diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimActivate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimActivate.json deleted file mode 100644 index ff6895a3fc64..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimActivate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "api-version": "2022-01-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "testResourceGroupName", - "simName": "testSimName" - }, - "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", - "activationState": "Activated", - "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" - } - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.MobileNetwork/locations/testLocation/operationStatuses/testOperation?api-version=2022-01-01-preview" - }, - "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", - "activationState": "Activating", - "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-01-01-preview/examples/SimDeactivate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimDeactivate.json deleted file mode 100644 index b52948c34266..000000000000 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimDeactivate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "api-version": "2022-01-01-preview", - "subscriptionId": "subid", - "resourceGroupName": "testResourceGroupName", - "simName": "testSim" - }, - "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", - "activationState": "Deactivated", - "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" - } - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.MobileNetwork/locations/testLocation/operationStatuses/testOperation?api-version=2022-01-01-preview" - }, - "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", - "activationState": "Deactivating", - "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" - } - } - } - } - } -} From fcbb07c92d8d8b74ab23ca1d9f036e994bb3dc20 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Wed, 16 Feb 2022 00:41:54 +0530 Subject: [PATCH 07/19] Added support for Static IP Addressing to PMN --- .../attachedDataNetwork.json | 14 ++++-- .../preview/2022-01-01-preview/common.json | 15 +++++++ .../examples/AttachedDataNetworkCreate.json | 18 +++++--- .../examples/AttachedDataNetworkGet.json | 6 ++- ...dDataNetworkListByPacketCoreDataPlane.json | 6 ++- .../AttachedDataNetworkUpdateTags.json | 6 ++- .../examples/SimCreate.json | 45 +++++++++++++++++-- .../2022-01-01-preview/examples/SimGet.json | 15 ++++++- .../examples/SimListByResourceGroup.json | 15 ++++++- .../examples/SimListBySubscription.json | 15 ++++++- .../examples/SimUpdateTags.json | 15 ++++++- .../2022-01-01-preview/mobileNetwork.json | 31 +++++++++++++ 12 files changed, 179 insertions(+), 22 deletions(-) diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json index e85d095fb31c..27b7571fb2e3 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json @@ -354,12 +354,20 @@ }, "minItems": 1, "uniqueItems": true, - "description": "The user equipment address pool prefixes for the attached data network." + "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": [ - "n6Interface", - "userEquipmentAddressPoolPrefix" + "n6Interface" ] }, "AttachedDataNetworkListResult": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json index ebc4e90364e1..48043cb345f6 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json @@ -64,6 +64,21 @@ "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": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json index 4b69773740b3..4340a7c261e6 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json @@ -30,8 +30,10 @@ } }, "userEquipmentAddressPoolPrefix": [ - "2.2.0.0/16", - "2.3.0.0/16" + "2.2.0.0/16" + ], + "userEquipmentStaticAddressPoolPrefix": [ + "2.4.0.0/16" ] } } @@ -74,8 +76,10 @@ } }, "userEquipmentAddressPoolPrefix": [ - "2.2.0.0/16", - "2.3.0.0/16" + "2.2.0.0/16" + ], + "userEquipmentStaticAddressPoolPrefix": [ + "2.4.0.0/16" ] } } @@ -117,8 +121,10 @@ } }, "userEquipmentAddressPoolPrefix": [ - "2.2.0.0/16", - "2.3.0.0/16" + "2.2.0.0/16" + ], + "userEquipmentStaticAddressPoolPrefix": [ + "2.4.0.0/16" ] } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json index 37afd77374e3..83b80778c9c4 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json @@ -46,8 +46,10 @@ } }, "userEquipmentAddressPoolPrefix": [ - "2.2.0.0/16", - "2.3.0.0/16" + "2.2.0.0/16" + ], + "userEquipmentStaticAddressPoolPrefix": [ + "2.4.0.0/16" ] } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json index 0a8beb951d26..1e362c58a463 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json @@ -47,8 +47,10 @@ } }, "userEquipmentAddressPoolPrefix": [ - "2.2.0.0/16", - "2.3.0.0/16" + "2.2.0.0/16" + ], + "userEquipmentStaticAddressPoolPrefix": [ + "2.4.0.0/16" ] } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json index 4ae11e88841e..6d71cd78797e 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json @@ -55,8 +55,10 @@ } }, "userEquipmentAddressPoolPrefix": [ - "2.2.0.0/16", - "2.3.0.0/16" + "2.2.0.0/16" + ], + "userEquipmentStaticAddressPoolPrefix": [ + "2.4.0.0/16" ] } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json index 5274b4aba048..0465c4d20fd1 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json @@ -17,7 +17,20 @@ "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/packetCoresControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + }, + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "staticIp": { + "ipv4Address": "2.4.0.1" + } + } + ] } } }, @@ -47,7 +60,20 @@ "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/packetCoresControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + }, + "slice": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork/slices/testSlice" + }, + "staticIp": { + "ipv4Address": "2.4.0.1" + } + } + ] } } }, @@ -76,7 +102,20 @@ "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/packetCoresControlPlanes/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-01-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json index a61fc504072c..d237323b089e 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json @@ -31,7 +31,20 @@ "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/packetCoresControlPlanes/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-01-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json index b62d721ba734..0c78272a26f1 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json @@ -32,7 +32,20 @@ "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/packetCoresControlPlanes/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-01-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json index 0ef3e61a5c1e..2d9ee81c54f0 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json @@ -31,7 +31,20 @@ "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/packetCoresControlPlanes/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-01-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json index d8c6bf368414..96ae7e7a7acf 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json @@ -41,7 +41,20 @@ "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/packetCoresControlPlanes/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-01-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json index a43d0676f68d..87556ea7ed76 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json @@ -1048,12 +1048,43 @@ "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}." } }, "required": [ "internationalMobileSubscriberIdentity" ] }, + "SimStaticIpProperties": { + "type": "object", + "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", + "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": { From 39f88ac5659336f86c6691f1a63d6743d85bfed9 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Wed, 16 Feb 2022 13:31:34 +0530 Subject: [PATCH 08/19] Addressed Swagger PrettierCheck Errors --- .../preview/2022-01-01-preview/mobileNetwork.json | 2 +- specification/mobilenetwork/resource-manager/readme.go.md | 2 +- specification/mobilenetwork/resource-manager/readme.ruby.md | 2 +- .../mobilenetwork/resource-manager/readme.typescript.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json index 87556ea7ed76..afc9743aa344 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json @@ -1071,7 +1071,7 @@ "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", + "$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": { diff --git a/specification/mobilenetwork/resource-manager/readme.go.md b/specification/mobilenetwork/resource-manager/readme.go.md index 0060f934730b..fc1cea847ee8 100644 --- a/specification/mobilenetwork/resource-manager/readme.go.md +++ b/specification/mobilenetwork/resource-manager/readme.go.md @@ -10,7 +10,7 @@ go: ### Go multi-api -``` yaml $(go) && $(multiapi) +```yaml $(go) && $(multiapi) batch: - tag: package-2022-01-01-preview - tag: package-2021-04-01-preview diff --git a/specification/mobilenetwork/resource-manager/readme.ruby.md b/specification/mobilenetwork/resource-manager/readme.ruby.md index fafcac6cc51c..0d3e8b2d0fdb 100644 --- a/specification/mobilenetwork/resource-manager/readme.ruby.md +++ b/specification/mobilenetwork/resource-manager/readme.ruby.md @@ -16,4 +16,4 @@ Please also specify `--ruby-sdks-folder=`. -``` yaml $(typescript) +```yaml $(typescript) typescript: azure-arm: true package-name: "@azure/arm-mobilenetwork" From ea2564a8c7b3f5475776a767d249675dee103e64 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Wed, 16 Feb 2022 14:01:53 +0530 Subject: [PATCH 09/19] Addressed Swagger ModelValidation Errors --- .../preview/2022-01-01-preview/examples/SimCreate.json | 6 +++--- .../preview/2022-01-01-preview/examples/SimGet.json | 2 +- .../2022-01-01-preview/examples/SimListByResourceGroup.json | 2 +- .../2022-01-01-preview/examples/SimListBySubscription.json | 2 +- .../preview/2022-01-01-preview/examples/SimUpdateTags.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json index 0465c4d20fd1..4821e0c99de2 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json @@ -21,7 +21,7 @@ "staticIpConfiguration": [ { "attachedDataNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoresControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + "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" @@ -64,7 +64,7 @@ "staticIpConfiguration": [ { "attachedDataNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoresControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + "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" @@ -106,7 +106,7 @@ "staticIpConfiguration": [ { "attachedDataNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoresControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + "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" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json index d237323b089e..8c049cccc32b 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json @@ -35,7 +35,7 @@ "staticIpConfiguration": [ { "attachedDataNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoresControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + "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" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json index 0c78272a26f1..b7d41455e755 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json @@ -36,7 +36,7 @@ "staticIpConfiguration": [ { "attachedDataNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoresControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + "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" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json index 2d9ee81c54f0..7c9e2673f765 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json @@ -35,7 +35,7 @@ "staticIpConfiguration": [ { "attachedDataNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoresControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + "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" diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json index 96ae7e7a7acf..89d1549c96c5 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json @@ -45,7 +45,7 @@ "staticIpConfiguration": [ { "attachedDataNetwork": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/packetCoresControlPlanes/TestPacketCoreCP/packetCoreDataPlanes/TestPacketCoreDP/attachedDataNetworks/TestAttachedDataNetwork" + "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" From c4ddb1f872fd6191ebff60e90631ce92ef39dab6 Mon Sep 17 00:00:00 2001 From: ArcturusZhang Date: Thu, 17 Feb 2022 08:35:52 +0800 Subject: [PATCH 10/19] change go config to track 2 --- .../resource-manager/readme.go.md | 49 +++---------------- .../mobilenetwork/resource-manager/readme.md | 2 +- 2 files changed, 7 insertions(+), 44 deletions(-) diff --git a/specification/mobilenetwork/resource-manager/readme.go.md b/specification/mobilenetwork/resource-manager/readme.go.md index fc1cea847ee8..18de44ea839f 100644 --- a/specification/mobilenetwork/resource-manager/readme.go.md +++ b/specification/mobilenetwork/resource-manager/readme.go.md @@ -2,47 +2,10 @@ These settings apply only when `--go` is specified on the command line. -```yaml $(go) -go: - license-header: MICROSOFT_APACHE_NO_VERSION - clear-output-folder: true -``` - -### Go multi-api - -```yaml $(go) && $(multiapi) -batch: - - tag: package-2022-01-01-preview - - tag: package-2021-04-01-preview - - tag: package-2020-06-01-preview -``` - -### Tag: package-2022-01-01-preview and go - -These settings apply only when `--tag=package-2022-01-01-preview --go` is specified on the command line. -Please also specify `--go-sdks-folder=`. - -```yaml $(tag) == 'package-2022-01-01-preview' && $(go) -namespace: mobilenetwork -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2022-01-01-preview/$(namespace) -``` - -### Tag: package-2021-04-01-preview and go - -These settings apply only when `--tag=package-2021-04-01-preview --go` is specified on the command line. -Please also specify `--go-sdks-folder=`. - -```yaml $(tag) == 'package-2021-04-01-preview' && $(go) -namespace: mobilenetwork -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-04-01-preview/$(namespace) -``` - -### Tag: package-2020-06-01-preview and go - -These settings apply only when `--tag=package-2020-06-01-preview --go` is specified on the command line. -Please also specify `--go-sdks-folder=`. - -```yaml $(tag) == 'package-2020-06-01-preview' && $(go) -namespace: mobilenetwork -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-06-01-preview/$(namespace) +``` yaml $(go) && $(track2) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/mobilenetwork/armmobilenetwork +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true ``` diff --git a/specification/mobilenetwork/resource-manager/readme.md b/specification/mobilenetwork/resource-manager/readme.md index bd9d13c2d9c0..fb55be0e8d31 100644 --- a/specification/mobilenetwork/resource-manager/readme.md +++ b/specification/mobilenetwork/resource-manager/readme.md @@ -62,7 +62,7 @@ This is not used by Autorest itself. swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-java - - repo: azure-sdk-for-go + - repo: azure-sdk-for-go-track2 - repo: azure-sdk-for-js - repo: azure-sdk-for-ruby after_scripts: From dc15f6ed771ec78be2f2a7bae5d91c782ce76a2a Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Thu, 17 Feb 2022 09:57:04 +0530 Subject: [PATCH 11/19] Updated the API versions in SDK README files --- .../mobilenetwork/resource-manager/readme.python.md | 2 +- .../mobilenetwork/resource-manager/readme.ruby.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/mobilenetwork/resource-manager/readme.python.md b/specification/mobilenetwork/resource-manager/readme.python.md index 1294f91727d8..32737328a47e 100644 --- a/specification/mobilenetwork/resource-manager/readme.python.md +++ b/specification/mobilenetwork/resource-manager/readme.python.md @@ -10,7 +10,7 @@ python: payload-flattening-threshold: 2 namespace: Microsoft.MobileNetwork package-name: mobilenetwork - package-version: 2020-06-01-preview + package-version: 2022-01-01-preview clear-output-folder: true ``` diff --git a/specification/mobilenetwork/resource-manager/readme.ruby.md b/specification/mobilenetwork/resource-manager/readme.ruby.md index 0d3e8b2d0fdb..1360aa8e013a 100644 --- a/specification/mobilenetwork/resource-manager/readme.ruby.md +++ b/specification/mobilenetwork/resource-manager/readme.ruby.md @@ -4,16 +4,16 @@ These settings apply only when `--ruby` is specified on the command line. ```yaml package-name: azure_mgmt_mobilenetwork -package-version: 2020-06-01-preview +package-version: 2022-01-01-preview azure-arm: true ``` -### Tag: package-2020-06-01-preview and ruby +### Tag: package-2022-01-01-preview and ruby -These settings apply only when `--tag=package-2020-06-01-preview --ruby` is specified on the command line. +These settings apply only when `--tag=package-2022-01-01-preview --ruby` is specified on the command line. Please also specify `--ruby-sdks-folder=`. -```yaml $(tag) == 'package-2020-06-01-preview' && $(ruby) +```yaml $(tag) == 'package-2022-01-01-preview' && $(ruby) namespace: Microsoft.MobileNetwork output-folder: $(ruby-sdks-folder)/mobilenetwork ``` From 93123421f4b06cece50a751d5d15677adb6c48ad Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 17 Feb 2022 12:51:01 +0800 Subject: [PATCH 12/19] Update readme.python.md --- .../resource-manager/readme.python.md | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/specification/mobilenetwork/resource-manager/readme.python.md b/specification/mobilenetwork/resource-manager/readme.python.md index 32737328a47e..8fe8ac8ef45d 100644 --- a/specification/mobilenetwork/resource-manager/readme.python.md +++ b/specification/mobilenetwork/resource-manager/readme.python.md @@ -3,19 +3,21 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. -```yaml $(python) -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - namespace: Microsoft.MobileNetwork - package-name: mobilenetwork - package-version: 2022-01-01-preview - clear-output-folder: true +``` yaml $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-mobilenetwork +no-namespace-folders: true +package-version: 1.0.0b1 +clear-output-folder: true ``` -```yaml $(python) -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/azure-mgmt/mobilenetwork +``` yaml $(python-mode) == 'update' && $(track2) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/mobilenetwork/azure-mgmt-mobilenetwork/azure/mgmt/mobilenetwork +``` + +``` yaml $(python-mode) == 'create' && $(track2) +basic-setup-py: true +output-folder: $(python-sdks-folder)/mobilenetwork/azure-mgmt-mobilenetwork ``` From 912b00fec6fef7e50fe9df2447ace43cde08903c Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 17 Feb 2022 12:51:32 +0800 Subject: [PATCH 13/19] Update readme.md --- specification/mobilenetwork/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/mobilenetwork/resource-manager/readme.md b/specification/mobilenetwork/resource-manager/readme.md index fb55be0e8d31..940d0c2a18b8 100644 --- a/specification/mobilenetwork/resource-manager/readme.md +++ b/specification/mobilenetwork/resource-manager/readme.md @@ -60,7 +60,7 @@ This is not used by Autorest itself. ```yaml $(swagger-to-sdk) swagger-to-sdk: - - repo: azure-sdk-for-python + - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go-track2 - repo: azure-sdk-for-js From 9f5c3da2a1608780b7d94f948e375c8f530d9b80 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Thu, 17 Feb 2022 11:10:43 +0530 Subject: [PATCH 14/19] Updated ActivationState to ConfigurationState --- .../preview/2022-01-01-preview/common.json | 11 +++++------ .../2022-01-01-preview/examples/SimCreate.json | 4 ++-- .../preview/2022-01-01-preview/examples/SimGet.json | 2 +- .../examples/SimListByResourceGroup.json | 2 +- .../examples/SimListBySubscription.json | 2 +- .../2022-01-01-preview/examples/SimUpdateTags.json | 2 +- .../preview/2022-01-01-preview/mobileNetwork.json | 6 +++--- .../preview/2022-01-01-preview/service.json | 4 ++-- 8 files changed, 16 insertions(+), 17 deletions(-) diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json index 48043cb345f6..8f3cb0a086d1 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/common.json @@ -185,17 +185,16 @@ }, "description": "Tags object for patch operations." }, - "ActivationState": { + "ConfigurationState": { "type": "string", "readOnly": true, - "description": "The current activation state of the Sim on the network.", + "description": "The configuration state of the resource - complete or incomplete.", "enum": [ - "Activated", - "Deactivated", - "Failed" + "Incomplete", + "Complete" ], "x-ms-enum": { - "name": "ActivationState", + "name": "ConfigurationState", "modelAsString": true } }, diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json index 4821e0c99de2..60011b2b2892 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimCreate.json @@ -51,7 +51,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "activationState": "Activated", + "configurationState": "Complete", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { @@ -93,7 +93,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "activationState": "Activated", + "configurationState": "Complete", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json index 8c049cccc32b..c731818ffd4f 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimGet.json @@ -22,7 +22,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "activationState": "Activated", + "configurationState": "Complete", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json index b7d41455e755..ad0772a10161 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListByResourceGroup.json @@ -23,7 +23,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "activationState": "Activated", + "configurationState": "Complete", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json index 7c9e2673f765..b0719c1beff2 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimListBySubscription.json @@ -22,7 +22,7 @@ "location": "testLocation", "properties": { "provisioningState": "Succeeded", - "activationState": "Activated", + "configurationState": "Complete", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json index 89d1549c96c5..cc552993a9a7 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/SimUpdateTags.json @@ -32,7 +32,7 @@ }, "properties": { "provisioningState": "Succeeded", - "activationState": "Activated", + "configurationState": "Complete", "integratedCircuitCardIdentifier": "8900000000000000000", "internationalMobileSubscriberIdentity": "00000", "mobileNetwork": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json index afc9743aa344..6eac22c41d7e 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json @@ -998,10 +998,10 @@ "$ref": "./common.json#/definitions/ProvisioningState", "description": "The provisioning state of the sim resource." }, - "activationState": { + "configurationState": { "readOnly": true, - "$ref": "./common.json#/definitions/ActivationState", - "description": "The activation state of the sim resource." + "$ref": "./common.json#/definitions/ConfigurationState", + "description": "The configuration state of the sim resource - complete or incomplete." }, "internationalMobileSubscriberIdentity": { "type": "string", diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json index 48487e83db3e..97d11c035ab0 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json @@ -354,7 +354,7 @@ "type": "object", "properties": { "ruleName": { - "description": "The name of the rule. 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 @@ -396,7 +396,7 @@ "type": "object", "properties": { "templateName": { - "description": "The name of the SDF template. You must not use any of the following reserved strings - `default`, `requested` or `service`.", + "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 From b601189c02f32fbbd227ed003b122d38ce81094e Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Thu, 17 Feb 2022 11:11:38 +0530 Subject: [PATCH 15/19] Addressed XmsIdentifierValidation Errors --- .../preview/2022-01-01-preview/mobileNetwork.json | 1 + .../preview/2022-01-01-preview/operation.json | 1 + .../preview/2022-01-01-preview/service.json | 2 ++ .../preview/2022-01-01-preview/simPolicy.json | 2 ++ 4 files changed, 6 insertions(+) diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json index 6eac22c41d7e..082510c65dcd 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json @@ -1054,6 +1054,7 @@ "items": { "$ref": "#/definitions/SimStaticIpProperties" }, + "x-ms-identifiers": [], "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}." diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/operation.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/operation.json index caa8fcb7a886..f500f0ac82bd 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/operation.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/operation.json @@ -118,6 +118,7 @@ "items": { "$ref": "#/definitions/Operation" }, + "x-ms-identifiers": [], "description": "List of Microsoft.MobileNetwork operations." }, "nextLink": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json index 97d11c035ab0..2d6211306436 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/service.json @@ -340,6 +340,7 @@ "items": { "$ref": "#/definitions/PccRuleConfiguration" }, + "x-ms-identifiers": [], "minItems": 1, "uniqueItems": true } @@ -381,6 +382,7 @@ "items": { "$ref": "#/definitions/ServiceDataFlowTemplate" }, + "x-ms-identifiers": [], "minItems": 1, "uniqueItems": true } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/simPolicy.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/simPolicy.json index 48faf14e5262..39e27be3807f 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/simPolicy.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/simPolicy.json @@ -348,6 +348,7 @@ "items": { "$ref": "#/definitions/SliceConfiguration" }, + "x-ms-identifiers": [], "minItems": 1, "uniqueItems": true } @@ -376,6 +377,7 @@ "items": { "$ref": "#/definitions/DataNetworkConfiguration" }, + "x-ms-identifiers": [], "minItems": 1, "uniqueItems": true } From ed15fe956cb6df5d74c183912a4077002eb0bc54 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Thu, 17 Feb 2022 16:42:47 +0530 Subject: [PATCH 16/19] Addressed DescriptionAndTitleMissing Errors --- .../preview/2022-01-01-preview/mobileNetwork.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json index 082510c65dcd..17d3975d5c77 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/mobileNetwork.json @@ -1066,6 +1066,7 @@ }, "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", @@ -1077,6 +1078,7 @@ }, "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", From 86e8fe1cf2adb5c61f8c7e6bdfca7fa3a7fb2bc0 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Thu, 17 Feb 2022 18:25:08 +0530 Subject: [PATCH 17/19] Generic name for N2 and N3 Interface attributes to support 4G Networks --- .../examples/PacketCoreControlPlaneCreate.json | 6 +++--- .../examples/PacketCoreControlPlaneGet.json | 2 +- .../examples/PacketCoreControlPlaneListByResourceGroup.json | 2 +- .../examples/PacketCoreControlPlaneListBySubscription.json | 2 +- .../examples/PacketCoreControlPlaneUpdateTags.json | 2 +- .../examples/PacketCoreDataPlaneCreate.json | 6 +++--- .../2022-01-01-preview/examples/PacketCoreDataPlaneGet.json | 2 +- .../PacketCoreDataPlaneListByPacketCoreControlPlane.json | 2 +- .../examples/PacketCoreDataPlaneUpdateTags.json | 2 +- .../preview/2022-01-01-preview/packetCoreControlPlane.json | 6 +++--- .../preview/2022-01-01-preview/packetCoreDataPlane.json | 6 +++--- 11 files changed, 19 insertions(+), 19 deletions(-) diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneCreate.json index e997af1b8b58..19fab5dc428e 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneCreate.json @@ -15,7 +15,7 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "n2Interface": { + "controlPlaneAccessInterface": { "name": "N2" } } @@ -47,7 +47,7 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "n2Interface": { + "controlPlaneAccessInterface": { "name": "N2" } } @@ -78,7 +78,7 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "n2Interface": { + "controlPlaneAccessInterface": { "name": "N2" } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneGet.json index fbeb5102e989..8c64620b3024 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneGet.json @@ -31,7 +31,7 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "n2Interface": { + "controlPlaneAccessInterface": { "name": "N2" } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json index 73351a8bf330..70c2ad0e9e4d 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json @@ -32,7 +32,7 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "n2Interface": { + "controlPlaneAccessInterface": { "name": "N2" } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListBySubscription.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListBySubscription.json index 55085b06e649..3f00b62d3d27 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListBySubscription.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneListBySubscription.json @@ -31,7 +31,7 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "n2Interface": { + "controlPlaneAccessInterface": { "name": "N2" } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneUpdateTags.json index c75169dd5e0a..b4ed6b07d97e 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreControlPlaneUpdateTags.json @@ -40,7 +40,7 @@ }, "coreNetworkTechnology": "5GC", "version": "0.2.0", - "n2Interface": { + "controlPlaneAccessInterface": { "name": "N2" } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneCreate.json index c6d6f2acbc35..8aeb6a0e90a7 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneCreate.json @@ -8,7 +8,7 @@ "parameters": { "location": "eastus", "properties": { - "n3Interface": { + "userPlaneAccessInterface": { "name": "N3" } } @@ -32,7 +32,7 @@ "tags": {}, "properties": { "provisioningState": "Succeeded", - "n3Interface": { + "userPlaneAccessInterface": { "name": "N3" } } @@ -55,7 +55,7 @@ "tags": {}, "properties": { "provisioningState": "Succeeded", - "n3Interface": { + "userPlaneAccessInterface": { "name": "N3" } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneGet.json index 77838dc71305..70801bceeacf 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneGet.json @@ -24,7 +24,7 @@ "tags": {}, "properties": { "provisioningState": "Succeeded", - "n3Interface": { + "userPlaneAccessInterface": { "name": "N3" } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json index a5538d26ac58..0a8305e7c899 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json @@ -25,7 +25,7 @@ "tags": {}, "properties": { "provisioningState": "Succeeded", - "n3Interface": { + "userPlaneAccessInterface": { "name": "N3" } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneUpdateTags.json index 2876a9d4037e..5f3c262df4a0 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/PacketCoreDataPlaneUpdateTags.json @@ -33,7 +33,7 @@ }, "properties": { "provisioningState": "Succeeded", - "n3Interface": { + "userPlaneAccessInterface": { "name": "N3" } } diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreControlPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreControlPlane.json index abd1a78ad535..b9028042834a 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreControlPlane.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreControlPlane.json @@ -364,14 +364,14 @@ "type": "string", "description": "The version of the packet core software that is deployed." }, - "n2Interface": { + "controlPlaneAccessInterface": { "$ref": "./common.json#/definitions/InterfaceProperties", - "description": "Interface configuration for N2 reference point." + "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", - "n2Interface" + "controlPlaneAccessInterface" ] }, "PacketCoreControlPlaneListResult": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreDataPlane.json index 3d615e601d15..f27cf6943846 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreDataPlane.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/packetCoreDataPlane.json @@ -324,13 +324,13 @@ "$ref": "./common.json#/definitions/ProvisioningState", "description": "The provisioning state of the packet core data plane resource." }, - "n3Interface": { + "userPlaneAccessInterface": { "$ref": "./common.json#/definitions/InterfaceProperties", - "description": "Interface configuration for N3 reference point." + "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": [ - "n3Interface" + "userPlaneAccessInterface" ] }, "PacketCoreDataPlaneListResult": { From 41aaf0e4f197f0c7d1c810f74262d6b1247e28a8 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Thu, 17 Feb 2022 20:12:27 +0530 Subject: [PATCH 18/19] Generic name for N6 Interface attribute to support 4G Networks --- .../preview/2022-01-01-preview/attachedDataNetwork.json | 6 +++--- .../examples/AttachedDataNetworkCreate.json | 6 +++--- .../2022-01-01-preview/examples/AttachedDataNetworkGet.json | 2 +- .../AttachedDataNetworkListByPacketCoreDataPlane.json | 2 +- .../examples/AttachedDataNetworkUpdateTags.json | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json index 27b7571fb2e3..f09f03cc5dd6 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json @@ -339,9 +339,9 @@ "$ref": "./common.json#/definitions/ProvisioningState", "description": "The provisioning state of the attached data network resource." }, - "n6Interface": { + "dataNetworkInterface": { "$ref": "./common.json#/definitions/InterfaceProperties", - "description": "Interface configuration for N6 reference point, which connects the packetCore to the attachedDataNetwork." + "description": "The data interface on the network. In 5G networks this is called as N6 interface whereas in 4G networks this is called as SGi interface." }, "naptConfiguration": { "$ref": "#/definitions/NaptConfiguration", @@ -367,7 +367,7 @@ } }, "required": [ - "n6Interface" + "dataNetworkInterface" ] }, "AttachedDataNetworkListResult": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json index 4340a7c261e6..92f7f63998f6 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json @@ -9,7 +9,7 @@ "parameters": { "location": "eastus", "properties": { - "n6Interface": { + "dataNetworkInterface": { "name": "N6" }, "naptConfiguration": { @@ -55,7 +55,7 @@ "location": "eastus", "tags": {}, "properties": { - "n6Interface": { + "dataNetworkInterface": { "name": "N6" }, "naptConfiguration": { @@ -100,7 +100,7 @@ "location": "eastus", "tags": {}, "properties": { - "n6Interface": { + "dataNetworkInterface": { "name": "N6" }, "naptConfiguration": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json index 83b80778c9c4..a13e9b3b1d6e 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json @@ -25,7 +25,7 @@ "tags": {}, "properties": { "provisioningState": "Succeeded", - "n6Interface": { + "dataNetworkInterface": { "name": "N6" }, "naptConfiguration": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json index 1e362c58a463..a6fdb6209b45 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json @@ -26,7 +26,7 @@ "tags": {}, "properties": { "provisioningState": "Succeeded", - "n6Interface": { + "dataNetworkInterface": { "name": "N6" }, "naptConfiguration": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json index 6d71cd78797e..bfc8ce81257c 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json @@ -34,7 +34,7 @@ }, "properties": { "provisioningState": "Succeeded", - "n6Interface": { + "dataNetworkInterface": { "name": "N6" }, "naptConfiguration": { From 789cc526058a0d1f3c1d910247cab627d0d55cf0 Mon Sep 17 00:00:00 2001 From: Sathya Prabhu Ravi Date: Thu, 17 Feb 2022 20:18:29 +0530 Subject: [PATCH 19/19] Generic name for N6 Interface attribute to support 4G Networks --- .../preview/2022-01-01-preview/attachedDataNetwork.json | 6 +++--- .../examples/AttachedDataNetworkCreate.json | 6 +++--- .../2022-01-01-preview/examples/AttachedDataNetworkGet.json | 2 +- .../AttachedDataNetworkListByPacketCoreDataPlane.json | 2 +- .../examples/AttachedDataNetworkUpdateTags.json | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json index f09f03cc5dd6..d920c2071589 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/attachedDataNetwork.json @@ -339,9 +339,9 @@ "$ref": "./common.json#/definitions/ProvisioningState", "description": "The provisioning state of the attached data network resource." }, - "dataNetworkInterface": { + "userPlaneDataInterface": { "$ref": "./common.json#/definitions/InterfaceProperties", - "description": "The data interface on the 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. In 5G networks this is called as N6 interface whereas in 4G networks this is called as SGi interface." }, "naptConfiguration": { "$ref": "#/definitions/NaptConfiguration", @@ -367,7 +367,7 @@ } }, "required": [ - "dataNetworkInterface" + "userPlaneDataInterface" ] }, "AttachedDataNetworkListResult": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json index 92f7f63998f6..72e1229139df 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkCreate.json @@ -9,7 +9,7 @@ "parameters": { "location": "eastus", "properties": { - "dataNetworkInterface": { + "userPlaneDataInterface": { "name": "N6" }, "naptConfiguration": { @@ -55,7 +55,7 @@ "location": "eastus", "tags": {}, "properties": { - "dataNetworkInterface": { + "userPlaneDataInterface": { "name": "N6" }, "naptConfiguration": { @@ -100,7 +100,7 @@ "location": "eastus", "tags": {}, "properties": { - "dataNetworkInterface": { + "userPlaneDataInterface": { "name": "N6" }, "naptConfiguration": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json index a13e9b3b1d6e..29a2f6442bb2 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkGet.json @@ -25,7 +25,7 @@ "tags": {}, "properties": { "provisioningState": "Succeeded", - "dataNetworkInterface": { + "userPlaneDataInterface": { "name": "N6" }, "naptConfiguration": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json index a6fdb6209b45..d409b1e2c971 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json @@ -26,7 +26,7 @@ "tags": {}, "properties": { "provisioningState": "Succeeded", - "dataNetworkInterface": { + "userPlaneDataInterface": { "name": "N6" }, "naptConfiguration": { diff --git a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json index bfc8ce81257c..ca2c71c0074d 100644 --- a/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json +++ b/specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-01-01-preview/examples/AttachedDataNetworkUpdateTags.json @@ -34,7 +34,7 @@ }, "properties": { "provisioningState": "Succeeded", - "dataNetworkInterface": { + "userPlaneDataInterface": { "name": "N6" }, "naptConfiguration": {