diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/CHANGELOG.md b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/CHANGELOG.md
index 9210c2367626f..1c244ec898a33 100644
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/CHANGELOG.md
+++ b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/CHANGELOG.md
@@ -1,7 +1,8 @@
# Release History
-## 1.0.0-beta.4 (Unreleased)
+## 1.0.0-beta.1 (2021-08-26)
+- Azure Resource Manager AppConfiguration client library for Java. This package contains Microsoft Azure SDK for AppConfiguration Management SDK. Package tag package-2021-03-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## 1.0.0-beta.3 (2021-07-09)
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/README.md b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/README.md
index 74082dcb6e12d..8e71a313d5891 100644
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/README.md
+++ b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/README.md
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-appconfiguration
- 1.0.0-beta.3
+ 1.0.0-beta.4
```
[//]: # ({x-version-update-end})
@@ -74,7 +74,6 @@ See [API design][design] for general introduction on design and key concepts on
## Examples
-[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/appconfiguration/azure-resourcemanager-appconfiguration/SAMPLE.md)
## Troubleshooting
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/AppConfigurationManager.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/AppConfigurationManager.java
index 27ac8dc631a37..94b5cd7d3a088 100644
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/AppConfigurationManager.java
+++ b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/AppConfigurationManager.java
@@ -186,7 +186,7 @@ public AppConfigurationManager authenticate(TokenCredential credential, AzurePro
.append("-")
.append("com.azure.resourcemanager.appconfiguration")
.append("/")
- .append("1.0.0-beta.3");
+ .append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/fluent/models/KeyValueInner.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/fluent/models/KeyValueInner.java
index 8327cc3b94893..e747615bd0772 100644
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/fluent/models/KeyValueInner.java
+++ b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/fluent/models/KeyValueInner.java
@@ -9,6 +9,7 @@
import com.azure.core.management.ProxyResource;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;
import java.util.Map;
@@ -75,6 +76,7 @@ public class KeyValueInner extends ProxyResource {
* applicable for.
*/
@JsonProperty(value = "properties.tags")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
private Map tags;
/**
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/models/ConfigurationStoreUpdateParameters.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/models/ConfigurationStoreUpdateParameters.java
index 89d50d964f442..42d404658d3c2 100644
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/models/ConfigurationStoreUpdateParameters.java
+++ b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/models/ConfigurationStoreUpdateParameters.java
@@ -8,6 +8,7 @@
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
@@ -33,6 +34,7 @@ public class ConfigurationStoreUpdateParameters {
* The ARM resource tags.
*/
@JsonProperty(value = "tags")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
private Map tags;
/*
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/models/ResourceIdentity.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/models/ResourceIdentity.java
index aea40cd4dbe79..3cd411f251a25 100644
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/models/ResourceIdentity.java
+++ b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/main/java/com/azure/resourcemanager/appconfiguration/models/ResourceIdentity.java
@@ -7,6 +7,7 @@
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
@@ -30,6 +31,7 @@ public class ResourceIdentity {
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
*/
@JsonProperty(value = "userAssignedIdentities")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
private Map userAssignedIdentities;
/*
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresCreateSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresCreateSamples.java
deleted file mode 100644
index 2f51db360e6a5..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresCreateSamples.java
+++ /dev/null
@@ -1,84 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.resourcemanager.appconfiguration.models.IdentityType;
-import com.azure.resourcemanager.appconfiguration.models.ResourceIdentity;
-import com.azure.resourcemanager.appconfiguration.models.Sku;
-import com.azure.resourcemanager.appconfiguration.models.UserIdentity;
-import java.util.HashMap;
-import java.util.Map;
-
-/** Samples for ConfigurationStores Create. */
-public final class ConfigurationStoresCreateSamples {
- /**
- * Sample code: ConfigurationStores_Create.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresCreate(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .configurationStores()
- .define("contoso")
- .withRegion("westus")
- .withExistingResourceGroup("myResourceGroup")
- .withSku(new Sku().withName("Standard"))
- .withTags(mapOf("myTag", "myTagValue"))
- .create();
- }
-
- /**
- * Sample code: ConfigurationStores_Create_With_Identity.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresCreateWithIdentity(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .configurationStores()
- .define("contoso")
- .withRegion("westus")
- .withExistingResourceGroup("myResourceGroup")
- .withSku(new Sku().withName("Standard"))
- .withTags(mapOf("myTag", "myTagValue"))
- .withIdentity(
- new ResourceIdentity()
- .withType(IdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED)
- .withUserAssignedIdentities(
- mapOf(
- "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2",
- new UserIdentity())))
- .create();
- }
-
- /**
- * Sample code: ConfigurationStores_Create_With_Local_Auth_Disabled.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresCreateWithLocalAuthDisabled(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .configurationStores()
- .define("contoso")
- .withRegion("westus")
- .withExistingResourceGroup("myResourceGroup")
- .withSku(new Sku().withName("Standard"))
- .withDisableLocalAuth(true)
- .create();
- }
-
- @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;
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresDeleteSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresDeleteSamples.java
deleted file mode 100644
index 27699e376a8fd..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresDeleteSamples.java
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for ConfigurationStores Delete. */
-public final class ConfigurationStoresDeleteSamples {
- /**
- * Sample code: ConfigurationStores_Delete.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresDelete(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager.configurationStores().delete("myResourceGroup", "contoso", Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresGetByResourceGroupSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresGetByResourceGroupSamples.java
deleted file mode 100644
index 6613ad4922b4b..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresGetByResourceGroupSamples.java
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for ConfigurationStores GetByResourceGroup. */
-public final class ConfigurationStoresGetByResourceGroupSamples {
- /**
- * Sample code: ConfigurationStores_Get.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresGet(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .configurationStores()
- .getByResourceGroupWithResponse("myResourceGroup", "contoso", Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresListByResourceGroupSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresListByResourceGroupSamples.java
deleted file mode 100644
index 841eb15c7dc7f..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresListByResourceGroupSamples.java
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for ConfigurationStores ListByResourceGroup. */
-public final class ConfigurationStoresListByResourceGroupSamples {
- /**
- * Sample code: ConfigurationStores_ListByResourceGroup.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresListByResourceGroup(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager.configurationStores().listByResourceGroup("myResourceGroup", null, Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresListKeysSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresListKeysSamples.java
deleted file mode 100644
index 9a60edf91380f..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresListKeysSamples.java
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for ConfigurationStores ListKeys. */
-public final class ConfigurationStoresListKeysSamples {
- /**
- * Sample code: ConfigurationStores_ListKeys.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresListKeys(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager.configurationStores().listKeys("myResourceGroup", "contoso", null, Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresListSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresListSamples.java
deleted file mode 100644
index a3c64d3192821..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresListSamples.java
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for ConfigurationStores List. */
-public final class ConfigurationStoresListSamples {
- /**
- * Sample code: ConfigurationStores_List.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresList(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager.configurationStores().list(null, Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresRegenerateKeySamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresRegenerateKeySamples.java
deleted file mode 100644
index f2d2f49e90b9d..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresRegenerateKeySamples.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.appconfiguration.models.RegenerateKeyParameters;
-
-/** Samples for ConfigurationStores RegenerateKey. */
-public final class ConfigurationStoresRegenerateKeySamples {
- /**
- * Sample code: ConfigurationStores_RegenerateKey.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresRegenerateKey(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .configurationStores()
- .regenerateKeyWithResponse(
- "myResourceGroup", "contoso", new RegenerateKeyParameters().withId("439AD01B4BE67DB1"), Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresUpdateSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresUpdateSamples.java
deleted file mode 100644
index 7de0d4d072551..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/ConfigurationStoresUpdateSamples.java
+++ /dev/null
@@ -1,84 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.appconfiguration.models.ConfigurationStore;
-import com.azure.resourcemanager.appconfiguration.models.IdentityType;
-import com.azure.resourcemanager.appconfiguration.models.ResourceIdentity;
-import com.azure.resourcemanager.appconfiguration.models.Sku;
-import com.azure.resourcemanager.appconfiguration.models.UserIdentity;
-import java.util.HashMap;
-import java.util.Map;
-
-/** Samples for ConfigurationStores Update. */
-public final class ConfigurationStoresUpdateSamples {
- /**
- * Sample code: ConfigurationStores_Update_Disable_Local_Auth.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresUpdateDisableLocalAuth(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- ConfigurationStore resource =
- appConfigurationManager
- .configurationStores()
- .getByResourceGroupWithResponse("myResourceGroup", "contoso", Context.NONE)
- .getValue();
- resource.update().withSku(new Sku().withName("Standard")).withDisableLocalAuth(true).apply();
- }
-
- /**
- * Sample code: ConfigurationStores_Update.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresUpdate(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- ConfigurationStore resource =
- appConfigurationManager
- .configurationStores()
- .getByResourceGroupWithResponse("myResourceGroup", "contoso", Context.NONE)
- .getValue();
- resource.update().withTags(mapOf("Category", "Marketing")).withSku(new Sku().withName("Standard")).apply();
- }
-
- /**
- * Sample code: ConfigurationStores_Update_With_Identity.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresUpdateWithIdentity(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- ConfigurationStore resource =
- appConfigurationManager
- .configurationStores()
- .getByResourceGroupWithResponse("myResourceGroup", "contoso", Context.NONE)
- .getValue();
- resource
- .update()
- .withTags(mapOf("Category", "Marketing"))
- .withIdentity(
- new ResourceIdentity()
- .withType(IdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED)
- .withUserAssignedIdentities(
- mapOf(
- "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2",
- new UserIdentity())))
- .withSku(new Sku().withName("Standard"))
- .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;
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/KeyValuesCreateOrUpdateSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/KeyValuesCreateOrUpdateSamples.java
deleted file mode 100644
index 36b47885662ee..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/KeyValuesCreateOrUpdateSamples.java
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import java.util.HashMap;
-import java.util.Map;
-
-/** Samples for KeyValues CreateOrUpdate. */
-public final class KeyValuesCreateOrUpdateSamples {
- /**
- * Sample code: KeyValues_CreateOrUpdate.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void keyValuesCreateOrUpdate(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .keyValues()
- .define("myKey$myLabel")
- .withExistingConfigurationStore("myResourceGroup", "contoso")
- .withTags(mapOf("tag1", "tagValue1", "tag2", "tagValue2"))
- .withValue("myValue")
- .create();
- }
-
- @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;
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/KeyValuesDeleteSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/KeyValuesDeleteSamples.java
deleted file mode 100644
index 4363d3722e36f..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/KeyValuesDeleteSamples.java
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for KeyValues Delete. */
-public final class KeyValuesDeleteSamples {
- /**
- * Sample code: KeyValues_Delete.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void keyValuesDelete(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager.keyValues().delete("myResourceGroup", "contoso", "myKey$myLabel", Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/KeyValuesGetSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/KeyValuesGetSamples.java
deleted file mode 100644
index 51f024a17acf4..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/KeyValuesGetSamples.java
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for KeyValues Get. */
-public final class KeyValuesGetSamples {
- /**
- * Sample code: KeyValues_Get.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void keyValuesGet(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .keyValues()
- .getWithResponse("myResourceGroup", "contoso", "myKey$myLabel", Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/KeyValuesListByConfigurationStoreSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/KeyValuesListByConfigurationStoreSamples.java
deleted file mode 100644
index d82cbe59c2257..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/KeyValuesListByConfigurationStoreSamples.java
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for KeyValues ListByConfigurationStore. */
-public final class KeyValuesListByConfigurationStoreSamples {
- /**
- * Sample code: KeyValues_ListByConfigurationStore.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void keyValuesListByConfigurationStore(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager.keyValues().listByConfigurationStore("myResourceGroup", "contoso", null, Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/OperationsCheckNameAvailabilitySamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/OperationsCheckNameAvailabilitySamples.java
deleted file mode 100644
index 90a3b9ef98986..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/OperationsCheckNameAvailabilitySamples.java
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.appconfiguration.models.CheckNameAvailabilityParameters;
-import com.azure.resourcemanager.appconfiguration.models.ConfigurationResourceType;
-
-/** Samples for Operations CheckNameAvailability. */
-public final class OperationsCheckNameAvailabilitySamples {
- /**
- * Sample code: ConfigurationStores_CheckNameAvailable.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresCheckNameAvailable(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .operations()
- .checkNameAvailabilityWithResponse(
- new CheckNameAvailabilityParameters()
- .withName("contoso")
- .withType(ConfigurationResourceType.MICROSOFT_APP_CONFIGURATION_CONFIGURATION_STORES),
- Context.NONE);
- }
-
- /**
- * Sample code: ConfigurationStores_CheckNameNotAvailable.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void configurationStoresCheckNameNotAvailable(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .operations()
- .checkNameAvailabilityWithResponse(
- new CheckNameAvailabilityParameters()
- .withName("contoso")
- .withType(ConfigurationResourceType.MICROSOFT_APP_CONFIGURATION_CONFIGURATION_STORES),
- Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateEndpointConnectionsCreateOrUpdateSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateEndpointConnectionsCreateOrUpdateSamples.java
deleted file mode 100644
index 1896c67b907af..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateEndpointConnectionsCreateOrUpdateSamples.java
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.resourcemanager.appconfiguration.models.ConnectionStatus;
-import com.azure.resourcemanager.appconfiguration.models.PrivateLinkServiceConnectionState;
-
-/** Samples for PrivateEndpointConnections CreateOrUpdate. */
-public final class PrivateEndpointConnectionsCreateOrUpdateSamples {
- /**
- * Sample code: PrivateEndpointConnection_CreateOrUpdate.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void privateEndpointConnectionCreateOrUpdate(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .privateEndpointConnections()
- .define("myConnection")
- .withExistingConfigurationStore("myResourceGroup", "contoso")
- .withPrivateLinkServiceConnectionState(
- new PrivateLinkServiceConnectionState()
- .withStatus(ConnectionStatus.APPROVED)
- .withDescription("Auto-Approved"))
- .create();
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateEndpointConnectionsDeleteSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateEndpointConnectionsDeleteSamples.java
deleted file mode 100644
index df99ca80e464e..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateEndpointConnectionsDeleteSamples.java
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for PrivateEndpointConnections Delete. */
-public final class PrivateEndpointConnectionsDeleteSamples {
- /**
- * Sample code: PrivateEndpointConnections_Delete.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void privateEndpointConnectionsDelete(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .privateEndpointConnections()
- .delete("myResourceGroup", "contoso", "myConnection", Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateEndpointConnectionsGetSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateEndpointConnectionsGetSamples.java
deleted file mode 100644
index 9d790fcfc5f2f..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateEndpointConnectionsGetSamples.java
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for PrivateEndpointConnections Get. */
-public final class PrivateEndpointConnectionsGetSamples {
- /**
- * Sample code: PrivateEndpointConnection_GetConnection.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void privateEndpointConnectionGetConnection(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .privateEndpointConnections()
- .getWithResponse("myResourceGroup", "contoso", "myConnection", Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateEndpointConnectionsListByConfigurationStoreSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateEndpointConnectionsListByConfigurationStoreSamples.java
deleted file mode 100644
index f3f3d9e89805e..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateEndpointConnectionsListByConfigurationStoreSamples.java
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for PrivateEndpointConnections ListByConfigurationStore. */
-public final class PrivateEndpointConnectionsListByConfigurationStoreSamples {
- /**
- * Sample code: PrivateEndpointConnection_List.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void privateEndpointConnectionList(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .privateEndpointConnections()
- .listByConfigurationStore("myResourceGroup", "contoso", Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateLinkResourcesGetSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateLinkResourcesGetSamples.java
deleted file mode 100644
index 9bfec8a328bfc..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateLinkResourcesGetSamples.java
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for PrivateLinkResources Get. */
-public final class PrivateLinkResourcesGetSamples {
- /**
- * Sample code: PrivateLinkResources_Get.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void privateLinkResourcesGet(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .privateLinkResources()
- .getWithResponse("myResourceGroup", "contoso", "configurationStores", Context.NONE);
- }
-}
diff --git a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateLinkResourcesListByConfigurationStoreSamples.java b/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateLinkResourcesListByConfigurationStoreSamples.java
deleted file mode 100644
index b64c1c499959f..0000000000000
--- a/sdk/appconfiguration/azure-resourcemanager-appconfiguration/src/samples/java/com/azure/resourcemanager/appconfiguration/PrivateLinkResourcesListByConfigurationStoreSamples.java
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.appconfiguration;
-
-import com.azure.core.util.Context;
-
-/** Samples for PrivateLinkResources ListByConfigurationStore. */
-public final class PrivateLinkResourcesListByConfigurationStoreSamples {
- /**
- * Sample code: PrivateLinkResources_ListGroupIds.
- *
- * @param appConfigurationManager Entry point to AppConfigurationManager.
- */
- public static void privateLinkResourcesListGroupIds(
- com.azure.resourcemanager.appconfiguration.AppConfigurationManager appConfigurationManager) {
- appConfigurationManager
- .privateLinkResources()
- .listByConfigurationStore("myResourceGroup", "contoso", Context.NONE);
- }
-}