diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/CHANGELOG.md b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/CHANGELOG.md
index af0bc1bb31fb0..736f566f8f262 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/CHANGELOG.md
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/CHANGELOG.md
@@ -1,6 +1,8 @@
# Release History
-## 1.0.0-beta.3 (Unreleased)
+## 1.0.0-beta.1 (2022-07-06)
+
+- Azure Resource Manager MobileNetwork client library for Java. This package contains Microsoft Azure SDK for MobileNetwork Management SDK. 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. Package tag package-2022-04-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Features Added
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/README.md b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/README.md
index d321fa15b25f1..98afa22107795 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/README.md
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager MobileNetwork client library for Java.
-This package contains Microsoft Azure SDK for MobileNetwork Management SDK. 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. Package tag package-2022-03-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for MobileNetwork Management SDK. 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. Package tag package-2022-04-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanagerazure-resourcemanager-mobilenetwork
- 1.0.0-beta.2
+ 1.0.0-beta.3
```
[//]: # ({x-version-update-end})
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/SAMPLE.md b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/SAMPLE.md
index 9e69185cc2286..b7ce56425e946 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/SAMPLE.md
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/SAMPLE.md
@@ -38,6 +38,7 @@
- [GetByResourceGroup](#packetcorecontrolplanes_getbyresourcegroup)
- [List](#packetcorecontrolplanes_list)
- [ListByResourceGroup](#packetcorecontrolplanes_listbyresourcegroup)
+- [SupportedVersions](#packetcorecontrolplanes_supportedversions)
- [UpdateTags](#packetcorecontrolplanes_updatetags)
## PacketCoreDataPlanes
@@ -56,6 +57,15 @@
- [ListByMobileNetwork](#services_listbymobilenetwork)
- [UpdateTags](#services_updatetags)
+## SimGroups
+
+- [CreateOrUpdate](#simgroups_createorupdate)
+- [Delete](#simgroups_delete)
+- [GetByResourceGroup](#simgroups_getbyresourcegroup)
+- [List](#simgroups_list)
+- [ListByResourceGroup](#simgroups_listbyresourcegroup)
+- [UpdateTags](#simgroups_updatetags)
+
## SimPolicies
- [CreateOrUpdate](#simpolicies_createorupdate)
@@ -68,10 +78,8 @@
- [CreateOrUpdate](#sims_createorupdate)
- [Delete](#sims_delete)
-- [GetByResourceGroup](#sims_getbyresourcegroup)
-- [List](#sims_list)
-- [ListByResourceGroup](#sims_listbyresourcegroup)
-- [UpdateTags](#sims_updatetags)
+- [Get](#sims_get)
+- [ListBySimGroup](#sims_listbysimgroup)
## Sites
@@ -102,7 +110,7 @@ import java.util.Arrays;
/** Samples for AttachedDataNetworks CreateOrUpdate. */
public final class AttachedDataNetworksCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkCreate.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkCreate.json
*/
/**
* Sample code: Create attached data network.
@@ -116,13 +124,14 @@ public final class AttachedDataNetworksCreateOrUpdateSamples {
.withRegion("eastus")
.withExistingPacketCoreDataPlane("rg1", "TestPacketCoreCP", "TestPacketCoreDP")
.withUserPlaneDataInterface(new InterfaceProperties().withName("N6"))
+ .withDnsAddresses(Arrays.asList("1.1.1.1"))
.withNaptConfiguration(
new NaptConfiguration()
.withEnabled(NaptEnabled.ENABLED)
- .withPortRange(new PortRange().withMinPort(1024).withMaxPort(65535))
+ .withPortRange(new PortRange().withMinPort(1024).withMaxPort(49999))
.withPortReuseHoldTime(new PortReuseHoldTimes().withTcp(120).withUdp(60))
.withPinholeLimits(65536)
- .withPinholeTimeouts(new PinholeTimeouts().withTcp(7440).withUdp(300).withIcmp(60)))
+ .withPinholeTimeouts(new PinholeTimeouts().withTcp(180).withUdp(30).withIcmp(30)))
.withUserEquipmentAddressPoolPrefix(Arrays.asList("2.2.0.0/16"))
.withUserEquipmentStaticAddressPoolPrefix(Arrays.asList("2.4.0.0/16"))
.create();
@@ -138,7 +147,7 @@ import com.azure.core.util.Context;
/** Samples for AttachedDataNetworks Delete. */
public final class AttachedDataNetworksDeleteSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkDelete.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkDelete.json
*/
/**
* Sample code: Delete attached data network resource.
@@ -162,7 +171,7 @@ import com.azure.core.util.Context;
/** Samples for AttachedDataNetworks Get. */
public final class AttachedDataNetworksGetSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkGet.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkGet.json
*/
/**
* Sample code: Get attached data network.
@@ -185,7 +194,7 @@ import com.azure.core.util.Context;
/** Samples for AttachedDataNetworks ListByPacketCoreDataPlane. */
public final class AttachedDataNetworksListByPacketCoreDataPlaneSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkListByPacketCoreDataPlane.json
*/
/**
* Sample code: List attached data networks in a data plane.
@@ -212,7 +221,7 @@ import java.util.Map;
/** Samples for AttachedDataNetworks UpdateTags. */
public final class AttachedDataNetworksUpdateTagsSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/AttachedDataNetworkUpdateTags.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/AttachedDataNetworkUpdateTags.json
*/
/**
* Sample code: Update attached data network tags.
@@ -248,15 +257,14 @@ public final class AttachedDataNetworksUpdateTagsSamples {
/** Samples for DataNetworks CreateOrUpdate. */
public final class DataNetworksCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkCreate.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkCreate.json
*/
/**
- * Sample code: Create mobile network dataNetwork.
+ * Sample code: Create data network.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void createMobileNetworkDataNetwork(
- com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ public static void createDataNetwork(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager
.dataNetworks()
.define("testDataNetwork")
@@ -276,15 +284,14 @@ import com.azure.core.util.Context;
/** Samples for DataNetworks Delete. */
public final class DataNetworksDeleteSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkDelete.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkDelete.json
*/
/**
- * Sample code: Delete mobile network dataNetwork.
+ * Sample code: Delete data network.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void deleteMobileNetworkDataNetwork(
- com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ public static void deleteDataNetwork(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager.dataNetworks().delete("rg1", "testMobileNetwork", "testDataNetwork", Context.NONE);
}
}
@@ -298,15 +305,14 @@ import com.azure.core.util.Context;
/** Samples for DataNetworks Get. */
public final class DataNetworksGetSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkGet.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkGet.json
*/
/**
- * Sample code: Get mobile network dataNetwork.
+ * Sample code: Get data network.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void getMobileNetworkDataNetwork(
- com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ public static void getDataNetwork(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager.dataNetworks().getWithResponse("rg1", "testMobileNetwork", "testDataNetwork", Context.NONE);
}
}
@@ -320,14 +326,14 @@ import com.azure.core.util.Context;
/** Samples for DataNetworks ListByMobileNetwork. */
public final class DataNetworksListByMobileNetworkSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkListByMobileNetwork.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkListByMobileNetwork.json
*/
/**
- * Sample code: List mobile network dataNetworks in a mobile network.
+ * Sample code: List data networks in a mobile network.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void listMobileNetworkDataNetworksInAMobileNetwork(
+ public static void listDataNetworksInAMobileNetwork(
com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager.dataNetworks().listByMobileNetwork("rg1", "testMobileNetwork", Context.NONE);
}
@@ -345,7 +351,7 @@ import java.util.Map;
/** Samples for DataNetworks UpdateTags. */
public final class DataNetworksUpdateTagsSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/DataNetworkUpdateTags.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/DataNetworkUpdateTags.json
*/
/**
* Sample code: Update data network tags.
@@ -382,7 +388,7 @@ import com.azure.resourcemanager.mobilenetwork.models.PlmnId;
/** Samples for MobileNetworks CreateOrUpdate. */
public final class MobileNetworksCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkCreate.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkCreate.json
*/
/**
* Sample code: Create mobile network.
@@ -409,7 +415,7 @@ import com.azure.core.util.Context;
/** Samples for MobileNetworks Delete. */
public final class MobileNetworksDeleteSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkDelete.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkDelete.json
*/
/**
* Sample code: Delete mobile network.
@@ -430,7 +436,7 @@ import com.azure.core.util.Context;
/** Samples for MobileNetworks GetByResourceGroup. */
public final class MobileNetworksGetByResourceGroupSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkGet.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkGet.json
*/
/**
* Sample code: Get mobile network.
@@ -451,7 +457,7 @@ import com.azure.core.util.Context;
/** Samples for MobileNetworks List. */
public final class MobileNetworksListSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkListBySubscription.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListBySubscription.json
*/
/**
* Sample code: List mobile networks in a subscription.
@@ -473,7 +479,7 @@ import com.azure.core.util.Context;
/** Samples for MobileNetworks ListByResourceGroup. */
public final class MobileNetworksListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkListByResourceGroup.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkListByResourceGroup.json
*/
/**
* Sample code: List mobile networks in resource group.
@@ -495,14 +501,14 @@ import com.azure.core.util.Context;
/** Samples for MobileNetworks ListSimIds. */
public final class MobileNetworksListSimIdsSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimIdListByMobileNetwork.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimIdListByMobileNetwork.json
*/
/**
- * Sample code: List sim profile ids by network.
+ * Sample code: List the IDs of all provisioned SIMs in a mobile network.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void listSimProfileIdsByNetwork(
+ public static void listTheIDsOfAllProvisionedSIMsInAMobileNetwork(
com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager.mobileNetworks().listSimIds("rg", "testMobileNetworkName", Context.NONE);
}
@@ -520,7 +526,7 @@ import java.util.Map;
/** Samples for MobileNetworks UpdateTags. */
public final class MobileNetworksUpdateTagsSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/MobileNetworkUpdateTags.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/MobileNetworkUpdateTags.json
*/
/**
* Sample code: Update mobile network tags.
@@ -557,7 +563,7 @@ import com.azure.core.util.Context;
/** Samples for Operations List. */
public final class OperationsListSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/OperationList.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/OperationList.json
*/
/**
* Sample code: Get Registration Operations.
@@ -573,15 +579,22 @@ public final class OperationsListSamples {
### PacketCoreControlPlanes_CreateOrUpdate
```java
+import com.azure.resourcemanager.mobilenetwork.models.AzureStackEdgeDeviceResourceId;
+import com.azure.resourcemanager.mobilenetwork.models.BillingSku;
+import com.azure.resourcemanager.mobilenetwork.models.ConnectedClusterResourceId;
import com.azure.resourcemanager.mobilenetwork.models.CoreNetworkType;
import com.azure.resourcemanager.mobilenetwork.models.CustomLocationResourceId;
import com.azure.resourcemanager.mobilenetwork.models.InterfaceProperties;
+import com.azure.resourcemanager.mobilenetwork.models.KeyVaultCertificate;
+import com.azure.resourcemanager.mobilenetwork.models.LocalDiagnosticsAccessConfiguration;
import com.azure.resourcemanager.mobilenetwork.models.MobileNetworkResourceId;
+import com.azure.resourcemanager.mobilenetwork.models.PlatformConfiguration;
+import com.azure.resourcemanager.mobilenetwork.models.PlatformType;
/** Samples for PacketCoreControlPlanes CreateOrUpdate. */
public final class PacketCoreControlPlanesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneCreate.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneCreate.json
*/
/**
* Sample code: Create packet core control plane.
@@ -600,12 +613,29 @@ public final class PacketCoreControlPlanesCreateOrUpdateSamples {
.withId(
"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork"))
.withControlPlaneAccessInterface(new InterfaceProperties().withName("N2"))
- .withCustomLocation(
- new CustomLocationResourceId()
- .withId(
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation"))
+ .withSku(BillingSku.fromString("testSku"))
+ .withPlatform(
+ new PlatformConfiguration()
+ .withType(PlatformType.AKS_HCI)
+ .withAzureStackEdgeDevice(
+ new AzureStackEdgeDeviceResourceId()
+ .withId(
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/TestAzureStackEdgeDevice"))
+ .withConnectedCluster(
+ new ConnectedClusterResourceId()
+ .withId(
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Kubernetes/connectedClusters/TestConnectedCluster"))
+ .withCustomLocation(
+ new CustomLocationResourceId()
+ .withId(
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ExtendedLocation/customLocations/TestCustomLocation")))
.withCoreNetworkTechnology(CoreNetworkType.FIVE_GC)
.withVersion("0.2.0")
+ .withLocalDiagnosticsAccess(
+ new LocalDiagnosticsAccessConfiguration()
+ .withHttpsServerCertificate(
+ new KeyVaultCertificate()
+ .withCertificateUrl("https://contosovault.vault.azure.net/certificates/ingress")))
.create();
}
}
@@ -619,7 +649,7 @@ import com.azure.core.util.Context;
/** Samples for PacketCoreControlPlanes Delete. */
public final class PacketCoreControlPlanesDeleteSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneDelete.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneDelete.json
*/
/**
* Sample code: Delete packet core control plane.
@@ -641,7 +671,7 @@ import com.azure.core.util.Context;
/** Samples for PacketCoreControlPlanes GetByResourceGroup. */
public final class PacketCoreControlPlanesGetByResourceGroupSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneGet.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneGet.json
*/
/**
* Sample code: Get packet core control plane.
@@ -662,7 +692,7 @@ import com.azure.core.util.Context;
/** Samples for PacketCoreControlPlanes List. */
public final class PacketCoreControlPlanesListSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneListBySubscription.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListBySubscription.json
*/
/**
* Sample code: List packet core control planes in a subscription.
@@ -684,7 +714,7 @@ import com.azure.core.util.Context;
/** Samples for PacketCoreControlPlanes ListByResourceGroup. */
public final class PacketCoreControlPlanesListByResourceGroupSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneListByResourceGroup.json
*/
/**
* Sample code: List packet core control planes in resource group.
@@ -698,6 +728,28 @@ public final class PacketCoreControlPlanesListByResourceGroupSamples {
}
```
+### PacketCoreControlPlanes_SupportedVersions
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for PacketCoreControlPlanes SupportedVersions. */
+public final class PacketCoreControlPlanesSupportedVersionsSamples {
+ /*
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SupportedPacketCoreControlPlaneVersions.json
+ */
+ /**
+ * Sample code: Get supported packet core control plane versions.
+ *
+ * @param manager Entry point to MobileNetworkManager.
+ */
+ public static void getSupportedPacketCoreControlPlaneVersions(
+ com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ manager.packetCoreControlPlanes().supportedVersionsWithResponse("rg", Context.NONE);
+ }
+}
+```
+
### PacketCoreControlPlanes_UpdateTags
```java
@@ -709,7 +761,7 @@ import java.util.Map;
/** Samples for PacketCoreControlPlanes UpdateTags. */
public final class PacketCoreControlPlanesUpdateTagsSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreControlPlaneUpdateTags.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreControlPlaneUpdateTags.json
*/
/**
* Sample code: Update packet core control plane tags.
@@ -747,7 +799,7 @@ import com.azure.resourcemanager.mobilenetwork.models.InterfaceProperties;
/** Samples for PacketCoreDataPlanes CreateOrUpdate. */
public final class PacketCoreDataPlanesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneCreate.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneCreate.json
*/
/**
* Sample code: Create packet core data plane.
@@ -774,7 +826,7 @@ import com.azure.core.util.Context;
/** Samples for PacketCoreDataPlanes Delete. */
public final class PacketCoreDataPlanesDeleteSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneDelete.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneDelete.json
*/
/**
* Sample code: Delete packet core data plane.
@@ -795,7 +847,7 @@ import com.azure.core.util.Context;
/** Samples for PacketCoreDataPlanes Get. */
public final class PacketCoreDataPlanesGetSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneGet.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneGet.json
*/
/**
* Sample code: Get packet core data plane.
@@ -816,7 +868,7 @@ import com.azure.core.util.Context;
/** Samples for PacketCoreDataPlanes ListByPacketCoreControlPlane. */
public final class PacketCoreDataPlanesListByPacketCoreControlPlaneSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneListByPacketCoreControlPlane.json
*/
/**
* Sample code: List packet core data planes in a control plane.
@@ -841,7 +893,7 @@ import java.util.Map;
/** Samples for PacketCoreDataPlanes UpdateTags. */
public final class PacketCoreDataPlanesUpdateTagsSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/PacketCoreDataPlaneUpdateTags.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/PacketCoreDataPlaneUpdateTags.json
*/
/**
* Sample code: Update packet core data plane tags.
@@ -888,7 +940,7 @@ import java.util.Arrays;
/** Samples for Services CreateOrUpdate. */
public final class ServicesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceCreate.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceCreate.json
*/
/**
* Sample code: Create service.
@@ -945,7 +997,7 @@ import com.azure.core.util.Context;
/** Samples for Services Delete. */
public final class ServicesDeleteSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceDelete.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceDelete.json
*/
/**
* Sample code: Delete service.
@@ -966,7 +1018,7 @@ import com.azure.core.util.Context;
/** Samples for Services Get. */
public final class ServicesGetSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceGet.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceGet.json
*/
/**
* Sample code: Get service.
@@ -987,7 +1039,7 @@ import com.azure.core.util.Context;
/** Samples for Services ListByMobileNetwork. */
public final class ServicesListByMobileNetworkSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceListByMobileNetwork.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceListByMobileNetwork.json
*/
/**
* Sample code: List services in a mobile network.
@@ -1012,7 +1064,7 @@ import java.util.Map;
/** Samples for Services UpdateTags. */
public final class ServicesUpdateTagsSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/ServiceUpdateTags.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/ServiceUpdateTags.json
*/
/**
* Sample code: Update service tags.
@@ -1038,6 +1090,161 @@ public final class ServicesUpdateTagsSamples {
}
```
+### SimGroups_CreateOrUpdate
+
+```java
+import com.azure.resourcemanager.mobilenetwork.models.KeyVaultKey;
+import com.azure.resourcemanager.mobilenetwork.models.MobileNetworkResourceId;
+
+/** Samples for SimGroups CreateOrUpdate. */
+public final class SimGroupsCreateOrUpdateSamples {
+ /*
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupCreate.json
+ */
+ /**
+ * Sample code: Create SIM group.
+ *
+ * @param manager Entry point to MobileNetworkManager.
+ */
+ public static void createSIMGroup(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ manager
+ .simGroups()
+ .define("testSimGroup")
+ .withRegion("eastus")
+ .withExistingResourceGroup("rg1")
+ .withEncryptionKey(new KeyVaultKey().withKeyUrl("https://contosovault.vault.azure.net/keys/azureKey"))
+ .withMobileNetwork(
+ new MobileNetworkResourceId()
+ .withId(
+ "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork"))
+ .create();
+ }
+}
+```
+
+### SimGroups_Delete
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for SimGroups Delete. */
+public final class SimGroupsDeleteSamples {
+ /*
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupDelete.json
+ */
+ /**
+ * Sample code: Delete SIM group.
+ *
+ * @param manager Entry point to MobileNetworkManager.
+ */
+ public static void deleteSIMGroup(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ manager.simGroups().delete("testResourceGroupName", "testSimGroup", Context.NONE);
+ }
+}
+```
+
+### SimGroups_GetByResourceGroup
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for SimGroups GetByResourceGroup. */
+public final class SimGroupsGetByResourceGroupSamples {
+ /*
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupGet.json
+ */
+ /**
+ * Sample code: Get SIM group.
+ *
+ * @param manager Entry point to MobileNetworkManager.
+ */
+ public static void getSIMGroup(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ manager.simGroups().getByResourceGroupWithResponse("testResourceGroupName", "testSimGroupName", Context.NONE);
+ }
+}
+```
+
+### SimGroups_List
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for SimGroups List. */
+public final class SimGroupsListSamples {
+ /*
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupListBySubscription.json
+ */
+ /**
+ * Sample code: List SIM groups in a subscription.
+ *
+ * @param manager Entry point to MobileNetworkManager.
+ */
+ public static void listSIMGroupsInASubscription(
+ com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ manager.simGroups().list(Context.NONE);
+ }
+}
+```
+
+### SimGroups_ListByResourceGroup
+
+```java
+import com.azure.core.util.Context;
+
+/** Samples for SimGroups ListByResourceGroup. */
+public final class SimGroupsListByResourceGroupSamples {
+ /*
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupListByResourceGroup.json
+ */
+ /**
+ * Sample code: List SIM groups in a resource group.
+ *
+ * @param manager Entry point to MobileNetworkManager.
+ */
+ public static void listSIMGroupsInAResourceGroup(
+ com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ manager.simGroups().listByResourceGroup("rg1", Context.NONE);
+ }
+}
+```
+
+### SimGroups_UpdateTags
+
+```java
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.mobilenetwork.models.SimGroup;
+import java.util.HashMap;
+import java.util.Map;
+
+/** Samples for SimGroups UpdateTags. */
+public final class SimGroupsUpdateTagsSamples {
+ /*
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGroupUpdateTags.json
+ */
+ /**
+ * Sample code: Update SIM group tags.
+ *
+ * @param manager Entry point to MobileNetworkManager.
+ */
+ public static void updateSIMGroupTags(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ SimGroup resource =
+ manager.simGroups().getByResourceGroupWithResponse("rg1", "testSimGroup", Context.NONE).getValue();
+ resource.update().withTags(mapOf("tag1", "value1", "tag2", "value2")).apply();
+ }
+
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
+ }
+}
+```
+
### SimPolicies_CreateOrUpdate
```java
@@ -1055,14 +1262,14 @@ import java.util.Arrays;
/** Samples for SimPolicies CreateOrUpdate. */
public final class SimPoliciesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyCreate.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyCreate.json
*/
/**
- * Sample code: Create sim policy.
+ * Sample code: Create SIM policy.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void createSimPolicy(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ public static void createSIMPolicy(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager
.simPolicies()
.define("testPolicy")
@@ -1120,14 +1327,14 @@ import com.azure.core.util.Context;
/** Samples for SimPolicies Delete. */
public final class SimPoliciesDeleteSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyDelete.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyDelete.json
*/
/**
- * Sample code: Delete sim policy.
+ * Sample code: Delete SIM policy.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void deleteSimPolicy(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ public static void deleteSIMPolicy(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager.simPolicies().delete("rg1", "testMobileNetwork", "testPolicy", Context.NONE);
}
}
@@ -1141,14 +1348,14 @@ import com.azure.core.util.Context;
/** Samples for SimPolicies Get. */
public final class SimPoliciesGetSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyGet.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyGet.json
*/
/**
- * Sample code: Get sim policy.
+ * Sample code: Get SIM policy.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void getSimPolicy(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ public static void getSIMPolicy(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager.simPolicies().getWithResponse("rg1", "testMobileNetwork", "testPolicy", Context.NONE);
}
}
@@ -1162,14 +1369,14 @@ import com.azure.core.util.Context;
/** Samples for SimPolicies ListByMobileNetwork. */
public final class SimPoliciesListByMobileNetworkSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyListByMobileNetwork.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyListByMobileNetwork.json
*/
/**
- * Sample code: List sim policies in a mobile network.
+ * Sample code: List SIM policies in a mobile network.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void listSimPoliciesInAMobileNetwork(
+ public static void listSIMPoliciesInAMobileNetwork(
com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager.simPolicies().listByMobileNetwork("testResourceGroupName", "testMobileNetwork", Context.NONE);
}
@@ -1187,14 +1394,14 @@ import java.util.Map;
/** Samples for SimPolicies UpdateTags. */
public final class SimPoliciesUpdateTagsSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimPolicyUpdateTags.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimPolicyUpdateTags.json
*/
/**
- * Sample code: Update sim policy tags.
+ * Sample code: Update SIM policy tags.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void updateSimPolicyTags(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ public static void updateSIMPolicyTags(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
SimPolicy resource =
manager.simPolicies().getWithResponse("rg1", "testMobileNetwork", "testPolicy", Context.NONE).getValue();
resource.update().withTags(mapOf("tag1", "value1", "tag2", "value2")).apply();
@@ -1217,7 +1424,6 @@ public final class SimPoliciesUpdateTagsSamples {
```java
import com.azure.resourcemanager.mobilenetwork.models.AttachedDataNetworkResourceId;
-import com.azure.resourcemanager.mobilenetwork.models.MobileNetworkResourceId;
import com.azure.resourcemanager.mobilenetwork.models.SimPolicyResourceId;
import com.azure.resourcemanager.mobilenetwork.models.SimStaticIpProperties;
import com.azure.resourcemanager.mobilenetwork.models.SimStaticIpPropertiesStaticIp;
@@ -1227,27 +1433,22 @@ import java.util.Arrays;
/** Samples for Sims CreateOrUpdate. */
public final class SimsCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimCreate.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimCreate.json
*/
/**
- * Sample code: Create sim.
+ * Sample code: Create SIM.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void createSim(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ public static void createSIM(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager
.sims()
.define("testSim")
- .withRegion("testLocation")
- .withExistingResourceGroup("rg1")
+ .withExistingSimGroup("rg1", "testSimGroup")
.withInternationalMobileSubscriberIdentity("00000")
.withIntegratedCircuitCardIdentifier("8900000000000000000")
.withAuthenticationKey("00000000000000000000000000000000")
.withOperatorKeyCode("00000000000000000000000000000000")
- .withMobileNetwork(
- new MobileNetworkResourceId()
- .withId(
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.MobileNetwork/mobileNetworks/testMobileNetwork"))
.withDeviceType("Video camera")
.withSimPolicy(
new SimPolicyResourceId()
@@ -1279,114 +1480,57 @@ import com.azure.core.util.Context;
/** Samples for Sims Delete. */
public final class SimsDeleteSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimDelete.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimDelete.json
*/
/**
- * Sample code: Delete sim.
+ * Sample code: Delete SIM.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void deleteSim(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
- manager.sims().delete("testResourceGroupName", "testSim", Context.NONE);
+ public static void deleteSIM(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ manager.sims().delete("testResourceGroupName", "testSimGroup", "testSim", Context.NONE);
}
}
```
-### Sims_GetByResourceGroup
+### Sims_Get
```java
import com.azure.core.util.Context;
-/** Samples for Sims GetByResourceGroup. */
-public final class SimsGetByResourceGroupSamples {
+/** Samples for Sims Get. */
+public final class SimsGetSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimGet.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimGet.json
*/
/**
- * Sample code: Get sim.
+ * Sample code: Get SIM.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void getSim(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
- manager.sims().getByResourceGroupWithResponse("testResourceGroupName", "testSimName", Context.NONE);
+ public static void getSIM(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ manager.sims().getWithResponse("testResourceGroupName", "testSimGroup", "testSimName", Context.NONE);
}
}
```
-### Sims_List
+### Sims_ListBySimGroup
```java
import com.azure.core.util.Context;
-/** Samples for Sims List. */
-public final class SimsListSamples {
+/** Samples for Sims ListBySimGroup. */
+public final class SimsListBySimGroupSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimListBySubscription.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SimListBySimGroup.json
*/
/**
- * Sample code: List sims in a subscription.
+ * Sample code: List SIMs in a SIM group.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void listSimsInASubscription(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
- manager.sims().list(Context.NONE);
- }
-}
-```
-
-### Sims_ListByResourceGroup
-
-```java
-import com.azure.core.util.Context;
-
-/** Samples for Sims ListByResourceGroup. */
-public final class SimsListByResourceGroupSamples {
- /*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimListByResourceGroup.json
- */
- /**
- * Sample code: List sims in a resource group.
- *
- * @param manager Entry point to MobileNetworkManager.
- */
- public static void listSimsInAResourceGroup(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
- manager.sims().listByResourceGroup("rg1", Context.NONE);
- }
-}
-```
-
-### Sims_UpdateTags
-
-```java
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.mobilenetwork.models.Sim;
-import java.util.HashMap;
-import java.util.Map;
-
-/** Samples for Sims UpdateTags. */
-public final class SimsUpdateTagsSamples {
- /*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SimUpdateTags.json
- */
- /**
- * Sample code: Update sim tags.
- *
- * @param manager Entry point to MobileNetworkManager.
- */
- public static void updateSimTags(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
- Sim resource = manager.sims().getByResourceGroupWithResponse("rg1", "testSim", Context.NONE).getValue();
- resource.update().withTags(mapOf("tag1", "value1", "tag2", "value2")).apply();
- }
-
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
+ public static void listSIMsInASIMGroup(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ manager.sims().listBySimGroup("rg1", "testSimGroup", Context.NONE);
}
}
```
@@ -1400,7 +1544,7 @@ import java.util.Arrays;
/** Samples for Sites CreateOrUpdate. */
public final class SitesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteCreate.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteCreate.json
*/
/**
* Sample code: Create mobile network site.
@@ -1432,7 +1576,7 @@ import com.azure.core.util.Context;
/** Samples for Sites Delete. */
public final class SitesDeleteSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteDelete.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteDelete.json
*/
/**
* Sample code: Delete mobile network site.
@@ -1453,7 +1597,7 @@ import com.azure.core.util.Context;
/** Samples for Sites Get. */
public final class SitesGetSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteGet.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteGet.json
*/
/**
* Sample code: Get mobile network site.
@@ -1474,7 +1618,7 @@ import com.azure.core.util.Context;
/** Samples for Sites ListByMobileNetwork. */
public final class SitesListByMobileNetworkSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteListByMobileNetwork.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteListByMobileNetwork.json
*/
/**
* Sample code: List mobile network sites in a mobile network.
@@ -1499,7 +1643,7 @@ import java.util.Map;
/** Samples for Sites UpdateTags. */
public final class SitesUpdateTagsSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SiteUpdateTags.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SiteUpdateTags.json
*/
/**
* Sample code: Update mobile network site tags.
@@ -1534,14 +1678,14 @@ import com.azure.resourcemanager.mobilenetwork.models.Snssai;
/** Samples for Slices CreateOrUpdate. */
public final class SlicesCreateOrUpdateSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceCreate.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceCreate.json
*/
/**
- * Sample code: Create mobile network slice.
+ * Sample code: Create network slice.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void createMobileNetworkSlice(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ public static void createNetworkSlice(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager
.slices()
.define("testSlice")
@@ -1562,14 +1706,14 @@ import com.azure.core.util.Context;
/** Samples for Slices Delete. */
public final class SlicesDeleteSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceDelete.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceDelete.json
*/
/**
- * Sample code: Delete mobile network slice.
+ * Sample code: Delete network slice.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void deleteMobileNetworkSlice(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ public static void deleteNetworkSlice(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager.slices().delete("rg1", "testMobileNetwork", "testSlice", Context.NONE);
}
}
@@ -1583,14 +1727,14 @@ import com.azure.core.util.Context;
/** Samples for Slices Get. */
public final class SlicesGetSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceGet.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceGet.json
*/
/**
- * Sample code: Get mobile network slice.
+ * Sample code: Get network slice.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void getMobileNetworkSlice(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ public static void getNetworkSlice(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager.slices().getWithResponse("rg1", "testMobileNetwork", "testSlice", Context.NONE);
}
}
@@ -1604,14 +1748,14 @@ import com.azure.core.util.Context;
/** Samples for Slices ListByMobileNetwork. */
public final class SlicesListByMobileNetworkSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceListByMobileNetwork.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceListByMobileNetwork.json
*/
/**
- * Sample code: List mobile network slices in a mobile network.
+ * Sample code: List network slices in a mobile network.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void listMobileNetworkSlicesInAMobileNetwork(
+ public static void listNetworkSlicesInAMobileNetwork(
com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
manager.slices().listByMobileNetwork("rg1", "testMobileNetwork", Context.NONE);
}
@@ -1629,15 +1773,14 @@ import java.util.Map;
/** Samples for Slices UpdateTags. */
public final class SlicesUpdateTagsSamples {
/*
- * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-03-01-preview/examples/SliceUpdateTags.json
+ * x-ms-original-file: specification/mobilenetwork/resource-manager/Microsoft.MobileNetwork/preview/2022-04-01-preview/examples/SliceUpdateTags.json
*/
/**
- * Sample code: Update mobile network slice tags.
+ * Sample code: Update network slice tags.
*
* @param manager Entry point to MobileNetworkManager.
*/
- public static void updateMobileNetworkSliceTags(
- com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
+ public static void updateNetworkSliceTags(com.azure.resourcemanager.mobilenetwork.MobileNetworkManager manager) {
Slice resource =
manager.slices().getWithResponse("rg1", "testMobileNetwork", "testSlice", Context.NONE).getValue();
resource.update().withTags(mapOf("tag1", "value1", "tag2", "value2")).apply();
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/pom.xml b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/pom.xml
index 7950482e2959c..f2a22b538f75b 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/pom.xml
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/pom.xml
@@ -13,7 +13,7 @@
jarMicrosoft Azure SDK for MobileNetwork Management
- This package contains Microsoft Azure SDK for MobileNetwork Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. 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. Package tag package-2022-03-01-preview.
+ This package contains Microsoft Azure SDK for MobileNetwork Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. 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. Package tag package-2022-04-01-preview.https://github.com/Azure/azure-sdk-for-java
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/MobileNetworkManager.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/MobileNetworkManager.java
index 435ab6bee4881..887d70bed7ef6 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/MobileNetworkManager.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/MobileNetworkManager.java
@@ -10,11 +10,13 @@
import com.azure.core.http.HttpPipelineBuilder;
import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
+import com.azure.core.http.policy.AddHeadersFromContextPolicy;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
import com.azure.core.http.policy.HttpPipelinePolicy;
import com.azure.core.http.policy.HttpPolicyProviders;
import com.azure.core.http.policy.RequestIdPolicy;
+import com.azure.core.http.policy.RetryOptions;
import com.azure.core.http.policy.RetryPolicy;
import com.azure.core.http.policy.UserAgentPolicy;
import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy;
@@ -30,6 +32,7 @@
import com.azure.resourcemanager.mobilenetwork.implementation.PacketCoreControlPlanesImpl;
import com.azure.resourcemanager.mobilenetwork.implementation.PacketCoreDataPlanesImpl;
import com.azure.resourcemanager.mobilenetwork.implementation.ServicesImpl;
+import com.azure.resourcemanager.mobilenetwork.implementation.SimGroupsImpl;
import com.azure.resourcemanager.mobilenetwork.implementation.SimPoliciesImpl;
import com.azure.resourcemanager.mobilenetwork.implementation.SimsImpl;
import com.azure.resourcemanager.mobilenetwork.implementation.SitesImpl;
@@ -41,6 +44,7 @@
import com.azure.resourcemanager.mobilenetwork.models.PacketCoreControlPlanes;
import com.azure.resourcemanager.mobilenetwork.models.PacketCoreDataPlanes;
import com.azure.resourcemanager.mobilenetwork.models.Services;
+import com.azure.resourcemanager.mobilenetwork.models.SimGroups;
import com.azure.resourcemanager.mobilenetwork.models.SimPolicies;
import com.azure.resourcemanager.mobilenetwork.models.Sims;
import com.azure.resourcemanager.mobilenetwork.models.Sites;
@@ -65,6 +69,8 @@ public final class MobileNetworkManager {
private Sites sites;
+ private SimGroups simGroups;
+
private Sims sims;
private Operations operations;
@@ -106,6 +112,19 @@ public static MobileNetworkManager authenticate(TokenCredential credential, Azur
return configure().authenticate(credential, profile);
}
+ /**
+ * Creates an instance of MobileNetwork service API entry point.
+ *
+ * @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
+ * @param profile the Azure profile for client.
+ * @return the MobileNetwork service API instance.
+ */
+ public static MobileNetworkManager authenticate(HttpPipeline httpPipeline, AzureProfile profile) {
+ Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
+ Objects.requireNonNull(profile, "'profile' cannot be null.");
+ return new MobileNetworkManager(httpPipeline, profile, null);
+ }
+
/**
* Gets a Configurable instance that can be used to create MobileNetworkManager with optional configuration.
*
@@ -124,6 +143,7 @@ public static final class Configurable {
private final List policies = new ArrayList<>();
private final List scopes = new ArrayList<>();
private RetryPolicy retryPolicy;
+ private RetryOptions retryOptions;
private Duration defaultPollInterval;
private Configurable() {
@@ -184,6 +204,19 @@ public Configurable withRetryPolicy(RetryPolicy retryPolicy) {
return this;
}
+ /**
+ * Sets the retry options for the HTTP pipeline retry policy.
+ *
+ *
This setting has no effect, if retry policy is set via {@link #withRetryPolicy(RetryPolicy)}.
+ *
+ * @param retryOptions the retry options for the HTTP pipeline retry policy.
+ * @return the configurable object itself.
+ */
+ public Configurable withRetryOptions(RetryOptions retryOptions) {
+ this.retryOptions = Objects.requireNonNull(retryOptions, "'retryOptions' cannot be null.");
+ return this;
+ }
+
/**
* Sets the default poll interval, used when service does not provide "Retry-After" header.
*
@@ -217,7 +250,7 @@ public MobileNetworkManager authenticate(TokenCredential credential, AzureProfil
.append("-")
.append("com.azure.resourcemanager.mobilenetwork")
.append("/")
- .append("1.0.0-beta.2");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
@@ -235,10 +268,15 @@ public MobileNetworkManager authenticate(TokenCredential credential, AzureProfil
scopes.add(profile.getEnvironment().getManagementEndpoint() + "/.default");
}
if (retryPolicy == null) {
- retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
+ if (retryOptions != null) {
+ retryPolicy = new RetryPolicy(retryOptions);
+ } else {
+ retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
+ }
}
List policies = new ArrayList<>();
policies.add(new UserAgentPolicy(userAgentBuilder.toString()));
+ policies.add(new AddHeadersFromContextPolicy());
policies.add(new RequestIdPolicy());
policies
.addAll(
@@ -269,7 +307,11 @@ public MobileNetworkManager authenticate(TokenCredential credential, AzureProfil
}
}
- /** @return Resource collection API of AttachedDataNetworks. */
+ /**
+ * Gets the resource collection API of AttachedDataNetworks. It manages AttachedDataNetwork.
+ *
+ * @return Resource collection API of AttachedDataNetworks.
+ */
public AttachedDataNetworks attachedDataNetworks() {
if (this.attachedDataNetworks == null) {
this.attachedDataNetworks = new AttachedDataNetworksImpl(clientObject.getAttachedDataNetworks(), this);
@@ -277,7 +319,11 @@ public AttachedDataNetworks attachedDataNetworks() {
return attachedDataNetworks;
}
- /** @return Resource collection API of DataNetworks. */
+ /**
+ * Gets the resource collection API of DataNetworks. It manages DataNetwork.
+ *
+ * @return Resource collection API of DataNetworks.
+ */
public DataNetworks dataNetworks() {
if (this.dataNetworks == null) {
this.dataNetworks = new DataNetworksImpl(clientObject.getDataNetworks(), this);
@@ -285,7 +331,11 @@ public DataNetworks dataNetworks() {
return dataNetworks;
}
- /** @return Resource collection API of MobileNetworks. */
+ /**
+ * Gets the resource collection API of MobileNetworks. It manages MobileNetwork.
+ *
+ * @return Resource collection API of MobileNetworks.
+ */
public MobileNetworks mobileNetworks() {
if (this.mobileNetworks == null) {
this.mobileNetworks = new MobileNetworksImpl(clientObject.getMobileNetworks(), this);
@@ -293,7 +343,11 @@ public MobileNetworks mobileNetworks() {
return mobileNetworks;
}
- /** @return Resource collection API of Sites. */
+ /**
+ * Gets the resource collection API of Sites. It manages Site.
+ *
+ * @return Resource collection API of Sites.
+ */
public Sites sites() {
if (this.sites == null) {
this.sites = new SitesImpl(clientObject.getSites(), this);
@@ -301,7 +355,23 @@ public Sites sites() {
return sites;
}
- /** @return Resource collection API of Sims. */
+ /**
+ * Gets the resource collection API of SimGroups. It manages SimGroup.
+ *
+ * @return Resource collection API of SimGroups.
+ */
+ public SimGroups simGroups() {
+ if (this.simGroups == null) {
+ this.simGroups = new SimGroupsImpl(clientObject.getSimGroups(), this);
+ }
+ return simGroups;
+ }
+
+ /**
+ * Gets the resource collection API of Sims. It manages Sim.
+ *
+ * @return Resource collection API of Sims.
+ */
public Sims sims() {
if (this.sims == null) {
this.sims = new SimsImpl(clientObject.getSims(), this);
@@ -309,7 +379,11 @@ public Sims sims() {
return sims;
}
- /** @return Resource collection API of Operations. */
+ /**
+ * Gets the resource collection API of Operations.
+ *
+ * @return Resource collection API of Operations.
+ */
public Operations operations() {
if (this.operations == null) {
this.operations = new OperationsImpl(clientObject.getOperations(), this);
@@ -317,7 +391,11 @@ public Operations operations() {
return operations;
}
- /** @return Resource collection API of PacketCoreControlPlanes. */
+ /**
+ * Gets the resource collection API of PacketCoreControlPlanes. It manages PacketCoreControlPlane.
+ *
+ * @return Resource collection API of PacketCoreControlPlanes.
+ */
public PacketCoreControlPlanes packetCoreControlPlanes() {
if (this.packetCoreControlPlanes == null) {
this.packetCoreControlPlanes =
@@ -326,7 +404,11 @@ public PacketCoreControlPlanes packetCoreControlPlanes() {
return packetCoreControlPlanes;
}
- /** @return Resource collection API of PacketCoreDataPlanes. */
+ /**
+ * Gets the resource collection API of PacketCoreDataPlanes. It manages PacketCoreDataPlane.
+ *
+ * @return Resource collection API of PacketCoreDataPlanes.
+ */
public PacketCoreDataPlanes packetCoreDataPlanes() {
if (this.packetCoreDataPlanes == null) {
this.packetCoreDataPlanes = new PacketCoreDataPlanesImpl(clientObject.getPacketCoreDataPlanes(), this);
@@ -334,7 +416,11 @@ public PacketCoreDataPlanes packetCoreDataPlanes() {
return packetCoreDataPlanes;
}
- /** @return Resource collection API of Services. */
+ /**
+ * Gets the resource collection API of Services. It manages Service.
+ *
+ * @return Resource collection API of Services.
+ */
public Services services() {
if (this.services == null) {
this.services = new ServicesImpl(clientObject.getServices(), this);
@@ -342,7 +428,11 @@ public Services services() {
return services;
}
- /** @return Resource collection API of SimPolicies. */
+ /**
+ * Gets the resource collection API of SimPolicies. It manages SimPolicy.
+ *
+ * @return Resource collection API of SimPolicies.
+ */
public SimPolicies simPolicies() {
if (this.simPolicies == null) {
this.simPolicies = new SimPoliciesImpl(clientObject.getSimPolicies(), this);
@@ -350,7 +440,11 @@ public SimPolicies simPolicies() {
return simPolicies;
}
- /** @return Resource collection API of Slices. */
+ /**
+ * Gets the resource collection API of Slices. It manages Slice.
+ *
+ * @return Resource collection API of Slices.
+ */
public Slices slices() {
if (this.slices == null) {
this.slices = new SlicesImpl(clientObject.getSlices(), this);
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/AttachedDataNetworksClient.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/AttachedDataNetworksClient.java
index b08c538d6d736..6395b174cc721 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/AttachedDataNetworksClient.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/AttachedDataNetworksClient.java
@@ -223,7 +223,7 @@ AttachedDataNetworkInner createOrUpdate(
Context context);
/**
- * Updates an attached data network update tags.
+ * Updates an attached data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -244,7 +244,7 @@ AttachedDataNetworkInner updateTags(
TagsObject parameters);
/**
- * Updates an attached data network update tags.
+ * Updates an attached data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -267,7 +267,7 @@ Response updateTagsWithResponse(
Context context);
/**
- * Gets all the data networks associated with a packet core data plane.
+ * Gets all the attached data networks associated with a packet core data plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -275,7 +275,7 @@ Response updateTagsWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the data networks associated with a packet core data plane as paginated response with {@link
+ * @return all the attached data networks associated with a packet core data plane as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -283,7 +283,7 @@ PagedIterable listByPacketCoreDataPlane(
String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName);
/**
- * Gets all the data networks associated with a packet core data plane.
+ * Gets all the attached data networks associated with a packet core data plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -292,7 +292,7 @@ PagedIterable listByPacketCoreDataPlane(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the data networks associated with a packet core data plane as paginated response with {@link
+ * @return all the attached data networks associated with a packet core data plane as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/DataNetworksClient.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/DataNetworksClient.java
index 39f1b7b4a320a..e35722a8ff75c 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/DataNetworksClient.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/DataNetworksClient.java
@@ -17,11 +17,11 @@
/** An instance of this class provides access to all the operations defined in DataNetworksClient. */
public interface DataNetworksClient {
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -32,11 +32,11 @@ SyncPoller, Void> beginDelete(
String resourceGroupName, String mobileNetworkName, String dataNetworkName);
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -48,11 +48,11 @@ SyncPoller, Void> beginDelete(
String resourceGroupName, String mobileNetworkName, String dataNetworkName, Context context);
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -61,11 +61,11 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String mobileNetworkName, String dataNetworkName);
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -75,42 +75,42 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String mobileNetworkName, String dataNetworkName, Context context);
/**
- * Gets information about the specified mobile network dataNetwork.
+ * Gets information about the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified mobile network dataNetwork.
+ * @return information about the specified data network.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DataNetworkInner get(String resourceGroupName, String mobileNetworkName, String dataNetworkName);
/**
- * Gets information about the specified mobile network dataNetwork.
+ * Gets information about the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified mobile network dataNetwork along with {@link Response}.
+ * @return information about the specified data network along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
String resourceGroupName, String mobileNetworkName, String dataNetworkName, Context context);
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -121,12 +121,12 @@ SyncPoller, DataNetworkInner> beginCreateOrUpdate(
String resourceGroupName, String mobileNetworkName, String dataNetworkName, DataNetworkInner parameters);
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -142,12 +142,12 @@ SyncPoller, DataNetworkInner> beginCreateOrUpdate(
Context context);
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -158,12 +158,12 @@ DataNetworkInner createOrUpdate(
String resourceGroupName, String mobileNetworkName, String dataNetworkName, DataNetworkInner parameters);
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -179,11 +179,11 @@ DataNetworkInner createOrUpdate(
Context context);
/**
- * Update data network tags.
+ * Updates data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param parameters Parameters supplied to update data network tags.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -195,11 +195,11 @@ DataNetworkInner updateTags(
String resourceGroupName, String mobileNetworkName, String dataNetworkName, TagsObject parameters);
/**
- * Update data network tags.
+ * Updates data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param parameters Parameters supplied to update data network tags.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -216,7 +216,7 @@ Response updateTagsWithResponse(
Context context);
/**
- * Lists all dataNetworks in the mobile network.
+ * Lists all data networks in the mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -229,7 +229,7 @@ Response updateTagsWithResponse(
PagedIterable listByMobileNetwork(String resourceGroupName, String mobileNetworkName);
/**
- * Lists all dataNetworks in the mobile network.
+ * Lists all data networks in the mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/MobileNetworkManagementClient.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/MobileNetworkManagementClient.java
index 14ba0ecd5fc7a..933759f124275 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/MobileNetworkManagementClient.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/MobileNetworkManagementClient.java
@@ -72,6 +72,13 @@ public interface MobileNetworkManagementClient {
*/
SitesClient getSites();
+ /**
+ * Gets the SimGroupsClient object to access its operations.
+ *
+ * @return the SimGroupsClient object.
+ */
+ SimGroupsClient getSimGroups();
+
/**
* Gets the SimsClient object to access its operations.
*
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/MobileNetworksClient.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/MobileNetworksClient.java
index 97fd6dd1bdff8..d6f37b90024d4 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/MobileNetworksClient.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/MobileNetworksClient.java
@@ -160,7 +160,7 @@ MobileNetworkInner createOrUpdate(
String resourceGroupName, String mobileNetworkName, MobileNetworkInner parameters, Context context);
/**
- * Updates a mobile network update tags.
+ * Updates mobile network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -174,7 +174,7 @@ MobileNetworkInner createOrUpdate(
MobileNetworkInner updateTags(String resourceGroupName, String mobileNetworkName, TagsObject parameters);
/**
- * Updates a mobile network update tags.
+ * Updates mobile network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -237,21 +237,21 @@ Response updateTagsWithResponse(
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
- * List sim ids under a mobile network.
+ * Lists the IDs of all provisioned SIMs in a mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of response for list sim ids API service call.
+ * @return the {@link SyncPoller} for polling of response for list SIM IDs API service call.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SimIdListResultInner> beginListSimIds(
String resourceGroupName, String mobileNetworkName);
/**
- * List sim ids under a mobile network.
+ * Lists the IDs of all provisioned SIMs in a mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -259,27 +259,27 @@ SyncPoller, SimIdListResultInner> beginListSimI
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of response for list sim ids API service call.
+ * @return the {@link SyncPoller} for polling of response for list SIM IDs API service call.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SimIdListResultInner> beginListSimIds(
String resourceGroupName, String mobileNetworkName, Context context);
/**
- * List sim ids under a mobile network.
+ * Lists the IDs of all provisioned SIMs in a mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return response for list sim ids API service call.
+ * @return response for list SIM IDs API service call.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SimIdListResultInner listSimIds(String resourceGroupName, String mobileNetworkName);
/**
- * List sim ids under a mobile network.
+ * Lists the IDs of all provisioned SIMs in a mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -287,7 +287,7 @@ SyncPoller, SimIdListResultInner> beginListSimI
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return response for list sim ids API service call.
+ * @return response for list SIM IDs API service call.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SimIdListResultInner listSimIds(String resourceGroupName, String mobileNetworkName, Context context);
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/PacketCoreControlPlanesClient.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/PacketCoreControlPlanesClient.java
index 371f24168cd6e..d4e41f6d552db 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/PacketCoreControlPlanesClient.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/PacketCoreControlPlanesClient.java
@@ -12,6 +12,7 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.mobilenetwork.fluent.models.PacketCoreControlPlaneInner;
+import com.azure.resourcemanager.mobilenetwork.fluent.models.SupportedPacketCoreControlPlaneVersionResultInner;
import com.azure.resourcemanager.mobilenetwork.models.TagsObject;
/** An instance of this class provides access to all the operations defined in PacketCoreControlPlanesClient. */
@@ -98,7 +99,7 @@ Response getByResourceGroupWithResponse(
String resourceGroupName, String packetCoreControlPlaneName, Context context);
/**
- * Creates or updates a PacketCoreControlPlane.
+ * Creates or updates a packet core control plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -113,7 +114,7 @@ SyncPoller, PacketCoreControlPlaneInner>
String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneInner parameters);
/**
- * Creates or updates a PacketCoreControlPlane.
+ * Creates or updates a packet core control plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -132,7 +133,7 @@ SyncPoller, PacketCoreControlPlaneInner>
Context context);
/**
- * Creates or updates a PacketCoreControlPlane.
+ * Creates or updates a packet core control plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -147,7 +148,7 @@ PacketCoreControlPlaneInner createOrUpdate(
String resourceGroupName, String packetCoreControlPlaneName, PacketCoreControlPlaneInner parameters);
/**
- * Creates or updates a PacketCoreControlPlane.
+ * Creates or updates a packet core control plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -166,11 +167,11 @@ PacketCoreControlPlaneInner createOrUpdate(
Context context);
/**
- * Updates a PacketCoreControlPlane update tags.
+ * Updates packet core control planes tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
- * @param parameters Parameters supplied to update PacketCoreControlPlane tags.
+ * @param parameters Parameters supplied to update packet core control plane tags.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -181,11 +182,11 @@ PacketCoreControlPlaneInner updateTags(
String resourceGroupName, String packetCoreControlPlaneName, TagsObject parameters);
/**
- * Updates a PacketCoreControlPlane update tags.
+ * Updates packet core control planes tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
- * @param parameters Parameters supplied to update PacketCoreControlPlane tags.
+ * @param parameters Parameters supplied to update packet core control plane tags.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -197,7 +198,7 @@ Response updateTagsWithResponse(
String resourceGroupName, String packetCoreControlPlaneName, TagsObject parameters, Context context);
/**
- * Lists all the packetCoreControlPlanes in a subscription.
+ * Lists all the packet core control planes in a subscription.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -208,7 +209,7 @@ Response updateTagsWithResponse(
PagedIterable list();
/**
- * Lists all the packetCoreControlPlanes in a subscription.
+ * Lists all the packet core control planes in a subscription.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -221,7 +222,7 @@ Response updateTagsWithResponse(
PagedIterable list(Context context);
/**
- * Lists all the packetCoreControlPlanes in a resource group.
+ * Lists all the packet core control planes in a resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -234,7 +235,7 @@ Response updateTagsWithResponse(
PagedIterable listByResourceGroup(String resourceGroupName);
/**
- * Lists all the packetCoreControlPlanes in a resource group.
+ * Lists all the packet core control planes in a resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
@@ -246,4 +247,30 @@ Response updateTagsWithResponse(
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Get the set of packet core control plane versions that are currently supported.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the set of packet core control plane versions that are currently supported.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SupportedPacketCoreControlPlaneVersionResultInner supportedVersions(String resourceGroupName);
+
+ /**
+ * Get the set of packet core control plane versions that are currently supported.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the set of packet core control plane versions that are currently supported along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response supportedVersionsWithResponse(
+ String resourceGroupName, Context context);
}
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/PacketCoreDataPlanesClient.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/PacketCoreDataPlanesClient.java
index 496d9bc0ffbd8..ffac817c04319 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/PacketCoreDataPlanesClient.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/PacketCoreDataPlanesClient.java
@@ -107,7 +107,7 @@ Response getWithResponse(
String resourceGroupName, String packetCoreControlPlaneName, String packetCoreDataPlaneName, Context context);
/**
- * Creates or updates a PacketCoreDataPlane.
+ * Creates or updates a packet core data plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -126,7 +126,7 @@ SyncPoller, PacketCoreDataPlaneInner> begin
PacketCoreDataPlaneInner parameters);
/**
- * Creates or updates a PacketCoreDataPlane.
+ * Creates or updates a packet core data plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -147,7 +147,7 @@ SyncPoller, PacketCoreDataPlaneInner> begin
Context context);
/**
- * Creates or updates a PacketCoreDataPlane.
+ * Creates or updates a packet core data plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -166,7 +166,7 @@ PacketCoreDataPlaneInner createOrUpdate(
PacketCoreDataPlaneInner parameters);
/**
- * Creates or updates a PacketCoreDataPlane.
+ * Creates or updates a packet core data plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -187,12 +187,12 @@ PacketCoreDataPlaneInner createOrUpdate(
Context context);
/**
- * Updates a PacketCoreDataPlane update tags.
+ * Updates packet core data planes tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
* @param packetCoreDataPlaneName The name of the packet core data plane.
- * @param parameters Parameters supplied to update PacketCoreDataPlane tags.
+ * @param parameters Parameters supplied to update packet core data plane tags.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -206,12 +206,12 @@ PacketCoreDataPlaneInner updateTags(
TagsObject parameters);
/**
- * Updates a PacketCoreDataPlane update tags.
+ * Updates packet core data planes tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
* @param packetCoreDataPlaneName The name of the packet core data plane.
- * @param parameters Parameters supplied to update PacketCoreDataPlane tags.
+ * @param parameters Parameters supplied to update packet core data plane tags.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -227,7 +227,7 @@ Response updateTagsWithResponse(
Context context);
/**
- * Lists all the packetCoreDataPlanes associated with a packetCoreControlPlane.
+ * Lists all the packet core data planes associated with a packet core control plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -241,7 +241,7 @@ PagedIterable listByPacketCoreControlPlane(
String resourceGroupName, String packetCoreControlPlaneName);
/**
- * Lists all the packetCoreDataPlanes associated with a packetCoreControlPlane.
+ * Lists all the packet core data planes associated with a packet core control plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/ServicesClient.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/ServicesClient.java
index 25182b3c2a42b..22995550263aa 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/ServicesClient.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/ServicesClient.java
@@ -111,7 +111,7 @@ Response getWithResponse(
String resourceGroupName, String mobileNetworkName, String serviceName, Context context);
/**
- * Creates or updates a Service.
+ * Creates or updates a service.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -128,7 +128,7 @@ SyncPoller, ServiceInner> beginCreateOrUpdate(
String resourceGroupName, String mobileNetworkName, String serviceName, ServiceInner parameters);
/**
- * Creates or updates a Service.
+ * Creates or updates a service.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -150,7 +150,7 @@ SyncPoller, ServiceInner> beginCreateOrUpdate(
Context context);
/**
- * Creates or updates a Service.
+ * Creates or updates a service.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -167,7 +167,7 @@ ServiceInner createOrUpdate(
String resourceGroupName, String mobileNetworkName, String serviceName, ServiceInner parameters);
/**
- * Creates or updates a Service.
+ * Creates or updates a service.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -189,7 +189,7 @@ ServiceInner createOrUpdate(
Context context);
/**
- * Update service tags.
+ * Updates service tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -206,7 +206,7 @@ ServiceInner updateTags(
String resourceGroupName, String mobileNetworkName, String serviceName, TagsObject parameters);
/**
- * Update service tags.
+ * Updates service tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SimGroupsClient.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SimGroupsClient.java
new file mode 100644
index 0000000000000..25d5bfd75d1f6
--- /dev/null
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SimGroupsClient.java
@@ -0,0 +1,236 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.mobilenetwork.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.mobilenetwork.fluent.models.SimGroupInner;
+import com.azure.resourcemanager.mobilenetwork.models.TagsObject;
+
+/** An instance of this class provides access to all the operations defined in SimGroupsClient. */
+public interface SimGroupsClient {
+ /**
+ * Deletes the specified SIM group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String simGroupName);
+
+ /**
+ * Deletes the specified SIM group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String simGroupName, Context context);
+
+ /**
+ * Deletes the specified SIM group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String simGroupName);
+
+ /**
+ * Deletes the specified SIM group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String simGroupName, Context context);
+
+ /**
+ * Gets information about the specified SIM group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return information about the specified SIM group.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SimGroupInner getByResourceGroup(String resourceGroupName, String simGroupName);
+
+ /**
+ * Gets information about the specified SIM group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return information about the specified SIM group along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(
+ String resourceGroupName, String simGroupName, Context context);
+
+ /**
+ * Creates or updates a SIM group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
+ * @param parameters Parameters supplied to the create or update SIM group operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of sIM group resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SimGroupInner> beginCreateOrUpdate(
+ String resourceGroupName, String simGroupName, SimGroupInner parameters);
+
+ /**
+ * Creates or updates a SIM group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
+ * @param parameters Parameters supplied to the create or update SIM group operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of sIM group resource.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, SimGroupInner> beginCreateOrUpdate(
+ String resourceGroupName, String simGroupName, SimGroupInner parameters, Context context);
+
+ /**
+ * Creates or updates a SIM group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
+ * @param parameters Parameters supplied to the create or update SIM group operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return sIM group resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SimGroupInner createOrUpdate(String resourceGroupName, String simGroupName, SimGroupInner parameters);
+
+ /**
+ * Creates or updates a SIM group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
+ * @param parameters Parameters supplied to the create or update SIM group operation.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return sIM group resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SimGroupInner createOrUpdate(
+ String resourceGroupName, String simGroupName, SimGroupInner parameters, Context context);
+
+ /**
+ * Updates SIM group tags.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
+ * @param parameters Parameters supplied to update SIM group tags.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return sIM group resource.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SimGroupInner updateTags(String resourceGroupName, String simGroupName, TagsObject parameters);
+
+ /**
+ * Updates SIM group tags.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
+ * @param parameters Parameters supplied to update SIM group tags.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return sIM group resource along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response updateTagsWithResponse(
+ String resourceGroupName, String simGroupName, TagsObject parameters, Context context);
+
+ /**
+ * Gets all the SIM groups in a subscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all the SIM groups in a subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * Gets all the SIM groups in a subscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all the SIM groups in a subscription as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Gets all the SIM groups in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all the SIM groups in a resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * Gets all the SIM groups in a resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return all the SIM groups in a resource group as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+}
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SimPoliciesClient.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SimPoliciesClient.java
index 5f6603ebb7bb3..c76e168d35de9 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SimPoliciesClient.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SimPoliciesClient.java
@@ -17,7 +17,7 @@
/** An instance of this class provides access to all the operations defined in SimPoliciesClient. */
public interface SimPoliciesClient {
/**
- * Deletes the specified sim policy.
+ * Deletes the specified SIM policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -32,7 +32,7 @@ SyncPoller, Void> beginDelete(
String resourceGroupName, String mobileNetworkName, String simPolicyName);
/**
- * Deletes the specified sim policy.
+ * Deletes the specified SIM policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -48,7 +48,7 @@ SyncPoller, Void> beginDelete(
String resourceGroupName, String mobileNetworkName, String simPolicyName, Context context);
/**
- * Deletes the specified sim policy.
+ * Deletes the specified SIM policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -61,7 +61,7 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String mobileNetworkName, String simPolicyName);
/**
- * Deletes the specified sim policy.
+ * Deletes the specified SIM policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -75,7 +75,7 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String mobileNetworkName, String simPolicyName, Context context);
/**
- * Gets information about the specified sim policy.
+ * Gets information about the specified SIM policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -83,13 +83,13 @@ SyncPoller, Void> beginDelete(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified sim policy.
+ * @return information about the specified SIM policy.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SimPolicyInner get(String resourceGroupName, String mobileNetworkName, String simPolicyName);
/**
- * Gets information about the specified sim policy.
+ * Gets information about the specified SIM policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -98,40 +98,40 @@ SyncPoller, Void> beginDelete(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified sim policy along with {@link Response}.
+ * @return information about the specified SIM policy along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
String resourceGroupName, String mobileNetworkName, String simPolicyName, Context context);
/**
- * Creates or updates a SimPolicy.
+ * Creates or updates a SIM policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
* @param simPolicyName The name of the SIM policy.
- * @param parameters Parameters supplied to the create or update sim policy operation.
+ * @param parameters Parameters supplied to the create or update SIM policy operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of sim policy resource.
+ * @return the {@link SyncPoller} for polling of sIM policy resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SimPolicyInner> beginCreateOrUpdate(
String resourceGroupName, String mobileNetworkName, String simPolicyName, SimPolicyInner parameters);
/**
- * Creates or updates a SimPolicy.
+ * Creates or updates a SIM policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
* @param simPolicyName The name of the SIM policy.
- * @param parameters Parameters supplied to the create or update sim policy operation.
+ * @param parameters Parameters supplied to the create or update SIM policy operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of sim policy resource.
+ * @return the {@link SyncPoller} for polling of sIM policy resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SimPolicyInner> beginCreateOrUpdate(
@@ -142,33 +142,33 @@ SyncPoller, SimPolicyInner> beginCreateOrUpdate(
Context context);
/**
- * Creates or updates a SimPolicy.
+ * Creates or updates a SIM policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
* @param simPolicyName The name of the SIM policy.
- * @param parameters Parameters supplied to the create or update sim policy operation.
+ * @param parameters Parameters supplied to the create or update SIM policy operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return sim policy resource.
+ * @return sIM policy resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SimPolicyInner createOrUpdate(
String resourceGroupName, String mobileNetworkName, String simPolicyName, SimPolicyInner parameters);
/**
- * Creates or updates a SimPolicy.
+ * Creates or updates a SIM policy.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
* @param simPolicyName The name of the SIM policy.
- * @param parameters Parameters supplied to the create or update sim policy operation.
+ * @param parameters Parameters supplied to the create or update SIM policy operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return sim policy resource.
+ * @return sIM policy resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SimPolicyInner createOrUpdate(
@@ -179,33 +179,33 @@ SimPolicyInner createOrUpdate(
Context context);
/**
- * Update sim policy tags.
+ * Updates SIM policy tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
* @param simPolicyName The name of the SIM policy.
- * @param parameters Parameters supplied to update Sim Policy tags.
+ * @param parameters Parameters supplied to update SIM policy tags.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return sim policy resource.
+ * @return sIM policy resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SimPolicyInner updateTags(
String resourceGroupName, String mobileNetworkName, String simPolicyName, TagsObject parameters);
/**
- * Update sim policy tags.
+ * Updates SIM policy tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
* @param simPolicyName The name of the SIM policy.
- * @param parameters Parameters supplied to update Sim Policy tags.
+ * @param parameters Parameters supplied to update SIM policy tags.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return sim policy resource along with {@link Response}.
+ * @return sIM policy resource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response updateTagsWithResponse(
@@ -216,20 +216,20 @@ Response updateTagsWithResponse(
Context context);
/**
- * Gets all the simPolicies in a mobile network.
+ * Gets all the SIM policies in a mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the simPolicies in a mobile network as paginated response with {@link PagedIterable}.
+ * @return all the SIM policies in a mobile network as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByMobileNetwork(String resourceGroupName, String mobileNetworkName);
/**
- * Gets all the simPolicies in a mobile network.
+ * Gets all the SIM policies in a mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -237,7 +237,7 @@ Response updateTagsWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the simPolicies in a mobile network as paginated response with {@link PagedIterable}.
+ * @return all the SIM policies in a mobile network as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByMobileNetwork(
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SimsClient.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SimsClient.java
index 29f27360460de..dc1de80819a94 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SimsClient.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SimsClient.java
@@ -12,14 +12,14 @@
import com.azure.core.util.Context;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.mobilenetwork.fluent.models.SimInner;
-import com.azure.resourcemanager.mobilenetwork.models.TagsObject;
/** An instance of this class provides access to all the operations defined in SimsClient. */
public interface SimsClient {
/**
- * Deletes the specified sim.
+ * Deletes the specified SIM.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
* @param simName The name of the SIM.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -27,12 +27,13 @@ public interface SimsClient {
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String simName);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String simGroupName, String simName);
/**
- * Deletes the specified sim.
+ * Deletes the specified SIM.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
* @param simName The name of the SIM.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -41,24 +42,27 @@ public interface SimsClient {
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String simName, Context context);
+ SyncPoller, Void> beginDelete(
+ String resourceGroupName, String simGroupName, String simName, Context context);
/**
- * Deletes the specified sim.
+ * Deletes the specified SIM.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
* @param simName The name of the SIM.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String simName);
+ void delete(String resourceGroupName, String simGroupName, String simName);
/**
- * Deletes the specified sim.
+ * Deletes the specified SIM.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
* @param simName The name of the SIM.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -66,169 +70,126 @@ public interface SimsClient {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String simName, Context context);
+ void delete(String resourceGroupName, String simGroupName, String simName, Context context);
/**
- * Gets information about the specified sim.
+ * Gets information about the specified SIM.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
* @param simName The name of the SIM.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified sim.
+ * @return information about the specified SIM.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SimInner getByResourceGroup(String resourceGroupName, String simName);
+ SimInner get(String resourceGroupName, String simGroupName, String simName);
/**
- * Gets information about the specified sim.
+ * Gets information about the specified SIM.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
* @param simName The name of the SIM.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified sim along with {@link Response}.
+ * @return information about the specified SIM along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName, String simName, Context context);
+ Response getWithResponse(String resourceGroupName, String simGroupName, String simName, Context context);
/**
- * Creates or updates a Sim.
+ * Creates or updates a SIM.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
* @param simName The name of the SIM.
- * @param parameters Parameters supplied to the create or update sim operation.
+ * @param parameters Parameters supplied to the create or update SIM operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of sim resource.
+ * @return the {@link SyncPoller} for polling of sIM resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SimInner> beginCreateOrUpdate(
- String resourceGroupName, String simName, SimInner parameters);
+ String resourceGroupName, String simGroupName, String simName, SimInner parameters);
/**
- * Creates or updates a Sim.
+ * Creates or updates a SIM.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
* @param simName The name of the SIM.
- * @param parameters Parameters supplied to the create or update sim operation.
+ * @param parameters Parameters supplied to the create or update SIM operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of sim resource.
+ * @return the {@link SyncPoller} for polling of sIM resource.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, SimInner> beginCreateOrUpdate(
- String resourceGroupName, String simName, SimInner parameters, Context context);
+ String resourceGroupName, String simGroupName, String simName, SimInner parameters, Context context);
/**
- * Creates or updates a Sim.
+ * Creates or updates a SIM.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
* @param simName The name of the SIM.
- * @param parameters Parameters supplied to the create or update sim operation.
+ * @param parameters Parameters supplied to the create or update SIM operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return sim resource.
+ * @return sIM resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SimInner createOrUpdate(String resourceGroupName, String simName, SimInner parameters);
+ SimInner createOrUpdate(String resourceGroupName, String simGroupName, String simName, SimInner parameters);
/**
- * Creates or updates a Sim.
+ * Creates or updates a SIM.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
* @param simName The name of the SIM.
- * @param parameters Parameters supplied to the create or update sim operation.
+ * @param parameters Parameters supplied to the create or update SIM operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return sim resource.
+ * @return sIM resource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SimInner createOrUpdate(String resourceGroupName, String simName, SimInner parameters, Context context);
+ SimInner createOrUpdate(
+ String resourceGroupName, String simGroupName, String simName, SimInner parameters, Context context);
/**
- * Updates a sim update tags.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param simName The name of the SIM.
- * @param parameters Parameters supplied to update sim tags.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return sim resource.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- SimInner updateTags(String resourceGroupName, String simName, TagsObject parameters);
-
- /**
- * Updates a sim update tags.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param simName The name of the SIM.
- * @param parameters Parameters supplied to update sim tags.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return sim resource along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response updateTagsWithResponse(
- String resourceGroupName, String simName, TagsObject parameters, Context context);
-
- /**
- * Gets all the sims in a subscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the sims in a subscription as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list();
-
- /**
- * Gets all the sims in a subscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the sims in a subscription as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(Context context);
-
- /**
- * Gets all the Sims in a subscription.
+ * Gets all the SIMs in a SIM group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the Sims in a subscription as paginated response with {@link PagedIterable}.
+ * @return all the SIMs in a SIM group as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
+ PagedIterable listBySimGroup(String resourceGroupName, String simGroupName);
/**
- * Gets all the Sims in a subscription.
+ * Gets all the SIMs in a SIM group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param simGroupName The name of the SIM Group.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the Sims in a subscription as paginated response with {@link PagedIterable}.
+ * @return all the SIMs in a SIM group as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+ PagedIterable listBySimGroup(String resourceGroupName, String simGroupName, Context context);
}
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SitesClient.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SitesClient.java
index abc2f3fbedc18..c0b61e8ec0b09 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SitesClient.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SitesClient.java
@@ -169,7 +169,7 @@ SiteInner createOrUpdate(
String resourceGroupName, String mobileNetworkName, String siteName, SiteInner parameters, Context context);
/**
- * Updates a site update tags.
+ * Updates site tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -184,7 +184,7 @@ SiteInner createOrUpdate(
SiteInner updateTags(String resourceGroupName, String mobileNetworkName, String siteName, TagsObject parameters);
/**
- * Updates a site update tags.
+ * Updates site tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SlicesClient.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SlicesClient.java
index 5f58299b89864..9ec5df50c691e 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SlicesClient.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/SlicesClient.java
@@ -17,11 +17,11 @@
/** An instance of this class provides access to all the operations defined in SlicesClient. */
public interface SlicesClient {
/**
- * Deletes the specified mobile network slice.
+ * Deletes the specified network slice.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param sliceName The name of the mobile network slice.
+ * @param sliceName The name of the network slice.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -32,11 +32,11 @@ SyncPoller, Void> beginDelete(
String resourceGroupName, String mobileNetworkName, String sliceName);
/**
- * Deletes the specified mobile network slice.
+ * Deletes the specified network slice.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param sliceName The name of the mobile network slice.
+ * @param sliceName The name of the network slice.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -48,11 +48,11 @@ SyncPoller, Void> beginDelete(
String resourceGroupName, String mobileNetworkName, String sliceName, Context context);
/**
- * Deletes the specified mobile network slice.
+ * Deletes the specified network slice.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param sliceName The name of the mobile network slice.
+ * @param sliceName The name of the network slice.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -61,11 +61,11 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String mobileNetworkName, String sliceName);
/**
- * Deletes the specified mobile network slice.
+ * Deletes the specified network slice.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param sliceName The name of the mobile network slice.
+ * @param sliceName The name of the network slice.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -75,42 +75,42 @@ SyncPoller, Void> beginDelete(
void delete(String resourceGroupName, String mobileNetworkName, String sliceName, Context context);
/**
- * Gets information about the specified mobile network slice.
+ * Gets information about the specified network slice.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param sliceName The name of the mobile network slice.
+ * @param sliceName The name of the network slice.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified mobile network slice.
+ * @return information about the specified network slice.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SliceInner get(String resourceGroupName, String mobileNetworkName, String sliceName);
/**
- * Gets information about the specified mobile network slice.
+ * Gets information about the specified network slice.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param sliceName The name of the mobile network slice.
+ * @param sliceName The name of the network slice.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified mobile network slice along with {@link Response}.
+ * @return information about the specified network slice along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(
String resourceGroupName, String mobileNetworkName, String sliceName, Context context);
/**
- * Creates or updates a mobile network slice.
+ * Creates or updates a network slice.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param sliceName The name of the mobile network slice.
- * @param parameters Parameters supplied to the create or update mobile network slice operation.
+ * @param sliceName The name of the network slice.
+ * @param parameters Parameters supplied to the create or update network slice operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -121,12 +121,12 @@ SyncPoller, SliceInner> beginCreateOrUpdate(
String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters);
/**
- * Creates or updates a mobile network slice.
+ * Creates or updates a network slice.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param sliceName The name of the mobile network slice.
- * @param parameters Parameters supplied to the create or update mobile network slice operation.
+ * @param sliceName The name of the network slice.
+ * @param parameters Parameters supplied to the create or update network slice operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -138,12 +138,12 @@ SyncPoller, SliceInner> beginCreateOrUpdate(
String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters, Context context);
/**
- * Creates or updates a mobile network slice.
+ * Creates or updates a network slice.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param sliceName The name of the mobile network slice.
- * @param parameters Parameters supplied to the create or update mobile network slice operation.
+ * @param sliceName The name of the network slice.
+ * @param parameters Parameters supplied to the create or update network slice operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -154,12 +154,12 @@ SliceInner createOrUpdate(
String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters);
/**
- * Creates or updates a mobile network slice.
+ * Creates or updates a network slice.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param sliceName The name of the mobile network slice.
- * @param parameters Parameters supplied to the create or update mobile network slice operation.
+ * @param sliceName The name of the network slice.
+ * @param parameters Parameters supplied to the create or update network slice operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -171,12 +171,12 @@ SliceInner createOrUpdate(
String resourceGroupName, String mobileNetworkName, String sliceName, SliceInner parameters, Context context);
/**
- * Update slice tags.
+ * Updates slice tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param sliceName The name of the mobile network slice.
- * @param parameters Parameters supplied to update mobile network slice tags.
+ * @param sliceName The name of the network slice.
+ * @param parameters Parameters supplied to update network slice tags.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -186,12 +186,12 @@ SliceInner createOrUpdate(
SliceInner updateTags(String resourceGroupName, String mobileNetworkName, String sliceName, TagsObject parameters);
/**
- * Update slice tags.
+ * Updates slice tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param sliceName The name of the mobile network slice.
- * @param parameters Parameters supplied to update mobile network slice tags.
+ * @param sliceName The name of the network slice.
+ * @param parameters Parameters supplied to update network slice tags.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -210,7 +210,7 @@ Response updateTagsWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return response for attached data network API service call as paginated response with {@link PagedIterable}.
+ * @return response for network slice API service call as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByMobileNetwork(String resourceGroupName, String mobileNetworkName);
@@ -224,7 +224,7 @@ Response updateTagsWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return response for attached data network API service call as paginated response with {@link PagedIterable}.
+ * @return response for network slice API service call as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByMobileNetwork(String resourceGroupName, String mobileNetworkName, Context context);
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/AttachedDataNetworkInner.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/AttachedDataNetworkInner.java
index a98ac914d11a9..29a007d32a60e 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/AttachedDataNetworkInner.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/AttachedDataNetworkInner.java
@@ -56,8 +56,8 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the userPlaneDataInterface property: 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.
+ * Get the userPlaneDataInterface property: The user plane interface on the data network. For 5G networks, this is
+ * the N6 interface. For 4G networks, this is the SGi interface.
*
* @return the userPlaneDataInterface value.
*/
@@ -66,8 +66,8 @@ public InterfaceProperties userPlaneDataInterface() {
}
/**
- * Set the userPlaneDataInterface property: 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.
+ * Set the userPlaneDataInterface property: The user plane interface on the data network. For 5G networks, this is
+ * the N6 interface. For 4G networks, this is the SGi interface.
*
* @param userPlaneDataInterface the userPlaneDataInterface value to set.
* @return the AttachedDataNetworkInner object itself.
@@ -81,8 +81,31 @@ public AttachedDataNetworkInner withUserPlaneDataInterface(InterfaceProperties u
}
/**
- * Get the naptConfiguration property: The Network Address and Port Translation configuration. If not specified the
- * attached data network uses a default NAPT configuration with NAPT enabled.
+ * Get the dnsAddresses property: The DNS servers to signal to UEs to use for this attached data network.
+ *
+ * @return the dnsAddresses value.
+ */
+ public List dnsAddresses() {
+ return this.innerProperties() == null ? null : this.innerProperties().dnsAddresses();
+ }
+
+ /**
+ * Set the dnsAddresses property: The DNS servers to signal to UEs to use for this attached data network.
+ *
+ * @param dnsAddresses the dnsAddresses value to set.
+ * @return the AttachedDataNetworkInner object itself.
+ */
+ public AttachedDataNetworkInner withDnsAddresses(List dnsAddresses) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new AttachedDataNetworkPropertiesFormat();
+ }
+ this.innerProperties().withDnsAddresses(dnsAddresses);
+ return this;
+ }
+
+ /**
+ * Get the naptConfiguration property: The network address and port translation (NAPT) configuration. If this is not
+ * specified, the attached data network will use a default NAPT configuration with NAPT enabled.
*
* @return the naptConfiguration value.
*/
@@ -91,8 +114,8 @@ public NaptConfiguration naptConfiguration() {
}
/**
- * Set the naptConfiguration property: The Network Address and Port Translation configuration. If not specified the
- * attached data network uses a default NAPT configuration with NAPT enabled.
+ * Set the naptConfiguration property: The network address and port translation (NAPT) configuration. If this is not
+ * specified, the attached data network will use a default NAPT configuration with NAPT enabled.
*
* @param naptConfiguration the naptConfiguration value to set.
* @return the AttachedDataNetworkInner object itself.
@@ -106,10 +129,11 @@ public AttachedDataNetworkInner withNaptConfiguration(NaptConfiguration naptConf
}
/**
- * Get the userEquipmentAddressPoolPrefix property: 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. At least one of
- * userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined then
- * they must be the same size.
+ * Get the userEquipmentAddressPoolPrefix property: The user equipment (UE) address pool prefixes for the attached
+ * data network from which the packet core instance will dynamically assign IP addresses to UEs. The packet core
+ * instance assigns an IP address to a UE when the UE sets up a PDU session. You must define at least one of
+ * userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix. If you define both, they must be of the
+ * same size.
*
* @return the userEquipmentAddressPoolPrefix value.
*/
@@ -118,10 +142,11 @@ public List userEquipmentAddressPoolPrefix() {
}
/**
- * Set the userEquipmentAddressPoolPrefix property: 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. At least one of
- * userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined then
- * they must be the same size.
+ * Set the userEquipmentAddressPoolPrefix property: The user equipment (UE) address pool prefixes for the attached
+ * data network from which the packet core instance will dynamically assign IP addresses to UEs. The packet core
+ * instance assigns an IP address to a UE when the UE sets up a PDU session. You must define at least one of
+ * userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix. If you define both, they must be of the
+ * same size.
*
* @param userEquipmentAddressPoolPrefix the userEquipmentAddressPoolPrefix value to set.
* @return the AttachedDataNetworkInner object itself.
@@ -135,11 +160,11 @@ public AttachedDataNetworkInner withUserEquipmentAddressPoolPrefix(List
}
/**
- * Get the userEquipmentStaticAddressPoolPrefix property: 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. The mapping of
- * static IP to sim is configured in staticIpConfiguration on the sim resource. At least one of
- * userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined then
- * they must be the same size.
+ * Get the userEquipmentStaticAddressPoolPrefix property: The user equipment (UE) address pool prefixes for the
+ * attached data network from which the packet core instance will assign static IP addresses to UEs. The packet core
+ * instance assigns an IP address to a UE when the UE sets up a PDU session. The static IP address for a specific UE
+ * is set in StaticIPConfiguration on the corresponding SIM resource. At least one of userEquipmentAddressPoolPrefix
+ * and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined, they must be of the same size.
*
* @return the userEquipmentStaticAddressPoolPrefix value.
*/
@@ -148,11 +173,11 @@ public List userEquipmentStaticAddressPoolPrefix() {
}
/**
- * Set the userEquipmentStaticAddressPoolPrefix property: 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. The mapping of
- * static IP to sim is configured in staticIpConfiguration on the sim resource. At least one of
- * userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined then
- * they must be the same size.
+ * Set the userEquipmentStaticAddressPoolPrefix property: The user equipment (UE) address pool prefixes for the
+ * attached data network from which the packet core instance will assign static IP addresses to UEs. The packet core
+ * instance assigns an IP address to a UE when the UE sets up a PDU session. The static IP address for a specific UE
+ * is set in StaticIPConfiguration on the corresponding SIM resource. At least one of userEquipmentAddressPoolPrefix
+ * and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined, they must be of the same size.
*
* @param userEquipmentStaticAddressPoolPrefix the userEquipmentStaticAddressPoolPrefix value to set.
* @return the AttachedDataNetworkInner object itself.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/AttachedDataNetworkPropertiesFormat.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/AttachedDataNetworkPropertiesFormat.java
index d2831a1dd1561..fba5f8a9f0d9c 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/AttachedDataNetworkPropertiesFormat.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/AttachedDataNetworkPropertiesFormat.java
@@ -22,41 +22,49 @@ public final class AttachedDataNetworkPropertiesFormat {
private ProvisioningState provisioningState;
/*
- * 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.
+ * The user plane interface on the data network. For 5G networks, this is
+ * the N6 interface. For 4G networks, this is the SGi interface.
*/
@JsonProperty(value = "userPlaneDataInterface", required = true)
private InterfaceProperties userPlaneDataInterface;
/*
- * The Network Address and Port Translation configuration.
- * If not specified the attached data network uses a default NAPT
- * configuration with NAPT enabled.
+ * The DNS servers to signal to UEs to use for this attached data network.
+ */
+ @JsonProperty(value = "dnsAddresses")
+ private List dnsAddresses;
+
+ /*
+ * The network address and port translation (NAPT) configuration.
+ * If this is not specified, the attached data network will use a default
+ * NAPT configuration with NAPT enabled.
*/
@JsonProperty(value = "naptConfiguration")
private NaptConfiguration naptConfiguration;
/*
- * 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.
- * At least one of userEquipmentAddressPoolPrefix and
- * userEquipmentStaticAddressPoolPrefix must be defined. If both are
- * defined then they must be the same size.
+ * The user equipment (UE) address pool prefixes for the attached data
+ * network from which the packet core instance will dynamically assign IP
+ * addresses to UEs.
+ * The packet core instance assigns an IP address to a UE when the UE sets
+ * up a PDU session.
+ * You must define at least one of userEquipmentAddressPoolPrefix and
+ * userEquipmentStaticAddressPoolPrefix. If you define both, they must be
+ * of the same size.
*/
@JsonProperty(value = "userEquipmentAddressPoolPrefix")
private List userEquipmentAddressPoolPrefix;
/*
- * 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.
- * The mapping of static IP to sim is configured in staticIpConfiguration
- * on the sim resource.
+ * The user equipment (UE) address pool prefixes for the attached data
+ * network from which the packet core instance will assign static IP
+ * addresses to UEs.
+ * The packet core instance assigns an IP address to a UE when the UE sets
+ * up a PDU session. The static IP address for a specific UE is set in
+ * StaticIPConfiguration on the corresponding SIM resource.
* At least one of userEquipmentAddressPoolPrefix and
* userEquipmentStaticAddressPoolPrefix must be defined. If both are
- * defined then they must be the same size.
+ * defined, they must be of the same size.
*/
@JsonProperty(value = "userEquipmentStaticAddressPoolPrefix")
private List userEquipmentStaticAddressPoolPrefix;
@@ -71,8 +79,8 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the userPlaneDataInterface property: 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.
+ * Get the userPlaneDataInterface property: The user plane interface on the data network. For 5G networks, this is
+ * the N6 interface. For 4G networks, this is the SGi interface.
*
* @return the userPlaneDataInterface value.
*/
@@ -81,8 +89,8 @@ public InterfaceProperties userPlaneDataInterface() {
}
/**
- * Set the userPlaneDataInterface property: 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.
+ * Set the userPlaneDataInterface property: The user plane interface on the data network. For 5G networks, this is
+ * the N6 interface. For 4G networks, this is the SGi interface.
*
* @param userPlaneDataInterface the userPlaneDataInterface value to set.
* @return the AttachedDataNetworkPropertiesFormat object itself.
@@ -93,8 +101,28 @@ public AttachedDataNetworkPropertiesFormat withUserPlaneDataInterface(InterfaceP
}
/**
- * Get the naptConfiguration property: The Network Address and Port Translation configuration. If not specified the
- * attached data network uses a default NAPT configuration with NAPT enabled.
+ * Get the dnsAddresses property: The DNS servers to signal to UEs to use for this attached data network.
+ *
+ * @return the dnsAddresses value.
+ */
+ public List dnsAddresses() {
+ return this.dnsAddresses;
+ }
+
+ /**
+ * Set the dnsAddresses property: The DNS servers to signal to UEs to use for this attached data network.
+ *
+ * @param dnsAddresses the dnsAddresses value to set.
+ * @return the AttachedDataNetworkPropertiesFormat object itself.
+ */
+ public AttachedDataNetworkPropertiesFormat withDnsAddresses(List dnsAddresses) {
+ this.dnsAddresses = dnsAddresses;
+ return this;
+ }
+
+ /**
+ * Get the naptConfiguration property: The network address and port translation (NAPT) configuration. If this is not
+ * specified, the attached data network will use a default NAPT configuration with NAPT enabled.
*
* @return the naptConfiguration value.
*/
@@ -103,8 +131,8 @@ public NaptConfiguration naptConfiguration() {
}
/**
- * Set the naptConfiguration property: The Network Address and Port Translation configuration. If not specified the
- * attached data network uses a default NAPT configuration with NAPT enabled.
+ * Set the naptConfiguration property: The network address and port translation (NAPT) configuration. If this is not
+ * specified, the attached data network will use a default NAPT configuration with NAPT enabled.
*
* @param naptConfiguration the naptConfiguration value to set.
* @return the AttachedDataNetworkPropertiesFormat object itself.
@@ -115,10 +143,11 @@ public AttachedDataNetworkPropertiesFormat withNaptConfiguration(NaptConfigurati
}
/**
- * Get the userEquipmentAddressPoolPrefix property: 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. At least one of
- * userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined then
- * they must be the same size.
+ * Get the userEquipmentAddressPoolPrefix property: The user equipment (UE) address pool prefixes for the attached
+ * data network from which the packet core instance will dynamically assign IP addresses to UEs. The packet core
+ * instance assigns an IP address to a UE when the UE sets up a PDU session. You must define at least one of
+ * userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix. If you define both, they must be of the
+ * same size.
*
* @return the userEquipmentAddressPoolPrefix value.
*/
@@ -127,10 +156,11 @@ public List userEquipmentAddressPoolPrefix() {
}
/**
- * Set the userEquipmentAddressPoolPrefix property: 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. At least one of
- * userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined then
- * they must be the same size.
+ * Set the userEquipmentAddressPoolPrefix property: The user equipment (UE) address pool prefixes for the attached
+ * data network from which the packet core instance will dynamically assign IP addresses to UEs. The packet core
+ * instance assigns an IP address to a UE when the UE sets up a PDU session. You must define at least one of
+ * userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix. If you define both, they must be of the
+ * same size.
*
* @param userEquipmentAddressPoolPrefix the userEquipmentAddressPoolPrefix value to set.
* @return the AttachedDataNetworkPropertiesFormat object itself.
@@ -142,11 +172,11 @@ public AttachedDataNetworkPropertiesFormat withUserEquipmentAddressPoolPrefix(
}
/**
- * Get the userEquipmentStaticAddressPoolPrefix property: 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. The mapping of
- * static IP to sim is configured in staticIpConfiguration on the sim resource. At least one of
- * userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined then
- * they must be the same size.
+ * Get the userEquipmentStaticAddressPoolPrefix property: The user equipment (UE) address pool prefixes for the
+ * attached data network from which the packet core instance will assign static IP addresses to UEs. The packet core
+ * instance assigns an IP address to a UE when the UE sets up a PDU session. The static IP address for a specific UE
+ * is set in StaticIPConfiguration on the corresponding SIM resource. At least one of userEquipmentAddressPoolPrefix
+ * and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined, they must be of the same size.
*
* @return the userEquipmentStaticAddressPoolPrefix value.
*/
@@ -155,11 +185,11 @@ public List userEquipmentStaticAddressPoolPrefix() {
}
/**
- * Set the userEquipmentStaticAddressPoolPrefix property: 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. The mapping of
- * static IP to sim is configured in staticIpConfiguration on the sim resource. At least one of
- * userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined then
- * they must be the same size.
+ * Set the userEquipmentStaticAddressPoolPrefix property: The user equipment (UE) address pool prefixes for the
+ * attached data network from which the packet core instance will assign static IP addresses to UEs. The packet core
+ * instance assigns an IP address to a UE when the UE sets up a PDU session. The static IP address for a specific UE
+ * is set in StaticIPConfiguration on the corresponding SIM resource. At least one of userEquipmentAddressPoolPrefix
+ * and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined, they must be of the same size.
*
* @param userEquipmentStaticAddressPoolPrefix the userEquipmentStaticAddressPoolPrefix value to set.
* @return the AttachedDataNetworkPropertiesFormat object itself.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/MobileNetworkInner.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/MobileNetworkInner.java
index bb6b766c33f11..2a570b1a2e915 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/MobileNetworkInner.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/MobileNetworkInner.java
@@ -72,7 +72,7 @@ public ProvisioningState provisioningState() {
/**
* Get the publicLandMobileNetworkIdentifier property: 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
+ * 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.
*
@@ -84,7 +84,7 @@ public PlmnId publicLandMobileNetworkIdentifier() {
/**
* Set the publicLandMobileNetworkIdentifier property: 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
+ * 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.
*
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/MobileNetworkPropertiesFormat.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/MobileNetworkPropertiesFormat.java
index 71ebb4be05812..6ee6e648a4b40 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/MobileNetworkPropertiesFormat.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/MobileNetworkPropertiesFormat.java
@@ -21,7 +21,7 @@ public final class MobileNetworkPropertiesFormat {
/*
* The unique public land mobile network identifier for the network. This
- * is made up of the Mobile Country Code and Mobile Network Code, as
+ * 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.
@@ -46,7 +46,7 @@ public ProvisioningState provisioningState() {
/**
* Get the publicLandMobileNetworkIdentifier property: 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
+ * 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.
*
@@ -58,7 +58,7 @@ public PlmnId publicLandMobileNetworkIdentifier() {
/**
* Set the publicLandMobileNetworkIdentifier property: 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
+ * 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.
*
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreControlPlaneInner.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreControlPlaneInner.java
index f69ade4a3635e..dd9e71eb6831a 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreControlPlaneInner.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreControlPlaneInner.java
@@ -8,10 +8,13 @@
import com.azure.core.management.Resource;
import com.azure.core.management.SystemData;
import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.mobilenetwork.models.BillingSku;
import com.azure.resourcemanager.mobilenetwork.models.CoreNetworkType;
-import com.azure.resourcemanager.mobilenetwork.models.CustomLocationResourceId;
import com.azure.resourcemanager.mobilenetwork.models.InterfaceProperties;
+import com.azure.resourcemanager.mobilenetwork.models.LocalDiagnosticsAccessConfiguration;
+import com.azure.resourcemanager.mobilenetwork.models.ManagedServiceIdentity;
import com.azure.resourcemanager.mobilenetwork.models.MobileNetworkResourceId;
+import com.azure.resourcemanager.mobilenetwork.models.PlatformConfiguration;
import com.azure.resourcemanager.mobilenetwork.models.ProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
@@ -25,6 +28,13 @@ public final class PacketCoreControlPlaneInner extends Resource {
@JsonProperty(value = "properties", required = true)
private PacketCoreControlPlanePropertiesFormat innerProperties = new PacketCoreControlPlanePropertiesFormat();
+ /*
+ * The identity used to retrieve the ingress certificate from Azure key
+ * vault.
+ */
+ @JsonProperty(value = "identity")
+ private ManagedServiceIdentity identity;
+
/*
* Azure Resource Manager metadata containing createdBy and modifiedBy
* information.
@@ -41,6 +51,26 @@ private PacketCoreControlPlanePropertiesFormat innerProperties() {
return this.innerProperties;
}
+ /**
+ * Get the identity property: The identity used to retrieve the ingress certificate from Azure key vault.
+ *
+ * @return the identity value.
+ */
+ public ManagedServiceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: The identity used to retrieve the ingress certificate from Azure key vault.
+ *
+ * @param identity the identity value to set.
+ * @return the PacketCoreControlPlaneInner object itself.
+ */
+ public PacketCoreControlPlaneInner withIdentity(ManagedServiceIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -74,7 +104,7 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the mobileNetwork property: Mobile network that this packet core control plane belongs to.
+ * Get the mobileNetwork property: Mobile network in which this packet core control plane is deployed.
*
* @return the mobileNetwork value.
*/
@@ -83,7 +113,7 @@ public MobileNetworkResourceId mobileNetwork() {
}
/**
- * Set the mobileNetwork property: Mobile network that this packet core control plane belongs to.
+ * Set the mobileNetwork property: Mobile network in which this packet core control plane is deployed.
*
* @param mobileNetwork the mobileNetwork value to set.
* @return the PacketCoreControlPlaneInner object itself.
@@ -97,30 +127,30 @@ public PacketCoreControlPlaneInner withMobileNetwork(MobileNetworkResourceId mob
}
/**
- * Get the customLocation property: Azure ARC custom location where the packet core is deployed.
+ * Get the platform property: The platform where the packet core is deployed.
*
- * @return the customLocation value.
+ * @return the platform value.
*/
- public CustomLocationResourceId customLocation() {
- return this.innerProperties() == null ? null : this.innerProperties().customLocation();
+ public PlatformConfiguration platform() {
+ return this.innerProperties() == null ? null : this.innerProperties().platform();
}
/**
- * Set the customLocation property: Azure ARC custom location where the packet core is deployed.
+ * Set the platform property: The platform where the packet core is deployed.
*
- * @param customLocation the customLocation value to set.
+ * @param platform the platform value to set.
* @return the PacketCoreControlPlaneInner object itself.
*/
- public PacketCoreControlPlaneInner withCustomLocation(CustomLocationResourceId customLocation) {
+ public PacketCoreControlPlaneInner withPlatform(PlatformConfiguration platform) {
if (this.innerProperties() == null) {
this.innerProperties = new PacketCoreControlPlanePropertiesFormat();
}
- this.innerProperties().withCustomLocation(customLocation);
+ this.innerProperties().withPlatform(platform);
return this;
}
/**
- * Get the coreNetworkTechnology property: The core network technology generation.
+ * Get the coreNetworkTechnology property: The core network technology generation (5G core or EPC / 4G core).
*
* @return the coreNetworkTechnology value.
*/
@@ -129,7 +159,7 @@ public CoreNetworkType coreNetworkTechnology() {
}
/**
- * Set the coreNetworkTechnology property: The core network technology generation.
+ * Set the coreNetworkTechnology property: The core network technology generation (5G core or EPC / 4G core).
*
* @param coreNetworkTechnology the coreNetworkTechnology value to set.
* @return the PacketCoreControlPlaneInner object itself.
@@ -166,8 +196,8 @@ public PacketCoreControlPlaneInner withVersion(String version) {
}
/**
- * Get the controlPlaneAccessInterface property: 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.
+ * Get the controlPlaneAccessInterface property: The control plane interface on the access network. For 5G networks,
+ * this is the N2 interface. For 4G networks, this is the S1-MME interface.
*
* @return the controlPlaneAccessInterface value.
*/
@@ -176,8 +206,8 @@ public InterfaceProperties controlPlaneAccessInterface() {
}
/**
- * Set the controlPlaneAccessInterface property: 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.
+ * Set the controlPlaneAccessInterface property: The control plane interface on the access network. For 5G networks,
+ * this is the N2 interface. For 4G networks, this is the S1-MME interface.
*
* @param controlPlaneAccessInterface the controlPlaneAccessInterface value to set.
* @return the PacketCoreControlPlaneInner object itself.
@@ -191,6 +221,82 @@ public PacketCoreControlPlaneInner withControlPlaneAccessInterface(
return this;
}
+ /**
+ * Get the sku property: The SKU defining the throughput and SIM allowances for this packet core control plane
+ * deployment.
+ *
+ * @return the sku value.
+ */
+ public BillingSku sku() {
+ return this.innerProperties() == null ? null : this.innerProperties().sku();
+ }
+
+ /**
+ * Set the sku property: The SKU defining the throughput and SIM allowances for this packet core control plane
+ * deployment.
+ *
+ * @param sku the sku value to set.
+ * @return the PacketCoreControlPlaneInner object itself.
+ */
+ public PacketCoreControlPlaneInner withSku(BillingSku sku) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new PacketCoreControlPlanePropertiesFormat();
+ }
+ this.innerProperties().withSku(sku);
+ return this;
+ }
+
+ /**
+ * Get the localDiagnosticsAccess property: The kubernetes ingress configuration to control access to packet core
+ * diagnostics over local APIs.
+ *
+ * @return the localDiagnosticsAccess value.
+ */
+ public LocalDiagnosticsAccessConfiguration localDiagnosticsAccess() {
+ return this.innerProperties() == null ? null : this.innerProperties().localDiagnosticsAccess();
+ }
+
+ /**
+ * Set the localDiagnosticsAccess property: The kubernetes ingress configuration to control access to packet core
+ * diagnostics over local APIs.
+ *
+ * @param localDiagnosticsAccess the localDiagnosticsAccess value to set.
+ * @return the PacketCoreControlPlaneInner object itself.
+ */
+ public PacketCoreControlPlaneInner withLocalDiagnosticsAccess(
+ LocalDiagnosticsAccessConfiguration localDiagnosticsAccess) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new PacketCoreControlPlanePropertiesFormat();
+ }
+ this.innerProperties().withLocalDiagnosticsAccess(localDiagnosticsAccess);
+ return this;
+ }
+
+ /**
+ * Get the interopSettings property: Settings to allow interoperability with third party components e.g. RANs and
+ * UEs.
+ *
+ * @return the interopSettings value.
+ */
+ public Object interopSettings() {
+ return this.innerProperties() == null ? null : this.innerProperties().interopSettings();
+ }
+
+ /**
+ * Set the interopSettings property: Settings to allow interoperability with third party components e.g. RANs and
+ * UEs.
+ *
+ * @param interopSettings the interopSettings value to set.
+ * @return the PacketCoreControlPlaneInner object itself.
+ */
+ public PacketCoreControlPlaneInner withInteropSettings(Object interopSettings) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new PacketCoreControlPlanePropertiesFormat();
+ }
+ this.innerProperties().withInteropSettings(interopSettings);
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -205,6 +311,9 @@ public void validate() {
} else {
innerProperties().validate();
}
+ if (identity() != null) {
+ identity().validate();
+ }
}
private static final ClientLogger LOGGER = new ClientLogger(PacketCoreControlPlaneInner.class);
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreControlPlanePropertiesFormat.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreControlPlanePropertiesFormat.java
index 13f2e4130e372..f6fbdbcaf0400 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreControlPlanePropertiesFormat.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreControlPlanePropertiesFormat.java
@@ -6,14 +6,16 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.mobilenetwork.models.BillingSku;
import com.azure.resourcemanager.mobilenetwork.models.CoreNetworkType;
-import com.azure.resourcemanager.mobilenetwork.models.CustomLocationResourceId;
import com.azure.resourcemanager.mobilenetwork.models.InterfaceProperties;
+import com.azure.resourcemanager.mobilenetwork.models.LocalDiagnosticsAccessConfiguration;
import com.azure.resourcemanager.mobilenetwork.models.MobileNetworkResourceId;
+import com.azure.resourcemanager.mobilenetwork.models.PlatformConfiguration;
import com.azure.resourcemanager.mobilenetwork.models.ProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** PacketCoreControlPlane properties. */
+/** Packet core control plane properties. */
@Fluent
public final class PacketCoreControlPlanePropertiesFormat {
/*
@@ -23,19 +25,19 @@ public final class PacketCoreControlPlanePropertiesFormat {
private ProvisioningState provisioningState;
/*
- * Mobile network that this packet core control plane belongs to
+ * Mobile network in which this packet core control plane is deployed.
*/
@JsonProperty(value = "mobileNetwork", required = true)
private MobileNetworkResourceId mobileNetwork;
/*
- * Azure ARC custom location where the packet core is deployed.
+ * The platform where the packet core is deployed.
*/
- @JsonProperty(value = "customLocation")
- private CustomLocationResourceId customLocation;
+ @JsonProperty(value = "platform")
+ private PlatformConfiguration platform;
/*
- * The core network technology generation.
+ * The core network technology generation (5G core or EPC / 4G core).
*/
@JsonProperty(value = "coreNetworkTechnology")
private CoreNetworkType coreNetworkTechnology;
@@ -47,13 +49,33 @@ public final class PacketCoreControlPlanePropertiesFormat {
private String version;
/*
- * 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.
+ * The control plane interface on the access network. For 5G networks, this
+ * is the N2 interface. For 4G networks, this is the S1-MME interface.
*/
@JsonProperty(value = "controlPlaneAccessInterface", required = true)
private InterfaceProperties controlPlaneAccessInterface;
+ /*
+ * The SKU defining the throughput and SIM allowances for this packet core
+ * control plane deployment.
+ */
+ @JsonProperty(value = "sku", required = true)
+ private BillingSku sku;
+
+ /*
+ * The kubernetes ingress configuration to control access to packet core
+ * diagnostics over local APIs.
+ */
+ @JsonProperty(value = "localDiagnosticsAccess")
+ private LocalDiagnosticsAccessConfiguration localDiagnosticsAccess;
+
+ /*
+ * Settings to allow interoperability with third party components e.g. RANs
+ * and UEs.
+ */
+ @JsonProperty(value = "interopSettings")
+ private Object interopSettings;
+
/**
* Get the provisioningState property: The provisioning state of the packet core control plane resource.
*
@@ -64,7 +86,7 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the mobileNetwork property: Mobile network that this packet core control plane belongs to.
+ * Get the mobileNetwork property: Mobile network in which this packet core control plane is deployed.
*
* @return the mobileNetwork value.
*/
@@ -73,7 +95,7 @@ public MobileNetworkResourceId mobileNetwork() {
}
/**
- * Set the mobileNetwork property: Mobile network that this packet core control plane belongs to.
+ * Set the mobileNetwork property: Mobile network in which this packet core control plane is deployed.
*
* @param mobileNetwork the mobileNetwork value to set.
* @return the PacketCoreControlPlanePropertiesFormat object itself.
@@ -84,27 +106,27 @@ public PacketCoreControlPlanePropertiesFormat withMobileNetwork(MobileNetworkRes
}
/**
- * Get the customLocation property: Azure ARC custom location where the packet core is deployed.
+ * Get the platform property: The platform where the packet core is deployed.
*
- * @return the customLocation value.
+ * @return the platform value.
*/
- public CustomLocationResourceId customLocation() {
- return this.customLocation;
+ public PlatformConfiguration platform() {
+ return this.platform;
}
/**
- * Set the customLocation property: Azure ARC custom location where the packet core is deployed.
+ * Set the platform property: The platform where the packet core is deployed.
*
- * @param customLocation the customLocation value to set.
+ * @param platform the platform value to set.
* @return the PacketCoreControlPlanePropertiesFormat object itself.
*/
- public PacketCoreControlPlanePropertiesFormat withCustomLocation(CustomLocationResourceId customLocation) {
- this.customLocation = customLocation;
+ public PacketCoreControlPlanePropertiesFormat withPlatform(PlatformConfiguration platform) {
+ this.platform = platform;
return this;
}
/**
- * Get the coreNetworkTechnology property: The core network technology generation.
+ * Get the coreNetworkTechnology property: The core network technology generation (5G core or EPC / 4G core).
*
* @return the coreNetworkTechnology value.
*/
@@ -113,7 +135,7 @@ public CoreNetworkType coreNetworkTechnology() {
}
/**
- * Set the coreNetworkTechnology property: The core network technology generation.
+ * Set the coreNetworkTechnology property: The core network technology generation (5G core or EPC / 4G core).
*
* @param coreNetworkTechnology the coreNetworkTechnology value to set.
* @return the PacketCoreControlPlanePropertiesFormat object itself.
@@ -144,8 +166,8 @@ public PacketCoreControlPlanePropertiesFormat withVersion(String version) {
}
/**
- * Get the controlPlaneAccessInterface property: 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.
+ * Get the controlPlaneAccessInterface property: The control plane interface on the access network. For 5G networks,
+ * this is the N2 interface. For 4G networks, this is the S1-MME interface.
*
* @return the controlPlaneAccessInterface value.
*/
@@ -154,8 +176,8 @@ public InterfaceProperties controlPlaneAccessInterface() {
}
/**
- * Set the controlPlaneAccessInterface property: 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.
+ * Set the controlPlaneAccessInterface property: The control plane interface on the access network. For 5G networks,
+ * this is the N2 interface. For 4G networks, this is the S1-MME interface.
*
* @param controlPlaneAccessInterface the controlPlaneAccessInterface value to set.
* @return the PacketCoreControlPlanePropertiesFormat object itself.
@@ -166,6 +188,73 @@ public PacketCoreControlPlanePropertiesFormat withControlPlaneAccessInterface(
return this;
}
+ /**
+ * Get the sku property: The SKU defining the throughput and SIM allowances for this packet core control plane
+ * deployment.
+ *
+ * @return the sku value.
+ */
+ public BillingSku sku() {
+ return this.sku;
+ }
+
+ /**
+ * Set the sku property: The SKU defining the throughput and SIM allowances for this packet core control plane
+ * deployment.
+ *
+ * @param sku the sku value to set.
+ * @return the PacketCoreControlPlanePropertiesFormat object itself.
+ */
+ public PacketCoreControlPlanePropertiesFormat withSku(BillingSku sku) {
+ this.sku = sku;
+ return this;
+ }
+
+ /**
+ * Get the localDiagnosticsAccess property: The kubernetes ingress configuration to control access to packet core
+ * diagnostics over local APIs.
+ *
+ * @return the localDiagnosticsAccess value.
+ */
+ public LocalDiagnosticsAccessConfiguration localDiagnosticsAccess() {
+ return this.localDiagnosticsAccess;
+ }
+
+ /**
+ * Set the localDiagnosticsAccess property: The kubernetes ingress configuration to control access to packet core
+ * diagnostics over local APIs.
+ *
+ * @param localDiagnosticsAccess the localDiagnosticsAccess value to set.
+ * @return the PacketCoreControlPlanePropertiesFormat object itself.
+ */
+ public PacketCoreControlPlanePropertiesFormat withLocalDiagnosticsAccess(
+ LocalDiagnosticsAccessConfiguration localDiagnosticsAccess) {
+ this.localDiagnosticsAccess = localDiagnosticsAccess;
+ return this;
+ }
+
+ /**
+ * Get the interopSettings property: Settings to allow interoperability with third party components e.g. RANs and
+ * UEs.
+ *
+ * @return the interopSettings value.
+ */
+ public Object interopSettings() {
+ return this.interopSettings;
+ }
+
+ /**
+ * Set the interopSettings property: Settings to allow interoperability with third party components e.g. RANs and
+ * UEs.
+ *
+ * @param interopSettings the interopSettings value to set.
+ * @return the PacketCoreControlPlanePropertiesFormat object itself.
+ */
+ public PacketCoreControlPlanePropertiesFormat withInteropSettings(Object interopSettings) {
+ this.interopSettings = interopSettings;
+ return this;
+ }
+
/**
* Validates the instance.
*
@@ -180,8 +269,8 @@ public void validate() {
} else {
mobileNetwork().validate();
}
- if (customLocation() != null) {
- customLocation().validate();
+ if (platform() != null) {
+ platform().validate();
}
if (controlPlaneAccessInterface() == null) {
throw LOGGER
@@ -192,6 +281,15 @@ public void validate() {
} else {
controlPlaneAccessInterface().validate();
}
+ if (sku() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException(
+ "Missing required property sku in model PacketCoreControlPlanePropertiesFormat"));
+ }
+ if (localDiagnosticsAccess() != null) {
+ localDiagnosticsAccess().validate();
+ }
}
private static final ClientLogger LOGGER = new ClientLogger(PacketCoreControlPlanePropertiesFormat.class);
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreDataPlaneInner.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreDataPlaneInner.java
index 263b17a3d24d3..2977ef5298165 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreDataPlaneInner.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreDataPlaneInner.java
@@ -71,8 +71,8 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the userPlaneAccessInterface property: 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.
+ * Get the userPlaneAccessInterface property: The user plane interface on the access network. For 5G networks, this
+ * is the N3 interface. For 4G networks, this is the S1-U interface.
*
* @return the userPlaneAccessInterface value.
*/
@@ -81,8 +81,8 @@ public InterfaceProperties userPlaneAccessInterface() {
}
/**
- * Set the userPlaneAccessInterface property: 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.
+ * Set the userPlaneAccessInterface property: The user plane interface on the access network. For 5G networks, this
+ * is the N3 interface. For 4G networks, this is the S1-U interface.
*
* @param userPlaneAccessInterface the userPlaneAccessInterface value to set.
* @return the PacketCoreDataPlaneInner object itself.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreDataPlanePropertiesFormat.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreDataPlanePropertiesFormat.java
index 2474f1b771fd8..444ab67c700e0 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreDataPlanePropertiesFormat.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/PacketCoreDataPlanePropertiesFormat.java
@@ -10,7 +10,7 @@
import com.azure.resourcemanager.mobilenetwork.models.ProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;
-/** PacketCoreDataPlane properties. */
+/** Packet core data plane properties. */
@Fluent
public final class PacketCoreDataPlanePropertiesFormat {
/*
@@ -20,9 +20,8 @@ public final class PacketCoreDataPlanePropertiesFormat {
private ProvisioningState provisioningState;
/*
- * 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.
+ * The user plane interface on the access network. For 5G networks, this is
+ * the N3 interface. For 4G networks, this is the S1-U interface.
*/
@JsonProperty(value = "userPlaneAccessInterface", required = true)
private InterfaceProperties userPlaneAccessInterface;
@@ -37,8 +36,8 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the userPlaneAccessInterface property: 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.
+ * Get the userPlaneAccessInterface property: The user plane interface on the access network. For 5G networks, this
+ * is the N3 interface. For 4G networks, this is the S1-U interface.
*
* @return the userPlaneAccessInterface value.
*/
@@ -47,8 +46,8 @@ public InterfaceProperties userPlaneAccessInterface() {
}
/**
- * Set the userPlaneAccessInterface property: 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.
+ * Set the userPlaneAccessInterface property: The user plane interface on the access network. For 5G networks, this
+ * is the N3 interface. For 4G networks, this is the S1-U interface.
*
* @param userPlaneAccessInterface the userPlaneAccessInterface value to set.
* @return the PacketCoreDataPlanePropertiesFormat object itself.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/ServiceInner.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/ServiceInner.java
index 29841a73d4fa5..3072daa9c4754 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/ServiceInner.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/ServiceInner.java
@@ -74,8 +74,8 @@ public ProvisioningState provisioningState() {
/**
* Get the servicePrecedence property: 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.
+ * 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.
*
* @return the servicePrecedence value.
*/
@@ -85,8 +85,8 @@ public int servicePrecedence() {
/**
* Set the servicePrecedence property: 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.
+ * 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.
*
* @param servicePrecedence the servicePrecedence value to set.
* @return the ServiceInner object itself.
@@ -102,7 +102,7 @@ public ServiceInner withServicePrecedence(int servicePrecedence) {
/**
* Get the serviceQosPolicy property: 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.
+ * then the UE's SIM policy will define the QoS settings.
*
* @return the serviceQosPolicy value.
*/
@@ -113,7 +113,7 @@ public QosPolicy serviceQosPolicy() {
/**
* Set the serviceQosPolicy property: 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.
+ * then the UE's SIM policy will define the QoS settings.
*
* @param serviceQosPolicy the serviceQosPolicy value to set.
* @return the ServiceInner object itself.
@@ -127,7 +127,7 @@ public ServiceInner withServiceQosPolicy(QosPolicy serviceQosPolicy) {
}
/**
- * Get the pccRules property: The set of PCC Rules that make up this service.
+ * Get the pccRules property: The set of data flow policy rules that make up this service.
*
* @return the pccRules value.
*/
@@ -136,7 +136,7 @@ public List pccRules() {
}
/**
- * Set the pccRules property: The set of PCC Rules that make up this service.
+ * Set the pccRules property: The set of data flow policy rules that make up this service.
*
* @param pccRules the pccRules value to set.
* @return the ServiceInner object itself.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/ServicePropertiesFormat.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/ServicePropertiesFormat.java
index 0100ca20ad530..bb8105fd5fbf7 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/ServicePropertiesFormat.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/ServicePropertiesFormat.java
@@ -23,9 +23,9 @@ public final class ServicePropertiesFormat {
/*
* A precedence value that is used to decide between services when
- * identifying the QoS values to use for a particular Sim. A lower value
+ * 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.
+ * configured in the mobile network.
*/
@JsonProperty(value = "servicePrecedence", required = true)
private int servicePrecedence;
@@ -33,14 +33,14 @@ public final class ServicePropertiesFormat {
/*
* 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.
+ * PccRuleConfiguration. If this field is null then the UE's SIM policy
+ * will define the QoS settings.
*/
@JsonProperty(value = "serviceQosPolicy")
private QosPolicy serviceQosPolicy;
/*
- * The set of PCC Rules that make up this service.
+ * The set of data flow policy rules that make up this service.
*/
@JsonProperty(value = "pccRules", required = true)
private List pccRules;
@@ -56,8 +56,8 @@ public ProvisioningState provisioningState() {
/**
* Get the servicePrecedence property: 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.
+ * 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.
*
* @return the servicePrecedence value.
*/
@@ -67,8 +67,8 @@ public int servicePrecedence() {
/**
* Set the servicePrecedence property: 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.
+ * 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.
*
* @param servicePrecedence the servicePrecedence value to set.
* @return the ServicePropertiesFormat object itself.
@@ -81,7 +81,7 @@ public ServicePropertiesFormat withServicePrecedence(int servicePrecedence) {
/**
* Get the serviceQosPolicy property: 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.
+ * then the UE's SIM policy will define the QoS settings.
*
* @return the serviceQosPolicy value.
*/
@@ -92,7 +92,7 @@ public QosPolicy serviceQosPolicy() {
/**
* Set the serviceQosPolicy property: 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.
+ * then the UE's SIM policy will define the QoS settings.
*
* @param serviceQosPolicy the serviceQosPolicy value to set.
* @return the ServicePropertiesFormat object itself.
@@ -103,7 +103,7 @@ public ServicePropertiesFormat withServiceQosPolicy(QosPolicy serviceQosPolicy)
}
/**
- * Get the pccRules property: The set of PCC Rules that make up this service.
+ * Get the pccRules property: The set of data flow policy rules that make up this service.
*
* @return the pccRules value.
*/
@@ -112,7 +112,7 @@ public List pccRules() {
}
/**
- * Set the pccRules property: The set of PCC Rules that make up this service.
+ * Set the pccRules property: The set of data flow policy rules that make up this service.
*
* @param pccRules the pccRules value to set.
* @return the ServicePropertiesFormat object itself.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimGroupInner.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimGroupInner.java
new file mode 100644
index 0000000000000..5df0d2d887ada
--- /dev/null
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimGroupInner.java
@@ -0,0 +1,166 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.mobilenetwork.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.mobilenetwork.models.KeyVaultKey;
+import com.azure.resourcemanager.mobilenetwork.models.ManagedServiceIdentity;
+import com.azure.resourcemanager.mobilenetwork.models.MobileNetworkResourceId;
+import com.azure.resourcemanager.mobilenetwork.models.ProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.Map;
+
+/** SIM group resource. */
+@Fluent
+public final class SimGroupInner extends Resource {
+ /*
+ * SIM group Properties.
+ */
+ @JsonProperty(value = "properties", required = true)
+ private SimGroupPropertiesFormat innerProperties = new SimGroupPropertiesFormat();
+
+ /*
+ * The identity used to retrieve the encryption key from Azure key vault.
+ */
+ @JsonProperty(value = "identity")
+ private ManagedServiceIdentity identity;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy
+ * information.
+ */
+ @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
+ private SystemData systemData;
+
+ /**
+ * Get the innerProperties property: SIM group Properties.
+ *
+ * @return the innerProperties value.
+ */
+ private SimGroupPropertiesFormat innerProperties() {
+ return this.innerProperties;
+ }
+
+ /**
+ * Get the identity property: The identity used to retrieve the encryption key from Azure key vault.
+ *
+ * @return the identity value.
+ */
+ public ManagedServiceIdentity identity() {
+ return this.identity;
+ }
+
+ /**
+ * Set the identity property: The identity used to retrieve the encryption key from Azure key vault.
+ *
+ * @param identity the identity value to set.
+ * @return the SimGroupInner object itself.
+ */
+ public SimGroupInner withIdentity(ManagedServiceIdentity identity) {
+ this.identity = identity;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public SimGroupInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /** {@inheritDoc} */
+ @Override
+ public SimGroupInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Get the provisioningState property: The provisioning state of the SIM group resource.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.innerProperties() == null ? null : this.innerProperties().provisioningState();
+ }
+
+ /**
+ * Get the encryptionKey property: A key to encrypt the SIM data that belongs to this SIM group.
+ *
+ * @return the encryptionKey value.
+ */
+ public KeyVaultKey encryptionKey() {
+ return this.innerProperties() == null ? null : this.innerProperties().encryptionKey();
+ }
+
+ /**
+ * Set the encryptionKey property: A key to encrypt the SIM data that belongs to this SIM group.
+ *
+ * @param encryptionKey the encryptionKey value to set.
+ * @return the SimGroupInner object itself.
+ */
+ public SimGroupInner withEncryptionKey(KeyVaultKey encryptionKey) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SimGroupPropertiesFormat();
+ }
+ this.innerProperties().withEncryptionKey(encryptionKey);
+ return this;
+ }
+
+ /**
+ * Get the mobileNetwork property: Mobile network that this SIM belongs to.
+ *
+ * @return the mobileNetwork value.
+ */
+ public MobileNetworkResourceId mobileNetwork() {
+ return this.innerProperties() == null ? null : this.innerProperties().mobileNetwork();
+ }
+
+ /**
+ * Set the mobileNetwork property: Mobile network that this SIM belongs to.
+ *
+ * @param mobileNetwork the mobileNetwork value to set.
+ * @return the SimGroupInner object itself.
+ */
+ public SimGroupInner withMobileNetwork(MobileNetworkResourceId mobileNetwork) {
+ if (this.innerProperties() == null) {
+ this.innerProperties = new SimGroupPropertiesFormat();
+ }
+ this.innerProperties().withMobileNetwork(mobileNetwork);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (innerProperties() == null) {
+ throw LOGGER
+ .logExceptionAsError(
+ new IllegalArgumentException("Missing required property innerProperties in model SimGroupInner"));
+ } else {
+ innerProperties().validate();
+ }
+ if (identity() != null) {
+ identity().validate();
+ }
+ }
+
+ private static final ClientLogger LOGGER = new ClientLogger(SimGroupInner.class);
+}
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimGroupPropertiesFormat.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimGroupPropertiesFormat.java
new file mode 100644
index 0000000000000..55ab698297c7e
--- /dev/null
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimGroupPropertiesFormat.java
@@ -0,0 +1,96 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.mobilenetwork.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.resourcemanager.mobilenetwork.models.KeyVaultKey;
+import com.azure.resourcemanager.mobilenetwork.models.MobileNetworkResourceId;
+import com.azure.resourcemanager.mobilenetwork.models.ProvisioningState;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/** SIM group properties. */
+@Fluent
+public final class SimGroupPropertiesFormat {
+ /*
+ * The provisioning state of the SIM group resource.
+ */
+ @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
+ private ProvisioningState provisioningState;
+
+ /*
+ * A key to encrypt the SIM data that belongs to this SIM group.
+ */
+ @JsonProperty(value = "encryptionKey")
+ private KeyVaultKey encryptionKey;
+
+ /*
+ * Mobile network that this SIM belongs to
+ */
+ @JsonProperty(value = "mobileNetwork")
+ private MobileNetworkResourceId mobileNetwork;
+
+ /**
+ * Get the provisioningState property: The provisioning state of the SIM group resource.
+ *
+ * @return the provisioningState value.
+ */
+ public ProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Get the encryptionKey property: A key to encrypt the SIM data that belongs to this SIM group.
+ *
+ * @return the encryptionKey value.
+ */
+ public KeyVaultKey encryptionKey() {
+ return this.encryptionKey;
+ }
+
+ /**
+ * Set the encryptionKey property: A key to encrypt the SIM data that belongs to this SIM group.
+ *
+ * @param encryptionKey the encryptionKey value to set.
+ * @return the SimGroupPropertiesFormat object itself.
+ */
+ public SimGroupPropertiesFormat withEncryptionKey(KeyVaultKey encryptionKey) {
+ this.encryptionKey = encryptionKey;
+ return this;
+ }
+
+ /**
+ * Get the mobileNetwork property: Mobile network that this SIM belongs to.
+ *
+ * @return the mobileNetwork value.
+ */
+ public MobileNetworkResourceId mobileNetwork() {
+ return this.mobileNetwork;
+ }
+
+ /**
+ * Set the mobileNetwork property: Mobile network that this SIM belongs to.
+ *
+ * @param mobileNetwork the mobileNetwork value to set.
+ * @return the SimGroupPropertiesFormat object itself.
+ */
+ public SimGroupPropertiesFormat withMobileNetwork(MobileNetworkResourceId mobileNetwork) {
+ this.mobileNetwork = mobileNetwork;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (encryptionKey() != null) {
+ encryptionKey().validate();
+ }
+ if (mobileNetwork() != null) {
+ mobileNetwork().validate();
+ }
+ }
+}
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimIdListResultInner.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimIdListResultInner.java
index e93cba4e8f193..e893078b2b029 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimIdListResultInner.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimIdListResultInner.java
@@ -9,11 +9,11 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** Response for list sim ids API service call. */
+/** Response for list SIM IDs API service call. */
@Fluent
public final class SimIdListResultInner {
/*
- * A list of sim profile ids in a resource group.
+ * A list of SIM IDs.
*/
@JsonProperty(value = "value")
private List value;
@@ -25,7 +25,7 @@ public final class SimIdListResultInner {
private String nextLink;
/**
- * Get the value property: A list of sim profile ids in a resource group.
+ * Get the value property: A list of SIM IDs.
*
* @return the value value.
*/
@@ -34,7 +34,7 @@ public List value() {
}
/**
- * Set the value property: A list of sim profile ids in a resource group.
+ * Set the value property: A list of SIM IDs.
*
* @param value the value value to set.
* @return the SimIdListResultInner object itself.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimInner.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimInner.java
index 6b907ea368bf4..97f3d996d7607 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimInner.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimInner.java
@@ -5,36 +5,26 @@
package com.azure.resourcemanager.mobilenetwork.fluent.models;
import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
-import com.azure.core.management.SystemData;
+import com.azure.core.management.ProxyResource;
import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.mobilenetwork.models.MobileNetworkResourceId;
import com.azure.resourcemanager.mobilenetwork.models.ProvisioningState;
import com.azure.resourcemanager.mobilenetwork.models.SimPolicyResourceId;
import com.azure.resourcemanager.mobilenetwork.models.SimState;
import com.azure.resourcemanager.mobilenetwork.models.SimStaticIpProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-import java.util.Map;
-/** Sim resource. */
+/** SIM resource. */
@Fluent
-public final class SimInner extends Resource {
+public final class SimInner extends ProxyResource {
/*
- * Sim Properties.
+ * SIM Properties.
*/
@JsonProperty(value = "properties", required = true)
private SimPropertiesFormat innerProperties = new SimPropertiesFormat();
- /*
- * Azure Resource Manager metadata containing createdBy and modifiedBy
- * information.
- */
- @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY)
- private SystemData systemData;
-
/**
- * Get the innerProperties property: Sim Properties.
+ * Get the innerProperties property: SIM Properties.
*
* @return the innerProperties value.
*/
@@ -43,30 +33,7 @@ private SimPropertiesFormat innerProperties() {
}
/**
- * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
- *
- * @return the systemData value.
- */
- public SystemData systemData() {
- return this.systemData;
- }
-
- /** {@inheritDoc} */
- @Override
- public SimInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /** {@inheritDoc} */
- @Override
- public SimInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Get the provisioningState property: The provisioning state of the sim resource.
+ * Get the provisioningState property: The provisioning state of the SIM resource.
*
* @return the provisioningState value.
*/
@@ -75,7 +42,7 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the simState property: The state of the sim resource.
+ * Get the simState property: The state of the SIM resource.
*
* @return the simState value.
*/
@@ -84,8 +51,8 @@ public SimState simState() {
}
/**
- * Get the internationalMobileSubscriberIdentity property: The International Mobile Subscriber Identity (IMSI) for
- * the sim.
+ * Get the internationalMobileSubscriberIdentity property: The international mobile subscriber identity (IMSI) for
+ * the SIM.
*
* @return the internationalMobileSubscriberIdentity value.
*/
@@ -94,8 +61,8 @@ public String internationalMobileSubscriberIdentity() {
}
/**
- * Set the internationalMobileSubscriberIdentity property: The International Mobile Subscriber Identity (IMSI) for
- * the sim.
+ * Set the internationalMobileSubscriberIdentity property: The international mobile subscriber identity (IMSI) for
+ * the SIM.
*
* @param internationalMobileSubscriberIdentity the internationalMobileSubscriberIdentity value to set.
* @return the SimInner object itself.
@@ -109,7 +76,7 @@ public SimInner withInternationalMobileSubscriberIdentity(String internationalMo
}
/**
- * Get the integratedCircuitCardIdentifier property: The Integrated Circuit Card ID (ICC Id) for the sim.
+ * Get the integratedCircuitCardIdentifier property: The integrated circuit card ID (ICCID) for the SIM.
*
* @return the integratedCircuitCardIdentifier value.
*/
@@ -118,7 +85,7 @@ public String integratedCircuitCardIdentifier() {
}
/**
- * Set the integratedCircuitCardIdentifier property: The Integrated Circuit Card ID (ICC Id) for the sim.
+ * Set the integratedCircuitCardIdentifier property: The integrated circuit card ID (ICCID) for the SIM.
*
* @param integratedCircuitCardIdentifier the integratedCircuitCardIdentifier value to set.
* @return the SimInner object itself.
@@ -132,7 +99,7 @@ public SimInner withIntegratedCircuitCardIdentifier(String integratedCircuitCard
}
/**
- * Get the authenticationKey property: The ki value for the sim.
+ * Get the authenticationKey property: The Ki value for the SIM.
*
* @return the authenticationKey value.
*/
@@ -141,7 +108,7 @@ public String authenticationKey() {
}
/**
- * Set the authenticationKey property: The ki value for the sim.
+ * Set the authenticationKey property: The Ki value for the SIM.
*
* @param authenticationKey the authenticationKey value to set.
* @return the SimInner object itself.
@@ -155,7 +122,7 @@ public SimInner withAuthenticationKey(String authenticationKey) {
}
/**
- * Get the operatorKeyCode property: The Opc value for the sim.
+ * Get the operatorKeyCode property: The Opc value for the SIM.
*
* @return the operatorKeyCode value.
*/
@@ -164,7 +131,7 @@ public String operatorKeyCode() {
}
/**
- * Set the operatorKeyCode property: The Opc value for the sim.
+ * Set the operatorKeyCode property: The Opc value for the SIM.
*
* @param operatorKeyCode the operatorKeyCode value to set.
* @return the SimInner object itself.
@@ -178,31 +145,8 @@ public SimInner withOperatorKeyCode(String operatorKeyCode) {
}
/**
- * Get the mobileNetwork property: Mobile network that this sim belongs to.
- *
- * @return the mobileNetwork value.
- */
- public MobileNetworkResourceId mobileNetwork() {
- return this.innerProperties() == null ? null : this.innerProperties().mobileNetwork();
- }
-
- /**
- * Set the mobileNetwork property: Mobile network that this sim belongs to.
- *
- * @param mobileNetwork the mobileNetwork value to set.
- * @return the SimInner object itself.
- */
- public SimInner withMobileNetwork(MobileNetworkResourceId mobileNetwork) {
- if (this.innerProperties() == null) {
- this.innerProperties = new SimPropertiesFormat();
- }
- this.innerProperties().withMobileNetwork(mobileNetwork);
- return this;
- }
-
- /**
- * Get the deviceType property: 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
+ * Get the deviceType property: 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.
*
* @return the deviceType value.
@@ -212,8 +156,8 @@ public String deviceType() {
}
/**
- * Set the deviceType property: 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
+ * Set the deviceType property: 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.
*
* @param deviceType the deviceType value to set.
@@ -228,7 +172,7 @@ public SimInner withDeviceType(String deviceType) {
}
/**
- * Get the simPolicy property: The simPolicy used by this sim.
+ * Get the simPolicy property: The SIM policy used by this SIM.
*
* @return the simPolicy value.
*/
@@ -237,7 +181,7 @@ public SimPolicyResourceId simPolicy() {
}
/**
- * Set the simPolicy property: The simPolicy used by this sim.
+ * Set the simPolicy property: The SIM policy used by this SIM.
*
* @param simPolicy the simPolicy value to set.
* @return the SimInner object itself.
@@ -251,7 +195,7 @@ public SimInner withSimPolicy(SimPolicyResourceId simPolicy) {
}
/**
- * Get the staticIpConfiguration property: A list of static IP addresses assigned to this sim. Each address is
+ * Get the staticIpConfiguration property: 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}.
*
* @return the staticIpConfiguration value.
@@ -261,7 +205,7 @@ public List staticIpConfiguration() {
}
/**
- * Set the staticIpConfiguration property: A list of static IP addresses assigned to this sim. Each address is
+ * Set the staticIpConfiguration property: 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}.
*
* @param staticIpConfiguration the staticIpConfiguration value to set.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimPolicyInner.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimPolicyInner.java
index 20ae0468c65bc..af33317efe230 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimPolicyInner.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimPolicyInner.java
@@ -16,11 +16,11 @@
import java.util.List;
import java.util.Map;
-/** Sim policy resource. */
+/** SIM policy resource. */
@Fluent
public final class SimPolicyInner extends Resource {
/*
- * Sim policy Properties.
+ * SIM policy Properties.
*/
@JsonProperty(value = "properties", required = true)
private SimPolicyPropertiesFormat innerProperties = new SimPolicyPropertiesFormat();
@@ -33,7 +33,7 @@ public final class SimPolicyInner extends Resource {
private SystemData systemData;
/**
- * Get the innerProperties property: Sim policy Properties.
+ * Get the innerProperties property: SIM policy Properties.
*
* @return the innerProperties value.
*/
@@ -65,7 +65,7 @@ public SimPolicyInner withTags(Map tags) {
}
/**
- * Get the provisioningState property: The provisioning state of the sim policy resource.
+ * Get the provisioningState property: The provisioning state of the SIM policy resource.
*
* @return the provisioningState value.
*/
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimPolicyPropertiesFormat.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimPolicyPropertiesFormat.java
index 9e3eec9f344e1..b264e0f3316c4 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimPolicyPropertiesFormat.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimPolicyPropertiesFormat.java
@@ -13,11 +13,11 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** SimPolicy properties. */
+/** SIM policy properties. */
@Fluent
public final class SimPolicyPropertiesFormat {
/*
- * The provisioning state of the sim policy resource.
+ * The provisioning state of the SIM policy resource.
*/
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private ProvisioningState provisioningState;
@@ -31,14 +31,14 @@ public final class SimPolicyPropertiesFormat {
private Ambr ueAmbr;
/*
- * The default slice to use if the UE does not explicitly specify it. This
+ * The default slice to use if the UE does not explicitly specify it. This
* slice must exist in the `sliceConfigurations` map.
*/
@JsonProperty(value = "defaultSlice", required = true)
private SliceResourceId defaultSlice;
/*
- * RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413. This
+ * RAT/Frequency Selection Priority Index, defined in 3GPP TS 36.413. This
* is an optional setting and by default is unspecified.
*/
@JsonProperty(value = "rfspIndex")
@@ -58,7 +58,7 @@ public final class SimPolicyPropertiesFormat {
private List sliceConfigurations;
/**
- * Get the provisioningState property: The provisioning state of the sim policy resource.
+ * Get the provisioningState property: The provisioning state of the SIM policy resource.
*
* @return the provisioningState value.
*/
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimPropertiesFormat.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimPropertiesFormat.java
index fa3658d8d9670..ee424209a1070 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimPropertiesFormat.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SimPropertiesFormat.java
@@ -6,7 +6,6 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.mobilenetwork.models.MobileNetworkResourceId;
import com.azure.resourcemanager.mobilenetwork.models.ProvisioningState;
import com.azure.resourcemanager.mobilenetwork.models.SimPolicyResourceId;
import com.azure.resourcemanager.mobilenetwork.models.SimState;
@@ -14,67 +13,61 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
-/** Sim properties. */
+/** SIM properties. */
@Fluent
public final class SimPropertiesFormat {
/*
- * The provisioning state of the sim resource.
+ * The provisioning state of the SIM resource.
*/
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private ProvisioningState provisioningState;
/*
- * The state of the sim resource.
+ * The state of the SIM resource.
*/
@JsonProperty(value = "simState", access = JsonProperty.Access.WRITE_ONLY)
private SimState simState;
/*
- * The International Mobile Subscriber Identity (IMSI) for the sim.
+ * The international mobile subscriber identity (IMSI) for the SIM.
*/
@JsonProperty(value = "internationalMobileSubscriberIdentity", required = true)
private String internationalMobileSubscriberIdentity;
/*
- * The Integrated Circuit Card ID (ICC Id) for the sim.
+ * The integrated circuit card ID (ICCID) for the SIM.
*/
@JsonProperty(value = "integratedCircuitCardIdentifier")
private String integratedCircuitCardIdentifier;
/*
- * The ki value for the sim.
+ * The Ki value for the SIM.
*/
@JsonProperty(value = "authenticationKey")
private String authenticationKey;
/*
- * The Opc value for the sim.
+ * The Opc value for the SIM.
*/
@JsonProperty(value = "operatorKeyCode")
private String operatorKeyCode;
- /*
- * Mobile network that this sim belongs to
- */
- @JsonProperty(value = "mobileNetwork")
- private MobileNetworkResourceId mobileNetwork;
-
/*
* 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.
+ * type this SIM is associated with, for example 'Video camera'. The Azure
+ * portal allows SIMs to be grouped and filtered based on this value.
*/
@JsonProperty(value = "deviceType")
private String deviceType;
/*
- * The simPolicy used by this sim.
+ * The SIM policy used by this SIM.
*/
@JsonProperty(value = "simPolicy")
private SimPolicyResourceId simPolicy;
/*
- * A list of static IP addresses assigned to this sim. Each address is
+ * 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}.
*/
@@ -82,7 +75,7 @@ public final class SimPropertiesFormat {
private List staticIpConfiguration;
/**
- * Get the provisioningState property: The provisioning state of the sim resource.
+ * Get the provisioningState property: The provisioning state of the SIM resource.
*
* @return the provisioningState value.
*/
@@ -91,7 +84,7 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the simState property: The state of the sim resource.
+ * Get the simState property: The state of the SIM resource.
*
* @return the simState value.
*/
@@ -100,8 +93,8 @@ public SimState simState() {
}
/**
- * Get the internationalMobileSubscriberIdentity property: The International Mobile Subscriber Identity (IMSI) for
- * the sim.
+ * Get the internationalMobileSubscriberIdentity property: The international mobile subscriber identity (IMSI) for
+ * the SIM.
*
* @return the internationalMobileSubscriberIdentity value.
*/
@@ -110,8 +103,8 @@ public String internationalMobileSubscriberIdentity() {
}
/**
- * Set the internationalMobileSubscriberIdentity property: The International Mobile Subscriber Identity (IMSI) for
- * the sim.
+ * Set the internationalMobileSubscriberIdentity property: The international mobile subscriber identity (IMSI) for
+ * the SIM.
*
* @param internationalMobileSubscriberIdentity the internationalMobileSubscriberIdentity value to set.
* @return the SimPropertiesFormat object itself.
@@ -122,7 +115,7 @@ public SimPropertiesFormat withInternationalMobileSubscriberIdentity(String inte
}
/**
- * Get the integratedCircuitCardIdentifier property: The Integrated Circuit Card ID (ICC Id) for the sim.
+ * Get the integratedCircuitCardIdentifier property: The integrated circuit card ID (ICCID) for the SIM.
*
* @return the integratedCircuitCardIdentifier value.
*/
@@ -131,7 +124,7 @@ public String integratedCircuitCardIdentifier() {
}
/**
- * Set the integratedCircuitCardIdentifier property: The Integrated Circuit Card ID (ICC Id) for the sim.
+ * Set the integratedCircuitCardIdentifier property: The integrated circuit card ID (ICCID) for the SIM.
*
* @param integratedCircuitCardIdentifier the integratedCircuitCardIdentifier value to set.
* @return the SimPropertiesFormat object itself.
@@ -142,7 +135,7 @@ public SimPropertiesFormat withIntegratedCircuitCardIdentifier(String integrated
}
/**
- * Get the authenticationKey property: The ki value for the sim.
+ * Get the authenticationKey property: The Ki value for the SIM.
*
* @return the authenticationKey value.
*/
@@ -151,7 +144,7 @@ public String authenticationKey() {
}
/**
- * Set the authenticationKey property: The ki value for the sim.
+ * Set the authenticationKey property: The Ki value for the SIM.
*
* @param authenticationKey the authenticationKey value to set.
* @return the SimPropertiesFormat object itself.
@@ -162,7 +155,7 @@ public SimPropertiesFormat withAuthenticationKey(String authenticationKey) {
}
/**
- * Get the operatorKeyCode property: The Opc value for the sim.
+ * Get the operatorKeyCode property: The Opc value for the SIM.
*
* @return the operatorKeyCode value.
*/
@@ -171,7 +164,7 @@ public String operatorKeyCode() {
}
/**
- * Set the operatorKeyCode property: The Opc value for the sim.
+ * Set the operatorKeyCode property: The Opc value for the SIM.
*
* @param operatorKeyCode the operatorKeyCode value to set.
* @return the SimPropertiesFormat object itself.
@@ -182,28 +175,8 @@ public SimPropertiesFormat withOperatorKeyCode(String operatorKeyCode) {
}
/**
- * Get the mobileNetwork property: Mobile network that this sim belongs to.
- *
- * @return the mobileNetwork value.
- */
- public MobileNetworkResourceId mobileNetwork() {
- return this.mobileNetwork;
- }
-
- /**
- * Set the mobileNetwork property: Mobile network that this sim belongs to.
- *
- * @param mobileNetwork the mobileNetwork value to set.
- * @return the SimPropertiesFormat object itself.
- */
- public SimPropertiesFormat withMobileNetwork(MobileNetworkResourceId mobileNetwork) {
- this.mobileNetwork = mobileNetwork;
- return this;
- }
-
- /**
- * Get the deviceType property: 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
+ * Get the deviceType property: 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.
*
* @return the deviceType value.
@@ -213,8 +186,8 @@ public String deviceType() {
}
/**
- * Set the deviceType property: 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
+ * Set the deviceType property: 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.
*
* @param deviceType the deviceType value to set.
@@ -226,7 +199,7 @@ public SimPropertiesFormat withDeviceType(String deviceType) {
}
/**
- * Get the simPolicy property: The simPolicy used by this sim.
+ * Get the simPolicy property: The SIM policy used by this SIM.
*
* @return the simPolicy value.
*/
@@ -235,7 +208,7 @@ public SimPolicyResourceId simPolicy() {
}
/**
- * Set the simPolicy property: The simPolicy used by this sim.
+ * Set the simPolicy property: The SIM policy used by this SIM.
*
* @param simPolicy the simPolicy value to set.
* @return the SimPropertiesFormat object itself.
@@ -246,7 +219,7 @@ public SimPropertiesFormat withSimPolicy(SimPolicyResourceId simPolicy) {
}
/**
- * Get the staticIpConfiguration property: A list of static IP addresses assigned to this sim. Each address is
+ * Get the staticIpConfiguration property: 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}.
*
* @return the staticIpConfiguration value.
@@ -256,7 +229,7 @@ public List staticIpConfiguration() {
}
/**
- * Set the staticIpConfiguration property: A list of static IP addresses assigned to this sim. Each address is
+ * Set the staticIpConfiguration property: 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}.
*
* @param staticIpConfiguration the staticIpConfiguration value to set.
@@ -280,9 +253,6 @@ public void validate() {
"Missing required property internationalMobileSubscriberIdentity in model"
+ " SimPropertiesFormat"));
}
- if (mobileNetwork() != null) {
- mobileNetwork().validate();
- }
if (simPolicy() != null) {
simPolicy().validate();
}
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SiteInner.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SiteInner.java
index bd53c5e317317..91abeab93526a 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SiteInner.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SiteInner.java
@@ -62,8 +62,7 @@ public SiteInner withTags(Map tags) {
}
/**
- * Get the provisioningState property: The provisioning state of the site resource. **TODO**: Confirm if this is
- * needed.
+ * Get the provisioningState property: The provisioning state of the site resource.
*
* @return the provisioningState value.
*/
@@ -72,7 +71,7 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the networkFunctions property: An array of ids of the network functions deployed on the site, maintained by
+ * Get the networkFunctions property: An array of IDs of the network functions deployed on the site, maintained by
* the user.
*
* @return the networkFunctions value.
@@ -82,7 +81,7 @@ public List networkFunctions() {
}
/**
- * Set the networkFunctions property: An array of ids of the network functions deployed on the site, maintained by
+ * Set the networkFunctions property: An array of IDs of the network functions deployed on the site, maintained by
* the user.
*
* @param networkFunctions the networkFunctions value to set.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SitePropertiesFormat.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SitePropertiesFormat.java
index eda4cd9bb0810..22c8299de39a9 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SitePropertiesFormat.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SitePropertiesFormat.java
@@ -14,22 +14,20 @@
@Fluent
public final class SitePropertiesFormat {
/*
- * The provisioning state of the site resource. **TODO**: Confirm if this
- * is needed
+ * The provisioning state of the site resource.
*/
@JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private ProvisioningState provisioningState;
/*
- * An array of ids of the network functions deployed on the site,
+ * An array of IDs of the network functions deployed on the site,
* maintained by the user.
*/
@JsonProperty(value = "networkFunctions")
private List networkFunctions;
/**
- * Get the provisioningState property: The provisioning state of the site resource. **TODO**: Confirm if this is
- * needed.
+ * Get the provisioningState property: The provisioning state of the site resource.
*
* @return the provisioningState value.
*/
@@ -38,7 +36,7 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the networkFunctions property: An array of ids of the network functions deployed on the site, maintained by
+ * Get the networkFunctions property: An array of IDs of the network functions deployed on the site, maintained by
* the user.
*
* @return the networkFunctions value.
@@ -48,7 +46,7 @@ public List networkFunctions() {
}
/**
- * Set the networkFunctions property: An array of ids of the network functions deployed on the site, maintained by
+ * Set the networkFunctions property: An array of IDs of the network functions deployed on the site, maintained by
* the user.
*
* @param networkFunctions the networkFunctions value to set.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SliceInner.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SliceInner.java
index 1ccd49060869b..34f03a806f234 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SliceInner.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SliceInner.java
@@ -71,8 +71,8 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the snssai property: The S-NSSAI (single network slice selection assistance information). Unique at the scope
- * of a MobileNetwork.
+ * Get the snssai property: Single-network slice selection assistance information (S-NSSAI). Unique at the scope of
+ * a mobile network.
*
* @return the snssai value.
*/
@@ -81,8 +81,8 @@ public Snssai snssai() {
}
/**
- * Set the snssai property: The S-NSSAI (single network slice selection assistance information). Unique at the scope
- * of a MobileNetwork.
+ * Set the snssai property: Single-network slice selection assistance information (S-NSSAI). Unique at the scope of
+ * a mobile network.
*
* @param snssai the snssai value to set.
* @return the SliceInner object itself.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SlicePropertiesFormat.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SlicePropertiesFormat.java
index b3ec4361353b3..f9b78e2692d14 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SlicePropertiesFormat.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SlicePropertiesFormat.java
@@ -20,8 +20,8 @@ public final class SlicePropertiesFormat {
private ProvisioningState provisioningState;
/*
- * The S-NSSAI (single network slice selection assistance information).
- * Unique at the scope of a MobileNetwork.
+ * Single-network slice selection assistance information (S-NSSAI). Unique
+ * at the scope of a mobile network.
*/
@JsonProperty(value = "snssai", required = true)
private Snssai snssai;
@@ -42,8 +42,8 @@ public ProvisioningState provisioningState() {
}
/**
- * Get the snssai property: The S-NSSAI (single network slice selection assistance information). Unique at the scope
- * of a MobileNetwork.
+ * Get the snssai property: Single-network slice selection assistance information (S-NSSAI). Unique at the scope of
+ * a mobile network.
*
* @return the snssai value.
*/
@@ -52,8 +52,8 @@ public Snssai snssai() {
}
/**
- * Set the snssai property: The S-NSSAI (single network slice selection assistance information). Unique at the scope
- * of a MobileNetwork.
+ * Set the snssai property: Single-network slice selection assistance information (S-NSSAI). Unique at the scope of
+ * a mobile network.
*
* @param snssai the snssai value to set.
* @return the SlicePropertiesFormat object itself.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SupportedPacketCoreControlPlaneVersionResultInner.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SupportedPacketCoreControlPlaneVersionResultInner.java
new file mode 100644
index 0000000000000..964e59ab08986
--- /dev/null
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/fluent/models/SupportedPacketCoreControlPlaneVersionResultInner.java
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+
+package com.azure.resourcemanager.mobilenetwork.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.util.List;
+
+/** Response for supported packet core control plane versions API call. */
+@Fluent
+public final class SupportedPacketCoreControlPlaneVersionResultInner {
+ /*
+ * The supported packet core control plane versions.
+ */
+ @JsonProperty(value = "supportedVersions")
+ private List supportedVersions;
+
+ /*
+ * The recommended version to use for new packet core control plane
+ * deployments.
+ */
+ @JsonProperty(value = "recommendedVersion")
+ private String recommendedVersion;
+
+ /**
+ * Get the supportedVersions property: The supported packet core control plane versions.
+ *
+ * @return the supportedVersions value.
+ */
+ public List supportedVersions() {
+ return this.supportedVersions;
+ }
+
+ /**
+ * Set the supportedVersions property: The supported packet core control plane versions.
+ *
+ * @param supportedVersions the supportedVersions value to set.
+ * @return the SupportedPacketCoreControlPlaneVersionResultInner object itself.
+ */
+ public SupportedPacketCoreControlPlaneVersionResultInner withSupportedVersions(List supportedVersions) {
+ this.supportedVersions = supportedVersions;
+ return this;
+ }
+
+ /**
+ * Get the recommendedVersion property: The recommended version to use for new packet core control plane
+ * deployments.
+ *
+ * @return the recommendedVersion value.
+ */
+ public String recommendedVersion() {
+ return this.recommendedVersion;
+ }
+
+ /**
+ * Set the recommendedVersion property: The recommended version to use for new packet core control plane
+ * deployments.
+ *
+ * @param recommendedVersion the recommendedVersion value to set.
+ * @return the SupportedPacketCoreControlPlaneVersionResultInner object itself.
+ */
+ public SupportedPacketCoreControlPlaneVersionResultInner withRecommendedVersion(String recommendedVersion) {
+ this.recommendedVersion = recommendedVersion;
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+}
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/AttachedDataNetworkImpl.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/AttachedDataNetworkImpl.java
index b84c5a055d5bd..74937c80cd74a 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/AttachedDataNetworkImpl.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/AttachedDataNetworkImpl.java
@@ -55,6 +55,15 @@ public InterfaceProperties userPlaneDataInterface() {
return this.innerModel().userPlaneDataInterface();
}
+ public List dnsAddresses() {
+ List inner = this.innerModel().dnsAddresses();
+ if (inner != null) {
+ return Collections.unmodifiableList(inner);
+ } else {
+ return Collections.emptyList();
+ }
+ }
+
public NaptConfiguration naptConfiguration() {
return this.innerModel().naptConfiguration();
}
@@ -85,6 +94,10 @@ public String regionName() {
return this.location();
}
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
public AttachedDataNetworkInner innerModel() {
return this.innerObject;
}
@@ -250,6 +263,11 @@ public AttachedDataNetworkImpl withTags(Map tags) {
}
}
+ public AttachedDataNetworkImpl withDnsAddresses(List dnsAddresses) {
+ this.innerModel().withDnsAddresses(dnsAddresses);
+ return this;
+ }
+
public AttachedDataNetworkImpl withNaptConfiguration(NaptConfiguration naptConfiguration) {
this.innerModel().withNaptConfiguration(naptConfiguration);
return this;
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/AttachedDataNetworksClientImpl.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/AttachedDataNetworksClientImpl.java
index 6f092a1a871b4..953f197f5cae9 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/AttachedDataNetworksClientImpl.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/AttachedDataNetworksClientImpl.java
@@ -676,14 +676,7 @@ private Mono getAsync(
String attachedDataNetworkName) {
return getWithResponseAsync(
resourceGroupName, packetCoreControlPlaneName, packetCoreDataPlaneName, attachedDataNetworkName)
- .flatMap(
- (Response res) -> {
- if (res.getValue() != null) {
- return Mono.just(res.getValue());
- } else {
- return Mono.empty();
- }
- });
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
@@ -1152,7 +1145,7 @@ public AttachedDataNetworkInner createOrUpdate(
}
/**
- * Updates an attached data network update tags.
+ * Updates an attached data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -1228,7 +1221,7 @@ private Mono> updateTagsWithResponseAsync(
}
/**
- * Updates an attached data network update tags.
+ * Updates an attached data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -1303,7 +1296,7 @@ private Mono> updateTagsWithResponseAsync(
}
/**
- * Updates an attached data network update tags.
+ * Updates an attached data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -1328,18 +1321,11 @@ private Mono updateTagsAsync(
packetCoreDataPlaneName,
attachedDataNetworkName,
parameters)
- .flatMap(
- (Response res) -> {
- if (res.getValue() != null) {
- return Mono.just(res.getValue());
- } else {
- return Mono.empty();
- }
- });
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
- * Updates an attached data network update tags.
+ * Updates an attached data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -1368,7 +1354,7 @@ public AttachedDataNetworkInner updateTags(
}
/**
- * Updates an attached data network update tags.
+ * Updates an attached data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -1400,7 +1386,7 @@ public Response updateTagsWithResponse(
}
/**
- * Gets all the data networks associated with a packet core data plane.
+ * Gets all the attached data networks associated with a packet core data plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -1408,8 +1394,8 @@ public Response updateTagsWithResponse(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the data networks associated with a packet core data plane along with {@link PagedResponse} on
- * successful completion of {@link Mono}.
+ * @return all the attached data networks associated with a packet core data plane along with {@link PagedResponse}
+ * on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listByPacketCoreDataPlaneSinglePageAsync(
@@ -1468,7 +1454,7 @@ private Mono> listByPacketCoreDataPlaneS
}
/**
- * Gets all the data networks associated with a packet core data plane.
+ * Gets all the attached data networks associated with a packet core data plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -1477,8 +1463,8 @@ private Mono> listByPacketCoreDataPlaneS
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the data networks associated with a packet core data plane along with {@link PagedResponse} on
- * successful completion of {@link Mono}.
+ * @return all the attached data networks associated with a packet core data plane along with {@link PagedResponse}
+ * on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> listByPacketCoreDataPlaneSinglePageAsync(
@@ -1534,7 +1520,7 @@ private Mono> listByPacketCoreDataPlaneS
}
/**
- * Gets all the data networks associated with a packet core data plane.
+ * Gets all the attached data networks associated with a packet core data plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -1542,7 +1528,7 @@ private Mono> listByPacketCoreDataPlaneS
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the data networks associated with a packet core data plane as paginated response with {@link
+ * @return all the attached data networks associated with a packet core data plane as paginated response with {@link
* PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -1556,7 +1542,7 @@ private PagedFlux listByPacketCoreDataPlaneAsync(
}
/**
- * Gets all the data networks associated with a packet core data plane.
+ * Gets all the attached data networks associated with a packet core data plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -1565,7 +1551,7 @@ private PagedFlux listByPacketCoreDataPlaneAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the data networks associated with a packet core data plane as paginated response with {@link
+ * @return all the attached data networks associated with a packet core data plane as paginated response with {@link
* PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -1579,7 +1565,7 @@ private PagedFlux listByPacketCoreDataPlaneAsync(
}
/**
- * Gets all the data networks associated with a packet core data plane.
+ * Gets all the attached data networks associated with a packet core data plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -1587,7 +1573,7 @@ private PagedFlux listByPacketCoreDataPlaneAsync(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the data networks associated with a packet core data plane as paginated response with {@link
+ * @return all the attached data networks associated with a packet core data plane as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
@@ -1598,7 +1584,7 @@ public PagedIterable listByPacketCoreDataPlane(
}
/**
- * Gets all the data networks associated with a packet core data plane.
+ * Gets all the attached data networks associated with a packet core data plane.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param packetCoreControlPlaneName The name of the packet core control plane.
@@ -1607,7 +1593,7 @@ public PagedIterable listByPacketCoreDataPlane(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return all the data networks associated with a packet core data plane as paginated response with {@link
+ * @return all the attached data networks associated with a packet core data plane as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/DataNetworkImpl.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/DataNetworkImpl.java
index dff4f5f80d2b2..74f931a569238 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/DataNetworkImpl.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/DataNetworkImpl.java
@@ -64,6 +64,10 @@ public String regionName() {
return this.location();
}
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
public DataNetworkInner innerModel() {
return this.innerObject;
}
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/DataNetworksClientImpl.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/DataNetworksClientImpl.java
index d00d8ccc15c05..e2dc1af14a87b 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/DataNetworksClientImpl.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/DataNetworksClientImpl.java
@@ -159,11 +159,11 @@ Mono> listByMobileNetworkNext(
}
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -214,11 +214,11 @@ private Mono>> deleteWithResponseAsync(
}
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -267,11 +267,11 @@ private Mono>> deleteWithResponseAsync(
}
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -289,11 +289,11 @@ private PollerFlux, Void> beginDeleteAsync(
}
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -312,11 +312,11 @@ private PollerFlux, Void> beginDeleteAsync(
}
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -329,11 +329,11 @@ public SyncPoller, Void> beginDelete(
}
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -347,11 +347,11 @@ public SyncPoller, Void> beginDelete(
}
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -365,11 +365,11 @@ private Mono deleteAsync(String resourceGroupName, String mobileNetworkNam
}
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -385,11 +385,11 @@ private Mono deleteAsync(
}
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -400,11 +400,11 @@ public void delete(String resourceGroupName, String mobileNetworkName, String da
}
/**
- * Deletes the specified mobile network dataNetwork.
+ * Deletes the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -416,16 +416,16 @@ public void delete(String resourceGroupName, String mobileNetworkName, String da
}
/**
- * Gets information about the specified mobile network dataNetwork.
+ * Gets information about the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified mobile network dataNetwork along with {@link Response} on successful
- * completion of {@link Mono}.
+ * @return information about the specified data network along with {@link Response} on successful completion of
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getWithResponseAsync(
@@ -472,17 +472,17 @@ private Mono> getWithResponseAsync(
}
/**
- * Gets information about the specified mobile network dataNetwork.
+ * Gets information about the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified mobile network dataNetwork along with {@link Response} on successful
- * completion of {@link Mono}.
+ * @return information about the specified data network along with {@link Response} on successful completion of
+ * {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono> getWithResponseAsync(
@@ -526,40 +526,33 @@ private Mono> getWithResponseAsync(
}
/**
- * Gets information about the specified mobile network dataNetwork.
+ * Gets information about the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified mobile network dataNetwork on successful completion of {@link Mono}.
+ * @return information about the specified data network on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
private Mono getAsync(
String resourceGroupName, String mobileNetworkName, String dataNetworkName) {
return getWithResponseAsync(resourceGroupName, mobileNetworkName, dataNetworkName)
- .flatMap(
- (Response res) -> {
- if (res.getValue() != null) {
- return Mono.just(res.getValue());
- } else {
- return Mono.empty();
- }
- });
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
- * Gets information about the specified mobile network dataNetwork.
+ * Gets information about the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified mobile network dataNetwork.
+ * @return information about the specified data network.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public DataNetworkInner get(String resourceGroupName, String mobileNetworkName, String dataNetworkName) {
@@ -567,16 +560,16 @@ public DataNetworkInner get(String resourceGroupName, String mobileNetworkName,
}
/**
- * Gets information about the specified mobile network dataNetwork.
+ * Gets information about the specified data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return information about the specified mobile network dataNetwork along with {@link Response}.
+ * @return information about the specified data network along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
public Response getWithResponse(
@@ -585,12 +578,12 @@ public Response getWithResponse(
}
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -647,12 +640,12 @@ private Mono>> createOrUpdateWithResponseAsync(
}
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -711,12 +704,12 @@ private Mono>> createOrUpdateWithResponseAsync(
}
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -738,12 +731,12 @@ private PollerFlux, DataNetworkInner> beginCreateOr
}
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -767,12 +760,12 @@ private PollerFlux, DataNetworkInner> beginCreateOr
}
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -786,12 +779,12 @@ public SyncPoller, DataNetworkInner> beginCreateOrU
}
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -810,12 +803,12 @@ public SyncPoller, DataNetworkInner> beginCreateOrU
}
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -830,12 +823,12 @@ private Mono createOrUpdateAsync(
}
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -855,12 +848,12 @@ private Mono createOrUpdateAsync(
}
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -873,12 +866,12 @@ public DataNetworkInner createOrUpdate(
}
/**
- * Creates or updates a mobile network dataNetwork.
+ * Creates or updates a data network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
- * @param parameters Parameters supplied to the create or update mobile network dataNetwork operation.
+ * @param dataNetworkName The name of the data network.
+ * @param parameters Parameters supplied to the create or update data network operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -896,11 +889,11 @@ public DataNetworkInner createOrUpdate(
}
/**
- * Update data network tags.
+ * Updates data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param parameters Parameters supplied to update data network tags.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -958,11 +951,11 @@ private Mono> updateTagsWithResponseAsync(
}
/**
- * Update data network tags.
+ * Updates data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param parameters Parameters supplied to update data network tags.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1022,11 +1015,11 @@ private Mono> updateTagsWithResponseAsync(
}
/**
- * Update data network tags.
+ * Updates data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param parameters Parameters supplied to update data network tags.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1037,22 +1030,15 @@ private Mono> updateTagsWithResponseAsync(
private Mono updateTagsAsync(
String resourceGroupName, String mobileNetworkName, String dataNetworkName, TagsObject parameters) {
return updateTagsWithResponseAsync(resourceGroupName, mobileNetworkName, dataNetworkName, parameters)
- .flatMap(
- (Response res) -> {
- if (res.getValue() != null) {
- return Mono.just(res.getValue());
- } else {
- return Mono.empty();
- }
- });
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
- * Update data network tags.
+ * Updates data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param parameters Parameters supplied to update data network tags.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
@@ -1066,11 +1052,11 @@ public DataNetworkInner updateTags(
}
/**
- * Update data network tags.
+ * Updates data network tags.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
- * @param dataNetworkName The name of the mobile network dataNetwork.
+ * @param dataNetworkName The name of the data network.
* @param parameters Parameters supplied to update data network tags.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -1090,7 +1076,7 @@ public Response updateTagsWithResponse(
}
/**
- * Lists all dataNetworks in the mobile network.
+ * Lists all data networks in the mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -1149,7 +1135,7 @@ private Mono> listByMobileNetworkSinglePageAsync
}
/**
- * Lists all dataNetworks in the mobile network.
+ * Lists all data networks in the mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -1206,7 +1192,7 @@ private Mono> listByMobileNetworkSinglePageAsync
}
/**
- * Lists all dataNetworks in the mobile network.
+ * Lists all data networks in the mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -1223,7 +1209,7 @@ private PagedFlux listByMobileNetworkAsync(String resourceGrou
}
/**
- * Lists all dataNetworks in the mobile network.
+ * Lists all data networks in the mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -1242,7 +1228,7 @@ private PagedFlux listByMobileNetworkAsync(
}
/**
- * Lists all dataNetworks in the mobile network.
+ * Lists all data networks in the mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
@@ -1257,7 +1243,7 @@ public PagedIterable listByMobileNetwork(String resourceGroupN
}
/**
- * Lists all dataNetworks in the mobile network.
+ * Lists all data networks in the mobile network.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param mobileNetworkName The name of the mobile network.
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/MobileNetworkImpl.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/MobileNetworkImpl.java
index 3c61cc52b8282..972783a471484 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/MobileNetworkImpl.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/MobileNetworkImpl.java
@@ -70,6 +70,10 @@ public String regionName() {
return this.location();
}
+ public String resourceGroupName() {
+ return resourceGroupName;
+ }
+
public MobileNetworkInner innerModel() {
return this.innerObject;
}
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/MobileNetworkManagementClientBuilder.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/MobileNetworkManagementClientBuilder.java
index 18f4656d55452..7425038f5243c 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/MobileNetworkManagementClientBuilder.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/MobileNetworkManagementClientBuilder.java
@@ -7,7 +7,6 @@
import com.azure.core.annotation.ServiceClientBuilder;
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
-import com.azure.core.http.policy.CookiePolicy;
import com.azure.core.http.policy.RetryPolicy;
import com.azure.core.http.policy.UserAgentPolicy;
import com.azure.core.management.AzureEnvironment;
@@ -67,34 +66,34 @@ public MobileNetworkManagementClientBuilder environment(AzureEnvironment environ
}
/*
- * The default poll interval for long-running operation
+ * The HTTP pipeline to send requests through
*/
- private Duration defaultPollInterval;
+ private HttpPipeline pipeline;
/**
- * Sets The default poll interval for long-running operation.
+ * Sets The HTTP pipeline to send requests through.
*
- * @param defaultPollInterval the defaultPollInterval value.
+ * @param pipeline the pipeline value.
* @return the MobileNetworkManagementClientBuilder.
*/
- public MobileNetworkManagementClientBuilder defaultPollInterval(Duration defaultPollInterval) {
- this.defaultPollInterval = defaultPollInterval;
+ public MobileNetworkManagementClientBuilder pipeline(HttpPipeline pipeline) {
+ this.pipeline = pipeline;
return this;
}
/*
- * The HTTP pipeline to send requests through
+ * The default poll interval for long-running operation
*/
- private HttpPipeline pipeline;
+ private Duration defaultPollInterval;
/**
- * Sets The HTTP pipeline to send requests through.
+ * Sets The default poll interval for long-running operation.
*
- * @param pipeline the pipeline value.
+ * @param defaultPollInterval the defaultPollInterval value.
* @return the MobileNetworkManagementClientBuilder.
*/
- public MobileNetworkManagementClientBuilder pipeline(HttpPipeline pipeline) {
- this.pipeline = pipeline;
+ public MobileNetworkManagementClientBuilder defaultPollInterval(Duration defaultPollInterval) {
+ this.defaultPollInterval = defaultPollInterval;
return this;
}
@@ -126,15 +125,12 @@ public MobileNetworkManagementClientImpl buildClient() {
if (environment == null) {
this.environment = AzureEnvironment.AZURE;
}
+ if (pipeline == null) {
+ this.pipeline = new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy()).build();
+ }
if (defaultPollInterval == null) {
this.defaultPollInterval = Duration.ofSeconds(30);
}
- if (pipeline == null) {
- this.pipeline =
- new HttpPipelineBuilder()
- .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy())
- .build();
- }
if (serializerAdapter == null) {
this.serializerAdapter = SerializerFactory.createDefaultManagementSerializerAdapter();
}
diff --git a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/MobileNetworkManagementClientImpl.java b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/MobileNetworkManagementClientImpl.java
index 4092b8cf8aa7d..5d2cba992f4c0 100644
--- a/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/MobileNetworkManagementClientImpl.java
+++ b/sdk/mobilenetwork/azure-resourcemanager-mobilenetwork/src/main/java/com/azure/resourcemanager/mobilenetwork/implementation/MobileNetworkManagementClientImpl.java
@@ -15,6 +15,7 @@
import com.azure.core.management.polling.PollResult;
import com.azure.core.management.polling.PollerFactory;
import com.azure.core.util.Context;
+import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
import com.azure.core.util.polling.AsyncPollResponse;
import com.azure.core.util.polling.LongRunningOperationStatus;
@@ -29,6 +30,7 @@
import com.azure.resourcemanager.mobilenetwork.fluent.PacketCoreControlPlanesClient;
import com.azure.resourcemanager.mobilenetwork.fluent.PacketCoreDataPlanesClient;
import com.azure.resourcemanager.mobilenetwork.fluent.ServicesClient;
+import com.azure.resourcemanager.mobilenetwork.fluent.SimGroupsClient;
import com.azure.resourcemanager.mobilenetwork.fluent.SimPoliciesClient;
import com.azure.resourcemanager.mobilenetwork.fluent.SimsClient;
import com.azure.resourcemanager.mobilenetwork.fluent.SitesClient;
@@ -39,7 +41,6 @@
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.time.Duration;
-import java.util.Map;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
@@ -166,6 +167,18 @@ public SitesClient getSites() {
return this.sites;
}
+ /** The SimGroupsClient object to access its operations. */
+ private final SimGroupsClient simGroups;
+
+ /**
+ * Gets the SimGroupsClient object to access its operations.
+ *
+ * @return the SimGroupsClient object.
+ */
+ public SimGroupsClient getSimGroups() {
+ return this.simGroups;
+ }
+
/** The SimsClient object to access its operations. */
private final SimsClient sims;
@@ -272,11 +285,12 @@ public SlicesClient getSlices() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
- this.apiVersion = "2022-03-01-preview";
+ this.apiVersion = "2022-04-01-preview";
this.attachedDataNetworks = new AttachedDataNetworksClientImpl(this);
this.dataNetworks = new DataNetworksClientImpl(this);
this.mobileNetworks = new MobileNetworksClientImpl(this);
this.sites = new SitesClientImpl(this);
+ this.simGroups = new SimGroupsClientImpl(this);
this.sims = new SimsClientImpl(this);
this.operations = new OperationsClientImpl(this);
this.packetCoreControlPlanes = new PacketCoreControlPlanesClientImpl(this);
@@ -302,10 +316,7 @@ public Context getContext() {
* @return the merged context.
*/
public Context mergeContext(Context context) {
- for (Map.Entry