diff --git a/sdk/apicenter/azure-resourcemanager-apicenter/src/test/java/com/azure/resourcemanager/apicenter/ApiCenterManagerTests.java b/sdk/apicenter/azure-resourcemanager-apicenter/src/test/java/com/azure/resourcemanager/apicenter/ApiCenterManagerTests.java index 0545fadc32e7b..674665b0fc87f 100644 --- a/sdk/apicenter/azure-resourcemanager-apicenter/src/test/java/com/azure/resourcemanager/apicenter/ApiCenterManagerTests.java +++ b/sdk/apicenter/azure-resourcemanager-apicenter/src/test/java/com/azure/resourcemanager/apicenter/ApiCenterManagerTests.java @@ -71,13 +71,13 @@ public void testCreateApiCenterService() { Service service = null; try { String serviceName = "service" + randomPadding(); - // @embedStart + // @embedmeStart service = apiCenterManager.services() .define(serviceName) .withRegion(REGION) .withExistingResourceGroup(resourceGroupName) .create(); - // @embedEnd + // @embedmeEnd service.refresh(); Assertions.assertEquals(serviceName, service.name()); Assertions.assertEquals(serviceName, apiCenterManager.services().getById(service.id()).name()); diff --git a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/test/java/com/azure/resourcemanager/applicationinsights/ApplicationInsightsManagerTests.java b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/test/java/com/azure/resourcemanager/applicationinsights/ApplicationInsightsManagerTests.java index 001ddfff17c14..a9158ef3d60cf 100644 --- a/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/test/java/com/azure/resourcemanager/applicationinsights/ApplicationInsightsManagerTests.java +++ b/sdk/applicationinsights/azure-resourcemanager-applicationinsights/src/test/java/com/azure/resourcemanager/applicationinsights/ApplicationInsightsManagerTests.java @@ -83,7 +83,7 @@ public void testCreateComponent() { try { String componentName = "component" + randomPadding; String spaceName = "space" + randomPadding; - // @embedStart + // @embedmeStart Workspace workspace = logAnalyticsManager.workspaces() .define(spaceName) .withRegion(REGION) @@ -99,7 +99,7 @@ public void testCreateComponent() { .withWorkspaceResourceId(workspace.id()) .withIngestionMode(IngestionMode.LOG_ANALYTICS) .create(); - // @embedEnd + // @embedmeEnd component.refresh(); Assertions.assertEquals(component.name(), componentName); Assertions.assertEquals(component.name(), applicationInsightsManager.components().getById(component.id()).name()); diff --git a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/ChaosManagerTests.java b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/ChaosManagerTests.java index 83ab212f29f0b..425251a9babde 100644 --- a/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/ChaosManagerTests.java +++ b/sdk/chaos/azure-resourcemanager-chaos/src/test/java/com/azure/resourcemanager/chaos/ChaosManagerTests.java @@ -82,7 +82,7 @@ public void tesCreateChaosTarget() { Target target = null; String kvName = "kv" + randomPadding(); try { - // @embedStart + // @embedmeStart keyVaultManager.vaults() .define(kvName) .withRegion(REGION) @@ -102,7 +102,7 @@ public void tesCreateChaosTarget() { .withLocation(REGION.name()) .withProperties(Collections.emptyMap()) ); - // @embedEnd + // @embedmeEnd Assertions.assertEquals(target.name(), "microsoft-keyvault"); Assertions.assertTrue(Objects.nonNull(chaosManager.targets().get( resourceGroupName, "microsoft.keyvault", diff --git a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/ContainerServiceFleetManagerTests.java b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/ContainerServiceFleetManagerTests.java index 50754bf447530..440dc67d7f6a7 100644 --- a/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/ContainerServiceFleetManagerTests.java +++ b/sdk/containerservicefleet/azure-resourcemanager-containerservicefleet/src/test/java/com/azure/resourcemanager/containerservicefleet/ContainerServiceFleetManagerTests.java @@ -71,13 +71,13 @@ public void testCreateFleet() { Fleet fleet = null; try { String fleetName = "fleet" + randomPadding(); - // @embedStart + // @embedmeStart fleet = containerServiceFleetManager.fleets() .define(fleetName) .withRegion(REGION) .withExistingResourceGroup(resourceGroupName) .create(); - // @embedEnd + // @embedmeEnd fleet.refresh(); Assertions.assertEquals(fleet.name(), fleetName); Assertions.assertEquals(fleet.name(), containerServiceFleetManager.fleets().getById(fleet.id()).name()); diff --git a/sdk/dashboard/azure-resourcemanager-dashboard/src/test/java/com/azure/resourcemanager/dashboard/DashboardManagerTests.java b/sdk/dashboard/azure-resourcemanager-dashboard/src/test/java/com/azure/resourcemanager/dashboard/DashboardManagerTests.java index 3fbd2939498b2..18553341e3a3f 100644 --- a/sdk/dashboard/azure-resourcemanager-dashboard/src/test/java/com/azure/resourcemanager/dashboard/DashboardManagerTests.java +++ b/sdk/dashboard/azure-resourcemanager-dashboard/src/test/java/com/azure/resourcemanager/dashboard/DashboardManagerTests.java @@ -71,7 +71,7 @@ public void testCreateGrafana() { ManagedGrafana grafana = null; try { String grafanaName = "grafana" + randomPadding(); - // @embedStart + // @embedmeStart grafana = dashboardManager.grafanas() .define(grafanaName) .withRegion(REGION) @@ -79,7 +79,7 @@ public void testCreateGrafana() { .withIdentity(new ManagedServiceIdentity() .withType(ManagedServiceIdentityType.SYSTEM_ASSIGNED)) .create(); - // @embedEnd + // @embedmeEnd grafana.refresh(); Assertions.assertEquals(grafana.name(), grafanaName); Assertions.assertEquals(grafana.name(), dashboardManager.grafanas().getById(grafana.id()).name()); diff --git a/sdk/deviceupdate/azure-resourcemanager-deviceupdate/src/test/java/com/azure/resourcemanager/deviceupdate/DeviceUpdateManagerTests.java b/sdk/deviceupdate/azure-resourcemanager-deviceupdate/src/test/java/com/azure/resourcemanager/deviceupdate/DeviceUpdateManagerTests.java index 5e06c7588029b..64fb92548761e 100644 --- a/sdk/deviceupdate/azure-resourcemanager-deviceupdate/src/test/java/com/azure/resourcemanager/deviceupdate/DeviceUpdateManagerTests.java +++ b/sdk/deviceupdate/azure-resourcemanager-deviceupdate/src/test/java/com/azure/resourcemanager/deviceupdate/DeviceUpdateManagerTests.java @@ -72,13 +72,13 @@ public void testCreateAccount() { Account account = null; try { String accountName = "account" + randomPadding(); - // @embedStart + // @embedmeStart account = deviceUpdateManager.accounts() .define(accountName) .withRegion(REGION) .withExistingResourceGroup(resourceGroupName) .create(); - // @embedEnd + // @embedmeEnd account.refresh(); Assertions.assertEquals(account.name(), accountName); Assertions.assertEquals(account.name(), deviceUpdateManager.accounts().getById(account.id()).name()); diff --git a/sdk/devtestlabs/azure-resourcemanager-devtestlabs/src/test/java/com/azure/resourcemanager/devtestlabs/DevTestLabsManagerTests.java b/sdk/devtestlabs/azure-resourcemanager-devtestlabs/src/test/java/com/azure/resourcemanager/devtestlabs/DevTestLabsManagerTests.java index 9829d8cbaaf8b..723c5704224ad 100644 --- a/sdk/devtestlabs/azure-resourcemanager-devtestlabs/src/test/java/com/azure/resourcemanager/devtestlabs/DevTestLabsManagerTests.java +++ b/sdk/devtestlabs/azure-resourcemanager-devtestlabs/src/test/java/com/azure/resourcemanager/devtestlabs/DevTestLabsManagerTests.java @@ -71,13 +71,13 @@ public void test() { Lab lab = null; try { String labName = "lab" + randomPadding(); - // @embedStart + // @embedmeStart lab = devTestLabsManager.labs() .define(labName) .withRegion(REGION) .withExistingResourceGroup(resourceGroupName) .create(); - // @embedEnd + // @embedmeEnd lab.refresh(); Assertions.assertEquals(lab.name(), labName); Assertions.assertEquals(lab.name(), devTestLabsManager.labs().getById(lab.id()).name()); diff --git a/sdk/elasticsan/azure-resourcemanager-elasticsan/src/test/java/com/azure/resourcemanager/elasticsan/ElasticSanManagerTests.java b/sdk/elasticsan/azure-resourcemanager-elasticsan/src/test/java/com/azure/resourcemanager/elasticsan/ElasticSanManagerTests.java index 807b9c4ddf033..5b13bf46a8638 100644 --- a/sdk/elasticsan/azure-resourcemanager-elasticsan/src/test/java/com/azure/resourcemanager/elasticsan/ElasticSanManagerTests.java +++ b/sdk/elasticsan/azure-resourcemanager-elasticsan/src/test/java/com/azure/resourcemanager/elasticsan/ElasticSanManagerTests.java @@ -74,7 +74,7 @@ public void testCreateElasticSan() { ElasticSan elasticSan = null; try { String elasticSanName = "elasticsan" + randomPadding(); - // @embedStart + // @embedmeStart elasticSan = elasticSanManager.elasticSans() .define(elasticSanName) .withRegion(REGION) @@ -83,7 +83,7 @@ public void testCreateElasticSan() { .withBaseSizeTiB(1L) .withExtendedCapacitySizeTiB(1L) .create(); - // @embedEnd + // @embedmeEnd elasticSan.refresh(); Assertions.assertEquals(elasticSan.name(), elasticSanName); Assertions.assertEquals(elasticSan.name(), elasticSanManager.elasticSans().getById(elasticSan.id()).name()); diff --git a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/test/java/com/azure/resourcemanager/frontdoor/FrontDoorManagerTests.java b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/test/java/com/azure/resourcemanager/frontdoor/FrontDoorManagerTests.java index ec64eca38ac93..b158f43ea88e7 100644 --- a/sdk/frontdoor/azure-resourcemanager-frontdoor/src/test/java/com/azure/resourcemanager/frontdoor/FrontDoorManagerTests.java +++ b/sdk/frontdoor/azure-resourcemanager-frontdoor/src/test/java/com/azure/resourcemanager/frontdoor/FrontDoorManagerTests.java @@ -71,13 +71,13 @@ public void testCreateWebApplicationFirewallPolicy() { WebApplicationFirewallPolicy policy = null; try { String policyName = "policy" + randomPadding(); - // @embedStart + // @embedmeStart policy = frontDoorManager.policies() .define(policyName) .withRegion(REGION) .withExistingResourceGroup(resourceGroupName) .create(); - // @embedEnd + // @embedmeEnd policy.refresh(); Assertions.assertEquals(policyName, policy.name()); Assertions.assertEquals(policyName, frontDoorManager.policies().getById(policy.id()).name()); diff --git a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/test/java/com/azure/resourcemanager/healthcareapis/HealthcareApisManagerTests.java b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/test/java/com/azure/resourcemanager/healthcareapis/HealthcareApisManagerTests.java index 86067daf98272..73419278be2e8 100644 --- a/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/test/java/com/azure/resourcemanager/healthcareapis/HealthcareApisManagerTests.java +++ b/sdk/healthcareapis/azure-resourcemanager-healthcareapis/src/test/java/com/azure/resourcemanager/healthcareapis/HealthcareApisManagerTests.java @@ -72,14 +72,14 @@ public void testCreateHealthcareWorkspace() { try { String randomPadding = randomPadding(); String workspaceName = "workspace" + randomPadding; - // @embedStart + // @embedmeStart workspace = healthcareApisManager.workspaces() .define(workspaceName) .withExistingResourceGroup(resourceGroupName) .withRegion(REGION) .withProperties(new WorkspaceProperties().withPublicNetworkAccess(PublicNetworkAccess.DISABLED)) .create(); - // @embedEnd + // @embedmeEnd workspace.refresh(); Assertions.assertEquals(workspace.name(), workspaceName); Assertions.assertEquals(workspace.name(), healthcareApisManager.workspaces().getById(workspace.id()).name()); diff --git a/sdk/imagebuilder/azure-resourcemanager-imagebuilder/src/test/java/com/azure/resourcemanager/imagebuilder/ImageBuilderManagerTests.java b/sdk/imagebuilder/azure-resourcemanager-imagebuilder/src/test/java/com/azure/resourcemanager/imagebuilder/ImageBuilderManagerTests.java index 6c85d6717d6c2..bbc36d8a39864 100644 --- a/sdk/imagebuilder/azure-resourcemanager-imagebuilder/src/test/java/com/azure/resourcemanager/imagebuilder/ImageBuilderManagerTests.java +++ b/sdk/imagebuilder/azure-resourcemanager-imagebuilder/src/test/java/com/azure/resourcemanager/imagebuilder/ImageBuilderManagerTests.java @@ -128,7 +128,7 @@ public void testCreateImageTemplate() { .withVersion("latest")) .withBuildTimeoutInMinutes(0) .create(); - // @embedEnd + // @embedmeEnd imageTemplate.refresh(); Assertions.assertEquals(imageTemplate.name(), templateName); Assertions.assertEquals(imageTemplate.name(), imageBuilderManager.virtualMachineImageTemplates().getById(imageTemplate.id()).name()); diff --git a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/IoTFirmwareDefenseManagerTests.java b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/IoTFirmwareDefenseManagerTests.java index 2373d13085024..8550940ce8cfa 100644 --- a/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/IoTFirmwareDefenseManagerTests.java +++ b/sdk/iotfirmwaredefense/azure-resourcemanager-iotfirmwaredefense/src/test/java/com/azure/resourcemanager/iotfirmwaredefense/IoTFirmwareDefenseManagerTests.java @@ -71,13 +71,13 @@ public void testCreateWorkspace() { Workspace workspace = null; try { String spaceName = "space" + randomPadding(); - // @embedStart + // @embedmeStart workspace = ioTFirmwareDefenseManager.workspaces() .define(spaceName) .withRegion(REGION) .withExistingResourceGroup(resourceGroupName) .create(); - // @embedEnd + // @embedmeEnd workspace.refresh(); Assertions.assertEquals(spaceName, workspace.name()); Assertions.assertEquals(spaceName, ioTFirmwareDefenseManager.workspaces().getById(workspace.id()).name()); diff --git a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/KustoManagerTests.java b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/KustoManagerTests.java index 136b8ad82b836..894bf26b86700 100644 --- a/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/KustoManagerTests.java +++ b/sdk/kusto/azure-resourcemanager-kusto/src/test/java/com/azure/resourcemanager/kusto/KustoManagerTests.java @@ -74,7 +74,7 @@ public void testCreateCluster() { Cluster cluster = null; try { String clusterName = "cluster" + randomPadding(); - // @embedStart + // @embedmeStart cluster = kustoManager.clusters() .define(clusterName) .withRegion(REGION) @@ -84,7 +84,7 @@ public void testCreateCluster() { .withCapacity(1) .withTier(AzureSkuTier.BASIC)) .create(); - // @embedEnd + // @embedmeEnd cluster.refresh(); Assertions.assertEquals(cluster.name(), clusterName); Assertions.assertEquals(cluster.name(), kustoManager.clusters().getById(cluster.id()).name()); diff --git a/sdk/loganalytics/azure-resourcemanager-loganalytics/src/test/java/com/azure/resourcemanager/loganalytics/LogAnalyticsManagerTests.java b/sdk/loganalytics/azure-resourcemanager-loganalytics/src/test/java/com/azure/resourcemanager/loganalytics/LogAnalyticsManagerTests.java index 915e79b404b3f..6758fa5c7eb77 100644 --- a/sdk/loganalytics/azure-resourcemanager-loganalytics/src/test/java/com/azure/resourcemanager/loganalytics/LogAnalyticsManagerTests.java +++ b/sdk/loganalytics/azure-resourcemanager-loganalytics/src/test/java/com/azure/resourcemanager/loganalytics/LogAnalyticsManagerTests.java @@ -71,13 +71,13 @@ public void testCreateWorkspace() { Workspace workspace = null; try { String spaceName = "space" + randomPadding(); - // @embedStart + // @embedmeStart workspace = logAnalyticsManager.workspaces() .define(spaceName) .withRegion(REGION) .withExistingResourceGroup(resourceGroupName) .create(); - // @embedEnd + // @embedmeEnd workspace.refresh(); Assertions.assertEquals(workspace.name(), spaceName); Assertions.assertEquals(workspace.name(), logAnalyticsManager.workspaces().getById(workspace.id()).name()); diff --git a/sdk/paloaltonetworks/azure-resourcemanager-paloaltonetworks-ngfw/src/test/java/com/azure/resourcemanager/paloaltonetworks/ngfw/PaloAltoNetworksNgfwManagerTests.java b/sdk/paloaltonetworks/azure-resourcemanager-paloaltonetworks-ngfw/src/test/java/com/azure/resourcemanager/paloaltonetworks/ngfw/PaloAltoNetworksNgfwManagerTests.java index 8b2f4be65ad82..e0e156f4b5f4d 100644 --- a/sdk/paloaltonetworks/azure-resourcemanager-paloaltonetworks-ngfw/src/test/java/com/azure/resourcemanager/paloaltonetworks/ngfw/PaloAltoNetworksNgfwManagerTests.java +++ b/sdk/paloaltonetworks/azure-resourcemanager-paloaltonetworks-ngfw/src/test/java/com/azure/resourcemanager/paloaltonetworks/ngfw/PaloAltoNetworksNgfwManagerTests.java @@ -71,7 +71,7 @@ public void testCreateLocalRulestack() { LocalRulestackResource localRulestackResource = null; try { String localRulestackName = "localRulestack" + randomPadding(); - // @embedStart + // @embedmeStart localRulestackResource = paloAltoNetworksNgfwManager.localRulestacks() .define(localRulestackName) .withRegion(REGION) @@ -79,7 +79,7 @@ public void testCreateLocalRulestack() { .withDefaultMode(DefaultMode.NONE) .withScope(ScopeType.LOCAL) .create(); - // @embedEnd + // @embedmeEnd localRulestackResource.refresh(); Assertions.assertEquals(localRulestackResource.name(), localRulestackName); Assertions.assertEquals(localRulestackResource.name(), paloAltoNetworksNgfwManager.localRulestacks().getById(localRulestackResource.id()).name()); diff --git a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/ServiceFabricManagedClustersManagerTests.java b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/ServiceFabricManagedClustersManagerTests.java index 58f4f0e4133e3..d08e2757f53e6 100644 --- a/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/ServiceFabricManagedClustersManagerTests.java +++ b/sdk/servicefabricmanagedclusters/azure-resourcemanager-servicefabricmanagedclusters/src/test/java/com/azure/resourcemanager/servicefabricmanagedclusters/ServiceFabricManagedClustersManagerTests.java @@ -76,7 +76,7 @@ public void testCreateManagedCluster() { String clusterName = "cluster" + randomPadding(); String adminUser = "user" + randomPadding(); String adminPassWord = UUID.randomUUID().toString().replace("-", "@").substring(0, 13); - // @embedStart + // @embedmeStart managedCluster = serviceFabricManagedClustersManager .managedClusters() .define(clusterName) @@ -89,7 +89,7 @@ public void testCreateManagedCluster() { .withClientConnectionPort(19000) .withHttpGatewayConnectionPort(19080) .create(); - // @embedEnd + // @embedmeEnd managedCluster.refresh(); Assertions.assertEquals(clusterName, managedCluster.name()); Assertions.assertEquals(clusterName, serviceFabricManagedClustersManager.managedClusters().getById(managedCluster.id()).name()); diff --git a/sdk/servicenetworking/azure-resourcemanager-servicenetworking/src/test/java/com/azure/resourcemanager/servicenetworking/TrafficControllerManagerTests.java b/sdk/servicenetworking/azure-resourcemanager-servicenetworking/src/test/java/com/azure/resourcemanager/servicenetworking/TrafficControllerManagerTests.java index d16e4695e2815..5214c6be6228a 100644 --- a/sdk/servicenetworking/azure-resourcemanager-servicenetworking/src/test/java/com/azure/resourcemanager/servicenetworking/TrafficControllerManagerTests.java +++ b/sdk/servicenetworking/azure-resourcemanager-servicenetworking/src/test/java/com/azure/resourcemanager/servicenetworking/TrafficControllerManagerTests.java @@ -66,13 +66,13 @@ public void testCreateTrafficController() { TrafficController trafficController = null; try { String interfaceName = "interface" + randomPadding(); - // @embedStart + // @embedmeStart trafficController = trafficControllerManager.trafficControllerInterfaces() .define(interfaceName) .withRegion(REGION) .withExistingResourceGroup(resourceGroupName) .create(); - // @embedEnd + // @embedmeEnd Assertions.assertEquals(interfaceName, trafficController.name()); Assertions.assertEquals(trafficController.name(), trafficControllerManager.trafficControllerInterfaces().getById(trafficController.id()).name()); diff --git a/sdk/sphere/azure-resourcemanager-sphere/src/test/java/com/azure/resourcemanager/sphere/AzureSphereManagerTests.java b/sdk/sphere/azure-resourcemanager-sphere/src/test/java/com/azure/resourcemanager/sphere/AzureSphereManagerTests.java index 8de0050bc74a2..dad936d72d606 100644 --- a/sdk/sphere/azure-resourcemanager-sphere/src/test/java/com/azure/resourcemanager/sphere/AzureSphereManagerTests.java +++ b/sdk/sphere/azure-resourcemanager-sphere/src/test/java/com/azure/resourcemanager/sphere/AzureSphereManagerTests.java @@ -72,13 +72,13 @@ public void testCreateCatalog() { Catalog catalog = null; try { String catalogName = "catalog" + randomPadding(); - // @embedStart + // @embedmeStart catalog = azureSphereManager.catalogs() .define(catalogName) .withRegion(REGION_GLOBAL) .withExistingResourceGroup(resourceGroupName) .create(); - // @embedEnd + // @embedmeEnd catalog.refresh(); Assertions.assertEquals(catalogName, catalog.name()); Assertions.assertEquals(catalogName, azureSphereManager.catalogs().getById(catalog.id()).name());