diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index a14970d2eec0..5fd73a9151f7 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -455,7 +455,7 @@ com.azure.resourcemanager:azure-resourcemanager-chaos;1.3.0;1.4.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-sphere;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-defendereasm;1.0.0-beta.2;1.0.0-beta.3
com.azure.resourcemanager:azure-resourcemanager-apicenter;1.1.0;1.2.0-beta.1
-com.azure.resourcemanager:azure-resourcemanager-hybridconnectivity;1.1.0;1.2.0-beta.2
+com.azure.resourcemanager:azure-resourcemanager-hybridconnectivity;1.1.0;1.2.0
com.azure.resourcemanager:azure-resourcemanager-playwrighttesting;1.0.0;1.1.0-beta.3
com.azure.resourcemanager:azure-resourcemanager-recoveryservicesdatareplication;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-networkanalytics;1.0.1;1.1.0-beta.1
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/CHANGELOG.md b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/CHANGELOG.md
index a49d74db2374..9525197f14bb 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/CHANGELOG.md
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/CHANGELOG.md
@@ -1,14 +1,150 @@
# Release History
-## 1.2.0-beta.2 (Unreleased)
+## 1.2.0 (2026-08-21)
-### Features Added
+- Azure Resource Manager Hybrid Connectivity client library for Java. This package contains Microsoft Azure SDK for Hybrid Connectivity Management SDK. REST API for public clouds. Package api-version 2027-01-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Breaking Changes
-### Bugs Fixed
+#### `models.EndpointsList` was removed
+
+#### `models.OperationListResult` was removed
+
+#### `models.ServiceConfigurationList` was removed
+
+#### `models.EndpointProperties` was modified
+
+* `validate()` was removed
+
+#### `models.ManagedProxyRequest` was modified
+
+* `validate()` was removed
+
+#### `models.ListIngressGatewayCredentialsRequest` was modified
+
+* `validate()` was removed
+
+#### `HybridConnectivityManager` was modified
+
+* `fluent.HybridConnectivityManagementApi serviceClient()` -> `fluent.HybridConnectivityMgmtClient serviceClient()`
+
+#### `models.OperationDisplay` was modified
+
+* `OperationDisplay()` was changed to private access
+* `validate()` was removed
+
+#### `models.ServiceConfigurationResourcePatch` was modified
+
+* `validate()` was removed
+
+#### `models.ListCredentialsRequest` was modified
+
+* `validate()` was removed
+
+### Features Added
+
+* `models.SolutionConfiguration` was added
+
+* `models.GenerateAwsTemplateRequest` was added
-### Other Changes
+* `models.PublicCloudConnector` was added
+
+* `models.GcpProjectProperties` was added
+
+* `models.SolutionSettings` was added
+
+* `models.Inventories` was added
+
+* `models.SolutionConfiguration$Definition` was added
+
+* `models.SolutionConfigurationUpdate` was added
+
+* `models.OperationStatusResult` was added
+
+* `models.PublicCloudConnectorUpdate` was added
+
+* `models.SolutionTypeSettingsProperties` was added
+
+* `models.SolutionTypeResource` was added
+
+* `models.AwsCloudProfile` was added
+
+* `models.InventoryResource` was added
+
+* `models.SolutionTypeSettings` was added
+
+* `models.GenerateAwsTemplateResponse` was added
+
+* `models.SolutionConfigurationStatus` was added
+
+* `models.SolutionConfigurations` was added
+
+* `models.SolutionConfigurationProperties` was added
+
+* `models.ResourceProvisioningState` was added
+
+* `models.GcpOrganizationPropertiesUpdate` was added
+
+* `models.TrackedResourceUpdate` was added
+
+* `models.HostType` was added
+
+* `models.GcpCloudProfile` was added
+
+* `models.PublicCloudConnectors` was added
+
+* `models.SolutionConfigurationPropertiesUpdate` was added
+
+* `models.PublicCloudConnectorProperties` was added
+
+* `models.SolutionConfiguration$Update` was added
+
+* `models.AwsCloudProfileUpdate` was added
+
+* `models.PublicCloudConnector$Definition` was added
+
+* `models.SolutionTypes` was added
+
+* `models.GcpOrganizationProperties` was added
+
+* `models.PublicCloudConnector$DefinitionStages` was added
+
+* `models.PublicCloudConnector$Update` was added
+
+* `models.SolutionTypeProperties` was added
+
+* `models.GenerateGcpTemplateRequest` was added
+
+* `models.GcpTemplateFormat` was added
+
+* `models.PublicCloudConnector$UpdateStages` was added
+
+* `models.SolutionConfiguration$DefinitionStages` was added
+
+* `models.GenerateGcpTemplates` was added
+
+* `models.GenerateGcpTemplateResponse` was added
+
+* `models.InventoryProperties` was added
+
+* `models.PublicCloudConnectorPropertiesUpdate` was added
+
+* `models.GcpCloudProfileUpdate` was added
+
+* `models.CloudNativeType` was added
+
+* `models.GenerateAwsTemplates` was added
+
+* `models.SolutionConfiguration$UpdateStages` was added
+
+#### `HybridConnectivityManager` was modified
+
+* `solutionTypes()` was added
+* `generateAwsTemplates()` was added
+* `publicCloudConnectors()` was added
+* `generateGcpTemplates()` was added
+* `inventories()` was added
+* `solutionConfigurations()` was added
## 1.2.0-beta.1 (2025-02-26)
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/README.md b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/README.md
index 204ea34f920f..ca5294a0b9dd 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/README.md
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager Hybrid Connectivity client library for Java.
-This package contains Microsoft Azure SDK for Hybrid Connectivity Management SDK. REST API for public clouds. 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 Hybrid Connectivity Management SDK. REST API for public clouds. Package api-version 2027-01-01. 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.resourcemanager
azure-resourcemanager-hybridconnectivity
- 1.2.0-beta.2
+ 1.2.0
```
[//]: # ({x-version-update-end})
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/SAMPLE.md b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/SAMPLE.md
index 8d3fe4876b72..36ba9a1d65e0 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/SAMPLE.md
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/SAMPLE.md
@@ -16,6 +16,10 @@
- [Post](#generateawstemplate_post)
+## GenerateGcpTemplate
+
+- [Post](#generategcptemplate_post)
+
## Inventory
- [Get](#inventory_get)
@@ -68,17 +72,17 @@ import com.azure.resourcemanager.hybridconnectivity.models.Type;
*/
public final class EndpointsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsPutCustom.json
+ * x-ms-original-file: 2027-01-01/Endpoints_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsPutCustom.
+ * Sample code: HybridConnectivityEndpointsPutCustom - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsPutCustom(
+ public static void hybridConnectivityEndpointsPutCustomGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
- .define("custom")
+ .define("qlgk")
.withExistingResourceUri(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
.withProperties(new EndpointProperties().withType(Type.CUSTOM)
@@ -88,20 +92,19 @@ public final class EndpointsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file: 2024-12-01/EndpointsPutDefault.json
+ * x-ms-original-file: 2027-01-01/Endpoints_CreateOrUpdate_MinimumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsPutDefault.
+ * Sample code: HybridConnectivityEndpointsPutCustom - generated by [MinimumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsPutDefault(
+ public static void hybridConnectivityEndpointsPutCustomGeneratedByMinimumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
- .define("default")
+ .define("brvzkuhspeph")
.withExistingResourceUri(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
- .withProperties(new EndpointProperties().withType(Type.DEFAULT))
.create();
}
}
@@ -115,19 +118,35 @@ public final class EndpointsCreateOrUpdateSamples {
*/
public final class EndpointsDeleteSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsDeleteDefault.json
+ * x-ms-original-file: 2027-01-01/Endpoints_Delete_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: HybridConnectivityEndpointsDeleteDefault - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void hybridConnectivityEndpointsDeleteDefaultGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.endpoints()
+ .deleteByResourceGroupWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "bzibyvoiurhaqyjfcvvmtqqxp", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/Endpoints_Delete_MinimumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsDeleteDefault.
+ * Sample code: HybridConnectivityEndpointsDeleteDefault - generated by [MinimumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsDeleteDefault(
+ public static void hybridConnectivityEndpointsDeleteDefaultGeneratedByMinimumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.deleteByResourceGroupWithResponse(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
- "default", com.azure.core.util.Context.NONE);
+ "hnsdhce", com.azure.core.util.Context.NONE);
}
}
```
@@ -140,35 +159,35 @@ public final class EndpointsDeleteSamples {
*/
public final class EndpointsGetSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsGetDefault.json
+ * x-ms-original-file: 2027-01-01/Endpoints_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsGetDefault.
+ * Sample code: HybridConnectivityEndpointsGetCustom - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsGetDefault(
+ public static void hybridConnectivityEndpointsGetCustomGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.getWithResponse(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
- "default", com.azure.core.util.Context.NONE);
+ "dvibtlitlirlrljqjavewemmh", com.azure.core.util.Context.NONE);
}
/*
- * x-ms-original-file: 2024-12-01/EndpointsGetCustom.json
+ * x-ms-original-file: 2027-01-01/Endpoints_Get_MinimumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsGetCustom.
+ * Sample code: HybridConnectivityEndpointsGetCustom - generated by [MinimumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsGetCustom(
+ public static void hybridConnectivityEndpointsGetCustomGeneratedByMinimumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.getWithResponse(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
- "custom", com.azure.core.util.Context.NONE);
+ "mtmtfiytugklrzlgsbfllkffmpbit", com.azure.core.util.Context.NONE);
}
}
```
@@ -181,15 +200,15 @@ public final class EndpointsGetSamples {
*/
public final class EndpointsListSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsList.json
+ * x-ms-original-file: 2027-01-01/Endpoints_List_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsGet.
+ * Sample code: HybridConnectivityEndpointsGet - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- hybridConnectivityEndpointsGet(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void hybridConnectivityEndpointsGetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.list(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
@@ -209,46 +228,81 @@ import com.azure.resourcemanager.hybridconnectivity.models.ServiceName;
*/
public final class EndpointsListCredentialsSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsPostListCredentials.json
+ * x-ms-original-file: 2027-01-01/Endpoints_ListCredentials_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsPostListCredentials.
+ * Sample code: HybridConnectivityEndpointsPostListCredentials - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsPostListCredentials(
+ public static void hybridConnectivityEndpointsPostListCredentialsGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.listCredentialsWithResponse(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
- "default", 10800L, new ListCredentialsRequest().withServiceName(ServiceName.SSH),
+ "zctvtuhbhezloxvc", 10019L, new ListCredentialsRequest().withServiceName(ServiceName.SSH),
com.azure.core.util.Context.NONE);
}
+
+ /*
+ * x-ms-original-file: 2027-01-01/Endpoints_ListCredentials_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: HybridConnectivityEndpointsPostListCredentials - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void hybridConnectivityEndpointsPostListCredentialsGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.endpoints()
+ .listCredentialsWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "yfaebuxkhicaact", null, null, com.azure.core.util.Context.NONE);
+ }
}
```
### Endpoints_ListIngressGatewayCredentials
```java
+import com.azure.resourcemanager.hybridconnectivity.models.ListIngressGatewayCredentialsRequest;
+import com.azure.resourcemanager.hybridconnectivity.models.ServiceName;
/**
* Samples for Endpoints ListIngressGatewayCredentials.
*/
public final class EndpointsListIngressGatewayCredentialsSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsPostListIngressGatewayCredentials.json
+ * x-ms-original-file: 2027-01-01/Endpoints_ListIngressGatewayCredentials_MinimumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsPostListIngressGatewayCredentials.
+ * Sample code: HybridConnectivityEndpointsPostListIngressGatewayCredentials - generated by [MinimumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsPostListIngressGatewayCredentials(
+ public static void hybridConnectivityEndpointsPostListIngressGatewayCredentialsGeneratedByMinimumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.listIngressGatewayCredentialsWithResponse(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/arcGroup/providers/Microsoft.ArcPlaceHolder/ProvisionedClusters/cluster0",
- "default", 10800L, null, com.azure.core.util.Context.NONE);
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "acwtmooqweqqgfcz", null, null, com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/Endpoints_ListIngressGatewayCredentials_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: HybridConnectivityEndpointsPostListIngressGatewayCredentials - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void hybridConnectivityEndpointsPostListIngressGatewayCredentialsGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.endpoints()
+ .listIngressGatewayCredentialsWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "csjtwwrsv", 7513L, new ListIngressGatewayCredentialsRequest().withServiceName(ServiceName.SSH),
+ com.azure.core.util.Context.NONE);
}
}
```
@@ -264,24 +318,41 @@ import com.azure.resourcemanager.hybridconnectivity.models.ServiceName;
*/
public final class EndpointsListManagedProxyDetailsSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsPostListManagedProxyDetails.json
+ * x-ms-original-file: 2027-01-01/Endpoints_ListManagedProxyDetails_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsPostListManagedProxyDetails.
+ * Sample code: HybridConnectivityEndpointsPostListManagedProxyDetails - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsPostListManagedProxyDetails(
+ public static void hybridConnectivityEndpointsPostListManagedProxyDetailsGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.listManagedProxyDetailsWithResponse(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/arcGroup/providers/Microsoft.Compute/virtualMachines/vm00006",
- "default",
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "bjamsbnl",
new ManagedProxyRequest().withService("127.0.0.1:65035")
.withHostname("r.proxy.arc.com")
.withServiceName(ServiceName.WAC),
com.azure.core.util.Context.NONE);
}
+
+ /*
+ * x-ms-original-file: 2027-01-01/Endpoints_ListManagedProxyDetails_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: HybridConnectivityEndpointsPostListManagedProxyDetails - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void hybridConnectivityEndpointsPostListManagedProxyDetailsGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.endpoints()
+ .listManagedProxyDetailsWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "ujpppanchofwgjdv", new ManagedProxyRequest().withService("127.0.0.1:65035"),
+ com.azure.core.util.Context.NONE);
+ }
}
```
@@ -297,21 +368,43 @@ import com.azure.resourcemanager.hybridconnectivity.models.Type;
*/
public final class EndpointsUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsPatchDefault.json
+ * x-ms-original-file: 2027-01-01/Endpoints_Update_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: HybridConnectivityEndpointsPatchDefault - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void hybridConnectivityEndpointsPatchDefaultGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ EndpointResource resource = manager.endpoints()
+ .getWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "xmbtuwprx", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().apply();
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/Endpoints_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsPatchDefault.
+ * Sample code: HybridConnectivityEndpointsPatchDefault - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsPatchDefault(
+ public static void hybridConnectivityEndpointsPatchDefaultGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
EndpointResource resource = manager.endpoints()
.getWithResponse(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
- "default", com.azure.core.util.Context.NONE)
+ "rukckncxq", com.azure.core.util.Context.NONE)
.getValue();
- resource.update().withProperties(new EndpointProperties().withType(Type.DEFAULT)).apply();
+ resource.update()
+ .withProperties(new EndpointProperties().withType(Type.CUSTOM)
+ .withResourceId(
+ "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace"))
+ .apply();
}
}
```
@@ -331,15 +424,15 @@ import java.util.Map;
*/
public final class GenerateAwsTemplatePostSamples {
/*
- * x-ms-original-file: 2024-12-01/GenerateAwsTemplate_Post.json
+ * x-ms-original-file: 2027-01-01/GenerateAwsTemplate_Post_MaximumSet_Gen.json
*/
/**
- * Sample code: GenerateAwsTemplate_Post.
+ * Sample code: GenerateAwsTemplate_Post - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- generateAwsTemplatePost(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void generateAwsTemplatePostGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.generateAwsTemplates()
.postWithResponse(
new GenerateAwsTemplateRequest().withConnectorId("pnxcfjidglabnwxit")
@@ -348,6 +441,93 @@ public final class GenerateAwsTemplatePostSamples {
com.azure.core.util.Context.NONE);
}
+ /*
+ * x-ms-original-file: 2027-01-01/GenerateAwsTemplate_Post_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: GenerateAwsTemplate_Post - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void generateAwsTemplatePostGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.generateAwsTemplates()
+ .postWithResponse(new GenerateAwsTemplateRequest().withConnectorId("pnxcfjidglabnwxit"),
+ com.azure.core.util.Context.NONE);
+ }
+
+ // Use "Map.of" if available
+ @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;
+ }
+}
+```
+
+### GenerateGcpTemplate_Post
+
+```java
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpProjectProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpTemplateFormat;
+import com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplateRequest;
+import com.azure.resourcemanager.hybridconnectivity.models.SolutionSettings;
+import com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeSettings;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for GenerateGcpTemplate Post.
+ */
+public final class GenerateGcpTemplatePostSamples {
+ /*
+ * x-ms-original-file: 2027-01-01/GenerateGcpTemplate_Post_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: GenerateGcpTemplate_Post_MaximumSet.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void generateGcpTemplatePostMaximumSet(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.generateGcpTemplates()
+ .postWithResponse(new GenerateGcpTemplateRequest().withConnectorId("lvrdneuerxztxiixlzswcbm")
+ .withSolutionTypes(Arrays.asList(new SolutionTypeSettings().withSolutionType("hjyownzpfxwiufmd")
+ .withSolutionSettings(new SolutionSettings().withAdditionalProperties(mapOf()))))
+ .withGcpCloudProfile(new GcpCloudProfile()
+ .withProjectProperties(
+ new GcpProjectProperties().withProjectNumber("mjubieitixhpm").withProjectId("mjubieitixhpmid"))
+ .withOrganizationProperties(new GcpOrganizationProperties().withOrganizationId("vqlzghfdinlamurmg")
+ .withManagementProjectNumber("mjubieitixhpm")
+ .withManagementProjectId("mjubieitixhpmid")
+ .withExcludedProjectNumbers(Arrays.asList("sepdnfxmhcrubtklwllxfbhju"))
+ .withExcludedFolderIds(Arrays.asList("xxl"))))
+ .withGcpTemplateFormat(GcpTemplateFormat.TERRAFORM), com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/GenerateGcpTemplate_Post_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: GenerateGcpTemplate_Post_MaximumSet - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void generateGcpTemplatePostMaximumSetGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.generateGcpTemplates()
+ .postWithResponse(new GenerateGcpTemplateRequest().withConnectorId("lvrdneuerxztxiixlzswcbm"),
+ com.azure.core.util.Context.NONE);
+ }
+
// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static Map mapOf(Object... inputs) {
@@ -370,16 +550,19 @@ public final class GenerateAwsTemplatePostSamples {
*/
public final class InventoryGetSamples {
/*
- * x-ms-original-file: 2024-12-01/Inventory_Get.json
+ * x-ms-original-file: 2027-01-01/Inventory_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: Inventory_Get.
+ * Sample code: Inventory_Get - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void inventoryGet(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void inventoryGetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.inventories()
- .getWithResponse("ymuj", "zarfsraogroxlaqjjnwixtn", "xofprmcboosrbd", com.azure.core.util.Context.NONE);
+ .getWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "abc", "pr", com.azure.core.util.Context.NONE);
}
}
```
@@ -392,16 +575,19 @@ public final class InventoryGetSamples {
*/
public final class InventoryListBySolutionConfigurationSamples {
/*
- * x-ms-original-file: 2024-12-01/Inventory_ListBySolutionConfiguration.json
+ * x-ms-original-file: 2027-01-01/Inventory_ListBySolutionConfiguration_MaximumSet_Gen.json
*/
/**
- * Sample code: Inventory_ListBySolutionConfiguration.
+ * Sample code: Inventory_ListBySolutionConfiguration - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void inventoryListBySolutionConfiguration(
+ public static void inventoryListBySolutionConfigurationGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.inventories().listBySolutionConfiguration("ymuj", "wsxt", com.azure.core.util.Context.NONE);
+ manager.inventories()
+ .listBySolutionConfiguration(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "abc", com.azure.core.util.Context.NONE);
}
}
```
@@ -414,14 +600,27 @@ public final class InventoryListBySolutionConfigurationSamples {
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2024-12-01/OperationsList.json
+ * x-ms-original-file: 2027-01-01/Operations_List_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityOperationsList.
+ * Sample code: HybridConnectivityOperationsList - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityOperationsList(
+ public static void hybridConnectivityOperationsListGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.operations().list(com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/Operations_List_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: HybridConnectivityOperationsList - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void hybridConnectivityOperationsListGeneratedByMinimumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.operations().list(com.azure.core.util.Context.NONE);
}
@@ -432,6 +631,9 @@ public final class OperationsListSamples {
```java
import com.azure.resourcemanager.hybridconnectivity.models.AwsCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpProjectProperties;
import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorProperties;
import java.util.Arrays;
@@ -443,24 +645,32 @@ import java.util.Map;
*/
public final class PublicCloudConnectorsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_CreateOrUpdate.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_CreateOrUpdate.
+ * Sample code: PublicCloudConnectors_CreateOrUpdate - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void publicCloudConnectorsCreateOrUpdate(
+ public static void publicCloudConnectorsCreateOrUpdateGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.publicCloudConnectors()
- .define("advjwoakdusalamomg")
+ .define("abc")
.withRegion("jpiglusfxynfcewcjwvvnn")
- .withExistingResourceGroup("rgpublicCloud")
+ .withExistingResourceGroup("rghybridconnectivity")
.withTags(mapOf())
.withProperties(new PublicCloudConnectorProperties()
.withAwsCloudProfile(new AwsCloudProfile().withAccountId("snbnuxckevyqpm")
.withExcludedAccounts(Arrays.asList("rwgqpukglvbqmogqcliqolucp"))
.withIsOrganizationalAccount(true))
+ .withGcpCloudProfile(new GcpCloudProfile()
+ .withProjectProperties(
+ new GcpProjectProperties().withProjectNumber("mjubieitixhpm").withProjectId("mjubieitixhpmid"))
+ .withOrganizationProperties(new GcpOrganizationProperties().withOrganizationId("vqlzghfdinlamurmg")
+ .withManagementProjectNumber("mjubieitixhpm")
+ .withManagementProjectId("mjubieitixhpmid")
+ .withExcludedProjectNumbers(Arrays.asList("sepdnfxmhcrubtklwllxfbhju"))
+ .withExcludedFolderIds(Arrays.asList("xxl"))))
.withHostType(HostType.AWS))
.create();
}
@@ -487,18 +697,17 @@ public final class PublicCloudConnectorsCreateOrUpdateSamples {
*/
public final class PublicCloudConnectorsDeleteSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_Delete.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_Delete.
+ * Sample code: PublicCloudConnectors_Delete - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- publicCloudConnectorsDelete(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void publicCloudConnectorsDeleteGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.publicCloudConnectors()
- .deleteByResourceGroupWithResponse("rgpublicCloud", "skcfyjvflkhibdywjay",
- com.azure.core.util.Context.NONE);
+ .deleteByResourceGroupWithResponse("rghybridconnectivity", "abc", com.azure.core.util.Context.NONE);
}
}
```
@@ -511,18 +720,17 @@ public final class PublicCloudConnectorsDeleteSamples {
*/
public final class PublicCloudConnectorsGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_Get.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_Get.
+ * Sample code: PublicCloudConnectors_Get - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- publicCloudConnectorsGet(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void publicCloudConnectorsGetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.publicCloudConnectors()
- .getByResourceGroupWithResponse("rgpublicCloud", "rzygvnpsnrdylwzdbsscjazvamyxmh",
- com.azure.core.util.Context.NONE);
+ .getByResourceGroupWithResponse("rghybridconnectivity", "abc", com.azure.core.util.Context.NONE);
}
}
```
@@ -535,14 +743,27 @@ public final class PublicCloudConnectorsGetByResourceGroupSamples {
*/
public final class PublicCloudConnectorsListSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_ListBySubscription.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_ListBySubscription_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_ListBySubscription.
+ * Sample code: PublicCloudConnectors_ListBySubscription - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void publicCloudConnectorsListBySubscription(
+ public static void publicCloudConnectorsListBySubscriptionGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.publicCloudConnectors().list(com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_ListBySubscription_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: PublicCloudConnectors_ListBySubscription - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void publicCloudConnectorsListBySubscriptionGeneratedByMinimumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.publicCloudConnectors().list(com.azure.core.util.Context.NONE);
}
@@ -557,16 +778,29 @@ public final class PublicCloudConnectorsListSamples {
*/
public final class PublicCloudConnectorsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_ListByResourceGroup.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_ListByResourceGroup.
+ * Sample code: PublicCloudConnectors_ListByResourceGroup - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void publicCloudConnectorsListByResourceGroup(
+ public static void publicCloudConnectorsListByResourceGroupGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.publicCloudConnectors().listByResourceGroup("rgpublicCloud", com.azure.core.util.Context.NONE);
+ manager.publicCloudConnectors().listByResourceGroup("rghybridconnectivity", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_ListByResourceGroup_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: PublicCloudConnectors_ListByResourceGroup - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void publicCloudConnectorsListByResourceGroupGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.publicCloudConnectors().listByResourceGroup("rghybridconnectivity", com.azure.core.util.Context.NONE);
}
}
```
@@ -579,17 +813,17 @@ public final class PublicCloudConnectorsListByResourceGroupSamples {
*/
public final class PublicCloudConnectorsTestPermissionsSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_TestPermissions.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_TestPermissions_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_TestPermissions.
+ * Sample code: PublicCloudConnectors_TestPermissions - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void publicCloudConnectorsTestPermissions(
+ public static void publicCloudConnectorsTestPermissionsGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.publicCloudConnectors()
- .testPermissions("rgpublicCloud", "rzygvnpsnrdylwzdbsscjazvamyxmh", com.azure.core.util.Context.NONE);
+ .testPermissions("rghybridconnectivity", "abc", com.azure.core.util.Context.NONE);
}
}
```
@@ -609,18 +843,17 @@ import java.util.Map;
*/
public final class PublicCloudConnectorsUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_Update.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_Update.
+ * Sample code: PublicCloudConnectors_Update - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- publicCloudConnectorsUpdate(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void publicCloudConnectorsUpdateGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
PublicCloudConnector resource = manager.publicCloudConnectors()
- .getByResourceGroupWithResponse("rgpublicCloud", "svtirlbyqpepbzyessjenlueeznhg",
- com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("rghybridconnectivity", "abc", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
.withTags(mapOf())
@@ -653,41 +886,23 @@ import com.azure.resourcemanager.hybridconnectivity.models.ServiceName;
*/
public final class ServiceConfigurationsCreateOrupdateSamples {
/*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsPutWAC.json
+ * x-ms-original-file: 2027-01-01/ServiceConfigurations_CreateOrupdate_MaximumSet_Gen.json
*/
/**
- * Sample code: ServiceConfigurationsPutWAC.
+ * Sample code: ServiceConfigurationsPutSSH - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- serviceConfigurationsPutWAC(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.serviceConfigurations()
- .define("WAC")
- .withExistingEndpoint(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default")
- .withServiceName(ServiceName.WAC)
- .withPort(6516L)
- .create();
- }
-
- /*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsPutSSH.json
- */
- /**
- * Sample code: ServiceConfigurationsPutSSH.
- *
- * @param manager Entry point to HybridConnectivityManager.
- */
- public static void
- serviceConfigurationsPutSSH(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void serviceConfigurationsPutSSHGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.serviceConfigurations()
- .define("SSH")
+ .define("inlnklujw")
.withExistingEndpoint(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default")
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "djevinbielhfx")
.withServiceName(ServiceName.SSH)
+ .withResourceId(
+ "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
.withPort(22L)
.create();
}
@@ -702,60 +917,60 @@ public final class ServiceConfigurationsCreateOrupdateSamples {
*/
public final class ServiceConfigurationsDeleteSamples {
/*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsDeleteSSH.json
+ * x-ms-original-file: 2027-01-01/ServiceConfigurations_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: ServiceConfigurationsDeleteSSH.
+ * Sample code: ServiceConfigurationsDeleteSSH - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- serviceConfigurationsDeleteSSH(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void serviceConfigurationsDeleteSSHGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.serviceConfigurations()
.deleteWithResponse(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default", "SSH", com.azure.core.util.Context.NONE);
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "ureaofizl", "ptkmrkoxmvcmvhdzxkd", com.azure.core.util.Context.NONE);
}
-}
-```
-
-### ServiceConfigurations_Get
-```java
-/**
- * Samples for ServiceConfigurations Get.
- */
-public final class ServiceConfigurationsGetSamples {
/*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsGetWAC.json
+ * x-ms-original-file: 2027-01-01/ServiceConfigurations_Delete_MinimumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsServiceconfigurationsGetWAC.
+ * Sample code: ServiceConfigurationsDeleteSSH - generated by [MinimumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsServiceconfigurationsGetWAC(
+ public static void serviceConfigurationsDeleteSSHGeneratedByMinimumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.serviceConfigurations()
- .getWithResponse(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default", "WAC", com.azure.core.util.Context.NONE);
+ .deleteWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "ykrzxbnhnszoikyge", "qwaxkaulnvwsspqjblxrlxtlyfr", com.azure.core.util.Context.NONE);
}
+}
+```
+
+### ServiceConfigurations_Get
+```java
+/**
+ * Samples for ServiceConfigurations Get.
+ */
+public final class ServiceConfigurationsGetSamples {
/*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsGetSSH.json
+ * x-ms-original-file: 2027-01-01/ServiceConfigurations_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsServiceconfigurationsGetSSH.
+ * Sample code: HybridConnectivityEndpointsServiceconfigurationsGetSSH - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsServiceconfigurationsGetSSH(
+ public static void hybridConnectivityEndpointsServiceconfigurationsGetSSHGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.serviceConfigurations()
.getWithResponse(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default", "SSH", com.azure.core.util.Context.NONE);
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "qxkrgoqcdbdduowdxphfmfjpe", "bdahzuetmihmfsvxrtegqzkybmjbfu", com.azure.core.util.Context.NONE);
}
}
```
@@ -768,19 +983,19 @@ public final class ServiceConfigurationsGetSamples {
*/
public final class ServiceConfigurationsListByEndpointResourceSamples {
/*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsList.json
+ * x-ms-original-file: 2027-01-01/ServiceConfigurations_ListByEndpointResource_MaximumSet_Gen.json
*/
/**
- * Sample code: GetClustersExample.
+ * Sample code: GetClustersExample - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- getClustersExample(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void getClustersExampleGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.serviceConfigurations()
.listByEndpointResource(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default", com.azure.core.util.Context.NONE);
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "azklihfwffrqohr", com.azure.core.util.Context.NONE);
}
}
```
@@ -795,19 +1010,19 @@ import com.azure.resourcemanager.hybridconnectivity.models.ServiceConfigurationR
*/
public final class ServiceConfigurationsUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsPatchSSH.json
+ * x-ms-original-file: 2027-01-01/ServiceConfigurations_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: ServiceConfigurationsPatchSSH.
+ * Sample code: ServiceConfigurationsPatchSSH - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- serviceConfigurationsPatchSSH(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void serviceConfigurationsPatchSSHGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
ServiceConfigurationResource resource = manager.serviceConfigurations()
.getWithResponse(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default", "SSH", com.azure.core.util.Context.NONE)
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "bsbpgdlspjhyjgpoxxsoptu", "dcdbyycehygofsazwxadc", com.azure.core.util.Context.NONE)
.getValue();
resource.update().withPort(22L).apply();
}
@@ -827,18 +1042,19 @@ import java.util.Map;
*/
public final class SolutionConfigurationsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionConfigurations_CreateOrUpdate.json
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionConfigurations_CreateOrUpdate.
+ * Sample code: SolutionConfigurations_CreateOrUpdate - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void solutionConfigurationsCreateOrUpdate(
+ public static void solutionConfigurationsCreateOrUpdateGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.solutionConfigurations()
- .define("keebwujt")
- .withExistingResourceUri("ymuj")
+ .define("abc")
+ .withExistingResourceUri(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
.withProperties(new SolutionConfigurationProperties().withSolutionType("nmtqllkyohwtsthxaimsye")
.withSolutionSettings(new SolutionSettings().withAdditionalProperties(mapOf())))
.create();
@@ -866,17 +1082,19 @@ public final class SolutionConfigurationsCreateOrUpdateSamples {
*/
public final class SolutionConfigurationsDeleteSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionConfigurations_Delete.json
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionConfigurations_Delete.
+ * Sample code: SolutionConfigurations_Delete - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- solutionConfigurationsDelete(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void solutionConfigurationsDeleteGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.solutionConfigurations()
- .deleteByResourceGroupWithResponse("ymuj", "stu", com.azure.core.util.Context.NONE);
+ .deleteByResourceGroupWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "abc", com.azure.core.util.Context.NONE);
}
}
```
@@ -889,16 +1107,19 @@ public final class SolutionConfigurationsDeleteSamples {
*/
public final class SolutionConfigurationsGetSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionConfigurations_Get.json
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionConfigurations_Get.
+ * Sample code: SolutionConfigurations_Get - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- solutionConfigurationsGet(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.solutionConfigurations().getWithResponse("ymuj", "tks", com.azure.core.util.Context.NONE);
+ public static void solutionConfigurationsGetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.solutionConfigurations()
+ .getWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "abc", com.azure.core.util.Context.NONE);
}
}
```
@@ -911,16 +1132,35 @@ public final class SolutionConfigurationsGetSamples {
*/
public final class SolutionConfigurationsListSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionConfigurations_List.json
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_List_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionConfigurations_List - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void solutionConfigurationsListGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.solutionConfigurations()
+ .list(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_List_MinimumSet_Gen.json
*/
/**
- * Sample code: SolutionConfigurations_List.
+ * Sample code: SolutionConfigurations_List - generated by [MinimumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- solutionConfigurationsList(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.solutionConfigurations().list("ymuj", com.azure.core.util.Context.NONE);
+ public static void solutionConfigurationsListGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.solutionConfigurations()
+ .list(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ com.azure.core.util.Context.NONE);
}
}
```
@@ -933,16 +1173,19 @@ public final class SolutionConfigurationsListSamples {
*/
public final class SolutionConfigurationsSyncNowSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionConfigurations_SyncNow.json
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_SyncNow_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionConfigurations_SyncNow.
+ * Sample code: SolutionConfigurations_SyncNow - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- solutionConfigurationsSyncNow(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.solutionConfigurations().syncNow("ymuj", "tks", com.azure.core.util.Context.NONE);
+ public static void solutionConfigurationsSyncNowGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.solutionConfigurations()
+ .syncNow(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "abc", com.azure.core.util.Context.NONE);
}
}
```
@@ -961,17 +1204,19 @@ import java.util.Map;
*/
public final class SolutionConfigurationsUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionConfigurations_Update.json
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionConfigurations_Update.
+ * Sample code: SolutionConfigurations_Update - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- solutionConfigurationsUpdate(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void solutionConfigurationsUpdateGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
SolutionConfiguration resource = manager.solutionConfigurations()
- .getWithResponse("ymuj", "dxt", com.azure.core.util.Context.NONE)
+ .getWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "abc", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
.withProperties(new SolutionConfigurationPropertiesUpdate().withSolutionType("myzljlstvmgkp")
@@ -1001,17 +1246,18 @@ public final class SolutionConfigurationsUpdateSamples {
*/
public final class SolutionTypesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionTypes_Get.json
+ * x-ms-original-file: 2027-01-01/SolutionTypes_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTypes_Get.
+ * Sample code: SolutionTypes_Get - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- solutionTypesGet(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void solutionTypesGetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.solutionTypes()
- .getByResourceGroupWithResponse("rgpublicCloud", "lulzqllpu", com.azure.core.util.Context.NONE);
+ .getByResourceGroupWithResponse("rghybridconnectivity", "uekzhgszlxyljiagul",
+ com.azure.core.util.Context.NONE);
}
}
```
@@ -1024,14 +1270,14 @@ public final class SolutionTypesGetByResourceGroupSamples {
*/
public final class SolutionTypesListSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionTypes_ListBySubscription.json
+ * x-ms-original-file: 2027-01-01/SolutionTypes_ListBySubscription_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTypes_ListBySubscription.
+ * Sample code: SolutionTypes_ListBySubscription - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void solutionTypesListBySubscription(
+ public static void solutionTypesListBySubscriptionGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.solutionTypes().list(com.azure.core.util.Context.NONE);
}
@@ -1046,16 +1292,16 @@ public final class SolutionTypesListSamples {
*/
public final class SolutionTypesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionTypes_ListByResourceGroup.json
+ * x-ms-original-file: 2027-01-01/SolutionTypes_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTypes_ListByResourceGroup.
+ * Sample code: SolutionTypes_ListByResourceGroup - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void solutionTypesListByResourceGroup(
+ public static void solutionTypesListByResourceGroupGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.solutionTypes().listByResourceGroup("rgpublicCloud", com.azure.core.util.Context.NONE);
+ manager.solutionTypes().listByResourceGroup("rghybridconnectivity", com.azure.core.util.Context.NONE);
}
}
```
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/pom.xml b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/pom.xml
index 0ec92074e487..5d745fb1c815 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/pom.xml
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/pom.xml
@@ -3,7 +3,7 @@
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) TypeSpec Code Generator.
-->
-
+
4.0.0
com.azure
@@ -14,11 +14,11 @@
com.azure.resourcemanager
azure-resourcemanager-hybridconnectivity
- 1.2.0-beta.2
+ 1.2.0
jar
Microsoft Azure SDK for Hybrid Connectivity Management
- This package contains Microsoft Azure SDK for Hybrid Connectivity Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for public clouds.
+ This package contains Microsoft Azure SDK for Hybrid Connectivity Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST API for public clouds. Package api-version 2027-01-01.
https://github.com/Azure/azure-sdk-for-java
@@ -46,7 +46,6 @@
0
0
true
- false
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/HybridConnectivityManager.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/HybridConnectivityManager.java
index d2381b4adbf6..eb453518cb0a 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/HybridConnectivityManager.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/HybridConnectivityManager.java
@@ -27,6 +27,7 @@
import com.azure.resourcemanager.hybridconnectivity.fluent.HybridConnectivityMgmtClient;
import com.azure.resourcemanager.hybridconnectivity.implementation.EndpointsImpl;
import com.azure.resourcemanager.hybridconnectivity.implementation.GenerateAwsTemplatesImpl;
+import com.azure.resourcemanager.hybridconnectivity.implementation.GenerateGcpTemplatesImpl;
import com.azure.resourcemanager.hybridconnectivity.implementation.HybridConnectivityMgmtClientBuilder;
import com.azure.resourcemanager.hybridconnectivity.implementation.InventoriesImpl;
import com.azure.resourcemanager.hybridconnectivity.implementation.OperationsImpl;
@@ -36,6 +37,7 @@
import com.azure.resourcemanager.hybridconnectivity.implementation.SolutionTypesImpl;
import com.azure.resourcemanager.hybridconnectivity.models.Endpoints;
import com.azure.resourcemanager.hybridconnectivity.models.GenerateAwsTemplates;
+import com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplates;
import com.azure.resourcemanager.hybridconnectivity.models.Inventories;
import com.azure.resourcemanager.hybridconnectivity.models.Operations;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectors;
@@ -63,6 +65,8 @@ public final class HybridConnectivityManager {
private GenerateAwsTemplates generateAwsTemplates;
+ private GenerateGcpTemplates generateGcpTemplates;
+
private PublicCloudConnectors publicCloudConnectors;
private SolutionConfigurations solutionConfigurations;
@@ -334,6 +338,18 @@ public GenerateAwsTemplates generateAwsTemplates() {
return generateAwsTemplates;
}
+ /**
+ * Gets the resource collection API of GenerateGcpTemplates.
+ *
+ * @return Resource collection API of GenerateGcpTemplates.
+ */
+ public GenerateGcpTemplates generateGcpTemplates() {
+ if (this.generateGcpTemplates == null) {
+ this.generateGcpTemplates = new GenerateGcpTemplatesImpl(clientObject.getGenerateGcpTemplates(), this);
+ }
+ return generateGcpTemplates;
+ }
+
/**
* Gets the resource collection API of PublicCloudConnectors. It manages PublicCloudConnector.
*
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/GenerateGcpTemplatesClient.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/GenerateGcpTemplatesClient.java
new file mode 100644
index 000000000000..fd7601044825
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/GenerateGcpTemplatesClient.java
@@ -0,0 +1,45 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.hybridconnectivity.fluent.models.GenerateGcpTemplateResponseInner;
+import com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplateRequest;
+
+/**
+ * An instance of this class provides access to all the operations defined in GenerateGcpTemplatesClient.
+ */
+public interface GenerateGcpTemplatesClient {
+ /**
+ * Retrieve GCP Access Control template.
+ *
+ * @param generateGcpTemplateRequest ConnectorId and SolutionTypes and their properties to Generate GCP Access
+ * Control Template.
+ * @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 HybridConnectivity post operation response along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response postWithResponse(GenerateGcpTemplateRequest generateGcpTemplateRequest,
+ Context context);
+
+ /**
+ * Retrieve GCP Access Control template.
+ *
+ * @param generateGcpTemplateRequest ConnectorId and SolutionTypes and their properties to Generate GCP Access
+ * Control Template.
+ * @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 HybridConnectivity post operation response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GenerateGcpTemplateResponseInner post(GenerateGcpTemplateRequest generateGcpTemplateRequest);
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/HybridConnectivityMgmtClient.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/HybridConnectivityMgmtClient.java
index 2c551213b9e8..2fb40a9627bb 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/HybridConnectivityMgmtClient.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/HybridConnectivityMgmtClient.java
@@ -74,6 +74,13 @@ public interface HybridConnectivityMgmtClient {
*/
GenerateAwsTemplatesClient getGenerateAwsTemplates();
+ /**
+ * Gets the GenerateGcpTemplatesClient object to access its operations.
+ *
+ * @return the GenerateGcpTemplatesClient object.
+ */
+ GenerateGcpTemplatesClient getGenerateGcpTemplates();
+
/**
* Gets the PublicCloudConnectorsClient object to access its operations.
*
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/PublicCloudConnectorsClient.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/PublicCloudConnectorsClient.java
index b71b9ffa08a5..7a7b01a11a43 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/PublicCloudConnectorsClient.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/PublicCloudConnectorsClient.java
@@ -214,7 +214,7 @@ PublicCloudConnectorInner update(String resourceGroupName, String publicCloudCon
PagedIterable list(Context context);
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
@@ -228,7 +228,7 @@ PublicCloudConnectorInner update(String resourceGroupName, String publicCloudCon
beginTestPermissions(String resourceGroupName, String publicCloudConnector);
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
@@ -243,7 +243,7 @@ PublicCloudConnectorInner update(String resourceGroupName, String publicCloudCon
beginTestPermissions(String resourceGroupName, String publicCloudConnector, Context context);
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
@@ -256,7 +256,7 @@ PublicCloudConnectorInner update(String resourceGroupName, String publicCloudCon
OperationStatusResultInner testPermissions(String resourceGroupName, String publicCloudConnector);
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/GenerateGcpTemplateResponseInner.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/GenerateGcpTemplateResponseInner.java
new file mode 100644
index 000000000000..e23f48005422
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/GenerateGcpTemplateResponseInner.java
@@ -0,0 +1,56 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * The HybridConnectivity post operation response.
+ */
+@Immutable
+public final class GenerateGcpTemplateResponseInner implements JsonSerializable {
+ /**
+ * Creates an instance of GenerateGcpTemplateResponseInner class.
+ */
+ private GenerateGcpTemplateResponseInner() {
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of GenerateGcpTemplateResponseInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of GenerateGcpTemplateResponseInner if the JsonReader was pointing to an instance of it, or
+ * null if it was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the GenerateGcpTemplateResponseInner.
+ */
+ public static GenerateGcpTemplateResponseInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ GenerateGcpTemplateResponseInner deserializedGenerateGcpTemplateResponseInner
+ = new GenerateGcpTemplateResponseInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ reader.skipChildren();
+ }
+
+ return deserializedGenerateGcpTemplateResponseInner;
+ });
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/PublicCloudConnectorInner.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/PublicCloudConnectorInner.java
index 588aa9821c35..4f5dc5b0a836 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/PublicCloudConnectorInner.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/PublicCloudConnectorInner.java
@@ -10,6 +10,7 @@
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorProperties;
import java.io.IOException;
import java.util.Map;
@@ -24,6 +25,11 @@ public final class PublicCloudConnectorInner extends Resource {
*/
private PublicCloudConnectorProperties properties;
+ /*
+ * The kind of the public cloud connector.
+ */
+ private HostType kind;
+
/*
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
@@ -70,6 +76,15 @@ public PublicCloudConnectorInner withProperties(PublicCloudConnectorProperties p
return this;
}
+ /**
+ * Get the kind property: The kind of the public cloud connector.
+ *
+ * @return the kind value.
+ */
+ public HostType kind() {
+ return this.kind;
+ }
+
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -168,6 +183,8 @@ public static PublicCloudConnectorInner fromJson(JsonReader jsonReader) throws I
deserializedPublicCloudConnectorInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedPublicCloudConnectorInner.properties = PublicCloudConnectorProperties.fromJson(reader);
+ } else if ("kind".equals(fieldName)) {
+ deserializedPublicCloudConnectorInner.kind = HostType.fromString(reader.getString());
} else if ("systemData".equals(fieldName)) {
deserializedPublicCloudConnectorInner.systemData = SystemData.fromJson(reader);
} else {
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateGcpTemplateResponseImpl.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateGcpTemplateResponseImpl.java
new file mode 100644
index 000000000000..2865789b262c
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateGcpTemplateResponseImpl.java
@@ -0,0 +1,28 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.implementation;
+
+import com.azure.resourcemanager.hybridconnectivity.fluent.models.GenerateGcpTemplateResponseInner;
+import com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplateResponse;
+
+public final class GenerateGcpTemplateResponseImpl implements GenerateGcpTemplateResponse {
+ private GenerateGcpTemplateResponseInner innerObject;
+
+ private final com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager serviceManager;
+
+ GenerateGcpTemplateResponseImpl(GenerateGcpTemplateResponseInner innerObject,
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager serviceManager) {
+ this.innerObject = innerObject;
+ this.serviceManager = serviceManager;
+ }
+
+ public GenerateGcpTemplateResponseInner innerModel() {
+ return this.innerObject;
+ }
+
+ private com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateGcpTemplatesClientImpl.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateGcpTemplatesClientImpl.java
new file mode 100644
index 000000000000..9623de1175ae
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateGcpTemplatesClientImpl.java
@@ -0,0 +1,149 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.implementation;
+
+import com.azure.core.annotation.BodyParam;
+import com.azure.core.annotation.ExpectedResponses;
+import com.azure.core.annotation.HeaderParam;
+import com.azure.core.annotation.Host;
+import com.azure.core.annotation.HostParam;
+import com.azure.core.annotation.PathParam;
+import com.azure.core.annotation.Post;
+import com.azure.core.annotation.QueryParam;
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceInterface;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.annotation.UnexpectedResponseExceptionType;
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.RestProxy;
+import com.azure.core.management.exception.ManagementException;
+import com.azure.core.util.Context;
+import com.azure.core.util.FluxUtil;
+import com.azure.resourcemanager.hybridconnectivity.fluent.GenerateGcpTemplatesClient;
+import com.azure.resourcemanager.hybridconnectivity.fluent.models.GenerateGcpTemplateResponseInner;
+import com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplateRequest;
+import reactor.core.publisher.Mono;
+
+/**
+ * An instance of this class provides access to all the operations defined in GenerateGcpTemplatesClient.
+ */
+public final class GenerateGcpTemplatesClientImpl implements GenerateGcpTemplatesClient {
+ /**
+ * The proxy service used to perform REST calls.
+ */
+ private final GenerateGcpTemplatesService service;
+
+ /**
+ * The service client containing this operation class.
+ */
+ private final HybridConnectivityMgmtClientImpl client;
+
+ /**
+ * Initializes an instance of GenerateGcpTemplatesClientImpl.
+ *
+ * @param client the instance of the service client containing this operation class.
+ */
+ GenerateGcpTemplatesClientImpl(HybridConnectivityMgmtClientImpl client) {
+ this.service = RestProxy.create(GenerateGcpTemplatesService.class, client.getHttpPipeline(),
+ client.getSerializerAdapter());
+ this.client = client;
+ }
+
+ /**
+ * The interface defining all the services for HybridConnectivityMgmtClientGenerateGcpTemplates to be used by the
+ * proxy service to perform REST calls.
+ */
+ @Host("{endpoint}")
+ @ServiceInterface(name = "HybridConnectivityMgmtClientGenerateGcpTemplates")
+ public interface GenerateGcpTemplatesService {
+ @Post("/subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/generateGcpTemplate")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> post(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") GenerateGcpTemplateRequest generateGcpTemplateRequest, Context context);
+
+ @Post("/subscriptions/{subscriptionId}/providers/Microsoft.HybridConnectivity/generateGcpTemplate")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response postSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @HeaderParam("Content-Type") String contentType, @HeaderParam("Accept") String accept,
+ @BodyParam("application/json") GenerateGcpTemplateRequest generateGcpTemplateRequest, Context context);
+ }
+
+ /**
+ * Retrieve GCP Access Control template.
+ *
+ * @param generateGcpTemplateRequest ConnectorId and SolutionTypes and their properties to Generate GCP Access
+ * Control Template.
+ * @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 the HybridConnectivity post operation response along with {@link Response} on successful completion of
+ * {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono>
+ postWithResponseAsync(GenerateGcpTemplateRequest generateGcpTemplateRequest) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.post(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), contentType, accept, generateGcpTemplateRequest, context))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ }
+
+ /**
+ * Retrieve GCP Access Control template.
+ *
+ * @param generateGcpTemplateRequest ConnectorId and SolutionTypes and their properties to Generate GCP Access
+ * Control Template.
+ * @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 the HybridConnectivity post operation response on successful completion of {@link Mono}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono postAsync(GenerateGcpTemplateRequest generateGcpTemplateRequest) {
+ return postWithResponseAsync(generateGcpTemplateRequest).flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ }
+
+ /**
+ * Retrieve GCP Access Control template.
+ *
+ * @param generateGcpTemplateRequest ConnectorId and SolutionTypes and their properties to Generate GCP Access
+ * Control Template.
+ * @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 the HybridConnectivity post operation response along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response
+ postWithResponse(GenerateGcpTemplateRequest generateGcpTemplateRequest, Context context) {
+ final String contentType = "application/json";
+ final String accept = "application/json";
+ return service.postSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ contentType, accept, generateGcpTemplateRequest, context);
+ }
+
+ /**
+ * Retrieve GCP Access Control template.
+ *
+ * @param generateGcpTemplateRequest ConnectorId and SolutionTypes and their properties to Generate GCP Access
+ * Control Template.
+ * @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 the HybridConnectivity post operation response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public GenerateGcpTemplateResponseInner post(GenerateGcpTemplateRequest generateGcpTemplateRequest) {
+ return postWithResponse(generateGcpTemplateRequest, Context.NONE).getValue();
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateGcpTemplatesImpl.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateGcpTemplatesImpl.java
new file mode 100644
index 000000000000..943bf473871f
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateGcpTemplatesImpl.java
@@ -0,0 +1,54 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.implementation;
+
+import com.azure.core.http.rest.Response;
+import com.azure.core.http.rest.SimpleResponse;
+import com.azure.core.util.Context;
+import com.azure.core.util.logging.ClientLogger;
+import com.azure.resourcemanager.hybridconnectivity.fluent.GenerateGcpTemplatesClient;
+import com.azure.resourcemanager.hybridconnectivity.fluent.models.GenerateGcpTemplateResponseInner;
+import com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplateRequest;
+import com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplateResponse;
+import com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplates;
+
+public final class GenerateGcpTemplatesImpl implements GenerateGcpTemplates {
+ private static final ClientLogger LOGGER = new ClientLogger(GenerateGcpTemplatesImpl.class);
+
+ private final GenerateGcpTemplatesClient innerClient;
+
+ private final com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager serviceManager;
+
+ public GenerateGcpTemplatesImpl(GenerateGcpTemplatesClient innerClient,
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager serviceManager) {
+ this.innerClient = innerClient;
+ this.serviceManager = serviceManager;
+ }
+
+ public Response postWithResponse(GenerateGcpTemplateRequest generateGcpTemplateRequest,
+ Context context) {
+ Response inner
+ = this.serviceClient().postWithResponse(generateGcpTemplateRequest, context);
+ return new SimpleResponse<>(inner.getRequest(), inner.getStatusCode(), inner.getHeaders(),
+ new GenerateGcpTemplateResponseImpl(inner.getValue(), this.manager()));
+ }
+
+ public GenerateGcpTemplateResponse post(GenerateGcpTemplateRequest generateGcpTemplateRequest) {
+ GenerateGcpTemplateResponseInner inner = this.serviceClient().post(generateGcpTemplateRequest);
+ if (inner != null) {
+ return new GenerateGcpTemplateResponseImpl(inner, this.manager());
+ } else {
+ return null;
+ }
+ }
+
+ private GenerateGcpTemplatesClient serviceClient() {
+ return this.innerClient;
+ }
+
+ private com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager() {
+ return this.serviceManager;
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/HybridConnectivityMgmtClientImpl.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/HybridConnectivityMgmtClientImpl.java
index 4e1e1fbd3d07..c25c509e595b 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/HybridConnectivityMgmtClientImpl.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/HybridConnectivityMgmtClientImpl.java
@@ -28,6 +28,7 @@
import com.azure.core.util.serializer.SerializerEncoding;
import com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient;
import com.azure.resourcemanager.hybridconnectivity.fluent.GenerateAwsTemplatesClient;
+import com.azure.resourcemanager.hybridconnectivity.fluent.GenerateGcpTemplatesClient;
import com.azure.resourcemanager.hybridconnectivity.fluent.HybridConnectivityMgmtClient;
import com.azure.resourcemanager.hybridconnectivity.fluent.InventoriesClient;
import com.azure.resourcemanager.hybridconnectivity.fluent.OperationsClient;
@@ -189,6 +190,20 @@ public GenerateAwsTemplatesClient getGenerateAwsTemplates() {
return this.generateAwsTemplates;
}
+ /**
+ * The GenerateGcpTemplatesClient object to access its operations.
+ */
+ private final GenerateGcpTemplatesClient generateGcpTemplates;
+
+ /**
+ * Gets the GenerateGcpTemplatesClient object to access its operations.
+ *
+ * @return the GenerateGcpTemplatesClient object.
+ */
+ public GenerateGcpTemplatesClient getGenerateGcpTemplates() {
+ return this.generateGcpTemplates;
+ }
+
/**
* The PublicCloudConnectorsClient object to access its operations.
*/
@@ -262,11 +277,12 @@ public SolutionTypesClient getSolutionTypes() {
this.defaultPollInterval = defaultPollInterval;
this.endpoint = endpoint;
this.subscriptionId = subscriptionId;
- this.apiVersion = "2024-12-01";
+ this.apiVersion = "2027-01-01";
this.operations = new OperationsClientImpl(this);
this.endpoints = new EndpointsClientImpl(this);
this.serviceConfigurations = new ServiceConfigurationsClientImpl(this);
this.generateAwsTemplates = new GenerateAwsTemplatesClientImpl(this);
+ this.generateGcpTemplates = new GenerateGcpTemplatesClientImpl(this);
this.publicCloudConnectors = new PublicCloudConnectorsClientImpl(this);
this.solutionConfigurations = new SolutionConfigurationsClientImpl(this);
this.inventories = new InventoriesClientImpl(this);
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorImpl.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorImpl.java
index e7dad234bf24..13259f255aa4 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorImpl.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorImpl.java
@@ -8,6 +8,7 @@
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.hybridconnectivity.fluent.models.PublicCloudConnectorInner;
+import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import com.azure.resourcemanager.hybridconnectivity.models.OperationStatusResult;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnector;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorProperties;
@@ -51,6 +52,10 @@ public PublicCloudConnectorProperties properties() {
return this.innerModel().properties();
}
+ public HostType kind() {
+ return this.innerModel().kind();
+ }
+
public SystemData systemData() {
return this.innerModel().systemData();
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorsClientImpl.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorsClientImpl.java
index a4090e2ff338..1ebd1abc0093 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorsClientImpl.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorsClientImpl.java
@@ -835,7 +835,7 @@ public PagedIterable list(Context context) {
}
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
@@ -856,7 +856,7 @@ private Mono>> testPermissionsWithResponseAsync(String
}
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
@@ -873,7 +873,7 @@ private Response testPermissionsWithResponse(String resourceGroupNam
}
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
@@ -892,7 +892,7 @@ private Response testPermissionsWithResponse(String resourceGroupNam
}
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
@@ -912,7 +912,7 @@ private Response testPermissionsWithResponse(String resourceGroupNam
}
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
@@ -930,7 +930,7 @@ private Response testPermissionsWithResponse(String resourceGroupNam
}
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
@@ -949,7 +949,7 @@ private Response testPermissionsWithResponse(String resourceGroupNam
}
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
@@ -966,7 +966,7 @@ private Mono testPermissionsAsync(String resourceGro
}
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
@@ -981,7 +981,7 @@ public OperationStatusResultInner testPermissions(String resourceGroupName, Stri
}
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpCloudProfile.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpCloudProfile.java
new file mode 100644
index 000000000000..b809ba62ad64
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpCloudProfile.java
@@ -0,0 +1,113 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * cloud profile for GCP.
+ */
+@Fluent
+public final class GcpCloudProfile implements JsonSerializable {
+ /*
+ * The project properties of the GCP project.
+ */
+ private GcpProjectProperties projectProperties;
+
+ /*
+ * The organization properties of the GCP organization.
+ */
+ private GcpOrganizationProperties organizationProperties;
+
+ /**
+ * Creates an instance of GcpCloudProfile class.
+ */
+ public GcpCloudProfile() {
+ }
+
+ /**
+ * Get the projectProperties property: The project properties of the GCP project.
+ *
+ * @return the projectProperties value.
+ */
+ public GcpProjectProperties projectProperties() {
+ return this.projectProperties;
+ }
+
+ /**
+ * Set the projectProperties property: The project properties of the GCP project.
+ *
+ * @param projectProperties the projectProperties value to set.
+ * @return the GcpCloudProfile object itself.
+ */
+ public GcpCloudProfile withProjectProperties(GcpProjectProperties projectProperties) {
+ this.projectProperties = projectProperties;
+ return this;
+ }
+
+ /**
+ * Get the organizationProperties property: The organization properties of the GCP organization.
+ *
+ * @return the organizationProperties value.
+ */
+ public GcpOrganizationProperties organizationProperties() {
+ return this.organizationProperties;
+ }
+
+ /**
+ * Set the organizationProperties property: The organization properties of the GCP organization.
+ *
+ * @param organizationProperties the organizationProperties value to set.
+ * @return the GcpCloudProfile object itself.
+ */
+ public GcpCloudProfile withOrganizationProperties(GcpOrganizationProperties organizationProperties) {
+ this.organizationProperties = organizationProperties;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("projectProperties", this.projectProperties);
+ jsonWriter.writeJsonField("organizationProperties", this.organizationProperties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of GcpCloudProfile from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of GcpCloudProfile if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IOException If an error occurs while reading the GcpCloudProfile.
+ */
+ public static GcpCloudProfile fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ GcpCloudProfile deserializedGcpCloudProfile = new GcpCloudProfile();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("projectProperties".equals(fieldName)) {
+ deserializedGcpCloudProfile.projectProperties = GcpProjectProperties.fromJson(reader);
+ } else if ("organizationProperties".equals(fieldName)) {
+ deserializedGcpCloudProfile.organizationProperties = GcpOrganizationProperties.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedGcpCloudProfile;
+ });
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpCloudProfileUpdate.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpCloudProfileUpdate.java
new file mode 100644
index 000000000000..a32193127154
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpCloudProfileUpdate.java
@@ -0,0 +1,86 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * cloud profile for GCP.
+ */
+@Fluent
+public final class GcpCloudProfileUpdate implements JsonSerializable {
+ /*
+ * The organization properties of the GCP organization.
+ */
+ private GcpOrganizationPropertiesUpdate organizationProperties;
+
+ /**
+ * Creates an instance of GcpCloudProfileUpdate class.
+ */
+ public GcpCloudProfileUpdate() {
+ }
+
+ /**
+ * Get the organizationProperties property: The organization properties of the GCP organization.
+ *
+ * @return the organizationProperties value.
+ */
+ public GcpOrganizationPropertiesUpdate organizationProperties() {
+ return this.organizationProperties;
+ }
+
+ /**
+ * Set the organizationProperties property: The organization properties of the GCP organization.
+ *
+ * @param organizationProperties the organizationProperties value to set.
+ * @return the GcpCloudProfileUpdate object itself.
+ */
+ public GcpCloudProfileUpdate withOrganizationProperties(GcpOrganizationPropertiesUpdate organizationProperties) {
+ this.organizationProperties = organizationProperties;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("organizationProperties", this.organizationProperties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of GcpCloudProfileUpdate from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of GcpCloudProfileUpdate if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the GcpCloudProfileUpdate.
+ */
+ public static GcpCloudProfileUpdate fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ GcpCloudProfileUpdate deserializedGcpCloudProfileUpdate = new GcpCloudProfileUpdate();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("organizationProperties".equals(fieldName)) {
+ deserializedGcpCloudProfileUpdate.organizationProperties
+ = GcpOrganizationPropertiesUpdate.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedGcpCloudProfileUpdate;
+ });
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpOrganizationProperties.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpOrganizationProperties.java
new file mode 100644
index 000000000000..f385f5e4b46b
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpOrganizationProperties.java
@@ -0,0 +1,205 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * GCP organization properties.
+ */
+@Fluent
+public final class GcpOrganizationProperties implements JsonSerializable {
+ /*
+ * The organization id of the GCP organization.
+ */
+ private String organizationId;
+
+ /*
+ * The project number of the management project under the GCP organization.
+ */
+ private String managementProjectNumber;
+
+ /*
+ * The project Id of the management project under the GCP organization.
+ */
+ private String managementProjectId;
+
+ /*
+ * List of GCP projects which need to be excluded.
+ */
+ private List excludedProjectNumbers;
+
+ /*
+ * List of GCP folders which need to be excluded.
+ */
+ private List excludedFolderIds;
+
+ /**
+ * Creates an instance of GcpOrganizationProperties class.
+ */
+ public GcpOrganizationProperties() {
+ }
+
+ /**
+ * Get the organizationId property: The organization id of the GCP organization.
+ *
+ * @return the organizationId value.
+ */
+ public String organizationId() {
+ return this.organizationId;
+ }
+
+ /**
+ * Set the organizationId property: The organization id of the GCP organization.
+ *
+ * @param organizationId the organizationId value to set.
+ * @return the GcpOrganizationProperties object itself.
+ */
+ public GcpOrganizationProperties withOrganizationId(String organizationId) {
+ this.organizationId = organizationId;
+ return this;
+ }
+
+ /**
+ * Get the managementProjectNumber property: The project number of the management project under the GCP
+ * organization.
+ *
+ * @return the managementProjectNumber value.
+ */
+ public String managementProjectNumber() {
+ return this.managementProjectNumber;
+ }
+
+ /**
+ * Set the managementProjectNumber property: The project number of the management project under the GCP
+ * organization.
+ *
+ * @param managementProjectNumber the managementProjectNumber value to set.
+ * @return the GcpOrganizationProperties object itself.
+ */
+ public GcpOrganizationProperties withManagementProjectNumber(String managementProjectNumber) {
+ this.managementProjectNumber = managementProjectNumber;
+ return this;
+ }
+
+ /**
+ * Get the managementProjectId property: The project Id of the management project under the GCP organization.
+ *
+ * @return the managementProjectId value.
+ */
+ public String managementProjectId() {
+ return this.managementProjectId;
+ }
+
+ /**
+ * Set the managementProjectId property: The project Id of the management project under the GCP organization.
+ *
+ * @param managementProjectId the managementProjectId value to set.
+ * @return the GcpOrganizationProperties object itself.
+ */
+ public GcpOrganizationProperties withManagementProjectId(String managementProjectId) {
+ this.managementProjectId = managementProjectId;
+ return this;
+ }
+
+ /**
+ * Get the excludedProjectNumbers property: List of GCP projects which need to be excluded.
+ *
+ * @return the excludedProjectNumbers value.
+ */
+ public List excludedProjectNumbers() {
+ return this.excludedProjectNumbers;
+ }
+
+ /**
+ * Set the excludedProjectNumbers property: List of GCP projects which need to be excluded.
+ *
+ * @param excludedProjectNumbers the excludedProjectNumbers value to set.
+ * @return the GcpOrganizationProperties object itself.
+ */
+ public GcpOrganizationProperties withExcludedProjectNumbers(List excludedProjectNumbers) {
+ this.excludedProjectNumbers = excludedProjectNumbers;
+ return this;
+ }
+
+ /**
+ * Get the excludedFolderIds property: List of GCP folders which need to be excluded.
+ *
+ * @return the excludedFolderIds value.
+ */
+ public List excludedFolderIds() {
+ return this.excludedFolderIds;
+ }
+
+ /**
+ * Set the excludedFolderIds property: List of GCP folders which need to be excluded.
+ *
+ * @param excludedFolderIds the excludedFolderIds value to set.
+ * @return the GcpOrganizationProperties object itself.
+ */
+ public GcpOrganizationProperties withExcludedFolderIds(List excludedFolderIds) {
+ this.excludedFolderIds = excludedFolderIds;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("organizationId", this.organizationId);
+ jsonWriter.writeStringField("managementProjectNumber", this.managementProjectNumber);
+ jsonWriter.writeStringField("managementProjectId", this.managementProjectId);
+ jsonWriter.writeArrayField("excludedProjectNumbers", this.excludedProjectNumbers,
+ (writer, element) -> writer.writeString(element));
+ jsonWriter.writeArrayField("excludedFolderIds", this.excludedFolderIds,
+ (writer, element) -> writer.writeString(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of GcpOrganizationProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of GcpOrganizationProperties if the JsonReader was pointing to an instance of it, or null if
+ * it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the GcpOrganizationProperties.
+ */
+ public static GcpOrganizationProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ GcpOrganizationProperties deserializedGcpOrganizationProperties = new GcpOrganizationProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("organizationId".equals(fieldName)) {
+ deserializedGcpOrganizationProperties.organizationId = reader.getString();
+ } else if ("managementProjectNumber".equals(fieldName)) {
+ deserializedGcpOrganizationProperties.managementProjectNumber = reader.getString();
+ } else if ("managementProjectId".equals(fieldName)) {
+ deserializedGcpOrganizationProperties.managementProjectId = reader.getString();
+ } else if ("excludedProjectNumbers".equals(fieldName)) {
+ List excludedProjectNumbers = reader.readArray(reader1 -> reader1.getString());
+ deserializedGcpOrganizationProperties.excludedProjectNumbers = excludedProjectNumbers;
+ } else if ("excludedFolderIds".equals(fieldName)) {
+ List excludedFolderIds = reader.readArray(reader1 -> reader1.getString());
+ deserializedGcpOrganizationProperties.excludedFolderIds = excludedFolderIds;
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedGcpOrganizationProperties;
+ });
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpOrganizationPropertiesUpdate.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpOrganizationPropertiesUpdate.java
new file mode 100644
index 000000000000..eea03907d11d
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpOrganizationPropertiesUpdate.java
@@ -0,0 +1,119 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * GCP organization properties for update.
+ */
+@Fluent
+public final class GcpOrganizationPropertiesUpdate implements JsonSerializable {
+ /*
+ * List of GCP projects which need to be excluded.
+ */
+ private List excludedProjectNumbers;
+
+ /*
+ * List of GCP folders which need to be excluded.
+ */
+ private List excludedFolderIds;
+
+ /**
+ * Creates an instance of GcpOrganizationPropertiesUpdate class.
+ */
+ public GcpOrganizationPropertiesUpdate() {
+ }
+
+ /**
+ * Get the excludedProjectNumbers property: List of GCP projects which need to be excluded.
+ *
+ * @return the excludedProjectNumbers value.
+ */
+ public List excludedProjectNumbers() {
+ return this.excludedProjectNumbers;
+ }
+
+ /**
+ * Set the excludedProjectNumbers property: List of GCP projects which need to be excluded.
+ *
+ * @param excludedProjectNumbers the excludedProjectNumbers value to set.
+ * @return the GcpOrganizationPropertiesUpdate object itself.
+ */
+ public GcpOrganizationPropertiesUpdate withExcludedProjectNumbers(List excludedProjectNumbers) {
+ this.excludedProjectNumbers = excludedProjectNumbers;
+ return this;
+ }
+
+ /**
+ * Get the excludedFolderIds property: List of GCP folders which need to be excluded.
+ *
+ * @return the excludedFolderIds value.
+ */
+ public List excludedFolderIds() {
+ return this.excludedFolderIds;
+ }
+
+ /**
+ * Set the excludedFolderIds property: List of GCP folders which need to be excluded.
+ *
+ * @param excludedFolderIds the excludedFolderIds value to set.
+ * @return the GcpOrganizationPropertiesUpdate object itself.
+ */
+ public GcpOrganizationPropertiesUpdate withExcludedFolderIds(List excludedFolderIds) {
+ this.excludedFolderIds = excludedFolderIds;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeArrayField("excludedProjectNumbers", this.excludedProjectNumbers,
+ (writer, element) -> writer.writeString(element));
+ jsonWriter.writeArrayField("excludedFolderIds", this.excludedFolderIds,
+ (writer, element) -> writer.writeString(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of GcpOrganizationPropertiesUpdate from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of GcpOrganizationPropertiesUpdate if the JsonReader was pointing to an instance of it, or
+ * null if it was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the GcpOrganizationPropertiesUpdate.
+ */
+ public static GcpOrganizationPropertiesUpdate fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ GcpOrganizationPropertiesUpdate deserializedGcpOrganizationPropertiesUpdate
+ = new GcpOrganizationPropertiesUpdate();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("excludedProjectNumbers".equals(fieldName)) {
+ List excludedProjectNumbers = reader.readArray(reader1 -> reader1.getString());
+ deserializedGcpOrganizationPropertiesUpdate.excludedProjectNumbers = excludedProjectNumbers;
+ } else if ("excludedFolderIds".equals(fieldName)) {
+ List excludedFolderIds = reader.readArray(reader1 -> reader1.getString());
+ deserializedGcpOrganizationPropertiesUpdate.excludedFolderIds = excludedFolderIds;
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedGcpOrganizationPropertiesUpdate;
+ });
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpProjectProperties.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpProjectProperties.java
new file mode 100644
index 000000000000..aa2c31cce729
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpProjectProperties.java
@@ -0,0 +1,114 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+
+/**
+ * GCP project properties.
+ */
+@Fluent
+public final class GcpProjectProperties implements JsonSerializable {
+ /*
+ * The project number of the GCP project.
+ */
+ private String projectNumber;
+
+ /*
+ * The project id of the GCP project.
+ */
+ private String projectId;
+
+ /**
+ * Creates an instance of GcpProjectProperties class.
+ */
+ public GcpProjectProperties() {
+ }
+
+ /**
+ * Get the projectNumber property: The project number of the GCP project.
+ *
+ * @return the projectNumber value.
+ */
+ public String projectNumber() {
+ return this.projectNumber;
+ }
+
+ /**
+ * Set the projectNumber property: The project number of the GCP project.
+ *
+ * @param projectNumber the projectNumber value to set.
+ * @return the GcpProjectProperties object itself.
+ */
+ public GcpProjectProperties withProjectNumber(String projectNumber) {
+ this.projectNumber = projectNumber;
+ return this;
+ }
+
+ /**
+ * Get the projectId property: The project id of the GCP project.
+ *
+ * @return the projectId value.
+ */
+ public String projectId() {
+ return this.projectId;
+ }
+
+ /**
+ * Set the projectId property: The project id of the GCP project.
+ *
+ * @param projectId the projectId value to set.
+ * @return the GcpProjectProperties object itself.
+ */
+ public GcpProjectProperties withProjectId(String projectId) {
+ this.projectId = projectId;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("projectNumber", this.projectNumber);
+ jsonWriter.writeStringField("projectId", this.projectId);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of GcpProjectProperties from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of GcpProjectProperties if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the GcpProjectProperties.
+ */
+ public static GcpProjectProperties fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ GcpProjectProperties deserializedGcpProjectProperties = new GcpProjectProperties();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("projectNumber".equals(fieldName)) {
+ deserializedGcpProjectProperties.projectNumber = reader.getString();
+ } else if ("projectId".equals(fieldName)) {
+ deserializedGcpProjectProperties.projectId = reader.getString();
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedGcpProjectProperties;
+ });
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpTemplateFormat.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpTemplateFormat.java
new file mode 100644
index 000000000000..5b366fc47b78
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpTemplateFormat.java
@@ -0,0 +1,51 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.models;
+
+import com.azure.core.util.ExpandableStringEnum;
+import java.util.Collection;
+
+/**
+ * GCP template format.
+ */
+public final class GcpTemplateFormat extends ExpandableStringEnum {
+ /**
+ * Terraform template format.
+ */
+ public static final GcpTemplateFormat TERRAFORM = fromString("terraform");
+
+ /**
+ * Shell script template format.
+ */
+ public static final GcpTemplateFormat SHELL_SCRIPT = fromString("shellscript");
+
+ /**
+ * Creates a new instance of GcpTemplateFormat value.
+ *
+ * @deprecated Use the {@link #fromString(String)} factory method.
+ */
+ @Deprecated
+ public GcpTemplateFormat() {
+ }
+
+ /**
+ * Creates or finds a GcpTemplateFormat from its string representation.
+ *
+ * @param name a name to look for.
+ * @return the corresponding GcpTemplateFormat.
+ */
+ public static GcpTemplateFormat fromString(String name) {
+ return fromString(name, GcpTemplateFormat.class);
+ }
+
+ /**
+ * Gets known GcpTemplateFormat values.
+ *
+ * @return known GcpTemplateFormat values.
+ */
+ public static Collection values() {
+ return values(GcpTemplateFormat.class);
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateGcpTemplateRequest.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateGcpTemplateRequest.java
new file mode 100644
index 000000000000..bca62cc1073b
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateGcpTemplateRequest.java
@@ -0,0 +1,175 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import java.io.IOException;
+import java.util.List;
+
+/**
+ * ConnectorId and SolutionTypes and their properties to Generate GCP Access Control Template.
+ */
+@Fluent
+public final class GenerateGcpTemplateRequest implements JsonSerializable {
+ /*
+ * The name of public cloud connector
+ */
+ private String connectorId;
+
+ /*
+ * The list of solution types and their settings
+ */
+ private List solutionTypes;
+
+ /*
+ * The GCP cloud profile.
+ */
+ private GcpCloudProfile gcpCloudProfile;
+
+ /*
+ * Optional template output format. Defaults to 'terraform' if not provided
+ */
+ private GcpTemplateFormat gcpTemplateFormat;
+
+ /**
+ * Creates an instance of GenerateGcpTemplateRequest class.
+ */
+ public GenerateGcpTemplateRequest() {
+ }
+
+ /**
+ * Get the connectorId property: The name of public cloud connector.
+ *
+ * @return the connectorId value.
+ */
+ public String connectorId() {
+ return this.connectorId;
+ }
+
+ /**
+ * Set the connectorId property: The name of public cloud connector.
+ *
+ * @param connectorId the connectorId value to set.
+ * @return the GenerateGcpTemplateRequest object itself.
+ */
+ public GenerateGcpTemplateRequest withConnectorId(String connectorId) {
+ this.connectorId = connectorId;
+ return this;
+ }
+
+ /**
+ * Get the solutionTypes property: The list of solution types and their settings.
+ *
+ * @return the solutionTypes value.
+ */
+ public List solutionTypes() {
+ return this.solutionTypes;
+ }
+
+ /**
+ * Set the solutionTypes property: The list of solution types and their settings.
+ *
+ * @param solutionTypes the solutionTypes value to set.
+ * @return the GenerateGcpTemplateRequest object itself.
+ */
+ public GenerateGcpTemplateRequest withSolutionTypes(List solutionTypes) {
+ this.solutionTypes = solutionTypes;
+ return this;
+ }
+
+ /**
+ * Get the gcpCloudProfile property: The GCP cloud profile.
+ *
+ * @return the gcpCloudProfile value.
+ */
+ public GcpCloudProfile gcpCloudProfile() {
+ return this.gcpCloudProfile;
+ }
+
+ /**
+ * Set the gcpCloudProfile property: The GCP cloud profile.
+ *
+ * @param gcpCloudProfile the gcpCloudProfile value to set.
+ * @return the GenerateGcpTemplateRequest object itself.
+ */
+ public GenerateGcpTemplateRequest withGcpCloudProfile(GcpCloudProfile gcpCloudProfile) {
+ this.gcpCloudProfile = gcpCloudProfile;
+ return this;
+ }
+
+ /**
+ * Get the gcpTemplateFormat property: Optional template output format. Defaults to 'terraform' if not provided.
+ *
+ * @return the gcpTemplateFormat value.
+ */
+ public GcpTemplateFormat gcpTemplateFormat() {
+ return this.gcpTemplateFormat;
+ }
+
+ /**
+ * Set the gcpTemplateFormat property: Optional template output format. Defaults to 'terraform' if not provided.
+ *
+ * @param gcpTemplateFormat the gcpTemplateFormat value to set.
+ * @return the GenerateGcpTemplateRequest object itself.
+ */
+ public GenerateGcpTemplateRequest withGcpTemplateFormat(GcpTemplateFormat gcpTemplateFormat) {
+ this.gcpTemplateFormat = gcpTemplateFormat;
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("connectorId", this.connectorId);
+ jsonWriter.writeArrayField("solutionTypes", this.solutionTypes, (writer, element) -> writer.writeJson(element));
+ jsonWriter.writeJsonField("gcpCloudProfile", this.gcpCloudProfile);
+ jsonWriter.writeStringField("gcpTemplateFormat",
+ this.gcpTemplateFormat == null ? null : this.gcpTemplateFormat.toString());
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of GenerateGcpTemplateRequest from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of GenerateGcpTemplateRequest if the JsonReader was pointing to an instance of it, or null if
+ * it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the GenerateGcpTemplateRequest.
+ */
+ public static GenerateGcpTemplateRequest fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ GenerateGcpTemplateRequest deserializedGenerateGcpTemplateRequest = new GenerateGcpTemplateRequest();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("connectorId".equals(fieldName)) {
+ deserializedGenerateGcpTemplateRequest.connectorId = reader.getString();
+ } else if ("solutionTypes".equals(fieldName)) {
+ List solutionTypes
+ = reader.readArray(reader1 -> SolutionTypeSettings.fromJson(reader1));
+ deserializedGenerateGcpTemplateRequest.solutionTypes = solutionTypes;
+ } else if ("gcpCloudProfile".equals(fieldName)) {
+ deserializedGenerateGcpTemplateRequest.gcpCloudProfile = GcpCloudProfile.fromJson(reader);
+ } else if ("gcpTemplateFormat".equals(fieldName)) {
+ deserializedGenerateGcpTemplateRequest.gcpTemplateFormat
+ = GcpTemplateFormat.fromString(reader.getString());
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedGenerateGcpTemplateRequest;
+ });
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateGcpTemplateResponse.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateGcpTemplateResponse.java
new file mode 100644
index 000000000000..34d3105d15d8
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateGcpTemplateResponse.java
@@ -0,0 +1,20 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.models;
+
+import com.azure.resourcemanager.hybridconnectivity.fluent.models.GenerateGcpTemplateResponseInner;
+
+/**
+ * An immutable client-side representation of GenerateGcpTemplateResponse.
+ */
+public interface GenerateGcpTemplateResponse {
+ /**
+ * Gets the inner com.azure.resourcemanager.hybridconnectivity.fluent.models.GenerateGcpTemplateResponseInner
+ * object.
+ *
+ * @return the inner object.
+ */
+ GenerateGcpTemplateResponseInner innerModel();
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateGcpTemplates.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateGcpTemplates.java
new file mode 100644
index 000000000000..6b2247ac30bc
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateGcpTemplates.java
@@ -0,0 +1,39 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.models;
+
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+
+/**
+ * Resource collection API of GenerateGcpTemplates.
+ */
+public interface GenerateGcpTemplates {
+ /**
+ * Retrieve GCP Access Control template.
+ *
+ * @param generateGcpTemplateRequest ConnectorId and SolutionTypes and their properties to Generate GCP Access
+ * Control Template.
+ * @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 HybridConnectivity post operation response along with {@link Response}.
+ */
+ Response postWithResponse(GenerateGcpTemplateRequest generateGcpTemplateRequest,
+ Context context);
+
+ /**
+ * Retrieve GCP Access Control template.
+ *
+ * @param generateGcpTemplateRequest ConnectorId and SolutionTypes and their properties to Generate GCP Access
+ * Control Template.
+ * @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 HybridConnectivity post operation response.
+ */
+ GenerateGcpTemplateResponse post(GenerateGcpTemplateRequest generateGcpTemplateRequest);
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/HostType.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/HostType.java
index ea835bda3691..f30b94589ff7 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/HostType.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/HostType.java
@@ -16,6 +16,11 @@ public final class HostType extends ExpandableStringEnum {
*/
public static final HostType AWS = fromString("AWS");
+ /**
+ * GCP state.
+ */
+ public static final HostType GCP = fromString("GCP");
+
/**
* Creates a new instance of HostType value.
*
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnector.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnector.java
index dbeb73cfc473..48748520bfb6 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnector.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnector.java
@@ -56,6 +56,13 @@ public interface PublicCloudConnector {
*/
PublicCloudConnectorProperties properties();
+ /**
+ * Gets the kind property: The kind of the public cloud connector.
+ *
+ * @return the kind value.
+ */
+ HostType kind();
+
/**
* Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -264,7 +271,7 @@ interface WithProperties {
PublicCloudConnector refresh(Context context);
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @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.
@@ -273,7 +280,7 @@ interface WithProperties {
OperationStatusResult testPermissions();
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnectorProperties.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnectorProperties.java
index f06ca871c658..b3e95d621373 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnectorProperties.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnectorProperties.java
@@ -21,6 +21,11 @@ public final class PublicCloudConnectorProperties implements JsonSerializable deleteByResourceGroupWithResponse(String resourceGroupName, Strin
PagedIterable list(Context context);
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
@@ -119,7 +119,7 @@ Response deleteByResourceGroupWithResponse(String resourceGroupName, Strin
OperationStatusResult testPermissions(String resourceGroupName, String publicCloudConnector);
/**
- * The testPermissions operation.
+ * A long-running resource action.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param publicCloudConnector Represent public cloud connectors resource.
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeProperties.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeProperties.java
index 4dd8801f030d..839c5f1555f6 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeProperties.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeProperties.java
@@ -32,6 +32,11 @@ public final class SolutionTypeProperties implements JsonSerializable supportedAzureRegions;
+ /*
+ * The supported host types for the current solution type.
+ */
+ private List hostTypes;
+
/*
* Array of solution settings and its description.
*/
@@ -70,6 +75,15 @@ public List supportedAzureRegions() {
return this.supportedAzureRegions;
}
+ /**
+ * Get the hostTypes property: The supported host types for the current solution type.
+ *
+ * @return the hostTypes value.
+ */
+ public List hostTypes() {
+ return this.hostTypes;
+ }
+
/**
* Get the solutionSettings property: Array of solution settings and its description.
*
@@ -89,6 +103,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStringField("description", this.description);
jsonWriter.writeArrayField("supportedAzureRegions", this.supportedAzureRegions,
(writer, element) -> writer.writeString(element));
+ jsonWriter.writeArrayField("hostTypes", this.hostTypes,
+ (writer, element) -> writer.writeString(element == null ? null : element.toString()));
jsonWriter.writeArrayField("solutionSettings", this.solutionSettings,
(writer, element) -> writer.writeJson(element));
return jsonWriter.writeEndObject();
@@ -116,6 +132,9 @@ public static SolutionTypeProperties fromJson(JsonReader jsonReader) throws IOEx
} else if ("supportedAzureRegions".equals(fieldName)) {
List supportedAzureRegions = reader.readArray(reader1 -> reader1.getString());
deserializedSolutionTypeProperties.supportedAzureRegions = supportedAzureRegions;
+ } else if ("hostTypes".equals(fieldName)) {
+ List hostTypes = reader.readArray(reader1 -> HostType.fromString(reader1.getString()));
+ deserializedSolutionTypeProperties.hostTypes = hostTypes;
} else if ("solutionSettings".equals(fieldName)) {
List solutionSettings
= reader.readArray(reader1 -> SolutionTypeSettingsProperties.fromJson(reader1));
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeSettingsProperties.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeSettingsProperties.java
index c317f60b07d1..835c94c7bcaf 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeSettingsProperties.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeSettingsProperties.java
@@ -42,6 +42,11 @@ public final class SolutionTypeSettingsProperties implements JsonSerializable allowedValues;
+ /*
+ * The supported host types for the current solution setting
+ */
+ private List hostTypes;
+
/*
* Default value for this solution settings property.
*/
@@ -98,6 +103,15 @@ public List allowedValues() {
return this.allowedValues;
}
+ /**
+ * Get the hostTypes property: The supported host types for the current solution setting.
+ *
+ * @return the hostTypes value.
+ */
+ public List hostTypes() {
+ return this.hostTypes;
+ }
+
/**
* Get the defaultValue property: Default value for this solution settings property.
*
@@ -119,6 +133,8 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStringField("description", this.description);
jsonWriter.writeArrayField("allowedValues", this.allowedValues,
(writer, element) -> writer.writeString(element));
+ jsonWriter.writeArrayField("hostTypes", this.hostTypes,
+ (writer, element) -> writer.writeString(element == null ? null : element.toString()));
jsonWriter.writeStringField("defaultValue", this.defaultValue);
return jsonWriter.writeEndObject();
}
@@ -151,6 +167,9 @@ public static SolutionTypeSettingsProperties fromJson(JsonReader jsonReader) thr
} else if ("allowedValues".equals(fieldName)) {
List allowedValues = reader.readArray(reader1 -> reader1.getString());
deserializedSolutionTypeSettingsProperties.allowedValues = allowedValues;
+ } else if ("hostTypes".equals(fieldName)) {
+ List hostTypes = reader.readArray(reader1 -> HostType.fromString(reader1.getString()));
+ deserializedSolutionTypeSettingsProperties.hostTypes = hostTypes;
} else if ("defaultValue".equals(fieldName)) {
deserializedSolutionTypeSettingsProperties.defaultValue = reader.getString();
} else {
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/resources/META-INF/azure-resourcemanager-hybridconnectivity_metadata.json b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/resources/META-INF/azure-resourcemanager-hybridconnectivity_metadata.json
index e2474b4baf4f..64f3eaa61a74 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/resources/META-INF/azure-resourcemanager-hybridconnectivity_metadata.json
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/resources/META-INF/azure-resourcemanager-hybridconnectivity_metadata.json
@@ -1 +1 @@
-{"flavor":"azure","apiVersions":{"Microsoft.HybridConnectivity":"2024-12-01"},"crossLanguageDefinitions":{"com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient":"Microsoft.HybridConnectivity.EndpointResources","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.createOrUpdate":"Microsoft.HybridConnectivity.EndpointResources.createOrUpdate","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.createOrUpdateWithResponse":"Microsoft.HybridConnectivity.EndpointResources.createOrUpdate","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.delete":"Microsoft.HybridConnectivity.EndpointResources.delete","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.deleteWithResponse":"Microsoft.HybridConnectivity.EndpointResources.delete","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.get":"Microsoft.HybridConnectivity.EndpointResources.get","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.getWithResponse":"Microsoft.HybridConnectivity.EndpointResources.get","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.list":"Microsoft.HybridConnectivity.EndpointResources.list","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.listCredentials":"Microsoft.HybridConnectivity.EndpointResources.listCredentials","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.listCredentialsWithResponse":"Microsoft.HybridConnectivity.EndpointResources.listCredentials","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.listIngressGatewayCredentials":"Microsoft.HybridConnectivity.EndpointResources.listIngressGatewayCredentials","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.listIngressGatewayCredentialsWithResponse":"Microsoft.HybridConnectivity.EndpointResources.listIngressGatewayCredentials","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.listManagedProxyDetails":"Microsoft.HybridConnectivity.EndpointResources.listManagedProxyDetails","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.listManagedProxyDetailsWithResponse":"Microsoft.HybridConnectivity.EndpointResources.listManagedProxyDetails","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.update":"Microsoft.HybridConnectivity.EndpointResources.update","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.updateWithResponse":"Microsoft.HybridConnectivity.EndpointResources.update","com.azure.resourcemanager.hybridconnectivity.fluent.GenerateAwsTemplatesClient":"Microsoft.HybridConnectivity.GenerateAwsTemplate","com.azure.resourcemanager.hybridconnectivity.fluent.GenerateAwsTemplatesClient.post":"Microsoft.HybridConnectivity.GenerateAwsTemplate.post","com.azure.resourcemanager.hybridconnectivity.fluent.GenerateAwsTemplatesClient.postWithResponse":"Microsoft.HybridConnectivity.GenerateAwsTemplate.post","com.azure.resourcemanager.hybridconnectivity.fluent.HybridConnectivityMgmtClient":"Microsoft.HybridConnectivity","com.azure.resourcemanager.hybridconnectivity.fluent.InventoriesClient":"Microsoft.HybridConnectivity.Inventory","com.azure.resourcemanager.hybridconnectivity.fluent.InventoriesClient.get":"Microsoft.HybridConnectivity.Inventory.get","com.azure.resourcemanager.hybridconnectivity.fluent.InventoriesClient.getWithResponse":"Microsoft.HybridConnectivity.Inventory.get","com.azure.resourcemanager.hybridconnectivity.fluent.InventoriesClient.listBySolutionConfiguration":"Microsoft.HybridConnectivity.Inventory.listBySolutionConfiguration","com.azure.resourcemanager.hybridconnectivity.fluent.OperationsClient":"Microsoft.HybridConnectivity.Operations","com.azure.resourcemanager.hybridconnectivity.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient":"Microsoft.HybridConnectivity.PublicCloudConnectors","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.beginCreateOrUpdate":"Microsoft.HybridConnectivity.PublicCloudConnectors.createOrUpdate","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.beginTestPermissions":"Microsoft.HybridConnectivity.PublicCloudConnectors.testPermissions","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.createOrUpdate":"Microsoft.HybridConnectivity.PublicCloudConnectors.createOrUpdate","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.delete":"Microsoft.HybridConnectivity.PublicCloudConnectors.delete","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.deleteWithResponse":"Microsoft.HybridConnectivity.PublicCloudConnectors.delete","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.getByResourceGroup":"Microsoft.HybridConnectivity.PublicCloudConnectors.get","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.getByResourceGroupWithResponse":"Microsoft.HybridConnectivity.PublicCloudConnectors.get","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.list":"Microsoft.HybridConnectivity.PublicCloudConnectors.listBySubscription","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.listByResourceGroup":"Microsoft.HybridConnectivity.PublicCloudConnectors.listByResourceGroup","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.testPermissions":"Microsoft.HybridConnectivity.PublicCloudConnectors.testPermissions","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.update":"Microsoft.HybridConnectivity.PublicCloudConnectors.update","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.updateWithResponse":"Microsoft.HybridConnectivity.PublicCloudConnectors.update","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient":"Microsoft.HybridConnectivity.ServiceConfigurationResources","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.createOrupdate":"Microsoft.HybridConnectivity.ServiceConfigurationResources.createOrupdate","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.createOrupdateWithResponse":"Microsoft.HybridConnectivity.ServiceConfigurationResources.createOrupdate","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.delete":"Microsoft.HybridConnectivity.ServiceConfigurationResources.delete","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.deleteWithResponse":"Microsoft.HybridConnectivity.ServiceConfigurationResources.delete","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.get":"Microsoft.HybridConnectivity.ServiceConfigurationResources.get","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.getWithResponse":"Microsoft.HybridConnectivity.ServiceConfigurationResources.get","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.listByEndpointResource":"Microsoft.HybridConnectivity.ServiceConfigurationResources.listByEndpointResource","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.update":"Microsoft.HybridConnectivity.ServiceConfigurationResources.update","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.updateWithResponse":"Microsoft.HybridConnectivity.ServiceConfigurationResources.update","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient":"Microsoft.HybridConnectivity.SolutionConfigurations","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.beginSyncNow":"Microsoft.HybridConnectivity.SolutionConfigurations.syncNow","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.createOrUpdate":"Microsoft.HybridConnectivity.SolutionConfigurations.createOrUpdate","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.createOrUpdateWithResponse":"Microsoft.HybridConnectivity.SolutionConfigurations.createOrUpdate","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.delete":"Microsoft.HybridConnectivity.SolutionConfigurations.delete","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.deleteWithResponse":"Microsoft.HybridConnectivity.SolutionConfigurations.delete","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.get":"Microsoft.HybridConnectivity.SolutionConfigurations.get","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.getWithResponse":"Microsoft.HybridConnectivity.SolutionConfigurations.get","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.list":"Microsoft.HybridConnectivity.SolutionConfigurations.list","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.syncNow":"Microsoft.HybridConnectivity.SolutionConfigurations.syncNow","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.update":"Microsoft.HybridConnectivity.SolutionConfigurations.update","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.updateWithResponse":"Microsoft.HybridConnectivity.SolutionConfigurations.update","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionTypesClient":"Microsoft.HybridConnectivity.SolutionTypes","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionTypesClient.getByResourceGroup":"Microsoft.HybridConnectivity.SolutionTypes.get","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionTypesClient.getByResourceGroupWithResponse":"Microsoft.HybridConnectivity.SolutionTypes.get","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionTypesClient.list":"Microsoft.HybridConnectivity.SolutionTypes.listBySubscription","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionTypesClient.listByResourceGroup":"Microsoft.HybridConnectivity.SolutionTypes.listByResourceGroup","com.azure.resourcemanager.hybridconnectivity.fluent.models.AadProfileProperties":"Microsoft.HybridConnectivity.AADProfileProperties","com.azure.resourcemanager.hybridconnectivity.fluent.models.EndpointAccessResourceInner":"Microsoft.HybridConnectivity.EndpointAccessResource","com.azure.resourcemanager.hybridconnectivity.fluent.models.EndpointResourceInner":"Microsoft.HybridConnectivity.EndpointResource","com.azure.resourcemanager.hybridconnectivity.fluent.models.GenerateAwsTemplateResponseInner":"Microsoft.HybridConnectivity.GenerateAwsTemplateResponse","com.azure.resourcemanager.hybridconnectivity.fluent.models.IngressGatewayResourceInner":"Microsoft.HybridConnectivity.IngressGatewayResource","com.azure.resourcemanager.hybridconnectivity.fluent.models.IngressProfileProperties":"Microsoft.HybridConnectivity.IngressProfileProperties","com.azure.resourcemanager.hybridconnectivity.fluent.models.InventoryResourceInner":"Microsoft.HybridConnectivity.InventoryResource","com.azure.resourcemanager.hybridconnectivity.fluent.models.ManagedProxyResourceInner":"Microsoft.HybridConnectivity.ManagedProxyResource","com.azure.resourcemanager.hybridconnectivity.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.hybridconnectivity.fluent.models.OperationStatusResultInner":"Azure.ResourceManager.CommonTypes.OperationStatusResult","com.azure.resourcemanager.hybridconnectivity.fluent.models.PublicCloudConnectorInner":"Microsoft.HybridConnectivity.PublicCloudConnector","com.azure.resourcemanager.hybridconnectivity.fluent.models.RelayNamespaceAccessProperties":"Microsoft.HybridConnectivity.RelayNamespaceAccessProperties","com.azure.resourcemanager.hybridconnectivity.fluent.models.ServiceConfigurationProperties":"Microsoft.HybridConnectivity.ServiceConfigurationProperties","com.azure.resourcemanager.hybridconnectivity.fluent.models.ServiceConfigurationPropertiesPatch":"Microsoft.HybridConnectivity.ServiceConfigurationPropertiesPatch","com.azure.resourcemanager.hybridconnectivity.fluent.models.ServiceConfigurationResourceInner":"Microsoft.HybridConnectivity.ServiceConfigurationResource","com.azure.resourcemanager.hybridconnectivity.fluent.models.SolutionConfigurationInner":"Microsoft.HybridConnectivity.SolutionConfiguration","com.azure.resourcemanager.hybridconnectivity.fluent.models.SolutionTypeResourceInner":"Microsoft.HybridConnectivity.SolutionTypeResource","com.azure.resourcemanager.hybridconnectivity.implementation.HybridConnectivityMgmtClientBuilder":"Microsoft.HybridConnectivity","com.azure.resourcemanager.hybridconnectivity.implementation.models.EndpointsList":"Microsoft.HybridConnectivity.EndpointsList","com.azure.resourcemanager.hybridconnectivity.implementation.models.InventoryResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.hybridconnectivity.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.hybridconnectivity.implementation.models.PublicCloudConnectorListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.hybridconnectivity.implementation.models.ServiceConfigurationList":"Microsoft.HybridConnectivity.ServiceConfigurationList","com.azure.resourcemanager.hybridconnectivity.implementation.models.SolutionConfigurationListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.hybridconnectivity.implementation.models.SolutionTypeResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.hybridconnectivity.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.hybridconnectivity.models.AwsCloudProfile":"Microsoft.HybridConnectivity.AwsCloudProfile","com.azure.resourcemanager.hybridconnectivity.models.AwsCloudProfileUpdate":"Microsoft.HybridConnectivity.AwsCloudProfileUpdate","com.azure.resourcemanager.hybridconnectivity.models.CloudNativeType":"Microsoft.HybridConnectivity.CloudNativeType","com.azure.resourcemanager.hybridconnectivity.models.EndpointProperties":"Microsoft.HybridConnectivity.EndpointProperties","com.azure.resourcemanager.hybridconnectivity.models.GenerateAwsTemplateRequest":"Microsoft.HybridConnectivity.GenerateAwsTemplateRequest","com.azure.resourcemanager.hybridconnectivity.models.HostType":"Microsoft.HybridConnectivity.HostType","com.azure.resourcemanager.hybridconnectivity.models.InventoryProperties":"Microsoft.HybridConnectivity.InventoryProperties","com.azure.resourcemanager.hybridconnectivity.models.ListCredentialsRequest":"Microsoft.HybridConnectivity.ListCredentialsRequest","com.azure.resourcemanager.hybridconnectivity.models.ListIngressGatewayCredentialsRequest":"Microsoft.HybridConnectivity.ListIngressGatewayCredentialsRequest","com.azure.resourcemanager.hybridconnectivity.models.ManagedProxyRequest":"Microsoft.HybridConnectivity.ManagedProxyRequest","com.azure.resourcemanager.hybridconnectivity.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.hybridconnectivity.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.hybridconnectivity.models.ProvisioningState":"Microsoft.HybridConnectivity.ProvisioningState","com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorProperties":"Microsoft.HybridConnectivity.PublicCloudConnectorProperties","com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorPropertiesUpdate":"Microsoft.HybridConnectivity.PublicCloudConnectorPropertiesUpdate","com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorUpdate":"Microsoft.HybridConnectivity.PublicCloudConnectorUpdate","com.azure.resourcemanager.hybridconnectivity.models.ResourceProvisioningState":"Azure.ResourceManager.ResourceProvisioningState","com.azure.resourcemanager.hybridconnectivity.models.ServiceConfigurationResourcePatch":"Microsoft.HybridConnectivity.ServiceConfigurationResourcePatch","com.azure.resourcemanager.hybridconnectivity.models.ServiceName":"Microsoft.HybridConnectivity.ServiceName","com.azure.resourcemanager.hybridconnectivity.models.SolutionConfigurationProperties":"Microsoft.HybridConnectivity.SolutionConfigurationProperties","com.azure.resourcemanager.hybridconnectivity.models.SolutionConfigurationPropertiesUpdate":"Microsoft.HybridConnectivity.SolutionConfigurationPropertiesUpdate","com.azure.resourcemanager.hybridconnectivity.models.SolutionConfigurationStatus":"Microsoft.HybridConnectivity.SolutionConfigurationStatus","com.azure.resourcemanager.hybridconnectivity.models.SolutionConfigurationUpdate":"Microsoft.HybridConnectivity.SolutionConfigurationUpdate","com.azure.resourcemanager.hybridconnectivity.models.SolutionSettings":"Microsoft.HybridConnectivity.SolutionSettings","com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeProperties":"Microsoft.HybridConnectivity.SolutionTypeProperties","com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeSettings":"Microsoft.HybridConnectivity.SolutionTypeSettings","com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeSettingsProperties":"Microsoft.HybridConnectivity.SolutionTypeSettingsProperties","com.azure.resourcemanager.hybridconnectivity.models.TrackedResourceUpdate":"Microsoft.HybridConnectivity.TrackedResourceUpdate","com.azure.resourcemanager.hybridconnectivity.models.Type":"Microsoft.HybridConnectivity.Type"},"generatedFiles":["src/main/java/com/azure/resourcemanager/hybridconnectivity/HybridConnectivityManager.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/EndpointsClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/GenerateAwsTemplatesClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/HybridConnectivityMgmtClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/InventoriesClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/PublicCloudConnectorsClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/ServiceConfigurationsClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/SolutionConfigurationsClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/SolutionTypesClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/AadProfileProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/EndpointAccessResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/EndpointResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/GenerateAwsTemplateResponseInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/IngressGatewayResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/IngressProfileProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/InventoryResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/ManagedProxyResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/PublicCloudConnectorInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/RelayNamespaceAccessProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/ServiceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/ServiceConfigurationPropertiesPatch.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/ServiceConfigurationResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/SolutionConfigurationInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/SolutionTypeResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/package-info.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/EndpointAccessResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/EndpointResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/EndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/EndpointsImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateAwsTemplateResponseImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateAwsTemplatesClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateAwsTemplatesImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/HybridConnectivityMgmtClientBuilder.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/HybridConnectivityMgmtClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/IngressGatewayResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/InventoriesClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/InventoriesImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/InventoryResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ManagedProxyResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/OperationStatusResultImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorsClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorsImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ServiceConfigurationResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ServiceConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ServiceConfigurationsImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionConfigurationImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionConfigurationsImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionTypeResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionTypesClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionTypesImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/EndpointsList.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/InventoryResourceListResult.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/PublicCloudConnectorListResult.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/ServiceConfigurationList.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/SolutionConfigurationListResult.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/SolutionTypeResourceListResult.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/package-info.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ActionType.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/AwsCloudProfile.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/AwsCloudProfileUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/CloudNativeType.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/EndpointAccessResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/EndpointProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/EndpointResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/Endpoints.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateAwsTemplateRequest.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateAwsTemplateResponse.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateAwsTemplates.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/HostType.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/IngressGatewayResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/Inventories.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/InventoryProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/InventoryResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ListCredentialsRequest.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ListIngressGatewayCredentialsRequest.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ManagedProxyRequest.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ManagedProxyResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/Operation.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/OperationStatusResult.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/Operations.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/Origin.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnector.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnectorProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnectorPropertiesUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnectorUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnectors.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ResourceProvisioningState.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ServiceConfigurationResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ServiceConfigurationResourcePatch.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ServiceConfigurations.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ServiceName.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfiguration.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfigurationPropertiesUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfigurationStatus.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfigurationUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfigurations.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionSettings.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeSettings.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeSettingsProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypes.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/TrackedResourceUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/Type.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/package-info.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/package-info.java","src/main/java/module-info.java"]}
\ No newline at end of file
+{"flavor":"azure","apiVersions":{"Microsoft.HybridConnectivity":"2027-01-01"},"crossLanguagePackageId":"Microsoft.HybridConnectivity","crossLanguageVersion":"530cfadbbd11","crossLanguageDefinitions":{"com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient":"Microsoft.HybridConnectivity.EndpointResources","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.createOrUpdate":"Microsoft.HybridConnectivity.EndpointResources.createOrUpdate","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.createOrUpdateWithResponse":"Microsoft.HybridConnectivity.EndpointResources.createOrUpdate","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.delete":"Microsoft.HybridConnectivity.EndpointResources.delete","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.deleteWithResponse":"Microsoft.HybridConnectivity.EndpointResources.delete","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.get":"Microsoft.HybridConnectivity.EndpointResources.get","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.getWithResponse":"Microsoft.HybridConnectivity.EndpointResources.get","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.list":"Microsoft.HybridConnectivity.EndpointResources.list","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.listCredentials":"Microsoft.HybridConnectivity.EndpointResources.listCredentials","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.listCredentialsWithResponse":"Microsoft.HybridConnectivity.EndpointResources.listCredentials","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.listIngressGatewayCredentials":"Microsoft.HybridConnectivity.EndpointResources.listIngressGatewayCredentials","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.listIngressGatewayCredentialsWithResponse":"Microsoft.HybridConnectivity.EndpointResources.listIngressGatewayCredentials","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.listManagedProxyDetails":"Microsoft.HybridConnectivity.EndpointResources.listManagedProxyDetails","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.listManagedProxyDetailsWithResponse":"Microsoft.HybridConnectivity.EndpointResources.listManagedProxyDetails","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.update":"Microsoft.HybridConnectivity.EndpointResources.update","com.azure.resourcemanager.hybridconnectivity.fluent.EndpointsClient.updateWithResponse":"Microsoft.HybridConnectivity.EndpointResources.update","com.azure.resourcemanager.hybridconnectivity.fluent.GenerateAwsTemplatesClient":"Microsoft.HybridConnectivity.GenerateAwsTemplate","com.azure.resourcemanager.hybridconnectivity.fluent.GenerateAwsTemplatesClient.post":"Microsoft.HybridConnectivity.GenerateAwsTemplate.post","com.azure.resourcemanager.hybridconnectivity.fluent.GenerateAwsTemplatesClient.postWithResponse":"Microsoft.HybridConnectivity.GenerateAwsTemplate.post","com.azure.resourcemanager.hybridconnectivity.fluent.GenerateGcpTemplatesClient":"Microsoft.HybridConnectivity.GenerateGcpTemplate","com.azure.resourcemanager.hybridconnectivity.fluent.GenerateGcpTemplatesClient.post":"Microsoft.HybridConnectivity.GenerateGcpTemplate.post","com.azure.resourcemanager.hybridconnectivity.fluent.GenerateGcpTemplatesClient.postWithResponse":"Microsoft.HybridConnectivity.GenerateGcpTemplate.post","com.azure.resourcemanager.hybridconnectivity.fluent.HybridConnectivityMgmtClient":"Microsoft.HybridConnectivity","com.azure.resourcemanager.hybridconnectivity.fluent.InventoriesClient":"Microsoft.HybridConnectivity.Inventory","com.azure.resourcemanager.hybridconnectivity.fluent.InventoriesClient.get":"Microsoft.HybridConnectivity.Inventory.get","com.azure.resourcemanager.hybridconnectivity.fluent.InventoriesClient.getWithResponse":"Microsoft.HybridConnectivity.Inventory.get","com.azure.resourcemanager.hybridconnectivity.fluent.InventoriesClient.listBySolutionConfiguration":"Microsoft.HybridConnectivity.Inventory.listBySolutionConfiguration","com.azure.resourcemanager.hybridconnectivity.fluent.OperationsClient":"Microsoft.HybridConnectivity.Operations","com.azure.resourcemanager.hybridconnectivity.fluent.OperationsClient.list":"Azure.ResourceManager.Operations.list","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient":"Microsoft.HybridConnectivity.PublicCloudConnectors","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.beginCreateOrUpdate":"Microsoft.HybridConnectivity.PublicCloudConnectors.createOrUpdate","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.beginTestPermissions":"Microsoft.HybridConnectivity.PublicCloudConnectors.testPermissions","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.createOrUpdate":"Microsoft.HybridConnectivity.PublicCloudConnectors.createOrUpdate","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.delete":"Microsoft.HybridConnectivity.PublicCloudConnectors.delete","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.deleteWithResponse":"Microsoft.HybridConnectivity.PublicCloudConnectors.delete","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.getByResourceGroup":"Microsoft.HybridConnectivity.PublicCloudConnectors.get","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.getByResourceGroupWithResponse":"Microsoft.HybridConnectivity.PublicCloudConnectors.get","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.list":"Microsoft.HybridConnectivity.PublicCloudConnectors.listBySubscription","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.listByResourceGroup":"Microsoft.HybridConnectivity.PublicCloudConnectors.listByResourceGroup","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.testPermissions":"Microsoft.HybridConnectivity.PublicCloudConnectors.testPermissions","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.update":"Microsoft.HybridConnectivity.PublicCloudConnectors.update","com.azure.resourcemanager.hybridconnectivity.fluent.PublicCloudConnectorsClient.updateWithResponse":"Microsoft.HybridConnectivity.PublicCloudConnectors.update","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient":"Microsoft.HybridConnectivity.ServiceConfigurationResources","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.createOrupdate":"Microsoft.HybridConnectivity.ServiceConfigurationResources.createOrupdate","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.createOrupdateWithResponse":"Microsoft.HybridConnectivity.ServiceConfigurationResources.createOrupdate","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.delete":"Microsoft.HybridConnectivity.ServiceConfigurationResources.delete","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.deleteWithResponse":"Microsoft.HybridConnectivity.ServiceConfigurationResources.delete","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.get":"Microsoft.HybridConnectivity.ServiceConfigurationResources.get","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.getWithResponse":"Microsoft.HybridConnectivity.ServiceConfigurationResources.get","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.listByEndpointResource":"Microsoft.HybridConnectivity.ServiceConfigurationResources.listByEndpointResource","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.update":"Microsoft.HybridConnectivity.ServiceConfigurationResources.update","com.azure.resourcemanager.hybridconnectivity.fluent.ServiceConfigurationsClient.updateWithResponse":"Microsoft.HybridConnectivity.ServiceConfigurationResources.update","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient":"Microsoft.HybridConnectivity.SolutionConfigurations","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.beginSyncNow":"Microsoft.HybridConnectivity.SolutionConfigurations.syncNow","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.createOrUpdate":"Microsoft.HybridConnectivity.SolutionConfigurations.createOrUpdate","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.createOrUpdateWithResponse":"Microsoft.HybridConnectivity.SolutionConfigurations.createOrUpdate","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.delete":"Microsoft.HybridConnectivity.SolutionConfigurations.delete","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.deleteWithResponse":"Microsoft.HybridConnectivity.SolutionConfigurations.delete","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.get":"Microsoft.HybridConnectivity.SolutionConfigurations.get","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.getWithResponse":"Microsoft.HybridConnectivity.SolutionConfigurations.get","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.list":"Microsoft.HybridConnectivity.SolutionConfigurations.list","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.syncNow":"Microsoft.HybridConnectivity.SolutionConfigurations.syncNow","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.update":"Microsoft.HybridConnectivity.SolutionConfigurations.update","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionConfigurationsClient.updateWithResponse":"Microsoft.HybridConnectivity.SolutionConfigurations.update","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionTypesClient":"Microsoft.HybridConnectivity.SolutionTypes","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionTypesClient.getByResourceGroup":"Microsoft.HybridConnectivity.SolutionTypes.get","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionTypesClient.getByResourceGroupWithResponse":"Microsoft.HybridConnectivity.SolutionTypes.get","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionTypesClient.list":"Microsoft.HybridConnectivity.SolutionTypes.listBySubscription","com.azure.resourcemanager.hybridconnectivity.fluent.SolutionTypesClient.listByResourceGroup":"Microsoft.HybridConnectivity.SolutionTypes.listByResourceGroup","com.azure.resourcemanager.hybridconnectivity.fluent.models.AadProfileProperties":"Microsoft.HybridConnectivity.AADProfileProperties","com.azure.resourcemanager.hybridconnectivity.fluent.models.EndpointAccessResourceInner":"Microsoft.HybridConnectivity.EndpointAccessResource","com.azure.resourcemanager.hybridconnectivity.fluent.models.EndpointResourceInner":"Microsoft.HybridConnectivity.EndpointResource","com.azure.resourcemanager.hybridconnectivity.fluent.models.GenerateAwsTemplateResponseInner":"Microsoft.HybridConnectivity.GenerateAwsTemplateResponse","com.azure.resourcemanager.hybridconnectivity.fluent.models.GenerateGcpTemplateResponseInner":"Microsoft.HybridConnectivity.GenerateGcpTemplateResponse","com.azure.resourcemanager.hybridconnectivity.fluent.models.IngressGatewayResourceInner":"Microsoft.HybridConnectivity.IngressGatewayResource","com.azure.resourcemanager.hybridconnectivity.fluent.models.IngressProfileProperties":"Microsoft.HybridConnectivity.IngressProfileProperties","com.azure.resourcemanager.hybridconnectivity.fluent.models.InventoryResourceInner":"Microsoft.HybridConnectivity.InventoryResource","com.azure.resourcemanager.hybridconnectivity.fluent.models.ManagedProxyResourceInner":"Microsoft.HybridConnectivity.ManagedProxyResource","com.azure.resourcemanager.hybridconnectivity.fluent.models.OperationInner":"Azure.ResourceManager.CommonTypes.Operation","com.azure.resourcemanager.hybridconnectivity.fluent.models.OperationStatusResultInner":"Azure.ResourceManager.CommonTypes.OperationStatusResult","com.azure.resourcemanager.hybridconnectivity.fluent.models.PublicCloudConnectorInner":"Microsoft.HybridConnectivity.PublicCloudConnector","com.azure.resourcemanager.hybridconnectivity.fluent.models.RelayNamespaceAccessProperties":"Microsoft.HybridConnectivity.RelayNamespaceAccessProperties","com.azure.resourcemanager.hybridconnectivity.fluent.models.ServiceConfigurationProperties":"Microsoft.HybridConnectivity.ServiceConfigurationProperties","com.azure.resourcemanager.hybridconnectivity.fluent.models.ServiceConfigurationPropertiesPatch":"Microsoft.HybridConnectivity.ServiceConfigurationPropertiesPatch","com.azure.resourcemanager.hybridconnectivity.fluent.models.ServiceConfigurationResourceInner":"Microsoft.HybridConnectivity.ServiceConfigurationResource","com.azure.resourcemanager.hybridconnectivity.fluent.models.SolutionConfigurationInner":"Microsoft.HybridConnectivity.SolutionConfiguration","com.azure.resourcemanager.hybridconnectivity.fluent.models.SolutionTypeResourceInner":"Microsoft.HybridConnectivity.SolutionTypeResource","com.azure.resourcemanager.hybridconnectivity.implementation.HybridConnectivityMgmtClientBuilder":"Microsoft.HybridConnectivity","com.azure.resourcemanager.hybridconnectivity.implementation.models.EndpointsList":"Microsoft.HybridConnectivity.EndpointsList","com.azure.resourcemanager.hybridconnectivity.implementation.models.InventoryResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.hybridconnectivity.implementation.models.OperationListResult":"Azure.ResourceManager.CommonTypes.OperationListResult","com.azure.resourcemanager.hybridconnectivity.implementation.models.PublicCloudConnectorListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.hybridconnectivity.implementation.models.ServiceConfigurationList":"Microsoft.HybridConnectivity.ServiceConfigurationList","com.azure.resourcemanager.hybridconnectivity.implementation.models.SolutionConfigurationListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.hybridconnectivity.implementation.models.SolutionTypeResourceListResult":"Azure.ResourceManager.ResourceListResult","com.azure.resourcemanager.hybridconnectivity.models.ActionType":"Azure.ResourceManager.CommonTypes.ActionType","com.azure.resourcemanager.hybridconnectivity.models.AwsCloudProfile":"Microsoft.HybridConnectivity.AwsCloudProfile","com.azure.resourcemanager.hybridconnectivity.models.AwsCloudProfileUpdate":"Microsoft.HybridConnectivity.AwsCloudProfileUpdate","com.azure.resourcemanager.hybridconnectivity.models.CloudNativeType":"Microsoft.HybridConnectivity.CloudNativeType","com.azure.resourcemanager.hybridconnectivity.models.EndpointProperties":"Microsoft.HybridConnectivity.EndpointProperties","com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfile":"Microsoft.HybridConnectivity.GcpCloudProfile","com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfileUpdate":"Microsoft.HybridConnectivity.GcpCloudProfileUpdate","com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationProperties":"Microsoft.HybridConnectivity.GcpOrganizationProperties","com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationPropertiesUpdate":"Microsoft.HybridConnectivity.GcpOrganizationPropertiesUpdate","com.azure.resourcemanager.hybridconnectivity.models.GcpProjectProperties":"Microsoft.HybridConnectivity.GcpProjectProperties","com.azure.resourcemanager.hybridconnectivity.models.GcpTemplateFormat":"Microsoft.HybridConnectivity.GcpTemplateFormat","com.azure.resourcemanager.hybridconnectivity.models.GenerateAwsTemplateRequest":"Microsoft.HybridConnectivity.GenerateAwsTemplateRequest","com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplateRequest":"Microsoft.HybridConnectivity.GenerateGcpTemplateRequest","com.azure.resourcemanager.hybridconnectivity.models.HostType":"Microsoft.HybridConnectivity.HostType","com.azure.resourcemanager.hybridconnectivity.models.InventoryProperties":"Microsoft.HybridConnectivity.InventoryProperties","com.azure.resourcemanager.hybridconnectivity.models.ListCredentialsRequest":"Microsoft.HybridConnectivity.ListCredentialsRequest","com.azure.resourcemanager.hybridconnectivity.models.ListIngressGatewayCredentialsRequest":"Microsoft.HybridConnectivity.ListIngressGatewayCredentialsRequest","com.azure.resourcemanager.hybridconnectivity.models.ManagedProxyRequest":"Microsoft.HybridConnectivity.ManagedProxyRequest","com.azure.resourcemanager.hybridconnectivity.models.OperationDisplay":"Azure.ResourceManager.CommonTypes.OperationDisplay","com.azure.resourcemanager.hybridconnectivity.models.Origin":"Azure.ResourceManager.CommonTypes.Origin","com.azure.resourcemanager.hybridconnectivity.models.ProvisioningState":"Microsoft.HybridConnectivity.ProvisioningState","com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorProperties":"Microsoft.HybridConnectivity.PublicCloudConnectorProperties","com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorPropertiesUpdate":"Microsoft.HybridConnectivity.PublicCloudConnectorPropertiesUpdate","com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorUpdate":"Microsoft.HybridConnectivity.PublicCloudConnectorUpdate","com.azure.resourcemanager.hybridconnectivity.models.ResourceProvisioningState":"Azure.ResourceManager.ResourceProvisioningState","com.azure.resourcemanager.hybridconnectivity.models.ServiceConfigurationResourcePatch":"Microsoft.HybridConnectivity.ServiceConfigurationResourcePatch","com.azure.resourcemanager.hybridconnectivity.models.ServiceName":"Microsoft.HybridConnectivity.ServiceName","com.azure.resourcemanager.hybridconnectivity.models.SolutionConfigurationProperties":"Microsoft.HybridConnectivity.SolutionConfigurationProperties","com.azure.resourcemanager.hybridconnectivity.models.SolutionConfigurationPropertiesUpdate":"Microsoft.HybridConnectivity.SolutionConfigurationPropertiesUpdate","com.azure.resourcemanager.hybridconnectivity.models.SolutionConfigurationStatus":"Microsoft.HybridConnectivity.SolutionConfigurationStatus","com.azure.resourcemanager.hybridconnectivity.models.SolutionConfigurationUpdate":"Microsoft.HybridConnectivity.SolutionConfigurationUpdate","com.azure.resourcemanager.hybridconnectivity.models.SolutionSettings":"Microsoft.HybridConnectivity.SolutionSettings","com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeProperties":"Microsoft.HybridConnectivity.SolutionTypeProperties","com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeSettings":"Microsoft.HybridConnectivity.SolutionTypeSettings","com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeSettingsProperties":"Microsoft.HybridConnectivity.SolutionTypeSettingsProperties","com.azure.resourcemanager.hybridconnectivity.models.TrackedResourceUpdate":"Microsoft.HybridConnectivity.TrackedResourceUpdate","com.azure.resourcemanager.hybridconnectivity.models.Type":"Microsoft.HybridConnectivity.Type"},"generatedFiles":["src/main/java/com/azure/resourcemanager/hybridconnectivity/HybridConnectivityManager.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/EndpointsClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/GenerateAwsTemplatesClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/GenerateGcpTemplatesClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/HybridConnectivityMgmtClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/InventoriesClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/OperationsClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/PublicCloudConnectorsClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/ServiceConfigurationsClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/SolutionConfigurationsClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/SolutionTypesClient.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/AadProfileProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/EndpointAccessResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/EndpointResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/GenerateAwsTemplateResponseInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/GenerateGcpTemplateResponseInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/IngressGatewayResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/IngressProfileProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/InventoryResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/ManagedProxyResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/OperationInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/OperationStatusResultInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/PublicCloudConnectorInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/RelayNamespaceAccessProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/ServiceConfigurationProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/ServiceConfigurationPropertiesPatch.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/ServiceConfigurationResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/SolutionConfigurationInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/SolutionTypeResourceInner.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/models/package-info.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/fluent/package-info.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/EndpointAccessResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/EndpointResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/EndpointsClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/EndpointsImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateAwsTemplateResponseImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateAwsTemplatesClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateAwsTemplatesImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateGcpTemplateResponseImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateGcpTemplatesClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/GenerateGcpTemplatesImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/HybridConnectivityMgmtClientBuilder.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/HybridConnectivityMgmtClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/IngressGatewayResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/InventoriesClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/InventoriesImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/InventoryResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ManagedProxyResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/OperationImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/OperationStatusResultImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/OperationsClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/OperationsImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorsClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/PublicCloudConnectorsImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ResourceManagerUtils.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ServiceConfigurationResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ServiceConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/ServiceConfigurationsImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionConfigurationImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionConfigurationsClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionConfigurationsImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionTypeResourceImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionTypesClientImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/SolutionTypesImpl.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/EndpointsList.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/InventoryResourceListResult.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/OperationListResult.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/PublicCloudConnectorListResult.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/ServiceConfigurationList.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/SolutionConfigurationListResult.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/models/SolutionTypeResourceListResult.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/implementation/package-info.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ActionType.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/AwsCloudProfile.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/AwsCloudProfileUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/CloudNativeType.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/EndpointAccessResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/EndpointProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/EndpointResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/Endpoints.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpCloudProfile.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpCloudProfileUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpOrganizationProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpOrganizationPropertiesUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpProjectProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GcpTemplateFormat.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateAwsTemplateRequest.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateAwsTemplateResponse.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateAwsTemplates.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateGcpTemplateRequest.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateGcpTemplateResponse.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/GenerateGcpTemplates.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/HostType.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/IngressGatewayResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/Inventories.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/InventoryProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/InventoryResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ListCredentialsRequest.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ListIngressGatewayCredentialsRequest.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ManagedProxyRequest.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ManagedProxyResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/Operation.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/OperationDisplay.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/OperationStatusResult.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/Operations.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/Origin.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ProvisioningState.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnector.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnectorProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnectorPropertiesUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnectorUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/PublicCloudConnectors.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ResourceProvisioningState.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ServiceConfigurationResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ServiceConfigurationResourcePatch.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ServiceConfigurations.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/ServiceName.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfiguration.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfigurationProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfigurationPropertiesUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfigurationStatus.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfigurationUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionConfigurations.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionSettings.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeResource.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeSettings.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypeSettingsProperties.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/SolutionTypes.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/TrackedResourceUpdate.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/Type.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/models/package-info.java","src/main/java/com/azure/resourcemanager/hybridconnectivity/package-info.java","src/main/java/module-info.java"]}
\ No newline at end of file
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-hybridconnectivity/proxy-config.json b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-hybridconnectivity/proxy-config.json
index 958c91562fd4..f2f0c8c2f1dd 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-hybridconnectivity/proxy-config.json
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/main/resources/META-INF/native-image/com.azure.resourcemanager/azure-resourcemanager-hybridconnectivity/proxy-config.json
@@ -1 +1 @@
-[["com.azure.resourcemanager.hybridconnectivity.implementation.EndpointsClientImpl$EndpointsService"],["com.azure.resourcemanager.hybridconnectivity.implementation.GenerateAwsTemplatesClientImpl$GenerateAwsTemplatesService"],["com.azure.resourcemanager.hybridconnectivity.implementation.InventoriesClientImpl$InventoriesService"],["com.azure.resourcemanager.hybridconnectivity.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.hybridconnectivity.implementation.PublicCloudConnectorsClientImpl$PublicCloudConnectorsService"],["com.azure.resourcemanager.hybridconnectivity.implementation.ServiceConfigurationsClientImpl$ServiceConfigurationsService"],["com.azure.resourcemanager.hybridconnectivity.implementation.SolutionConfigurationsClientImpl$SolutionConfigurationsService"],["com.azure.resourcemanager.hybridconnectivity.implementation.SolutionTypesClientImpl$SolutionTypesService"]]
\ No newline at end of file
+[["com.azure.resourcemanager.hybridconnectivity.implementation.EndpointsClientImpl$EndpointsService"],["com.azure.resourcemanager.hybridconnectivity.implementation.GenerateAwsTemplatesClientImpl$GenerateAwsTemplatesService"],["com.azure.resourcemanager.hybridconnectivity.implementation.GenerateGcpTemplatesClientImpl$GenerateGcpTemplatesService"],["com.azure.resourcemanager.hybridconnectivity.implementation.InventoriesClientImpl$InventoriesService"],["com.azure.resourcemanager.hybridconnectivity.implementation.OperationsClientImpl$OperationsService"],["com.azure.resourcemanager.hybridconnectivity.implementation.PublicCloudConnectorsClientImpl$PublicCloudConnectorsService"],["com.azure.resourcemanager.hybridconnectivity.implementation.ServiceConfigurationsClientImpl$ServiceConfigurationsService"],["com.azure.resourcemanager.hybridconnectivity.implementation.SolutionConfigurationsClientImpl$SolutionConfigurationsService"],["com.azure.resourcemanager.hybridconnectivity.implementation.SolutionTypesClientImpl$SolutionTypesService"]]
\ No newline at end of file
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsCreateOrUpdateSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsCreateOrUpdateSamples.java
index 837987915a58..9beb4358a10a 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsCreateOrUpdateSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsCreateOrUpdateSamples.java
@@ -12,17 +12,17 @@
*/
public final class EndpointsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsPutCustom.json
+ * x-ms-original-file: 2027-01-01/Endpoints_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsPutCustom.
+ * Sample code: HybridConnectivityEndpointsPutCustom - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsPutCustom(
+ public static void hybridConnectivityEndpointsPutCustomGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
- .define("custom")
+ .define("qlgk")
.withExistingResourceUri(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
.withProperties(new EndpointProperties().withType(Type.CUSTOM)
@@ -32,20 +32,19 @@ public static void hybridConnectivityEndpointsPutCustom(
}
/*
- * x-ms-original-file: 2024-12-01/EndpointsPutDefault.json
+ * x-ms-original-file: 2027-01-01/Endpoints_CreateOrUpdate_MinimumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsPutDefault.
+ * Sample code: HybridConnectivityEndpointsPutCustom - generated by [MinimumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsPutDefault(
+ public static void hybridConnectivityEndpointsPutCustomGeneratedByMinimumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
- .define("default")
+ .define("brvzkuhspeph")
.withExistingResourceUri(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
- .withProperties(new EndpointProperties().withType(Type.DEFAULT))
.create();
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsDeleteSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsDeleteSamples.java
index 737a26f35ab4..ba9681250d0a 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsDeleteSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsDeleteSamples.java
@@ -9,18 +9,34 @@
*/
public final class EndpointsDeleteSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsDeleteDefault.json
+ * x-ms-original-file: 2027-01-01/Endpoints_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsDeleteDefault.
+ * Sample code: HybridConnectivityEndpointsDeleteDefault - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsDeleteDefault(
+ public static void hybridConnectivityEndpointsDeleteDefaultGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.deleteByResourceGroupWithResponse(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
- "default", com.azure.core.util.Context.NONE);
+ "bzibyvoiurhaqyjfcvvmtqqxp", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/Endpoints_Delete_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: HybridConnectivityEndpointsDeleteDefault - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void hybridConnectivityEndpointsDeleteDefaultGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.endpoints()
+ .deleteByResourceGroupWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "hnsdhce", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsGetSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsGetSamples.java
index f11d469cdad0..9e6461ed4b89 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsGetSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsGetSamples.java
@@ -9,34 +9,34 @@
*/
public final class EndpointsGetSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsGetDefault.json
+ * x-ms-original-file: 2027-01-01/Endpoints_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsGetDefault.
+ * Sample code: HybridConnectivityEndpointsGetCustom - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsGetDefault(
+ public static void hybridConnectivityEndpointsGetCustomGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.getWithResponse(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
- "default", com.azure.core.util.Context.NONE);
+ "dvibtlitlirlrljqjavewemmh", com.azure.core.util.Context.NONE);
}
/*
- * x-ms-original-file: 2024-12-01/EndpointsGetCustom.json
+ * x-ms-original-file: 2027-01-01/Endpoints_Get_MinimumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsGetCustom.
+ * Sample code: HybridConnectivityEndpointsGetCustom - generated by [MinimumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsGetCustom(
+ public static void hybridConnectivityEndpointsGetCustomGeneratedByMinimumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.getWithResponse(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
- "custom", com.azure.core.util.Context.NONE);
+ "mtmtfiytugklrzlgsbfllkffmpbit", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListCredentialsSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListCredentialsSamples.java
index 3e158198d7f9..069e5dbd2e5f 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListCredentialsSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListCredentialsSamples.java
@@ -12,19 +12,35 @@
*/
public final class EndpointsListCredentialsSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsPostListCredentials.json
+ * x-ms-original-file: 2027-01-01/Endpoints_ListCredentials_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsPostListCredentials.
+ * Sample code: HybridConnectivityEndpointsPostListCredentials - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsPostListCredentials(
+ public static void hybridConnectivityEndpointsPostListCredentialsGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.listCredentialsWithResponse(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
- "default", 10800L, new ListCredentialsRequest().withServiceName(ServiceName.SSH),
+ "zctvtuhbhezloxvc", 10019L, new ListCredentialsRequest().withServiceName(ServiceName.SSH),
com.azure.core.util.Context.NONE);
}
+
+ /*
+ * x-ms-original-file: 2027-01-01/Endpoints_ListCredentials_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: HybridConnectivityEndpointsPostListCredentials - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void hybridConnectivityEndpointsPostListCredentialsGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.endpoints()
+ .listCredentialsWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "yfaebuxkhicaact", null, null, com.azure.core.util.Context.NONE);
+ }
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListIngressGatewayCredentialsSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListIngressGatewayCredentialsSamples.java
index cdddb542c6f0..567ee1639862 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListIngressGatewayCredentialsSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListIngressGatewayCredentialsSamples.java
@@ -4,23 +4,43 @@
package com.azure.resourcemanager.hybridconnectivity.generated;
+import com.azure.resourcemanager.hybridconnectivity.models.ListIngressGatewayCredentialsRequest;
+import com.azure.resourcemanager.hybridconnectivity.models.ServiceName;
+
/**
* Samples for Endpoints ListIngressGatewayCredentials.
*/
public final class EndpointsListIngressGatewayCredentialsSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsPostListIngressGatewayCredentials.json
+ * x-ms-original-file: 2027-01-01/Endpoints_ListIngressGatewayCredentials_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: HybridConnectivityEndpointsPostListIngressGatewayCredentials - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void hybridConnectivityEndpointsPostListIngressGatewayCredentialsGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.endpoints()
+ .listIngressGatewayCredentialsWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "acwtmooqweqqgfcz", null, null, com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/Endpoints_ListIngressGatewayCredentials_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsPostListIngressGatewayCredentials.
+ * Sample code: HybridConnectivityEndpointsPostListIngressGatewayCredentials - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsPostListIngressGatewayCredentials(
+ public static void hybridConnectivityEndpointsPostListIngressGatewayCredentialsGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.listIngressGatewayCredentialsWithResponse(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/arcGroup/providers/Microsoft.ArcPlaceHolder/ProvisionedClusters/cluster0",
- "default", 10800L, null, com.azure.core.util.Context.NONE);
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "csjtwwrsv", 7513L, new ListIngressGatewayCredentialsRequest().withServiceName(ServiceName.SSH),
+ com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListManagedProxyDetailsSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListManagedProxyDetailsSamples.java
index 056d89afc5bd..1186a08906ca 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListManagedProxyDetailsSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListManagedProxyDetailsSamples.java
@@ -12,22 +12,39 @@
*/
public final class EndpointsListManagedProxyDetailsSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsPostListManagedProxyDetails.json
+ * x-ms-original-file: 2027-01-01/Endpoints_ListManagedProxyDetails_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsPostListManagedProxyDetails.
+ * Sample code: HybridConnectivityEndpointsPostListManagedProxyDetails - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsPostListManagedProxyDetails(
+ public static void hybridConnectivityEndpointsPostListManagedProxyDetailsGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.listManagedProxyDetailsWithResponse(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/arcGroup/providers/Microsoft.Compute/virtualMachines/vm00006",
- "default",
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "bjamsbnl",
new ManagedProxyRequest().withService("127.0.0.1:65035")
.withHostname("r.proxy.arc.com")
.withServiceName(ServiceName.WAC),
com.azure.core.util.Context.NONE);
}
+
+ /*
+ * x-ms-original-file: 2027-01-01/Endpoints_ListManagedProxyDetails_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: HybridConnectivityEndpointsPostListManagedProxyDetails - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void hybridConnectivityEndpointsPostListManagedProxyDetailsGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.endpoints()
+ .listManagedProxyDetailsWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "ujpppanchofwgjdv", new ManagedProxyRequest().withService("127.0.0.1:65035"),
+ com.azure.core.util.Context.NONE);
+ }
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListSamples.java
index 1f4d9cda0acf..e48361fd435e 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListSamples.java
@@ -9,15 +9,15 @@
*/
public final class EndpointsListSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsList.json
+ * x-ms-original-file: 2027-01-01/Endpoints_List_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsGet.
+ * Sample code: HybridConnectivityEndpointsGet - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- hybridConnectivityEndpointsGet(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void hybridConnectivityEndpointsGetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.endpoints()
.list(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsUpdateSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsUpdateSamples.java
index c669efc228b7..75c1fb9f84b3 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsUpdateSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsUpdateSamples.java
@@ -13,20 +13,42 @@
*/
public final class EndpointsUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/EndpointsPatchDefault.json
+ * x-ms-original-file: 2027-01-01/Endpoints_Update_MinimumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsPatchDefault.
+ * Sample code: HybridConnectivityEndpointsPatchDefault - generated by [MinimumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsPatchDefault(
+ public static void hybridConnectivityEndpointsPatchDefaultGeneratedByMinimumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
EndpointResource resource = manager.endpoints()
.getWithResponse(
"subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
- "default", com.azure.core.util.Context.NONE)
+ "xmbtuwprx", com.azure.core.util.Context.NONE)
.getValue();
- resource.update().withProperties(new EndpointProperties().withType(Type.DEFAULT)).apply();
+ resource.update().apply();
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/Endpoints_Update_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: HybridConnectivityEndpointsPatchDefault - generated by [MaximumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void hybridConnectivityEndpointsPatchDefaultGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ EndpointResource resource = manager.endpoints()
+ .getWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "rukckncxq", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update()
+ .withProperties(new EndpointProperties().withType(Type.CUSTOM)
+ .withResourceId(
+ "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.Relay/namespaces/custom-relay-namespace"))
+ .apply();
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateAwsTemplatePostSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateAwsTemplatePostSamples.java
index 8f569a8db86e..678605d30dd5 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateAwsTemplatePostSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateAwsTemplatePostSamples.java
@@ -16,15 +16,15 @@
*/
public final class GenerateAwsTemplatePostSamples {
/*
- * x-ms-original-file: 2024-12-01/GenerateAwsTemplate_Post.json
+ * x-ms-original-file: 2027-01-01/GenerateAwsTemplate_Post_MaximumSet_Gen.json
*/
/**
- * Sample code: GenerateAwsTemplate_Post.
+ * Sample code: GenerateAwsTemplate_Post - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- generateAwsTemplatePost(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void generateAwsTemplatePostGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.generateAwsTemplates()
.postWithResponse(
new GenerateAwsTemplateRequest().withConnectorId("pnxcfjidglabnwxit")
@@ -33,6 +33,21 @@ public final class GenerateAwsTemplatePostSamples {
com.azure.core.util.Context.NONE);
}
+ /*
+ * x-ms-original-file: 2027-01-01/GenerateAwsTemplate_Post_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: GenerateAwsTemplate_Post - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void generateAwsTemplatePostGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.generateAwsTemplates()
+ .postWithResponse(new GenerateAwsTemplateRequest().withConnectorId("pnxcfjidglabnwxit"),
+ com.azure.core.util.Context.NONE);
+ }
+
// Use "Map.of" if available
@SuppressWarnings("unchecked")
private static Map mapOf(Object... inputs) {
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateGcpTemplatePostSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateGcpTemplatePostSamples.java
new file mode 100644
index 000000000000..55e0efd2479a
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateGcpTemplatePostSamples.java
@@ -0,0 +1,73 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.generated;
+
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpProjectProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpTemplateFormat;
+import com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplateRequest;
+import com.azure.resourcemanager.hybridconnectivity.models.SolutionSettings;
+import com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeSettings;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Samples for GenerateGcpTemplate Post.
+ */
+public final class GenerateGcpTemplatePostSamples {
+ /*
+ * x-ms-original-file: 2027-01-01/GenerateGcpTemplate_Post_MaximumSet_Gen.json
+ */
+ /**
+ * Sample code: GenerateGcpTemplate_Post_MaximumSet.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void generateGcpTemplatePostMaximumSet(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.generateGcpTemplates()
+ .postWithResponse(new GenerateGcpTemplateRequest().withConnectorId("lvrdneuerxztxiixlzswcbm")
+ .withSolutionTypes(Arrays.asList(new SolutionTypeSettings().withSolutionType("hjyownzpfxwiufmd")
+ .withSolutionSettings(new SolutionSettings().withAdditionalProperties(mapOf()))))
+ .withGcpCloudProfile(new GcpCloudProfile()
+ .withProjectProperties(
+ new GcpProjectProperties().withProjectNumber("mjubieitixhpm").withProjectId("mjubieitixhpmid"))
+ .withOrganizationProperties(new GcpOrganizationProperties().withOrganizationId("vqlzghfdinlamurmg")
+ .withManagementProjectNumber("mjubieitixhpm")
+ .withManagementProjectId("mjubieitixhpmid")
+ .withExcludedProjectNumbers(Arrays.asList("sepdnfxmhcrubtklwllxfbhju"))
+ .withExcludedFolderIds(Arrays.asList("xxl"))))
+ .withGcpTemplateFormat(GcpTemplateFormat.TERRAFORM), com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/GenerateGcpTemplate_Post_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: GenerateGcpTemplate_Post_MaximumSet - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void generateGcpTemplatePostMaximumSetGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.generateGcpTemplates()
+ .postWithResponse(new GenerateGcpTemplateRequest().withConnectorId("lvrdneuerxztxiixlzswcbm"),
+ com.azure.core.util.Context.NONE);
+ }
+
+ // Use "Map.of" if available
+ @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/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryGetSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryGetSamples.java
index 0ac2cc657b5a..81caaa6def3c 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryGetSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryGetSamples.java
@@ -9,15 +9,18 @@
*/
public final class InventoryGetSamples {
/*
- * x-ms-original-file: 2024-12-01/Inventory_Get.json
+ * x-ms-original-file: 2027-01-01/Inventory_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: Inventory_Get.
+ * Sample code: Inventory_Get - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void inventoryGet(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void inventoryGetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.inventories()
- .getWithResponse("ymuj", "zarfsraogroxlaqjjnwixtn", "xofprmcboosrbd", com.azure.core.util.Context.NONE);
+ .getWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "abc", "pr", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryListBySolutionConfigurationSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryListBySolutionConfigurationSamples.java
index d721efdc05fe..1ddfccd2a7b8 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryListBySolutionConfigurationSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryListBySolutionConfigurationSamples.java
@@ -9,15 +9,18 @@
*/
public final class InventoryListBySolutionConfigurationSamples {
/*
- * x-ms-original-file: 2024-12-01/Inventory_ListBySolutionConfiguration.json
+ * x-ms-original-file: 2027-01-01/Inventory_ListBySolutionConfiguration_MaximumSet_Gen.json
*/
/**
- * Sample code: Inventory_ListBySolutionConfiguration.
+ * Sample code: Inventory_ListBySolutionConfiguration - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void inventoryListBySolutionConfiguration(
+ public static void inventoryListBySolutionConfigurationGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.inventories().listBySolutionConfiguration("ymuj", "wsxt", com.azure.core.util.Context.NONE);
+ manager.inventories()
+ .listBySolutionConfiguration(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "abc", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/OperationsListSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/OperationsListSamples.java
index cf13aad39e93..9144cbec9ded 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/OperationsListSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/OperationsListSamples.java
@@ -9,14 +9,27 @@
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file: 2024-12-01/OperationsList.json
+ * x-ms-original-file: 2027-01-01/Operations_List_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityOperationsList.
+ * Sample code: HybridConnectivityOperationsList - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityOperationsList(
+ public static void hybridConnectivityOperationsListGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.operations().list(com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/Operations_List_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: HybridConnectivityOperationsList - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void hybridConnectivityOperationsListGeneratedByMinimumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.operations().list(com.azure.core.util.Context.NONE);
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsCreateOrUpdateSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsCreateOrUpdateSamples.java
index c549e8bc5cf3..d74214f585f8 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsCreateOrUpdateSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsCreateOrUpdateSamples.java
@@ -5,6 +5,9 @@
package com.azure.resourcemanager.hybridconnectivity.generated;
import com.azure.resourcemanager.hybridconnectivity.models.AwsCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpProjectProperties;
import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorProperties;
import java.util.Arrays;
@@ -16,24 +19,32 @@
*/
public final class PublicCloudConnectorsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_CreateOrUpdate.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_CreateOrUpdate.
+ * Sample code: PublicCloudConnectors_CreateOrUpdate - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void publicCloudConnectorsCreateOrUpdate(
+ public static void publicCloudConnectorsCreateOrUpdateGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.publicCloudConnectors()
- .define("advjwoakdusalamomg")
+ .define("abc")
.withRegion("jpiglusfxynfcewcjwvvnn")
- .withExistingResourceGroup("rgpublicCloud")
+ .withExistingResourceGroup("rghybridconnectivity")
.withTags(mapOf())
.withProperties(new PublicCloudConnectorProperties()
.withAwsCloudProfile(new AwsCloudProfile().withAccountId("snbnuxckevyqpm")
.withExcludedAccounts(Arrays.asList("rwgqpukglvbqmogqcliqolucp"))
.withIsOrganizationalAccount(true))
+ .withGcpCloudProfile(new GcpCloudProfile()
+ .withProjectProperties(
+ new GcpProjectProperties().withProjectNumber("mjubieitixhpm").withProjectId("mjubieitixhpmid"))
+ .withOrganizationProperties(new GcpOrganizationProperties().withOrganizationId("vqlzghfdinlamurmg")
+ .withManagementProjectNumber("mjubieitixhpm")
+ .withManagementProjectId("mjubieitixhpmid")
+ .withExcludedProjectNumbers(Arrays.asList("sepdnfxmhcrubtklwllxfbhju"))
+ .withExcludedFolderIds(Arrays.asList("xxl"))))
.withHostType(HostType.AWS))
.create();
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsDeleteSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsDeleteSamples.java
index 46016a19193e..57dd93dd978d 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsDeleteSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsDeleteSamples.java
@@ -9,17 +9,16 @@
*/
public final class PublicCloudConnectorsDeleteSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_Delete.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_Delete.
+ * Sample code: PublicCloudConnectors_Delete - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- publicCloudConnectorsDelete(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void publicCloudConnectorsDeleteGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.publicCloudConnectors()
- .deleteByResourceGroupWithResponse("rgpublicCloud", "skcfyjvflkhibdywjay",
- com.azure.core.util.Context.NONE);
+ .deleteByResourceGroupWithResponse("rghybridconnectivity", "abc", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsGetByResourceGroupSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsGetByResourceGroupSamples.java
index 4fd95a71ce04..310ef8d76c7f 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsGetByResourceGroupSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsGetByResourceGroupSamples.java
@@ -9,17 +9,16 @@
*/
public final class PublicCloudConnectorsGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_Get.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_Get.
+ * Sample code: PublicCloudConnectors_Get - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- publicCloudConnectorsGet(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void publicCloudConnectorsGetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.publicCloudConnectors()
- .getByResourceGroupWithResponse("rgpublicCloud", "rzygvnpsnrdylwzdbsscjazvamyxmh",
- com.azure.core.util.Context.NONE);
+ .getByResourceGroupWithResponse("rghybridconnectivity", "abc", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListByResourceGroupSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListByResourceGroupSamples.java
index 1576b5aa647f..e912ccc3cbc5 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListByResourceGroupSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListByResourceGroupSamples.java
@@ -9,15 +9,28 @@
*/
public final class PublicCloudConnectorsListByResourceGroupSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_ListByResourceGroup.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_ListByResourceGroup.
+ * Sample code: PublicCloudConnectors_ListByResourceGroup - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void publicCloudConnectorsListByResourceGroup(
+ public static void publicCloudConnectorsListByResourceGroupGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.publicCloudConnectors().listByResourceGroup("rgpublicCloud", com.azure.core.util.Context.NONE);
+ manager.publicCloudConnectors().listByResourceGroup("rghybridconnectivity", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_ListByResourceGroup_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: PublicCloudConnectors_ListByResourceGroup - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void publicCloudConnectorsListByResourceGroupGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.publicCloudConnectors().listByResourceGroup("rghybridconnectivity", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListSamples.java
index d9a4b2f7f823..b947962d251d 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListSamples.java
@@ -9,14 +9,27 @@
*/
public final class PublicCloudConnectorsListSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_ListBySubscription.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_ListBySubscription_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_ListBySubscription.
+ * Sample code: PublicCloudConnectors_ListBySubscription - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void publicCloudConnectorsListBySubscription(
+ public static void publicCloudConnectorsListBySubscriptionGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.publicCloudConnectors().list(com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_ListBySubscription_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: PublicCloudConnectors_ListBySubscription - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void publicCloudConnectorsListBySubscriptionGeneratedByMinimumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.publicCloudConnectors().list(com.azure.core.util.Context.NONE);
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsTestPermissionsSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsTestPermissionsSamples.java
index 19344a13dc02..a005d77ab3e4 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsTestPermissionsSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsTestPermissionsSamples.java
@@ -9,16 +9,16 @@
*/
public final class PublicCloudConnectorsTestPermissionsSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_TestPermissions.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_TestPermissions_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_TestPermissions.
+ * Sample code: PublicCloudConnectors_TestPermissions - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void publicCloudConnectorsTestPermissions(
+ public static void publicCloudConnectorsTestPermissionsGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.publicCloudConnectors()
- .testPermissions("rgpublicCloud", "rzygvnpsnrdylwzdbsscjazvamyxmh", com.azure.core.util.Context.NONE);
+ .testPermissions("rghybridconnectivity", "abc", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsUpdateSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsUpdateSamples.java
index a67a94a5174a..7b040a18e4d6 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsUpdateSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsUpdateSamples.java
@@ -16,18 +16,17 @@
*/
public final class PublicCloudConnectorsUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/PublicCloudConnectors_Update.json
+ * x-ms-original-file: 2027-01-01/PublicCloudConnectors_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: PublicCloudConnectors_Update.
+ * Sample code: PublicCloudConnectors_Update - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- publicCloudConnectorsUpdate(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void publicCloudConnectorsUpdateGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
PublicCloudConnector resource = manager.publicCloudConnectors()
- .getByResourceGroupWithResponse("rgpublicCloud", "svtirlbyqpepbzyessjenlueeznhg",
- com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("rghybridconnectivity", "abc", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
.withTags(mapOf())
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsCreateOrupdateSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsCreateOrupdateSamples.java
index 1290ee2e619c..a216ca440709 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsCreateOrupdateSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsCreateOrupdateSamples.java
@@ -11,41 +11,23 @@
*/
public final class ServiceConfigurationsCreateOrupdateSamples {
/*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsPutWAC.json
+ * x-ms-original-file: 2027-01-01/ServiceConfigurations_CreateOrupdate_MaximumSet_Gen.json
*/
/**
- * Sample code: ServiceConfigurationsPutWAC.
+ * Sample code: ServiceConfigurationsPutSSH - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- serviceConfigurationsPutWAC(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void serviceConfigurationsPutSSHGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.serviceConfigurations()
- .define("WAC")
+ .define("inlnklujw")
.withExistingEndpoint(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default")
- .withServiceName(ServiceName.WAC)
- .withPort(6516L)
- .create();
- }
-
- /*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsPutSSH.json
- */
- /**
- * Sample code: ServiceConfigurationsPutSSH.
- *
- * @param manager Entry point to HybridConnectivityManager.
- */
- public static void
- serviceConfigurationsPutSSH(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.serviceConfigurations()
- .define("SSH")
- .withExistingEndpoint(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default")
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "djevinbielhfx")
.withServiceName(ServiceName.SSH)
+ .withResourceId(
+ "/subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
.withPort(22L)
.create();
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsDeleteSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsDeleteSamples.java
index 0b049de5ce74..412df544eb40 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsDeleteSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsDeleteSamples.java
@@ -9,18 +9,34 @@
*/
public final class ServiceConfigurationsDeleteSamples {
/*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsDeleteSSH.json
+ * x-ms-original-file: 2027-01-01/ServiceConfigurations_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: ServiceConfigurationsDeleteSSH.
+ * Sample code: ServiceConfigurationsDeleteSSH - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- serviceConfigurationsDeleteSSH(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void serviceConfigurationsDeleteSSHGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.serviceConfigurations()
.deleteWithResponse(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default", "SSH", com.azure.core.util.Context.NONE);
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "ureaofizl", "ptkmrkoxmvcmvhdzxkd", com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/ServiceConfigurations_Delete_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: ServiceConfigurationsDeleteSSH - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void serviceConfigurationsDeleteSSHGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.serviceConfigurations()
+ .deleteWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "ykrzxbnhnszoikyge", "qwaxkaulnvwsspqjblxrlxtlyfr", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsGetSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsGetSamples.java
index 5ad94fa877eb..cd90c2e2321d 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsGetSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsGetSamples.java
@@ -9,34 +9,18 @@
*/
public final class ServiceConfigurationsGetSamples {
/*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsGetWAC.json
+ * x-ms-original-file: 2027-01-01/ServiceConfigurations_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: HybridConnectivityEndpointsServiceconfigurationsGetWAC.
+ * Sample code: HybridConnectivityEndpointsServiceconfigurationsGetSSH - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void hybridConnectivityEndpointsServiceconfigurationsGetWAC(
+ public static void hybridConnectivityEndpointsServiceconfigurationsGetSSHGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.serviceConfigurations()
.getWithResponse(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default", "WAC", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsGetSSH.json
- */
- /**
- * Sample code: HybridConnectivityEndpointsServiceconfigurationsGetSSH.
- *
- * @param manager Entry point to HybridConnectivityManager.
- */
- public static void hybridConnectivityEndpointsServiceconfigurationsGetSSH(
- com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.serviceConfigurations()
- .getWithResponse(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default", "SSH", com.azure.core.util.Context.NONE);
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "qxkrgoqcdbdduowdxphfmfjpe", "bdahzuetmihmfsvxrtegqzkybmjbfu", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsListByEndpointResourceSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsListByEndpointResourceSamples.java
index 4cb4db565bfc..bacda668f3c1 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsListByEndpointResourceSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsListByEndpointResourceSamples.java
@@ -9,18 +9,18 @@
*/
public final class ServiceConfigurationsListByEndpointResourceSamples {
/*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsList.json
+ * x-ms-original-file: 2027-01-01/ServiceConfigurations_ListByEndpointResource_MaximumSet_Gen.json
*/
/**
- * Sample code: GetClustersExample.
+ * Sample code: GetClustersExample - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- getClustersExample(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void getClustersExampleGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.serviceConfigurations()
.listByEndpointResource(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default", com.azure.core.util.Context.NONE);
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "azklihfwffrqohr", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsUpdateSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsUpdateSamples.java
index 892ed1ebbca2..4295d42a9d3b 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsUpdateSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsUpdateSamples.java
@@ -11,19 +11,19 @@
*/
public final class ServiceConfigurationsUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/ServiceConfigurationsPatchSSH.json
+ * x-ms-original-file: 2027-01-01/ServiceConfigurations_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: ServiceConfigurationsPatchSSH.
+ * Sample code: ServiceConfigurationsPatchSSH - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- serviceConfigurationsPatchSSH(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void serviceConfigurationsPatchSSHGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
ServiceConfigurationResource resource = manager.serviceConfigurations()
.getWithResponse(
- "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine/providers/Microsoft.HybridConnectivity/endpoints/default",
- "default", "SSH", com.azure.core.util.Context.NONE)
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "bsbpgdlspjhyjgpoxxsoptu", "dcdbyycehygofsazwxadc", com.azure.core.util.Context.NONE)
.getValue();
resource.update().withPort(22L).apply();
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsCreateOrUpdateSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsCreateOrUpdateSamples.java
index 0844d06be360..6c36712ac685 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsCreateOrUpdateSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsCreateOrUpdateSamples.java
@@ -14,18 +14,19 @@
*/
public final class SolutionConfigurationsCreateOrUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionConfigurations_CreateOrUpdate.json
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionConfigurations_CreateOrUpdate.
+ * Sample code: SolutionConfigurations_CreateOrUpdate - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void solutionConfigurationsCreateOrUpdate(
+ public static void solutionConfigurationsCreateOrUpdateGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.solutionConfigurations()
- .define("keebwujt")
- .withExistingResourceUri("ymuj")
+ .define("abc")
+ .withExistingResourceUri(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine")
.withProperties(new SolutionConfigurationProperties().withSolutionType("nmtqllkyohwtsthxaimsye")
.withSolutionSettings(new SolutionSettings().withAdditionalProperties(mapOf())))
.create();
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsDeleteSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsDeleteSamples.java
index aec4a6ef13dd..a930f1ed6e52 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsDeleteSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsDeleteSamples.java
@@ -9,16 +9,18 @@
*/
public final class SolutionConfigurationsDeleteSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionConfigurations_Delete.json
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionConfigurations_Delete.
+ * Sample code: SolutionConfigurations_Delete - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- solutionConfigurationsDelete(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void solutionConfigurationsDeleteGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.solutionConfigurations()
- .deleteByResourceGroupWithResponse("ymuj", "stu", com.azure.core.util.Context.NONE);
+ .deleteByResourceGroupWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "abc", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsGetSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsGetSamples.java
index 32cebf524f6b..ab3cca7a6da2 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsGetSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsGetSamples.java
@@ -9,15 +9,18 @@
*/
public final class SolutionConfigurationsGetSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionConfigurations_Get.json
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionConfigurations_Get.
+ * Sample code: SolutionConfigurations_Get - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- solutionConfigurationsGet(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.solutionConfigurations().getWithResponse("ymuj", "tks", com.azure.core.util.Context.NONE);
+ public static void solutionConfigurationsGetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.solutionConfigurations()
+ .getWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "abc", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsListSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsListSamples.java
index 6f560d2c5063..21fce9a7a0f0 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsListSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsListSamples.java
@@ -9,15 +9,34 @@
*/
public final class SolutionConfigurationsListSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionConfigurations_List.json
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_List_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionConfigurations_List.
+ * Sample code: SolutionConfigurations_List - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- solutionConfigurationsList(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.solutionConfigurations().list("ymuj", com.azure.core.util.Context.NONE);
+ public static void solutionConfigurationsListGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.solutionConfigurations()
+ .list(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ com.azure.core.util.Context.NONE);
+ }
+
+ /*
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_List_MinimumSet_Gen.json
+ */
+ /**
+ * Sample code: SolutionConfigurations_List - generated by [MinimumSet] rule.
+ *
+ * @param manager Entry point to HybridConnectivityManager.
+ */
+ public static void solutionConfigurationsListGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.solutionConfigurations()
+ .list(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsSyncNowSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsSyncNowSamples.java
index 769eab60830f..9eaa0a5265be 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsSyncNowSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsSyncNowSamples.java
@@ -9,15 +9,18 @@
*/
public final class SolutionConfigurationsSyncNowSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionConfigurations_SyncNow.json
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_SyncNow_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionConfigurations_SyncNow.
+ * Sample code: SolutionConfigurations_SyncNow - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- solutionConfigurationsSyncNow(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.solutionConfigurations().syncNow("ymuj", "tks", com.azure.core.util.Context.NONE);
+ public static void solutionConfigurationsSyncNowGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ manager.solutionConfigurations()
+ .syncNow(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "abc", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsUpdateSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsUpdateSamples.java
index 4449aa4df4d9..9aaa58069ab4 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsUpdateSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsUpdateSamples.java
@@ -15,17 +15,19 @@
*/
public final class SolutionConfigurationsUpdateSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionConfigurations_Update.json
+ * x-ms-original-file: 2027-01-01/SolutionConfigurations_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionConfigurations_Update.
+ * Sample code: SolutionConfigurations_Update - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- solutionConfigurationsUpdate(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void solutionConfigurationsUpdateGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
SolutionConfiguration resource = manager.solutionConfigurations()
- .getWithResponse("ymuj", "dxt", com.azure.core.util.Context.NONE)
+ .getWithResponse(
+ "subscriptions/f5bcc1d9-23af-4ae9-aca1-041d0f593a63/resourceGroups/hybridRG/providers/Microsoft.HybridCompute/machines/testMachine",
+ "abc", com.azure.core.util.Context.NONE)
.getValue();
resource.update()
.withProperties(new SolutionConfigurationPropertiesUpdate().withSolutionType("myzljlstvmgkp")
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesGetByResourceGroupSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesGetByResourceGroupSamples.java
index 4f2a63534989..a136023dfec0 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesGetByResourceGroupSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesGetByResourceGroupSamples.java
@@ -9,16 +9,17 @@
*/
public final class SolutionTypesGetByResourceGroupSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionTypes_Get.json
+ * x-ms-original-file: 2027-01-01/SolutionTypes_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTypes_Get.
+ * Sample code: SolutionTypes_Get - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void
- solutionTypesGet(com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
+ public static void solutionTypesGetGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.solutionTypes()
- .getByResourceGroupWithResponse("rgpublicCloud", "lulzqllpu", com.azure.core.util.Context.NONE);
+ .getByResourceGroupWithResponse("rghybridconnectivity", "uekzhgszlxyljiagul",
+ com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListByResourceGroupSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListByResourceGroupSamples.java
index a074bba19d9e..06ea3bad8699 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListByResourceGroupSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListByResourceGroupSamples.java
@@ -9,15 +9,15 @@
*/
public final class SolutionTypesListByResourceGroupSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionTypes_ListByResourceGroup.json
+ * x-ms-original-file: 2027-01-01/SolutionTypes_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTypes_ListByResourceGroup.
+ * Sample code: SolutionTypes_ListByResourceGroup - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void solutionTypesListByResourceGroup(
+ public static void solutionTypesListByResourceGroupGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
- manager.solutionTypes().listByResourceGroup("rgpublicCloud", com.azure.core.util.Context.NONE);
+ manager.solutionTypes().listByResourceGroup("rghybridconnectivity", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListSamples.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListSamples.java
index c9d34cfc970e..7275c4c656ed 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListSamples.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/samples/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListSamples.java
@@ -9,14 +9,14 @@
*/
public final class SolutionTypesListSamples {
/*
- * x-ms-original-file: 2024-12-01/SolutionTypes_ListBySubscription.json
+ * x-ms-original-file: 2027-01-01/SolutionTypes_ListBySubscription_MaximumSet_Gen.json
*/
/**
- * Sample code: SolutionTypes_ListBySubscription.
+ * Sample code: SolutionTypes_ListBySubscription - generated by [MaximumSet] rule.
*
* @param manager Entry point to HybridConnectivityManager.
*/
- public static void solutionTypesListBySubscription(
+ public static void solutionTypesListBySubscriptionGeneratedByMaximumSetRule(
com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager manager) {
manager.solutionTypes().list(com.azure.core.util.Context.NONE);
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/AwsCloudProfileTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/AwsCloudProfileTests.java
index 644cf0dae487..70a14d0a74d5 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/AwsCloudProfileTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/AwsCloudProfileTests.java
@@ -13,21 +13,21 @@ public final class AwsCloudProfileTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
AwsCloudProfile model = BinaryData.fromString(
- "{\"accountId\":\"i\",\"excludedAccounts\":[\"npvswjdkirso\",\"dqxhcrmnohjtckwh\",\"soifiyipjxsqw\",\"gr\"],\"isOrganizationalAccount\":false}")
+ "{\"accountId\":\"hcbonqvpkvlr\",\"excludedAccounts\":[\"ea\",\"eipheoflokeyy\"],\"isOrganizationalAccount\":false}")
.toObject(AwsCloudProfile.class);
- Assertions.assertEquals("i", model.accountId());
- Assertions.assertEquals("npvswjdkirso", model.excludedAccounts().get(0));
+ Assertions.assertEquals("hcbonqvpkvlr", model.accountId());
+ Assertions.assertEquals("ea", model.excludedAccounts().get(0));
Assertions.assertFalse(model.isOrganizationalAccount());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- AwsCloudProfile model = new AwsCloudProfile().withAccountId("i")
- .withExcludedAccounts(Arrays.asList("npvswjdkirso", "dqxhcrmnohjtckwh", "soifiyipjxsqw", "gr"))
+ AwsCloudProfile model = new AwsCloudProfile().withAccountId("hcbonqvpkvlr")
+ .withExcludedAccounts(Arrays.asList("ea", "eipheoflokeyy"))
.withIsOrganizationalAccount(false);
model = BinaryData.fromObject(model).toObject(AwsCloudProfile.class);
- Assertions.assertEquals("i", model.accountId());
- Assertions.assertEquals("npvswjdkirso", model.excludedAccounts().get(0));
+ Assertions.assertEquals("hcbonqvpkvlr", model.accountId());
+ Assertions.assertEquals("ea", model.excludedAccounts().get(0));
Assertions.assertFalse(model.isOrganizationalAccount());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/AwsCloudProfileUpdateTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/AwsCloudProfileUpdateTests.java
index 314eff40c9c5..7c1b90e9043c 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/AwsCloudProfileUpdateTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/AwsCloudProfileUpdateTests.java
@@ -12,16 +12,16 @@
public final class AwsCloudProfileUpdateTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- AwsCloudProfileUpdate model = BinaryData.fromString("{\"excludedAccounts\":[\"exhd\",\"xibqeojnx\"]}")
+ AwsCloudProfileUpdate model = BinaryData.fromString("{\"excludedAccounts\":[\"oaeupfhyhltrpmo\"]}")
.toObject(AwsCloudProfileUpdate.class);
- Assertions.assertEquals("exhd", model.excludedAccounts().get(0));
+ Assertions.assertEquals("oaeupfhyhltrpmo", model.excludedAccounts().get(0));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
AwsCloudProfileUpdate model
- = new AwsCloudProfileUpdate().withExcludedAccounts(Arrays.asList("exhd", "xibqeojnx"));
+ = new AwsCloudProfileUpdate().withExcludedAccounts(Arrays.asList("oaeupfhyhltrpmo"));
model = BinaryData.fromObject(model).toObject(AwsCloudProfileUpdate.class);
- Assertions.assertEquals("exhd", model.excludedAccounts().get(0));
+ Assertions.assertEquals("oaeupfhyhltrpmo", model.excludedAccounts().get(0));
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsCreateOrUpdateWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsCreateOrUpdateWithResponseMockTests.java
index 1b5951da2692..cbdf2e5485ac 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsCreateOrUpdateWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsCreateOrUpdateWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class EndpointsCreateOrUpdateWithResponseMockTests {
@Test
public void testCreateOrUpdateWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"type\":\"default\",\"resourceId\":\"mbes\",\"provisioningState\":\"nkww\"},\"id\":\"pjflcxogao\",\"name\":\"onz\",\"type\":\"nsikvmkqzeqqkdl\"}";
+ = "{\"properties\":{\"type\":\"default\",\"resourceId\":\"jfqka\",\"provisioningState\":\"wiipfpub\"},\"id\":\"bwwift\",\"name\":\"hqkvpuvksgplsak\",\"type\":\"ynfs\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,12 +33,12 @@ public void testCreateOrUpdateWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
EndpointResource response = manager.endpoints()
- .define("cers")
- .withExistingResourceUri("ylpstdbhhxsrzdz")
- .withProperties(new EndpointProperties().withType(Type.DEFAULT).withResourceId("nevf"))
+ .define("lpichk")
+ .withExistingResourceUri("nn")
+ .withProperties(new EndpointProperties().withType(Type.CUSTOM).withResourceId("cdyhbpkkpwdreqn"))
.create();
Assertions.assertEquals(Type.DEFAULT, response.properties().type());
- Assertions.assertEquals("mbes", response.properties().resourceId());
+ Assertions.assertEquals("jfqka", response.properties().resourceId());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsDeleteByResourceGroupWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsDeleteByResourceGroupWithResponseMockTests.java
index 247dd611e8f9..561e3e6afb5f 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsDeleteByResourceGroupWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsDeleteByResourceGroupWithResponseMockTests.java
@@ -27,8 +27,7 @@ public void testDeleteWithResponse() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- manager.endpoints()
- .deleteByResourceGroupWithResponse("mcbxvwvxysl", "bhsfxob", com.azure.core.util.Context.NONE);
+ manager.endpoints().deleteByResourceGroupWithResponse("yzvqt", "nubexk", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsGetWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsGetWithResponseMockTests.java
index 604726a877cf..79050a2959d3 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsGetWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsGetWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class EndpointsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"type\":\"default\",\"resourceId\":\"xxjyngudivkrtsw\",\"provisioningState\":\"qzvszjf\"},\"id\":\"vjfdx\",\"name\":\"ivetvtcq\",\"type\":\"qtdo\"}";
+ = "{\"properties\":{\"type\":\"custom\",\"resourceId\":\"uicpd\",\"provisioningState\":\"kzzlvmbmpaxmodf\"},\"id\":\"efyw\",\"name\":\"bpfvm\",\"type\":\"yhrfouyftaakcpw\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,10 +32,10 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
EndpointResource response = manager.endpoints()
- .getWithResponse("stmgrcfbunrmfqjh", "kxbpvj", com.azure.core.util.Context.NONE)
+ .getWithResponse("mgxcxrslpm", "twuoegrpkhjwni", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals(Type.DEFAULT, response.properties().type());
- Assertions.assertEquals("xxjyngudivkrtsw", response.properties().resourceId());
+ Assertions.assertEquals(Type.CUSTOM, response.properties().type());
+ Assertions.assertEquals("uicpd", response.properties().resourceId());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListManagedProxyDetailsWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListManagedProxyDetailsWithResponseMockTests.java
index 748be42dc0cb..a2beb3b08c05 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListManagedProxyDetailsWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListManagedProxyDetailsWithResponseMockTests.java
@@ -22,7 +22,7 @@
public final class EndpointsListManagedProxyDetailsWithResponseMockTests {
@Test
public void testListManagedProxyDetailsWithResponse() throws Exception {
- String responseStr = "{\"proxy\":\"zbn\",\"expiresOn\":1564863042825261686}";
+ String responseStr = "{\"proxy\":\"whhmhykojo\",\"expiresOn\":3465382466938026517}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,12 +32,14 @@ public void testListManagedProxyDetailsWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ManagedProxyResource response = manager.endpoints()
- .listManagedProxyDetailsWithResponse("mdnbbglzpswiy", "mcwyhzdxssadb",
- new ManagedProxyRequest().withService("mnvdfzn").withHostname("ao").withServiceName(ServiceName.SSH),
+ .listManagedProxyDetailsWithResponse("aasipqi", "obyu",
+ new ManagedProxyRequest().withService("erpqlpqwcciuqg")
+ .withHostname("butauvfb")
+ .withServiceName(ServiceName.WAC),
com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("zbn", response.proxy());
- Assertions.assertEquals(1564863042825261686L, response.expiresOn());
+ Assertions.assertEquals("whhmhykojo", response.proxy());
+ Assertions.assertEquals(3465382466938026517L, response.expiresOn());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListMockTests.java
index 69ff0ab2c2c8..900dc7b8c2d7 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/EndpointsListMockTests.java
@@ -23,7 +23,7 @@ public final class EndpointsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"type\":\"custom\",\"resourceId\":\"krvrns\",\"provisioningState\":\"hqjohxcrsbfova\"},\"id\":\"ruvw\",\"name\":\"hsqfsubcgjbirxbp\",\"type\":\"bsrfbj\"}]}";
+ = "{\"value\":[{\"properties\":{\"type\":\"custom\",\"resourceId\":\"vypomgkopkwho\",\"provisioningState\":\"pajqgxysm\"},\"id\":\"mbqfqvmk\",\"name\":\"xozap\",\"type\":\"helxprglya\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,9 +33,9 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.endpoints().list("ytkblmpew", com.azure.core.util.Context.NONE);
+ = manager.endpoints().list("zksmondj", com.azure.core.util.Context.NONE);
Assertions.assertEquals(Type.CUSTOM, response.iterator().next().properties().type());
- Assertions.assertEquals("krvrns", response.iterator().next().properties().resourceId());
+ Assertions.assertEquals("vypomgkopkwho", response.iterator().next().properties().resourceId());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpCloudProfileTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpCloudProfileTests.java
new file mode 100644
index 000000000000..9304d448ca76
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpCloudProfileTests.java
@@ -0,0 +1,47 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpProjectProperties;
+import java.util.Arrays;
+import org.junit.jupiter.api.Assertions;
+
+public final class GcpCloudProfileTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ GcpCloudProfile model = BinaryData.fromString(
+ "{\"projectProperties\":{\"projectNumber\":\"idtqajzyu\",\"projectId\":\"pku\"},\"organizationProperties\":{\"organizationId\":\"krlkhbzhfepg\",\"managementProjectNumber\":\"gqexzlocxs\",\"managementProjectId\":\"paierh\",\"excludedProjectNumbers\":[\"sglumma\",\"tjaodxobnb\"],\"excludedFolderIds\":[\"qp\"]}}")
+ .toObject(GcpCloudProfile.class);
+ Assertions.assertEquals("idtqajzyu", model.projectProperties().projectNumber());
+ Assertions.assertEquals("pku", model.projectProperties().projectId());
+ Assertions.assertEquals("krlkhbzhfepg", model.organizationProperties().organizationId());
+ Assertions.assertEquals("gqexzlocxs", model.organizationProperties().managementProjectNumber());
+ Assertions.assertEquals("paierh", model.organizationProperties().managementProjectId());
+ Assertions.assertEquals("sglumma", model.organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("qp", model.organizationProperties().excludedFolderIds().get(0));
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ GcpCloudProfile model = new GcpCloudProfile()
+ .withProjectProperties(new GcpProjectProperties().withProjectNumber("idtqajzyu").withProjectId("pku"))
+ .withOrganizationProperties(new GcpOrganizationProperties().withOrganizationId("krlkhbzhfepg")
+ .withManagementProjectNumber("gqexzlocxs")
+ .withManagementProjectId("paierh")
+ .withExcludedProjectNumbers(Arrays.asList("sglumma", "tjaodxobnb"))
+ .withExcludedFolderIds(Arrays.asList("qp")));
+ model = BinaryData.fromObject(model).toObject(GcpCloudProfile.class);
+ Assertions.assertEquals("idtqajzyu", model.projectProperties().projectNumber());
+ Assertions.assertEquals("pku", model.projectProperties().projectId());
+ Assertions.assertEquals("krlkhbzhfepg", model.organizationProperties().organizationId());
+ Assertions.assertEquals("gqexzlocxs", model.organizationProperties().managementProjectNumber());
+ Assertions.assertEquals("paierh", model.organizationProperties().managementProjectId());
+ Assertions.assertEquals("sglumma", model.organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("qp", model.organizationProperties().excludedFolderIds().get(0));
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpCloudProfileUpdateTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpCloudProfileUpdateTests.java
new file mode 100644
index 000000000000..914b8bf19147
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpCloudProfileUpdateTests.java
@@ -0,0 +1,32 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfileUpdate;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationPropertiesUpdate;
+import java.util.Arrays;
+import org.junit.jupiter.api.Assertions;
+
+public final class GcpCloudProfileUpdateTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ GcpCloudProfileUpdate model = BinaryData.fromString(
+ "{\"organizationProperties\":{\"excludedProjectNumbers\":[\"matuok\"],\"excludedFolderIds\":[\"uiuaodsfcpkvxodp\"]}}")
+ .toObject(GcpCloudProfileUpdate.class);
+ Assertions.assertEquals("matuok", model.organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("uiuaodsfcpkvxodp", model.organizationProperties().excludedFolderIds().get(0));
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ GcpCloudProfileUpdate model = new GcpCloudProfileUpdate().withOrganizationProperties(
+ new GcpOrganizationPropertiesUpdate().withExcludedProjectNumbers(Arrays.asList("matuok"))
+ .withExcludedFolderIds(Arrays.asList("uiuaodsfcpkvxodp")));
+ model = BinaryData.fromObject(model).toObject(GcpCloudProfileUpdate.class);
+ Assertions.assertEquals("matuok", model.organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("uiuaodsfcpkvxodp", model.organizationProperties().excludedFolderIds().get(0));
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpOrganizationPropertiesTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpOrganizationPropertiesTests.java
new file mode 100644
index 000000000000..dc5ced5210e3
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpOrganizationPropertiesTests.java
@@ -0,0 +1,39 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationProperties;
+import java.util.Arrays;
+import org.junit.jupiter.api.Assertions;
+
+public final class GcpOrganizationPropertiesTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ GcpOrganizationProperties model = BinaryData.fromString(
+ "{\"organizationId\":\"po\",\"managementProjectNumber\":\"gmaajrm\",\"managementProjectId\":\"djwzrlov\",\"excludedProjectNumbers\":[\"whijcoejctbza\",\"s\",\"sycbkbfk\",\"ukdkexxppofmxa\"],\"excludedFolderIds\":[\"jpgd\",\"toc\",\"j\",\"hvpmoue\"]}")
+ .toObject(GcpOrganizationProperties.class);
+ Assertions.assertEquals("po", model.organizationId());
+ Assertions.assertEquals("gmaajrm", model.managementProjectNumber());
+ Assertions.assertEquals("djwzrlov", model.managementProjectId());
+ Assertions.assertEquals("whijcoejctbza", model.excludedProjectNumbers().get(0));
+ Assertions.assertEquals("jpgd", model.excludedFolderIds().get(0));
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ GcpOrganizationProperties model = new GcpOrganizationProperties().withOrganizationId("po")
+ .withManagementProjectNumber("gmaajrm")
+ .withManagementProjectId("djwzrlov")
+ .withExcludedProjectNumbers(Arrays.asList("whijcoejctbza", "s", "sycbkbfk", "ukdkexxppofmxa"))
+ .withExcludedFolderIds(Arrays.asList("jpgd", "toc", "j", "hvpmoue"));
+ model = BinaryData.fromObject(model).toObject(GcpOrganizationProperties.class);
+ Assertions.assertEquals("po", model.organizationId());
+ Assertions.assertEquals("gmaajrm", model.managementProjectNumber());
+ Assertions.assertEquals("djwzrlov", model.managementProjectId());
+ Assertions.assertEquals("whijcoejctbza", model.excludedProjectNumbers().get(0));
+ Assertions.assertEquals("jpgd", model.excludedFolderIds().get(0));
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpOrganizationPropertiesUpdateTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpOrganizationPropertiesUpdateTests.java
new file mode 100644
index 000000000000..6a1ab491b150
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpOrganizationPropertiesUpdateTests.java
@@ -0,0 +1,31 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationPropertiesUpdate;
+import java.util.Arrays;
+import org.junit.jupiter.api.Assertions;
+
+public final class GcpOrganizationPropertiesUpdateTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ GcpOrganizationPropertiesUpdate model = BinaryData.fromString(
+ "{\"excludedProjectNumbers\":[\"myzydagfuaxbez\",\"iu\",\"kktwhrdxw\"],\"excludedFolderIds\":[\"q\",\"mbsureximo\"]}")
+ .toObject(GcpOrganizationPropertiesUpdate.class);
+ Assertions.assertEquals("myzydagfuaxbez", model.excludedProjectNumbers().get(0));
+ Assertions.assertEquals("q", model.excludedFolderIds().get(0));
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ GcpOrganizationPropertiesUpdate model = new GcpOrganizationPropertiesUpdate()
+ .withExcludedProjectNumbers(Arrays.asList("myzydagfuaxbez", "iu", "kktwhrdxw"))
+ .withExcludedFolderIds(Arrays.asList("q", "mbsureximo"));
+ model = BinaryData.fromObject(model).toObject(GcpOrganizationPropertiesUpdate.class);
+ Assertions.assertEquals("myzydagfuaxbez", model.excludedProjectNumbers().get(0));
+ Assertions.assertEquals("q", model.excludedFolderIds().get(0));
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpProjectPropertiesTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpProjectPropertiesTests.java
new file mode 100644
index 000000000000..c337c2d55890
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GcpProjectPropertiesTests.java
@@ -0,0 +1,28 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpProjectProperties;
+import org.junit.jupiter.api.Assertions;
+
+public final class GcpProjectPropertiesTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ GcpProjectProperties model
+ = BinaryData.fromString("{\"projectNumber\":\"okaj\",\"projectId\":\"onpimexgstxg\"}")
+ .toObject(GcpProjectProperties.class);
+ Assertions.assertEquals("okaj", model.projectNumber());
+ Assertions.assertEquals("onpimexgstxg", model.projectId());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ GcpProjectProperties model = new GcpProjectProperties().withProjectNumber("okaj").withProjectId("onpimexgstxg");
+ model = BinaryData.fromObject(model).toObject(GcpProjectProperties.class);
+ Assertions.assertEquals("okaj", model.projectNumber());
+ Assertions.assertEquals("onpimexgstxg", model.projectId());
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateAwsTemplatesPostWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateAwsTemplatesPostWithResponseMockTests.java
index f7173db00bce..a39c4978896c 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateAwsTemplatesPostWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateAwsTemplatesPostWithResponseMockTests.java
@@ -35,10 +35,9 @@ public void testPostWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
GenerateAwsTemplateResponse response = manager.generateAwsTemplates()
- .postWithResponse(new GenerateAwsTemplateRequest().withConnectorId("ld")
- .withSolutionTypes(Arrays.asList(new SolutionTypeSettings().withSolutionType("xcxrsl")
- .withSolutionSettings(new SolutionSettings().withAdditionalProperties(mapOf("yzvqt",
- "yhrfouyftaakcpw", "luicpdggkzzlvmbm", "iyq", "jw", "wuoegrpk", "wsbpfvm", "axmodfvuef"))))),
+ .postWithResponse(new GenerateAwsTemplateRequest().withConnectorId("rey")
+ .withSolutionTypes(Arrays.asList(new SolutionTypeSettings().withSolutionType("ikf")
+ .withSolutionSettings(new SolutionSettings().withAdditionalProperties(mapOf("c", "eaivxwczel"))))),
com.azure.core.util.Context.NONE)
.getValue();
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateGcpTemplateRequestTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateGcpTemplateRequestTests.java
new file mode 100644
index 000000000000..3b180b306e60
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateGcpTemplateRequestTests.java
@@ -0,0 +1,97 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpProjectProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpTemplateFormat;
+import com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplateRequest;
+import com.azure.resourcemanager.hybridconnectivity.models.SolutionSettings;
+import com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeSettings;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+import org.junit.jupiter.api.Assertions;
+
+public final class GenerateGcpTemplateRequestTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ GenerateGcpTemplateRequest model = BinaryData.fromString(
+ "{\"connectorId\":\"algbquxigjyjg\",\"solutionTypes\":[{\"solutionType\":\"o\",\"solutionSettings\":{\"vlejuvfqa\":\"txilnerkujy\",\"xgjvtbv\":\"rlyxwjkcprbnw\"}},{\"solutionType\":\"ysszdnrujqguh\",\"solutionSettings\":{\"uitnwuiz\":\"qfprwzwbn\",\"x\":\"a\"}},{\"solutionType\":\"fizuckyf\",\"solutionSettings\":{\"zwdzuh\":\"idf\",\"wxmnteiwao\":\"ymwisdkft\"}},{\"solutionType\":\"vkmijcmmxdcuf\",\"solutionSettings\":{\"fycc\":\"pymzidnsezcxtbzs\",\"sflnrosfqp\":\"newmdwzjeiachbo\",\"zvypyqrimzinp\":\"eeh\"}}],\"gcpCloudProfile\":{\"projectProperties\":{\"projectNumber\":\"jdkirsoodqx\",\"projectId\":\"crmnohjtckwhds\"},\"organizationProperties\":{\"organizationId\":\"fiyipjxsqwpgrj\",\"managementProjectNumber\":\"znorcj\",\"managementProjectId\":\"vsnb\",\"excludedProjectNumbers\":[\"abnmocpcyshu\",\"zafb\"],\"excludedFolderIds\":[\"gpbtoqcjmklj\"]}},\"gcpTemplateFormat\":\"terraform\"}")
+ .toObject(GenerateGcpTemplateRequest.class);
+ Assertions.assertEquals("algbquxigjyjg", model.connectorId());
+ Assertions.assertEquals("o", model.solutionTypes().get(0).solutionType());
+ Assertions.assertEquals("rlyxwjkcprbnw",
+ model.solutionTypes().get(0).solutionSettings().additionalProperties().get("xgjvtbv"));
+ Assertions.assertEquals("jdkirsoodqx", model.gcpCloudProfile().projectProperties().projectNumber());
+ Assertions.assertEquals("crmnohjtckwhds", model.gcpCloudProfile().projectProperties().projectId());
+ Assertions.assertEquals("fiyipjxsqwpgrj", model.gcpCloudProfile().organizationProperties().organizationId());
+ Assertions.assertEquals("znorcj", model.gcpCloudProfile().organizationProperties().managementProjectNumber());
+ Assertions.assertEquals("vsnb", model.gcpCloudProfile().organizationProperties().managementProjectId());
+ Assertions.assertEquals("abnmocpcyshu",
+ model.gcpCloudProfile().organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("gpbtoqcjmklj",
+ model.gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
+ Assertions.assertEquals(GcpTemplateFormat.TERRAFORM, model.gcpTemplateFormat());
+ }
+
+ @org.junit.jupiter.api.Test
+ public void testSerialize() throws Exception {
+ GenerateGcpTemplateRequest model
+ = new GenerateGcpTemplateRequest().withConnectorId("algbquxigjyjg")
+ .withSolutionTypes(
+ Arrays.asList(
+ new SolutionTypeSettings().withSolutionType("o")
+ .withSolutionSettings(new SolutionSettings().withAdditionalProperties(
+ mapOf("xgjvtbv", "rlyxwjkcprbnw", "vlejuvfqa", "txilnerkujy"))),
+ new SolutionTypeSettings().withSolutionType("ysszdnrujqguh")
+ .withSolutionSettings(new SolutionSettings()
+ .withAdditionalProperties(mapOf("uitnwuiz", "qfprwzwbn", "x", "a"))),
+ new SolutionTypeSettings().withSolutionType("fizuckyf")
+ .withSolutionSettings(new SolutionSettings()
+ .withAdditionalProperties(mapOf("wxmnteiwao", "ymwisdkft", "zwdzuh", "idf"))),
+ new SolutionTypeSettings().withSolutionType("vkmijcmmxdcuf")
+ .withSolutionSettings(new SolutionSettings().withAdditionalProperties(mapOf("fycc",
+ "pymzidnsezcxtbzs", "zvypyqrimzinp", "eeh", "sflnrosfqp", "newmdwzjeiachbo")))))
+ .withGcpCloudProfile(new GcpCloudProfile()
+ .withProjectProperties(
+ new GcpProjectProperties().withProjectNumber("jdkirsoodqx").withProjectId("crmnohjtckwhds"))
+ .withOrganizationProperties(new GcpOrganizationProperties().withOrganizationId("fiyipjxsqwpgrj")
+ .withManagementProjectNumber("znorcj")
+ .withManagementProjectId("vsnb")
+ .withExcludedProjectNumbers(Arrays.asList("abnmocpcyshu", "zafb"))
+ .withExcludedFolderIds(Arrays.asList("gpbtoqcjmklj"))))
+ .withGcpTemplateFormat(GcpTemplateFormat.TERRAFORM);
+ model = BinaryData.fromObject(model).toObject(GenerateGcpTemplateRequest.class);
+ Assertions.assertEquals("algbquxigjyjg", model.connectorId());
+ Assertions.assertEquals("o", model.solutionTypes().get(0).solutionType());
+ Assertions.assertEquals("rlyxwjkcprbnw",
+ model.solutionTypes().get(0).solutionSettings().additionalProperties().get("xgjvtbv"));
+ Assertions.assertEquals("jdkirsoodqx", model.gcpCloudProfile().projectProperties().projectNumber());
+ Assertions.assertEquals("crmnohjtckwhds", model.gcpCloudProfile().projectProperties().projectId());
+ Assertions.assertEquals("fiyipjxsqwpgrj", model.gcpCloudProfile().organizationProperties().organizationId());
+ Assertions.assertEquals("znorcj", model.gcpCloudProfile().organizationProperties().managementProjectNumber());
+ Assertions.assertEquals("vsnb", model.gcpCloudProfile().organizationProperties().managementProjectId());
+ Assertions.assertEquals("abnmocpcyshu",
+ model.gcpCloudProfile().organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("gpbtoqcjmklj",
+ model.gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
+ Assertions.assertEquals(GcpTemplateFormat.TERRAFORM, model.gcpTemplateFormat());
+ }
+
+ // Use "Map.of" if available
+ @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/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateGcpTemplateResponseInnerTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateGcpTemplateResponseInnerTests.java
new file mode 100644
index 000000000000..a53fcf0c5320
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateGcpTemplateResponseInnerTests.java
@@ -0,0 +1,16 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.generated;
+
+import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.hybridconnectivity.fluent.models.GenerateGcpTemplateResponseInner;
+
+public final class GenerateGcpTemplateResponseInnerTests {
+ @org.junit.jupiter.api.Test
+ public void testDeserialize() throws Exception {
+ GenerateGcpTemplateResponseInner model
+ = BinaryData.fromString("{}").toObject(GenerateGcpTemplateResponseInner.class);
+ }
+}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateGcpTemplatesPostWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateGcpTemplatesPostWithResponseMockTests.java
new file mode 100644
index 000000000000..4747e0254298
--- /dev/null
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/GenerateGcpTemplatesPostWithResponseMockTests.java
@@ -0,0 +1,75 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.hybridconnectivity.generated;
+
+import com.azure.core.credential.AccessToken;
+import com.azure.core.http.HttpClient;
+import com.azure.core.management.profile.AzureProfile;
+import com.azure.core.models.AzureCloud;
+import com.azure.core.test.http.MockHttpResponse;
+import com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpProjectProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpTemplateFormat;
+import com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplateRequest;
+import com.azure.resourcemanager.hybridconnectivity.models.GenerateGcpTemplateResponse;
+import com.azure.resourcemanager.hybridconnectivity.models.SolutionSettings;
+import com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeSettings;
+import java.nio.charset.StandardCharsets;
+import java.time.OffsetDateTime;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+import org.junit.jupiter.api.Test;
+import reactor.core.publisher.Mono;
+
+public final class GenerateGcpTemplatesPostWithResponseMockTests {
+ @Test
+ public void testPostWithResponse() throws Exception {
+ String responseStr = "{}";
+
+ HttpClient httpClient
+ = response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
+ HybridConnectivityManager manager = HybridConnectivityManager.configure()
+ .withHttpClient(httpClient)
+ .authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
+ new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
+
+ GenerateGcpTemplateResponse response = manager.generateGcpTemplates()
+ .postWithResponse(new GenerateGcpTemplateRequest().withConnectorId("r")
+ .withSolutionTypes(Arrays.asList(new SolutionTypeSettings().withSolutionType("feaenwab")
+ .withSolutionSettings(new SolutionSettings().withAdditionalProperties(mapOf("nozj", "lddxbjhwua"))),
+ new SolutionTypeSettings().withSolutionType("sphyoulpjrvxa")
+ .withSolutionSettings(new SolutionSettings()
+ .withAdditionalProperties(mapOf("ekkezzikhlyfjh", "kfcktqum", "itc", "imjwosyt"))),
+ new SolutionTypeSettings().withSolutionType("gqggebdunygae")
+ .withSolutionSettings(new SolutionSettings().withAdditionalProperties(
+ mapOf("a", "qfatpxllrxcyjm", "rw", "wdmjsjqbjhhyx", "duhpk", "yc", "arm", "su")))))
+ .withGcpCloudProfile(new GcpCloudProfile()
+ .withProjectProperties(
+ new GcpProjectProperties().withProjectNumber("ymareqnajxqugj").withProjectId("ky"))
+ .withOrganizationProperties(new GcpOrganizationProperties().withOrganizationId("beddgssofw")
+ .withManagementProjectNumber("mzqa")
+ .withManagementProjectId("krmnjijpxacqqud")
+ .withExcludedProjectNumbers(Arrays.asList("yxbaaabjyvayf", "imrzrtuzqog", "exn"))
+ .withExcludedFolderIds(Arrays.asList("dnw"))))
+ .withGcpTemplateFormat(GcpTemplateFormat.TERRAFORM), com.azure.core.util.Context.NONE)
+ .getValue();
+
+ }
+
+ // Use "Map.of" if available
+ @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/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoriesGetWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoriesGetWithResponseMockTests.java
index bbbfeaa5cec1..7b339518e2ef 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoriesGetWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoriesGetWithResponseMockTests.java
@@ -23,7 +23,7 @@ public final class InventoriesGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"cloudNativeType\":\"ec2\",\"cloudNativeResourceId\":\"sdtclusiypbs\",\"azureResourceId\":\"ytguslf\",\"status\":\"Failed\",\"statusDetails\":\"ygqukyhejh\",\"provisioningState\":\"Failed\"},\"id\":\"gfpelolppvksrpqv\",\"name\":\"jzraehtwdwrf\",\"type\":\"swibyr\"}";
+ = "{\"properties\":{\"cloudNativeType\":\"ec2\",\"cloudNativeResourceId\":\"psew\",\"azureResourceId\":\"oi\",\"status\":\"New\",\"statusDetails\":\"rydxtqm\",\"provisioningState\":\"Canceled\"},\"id\":\"orgguf\",\"name\":\"yaomtb\",\"type\":\"hhavgrvkffovjz\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,13 +33,13 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
InventoryResource response = manager.inventories()
- .getWithResponse("wmsweypqwd", "ggicccnxqhue", "mkttlstvlzywem", com.azure.core.util.Context.NONE)
+ .getWithResponse("unvjsrtkfawnopq", "ikyzirtxdy", "x", com.azure.core.util.Context.NONE)
.getValue();
Assertions.assertEquals(CloudNativeType.EC2, response.properties().cloudNativeType());
- Assertions.assertEquals("sdtclusiypbs", response.properties().cloudNativeResourceId());
- Assertions.assertEquals("ytguslf", response.properties().azureResourceId());
- Assertions.assertEquals(SolutionConfigurationStatus.FAILED, response.properties().status());
- Assertions.assertEquals("ygqukyhejh", response.properties().statusDetails());
+ Assertions.assertEquals("psew", response.properties().cloudNativeResourceId());
+ Assertions.assertEquals("oi", response.properties().azureResourceId());
+ Assertions.assertEquals(SolutionConfigurationStatus.NEW, response.properties().status());
+ Assertions.assertEquals("rydxtqm", response.properties().statusDetails());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoriesListBySolutionConfigurationMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoriesListBySolutionConfigurationMockTests.java
index e18cbe4952e7..69163a4f86ac 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoriesListBySolutionConfigurationMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoriesListBySolutionConfigurationMockTests.java
@@ -24,7 +24,7 @@ public final class InventoriesListBySolutionConfigurationMockTests {
@Test
public void testListBySolutionConfiguration() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"cloudNativeType\":\"ec2\",\"cloudNativeResourceId\":\"racstwity\",\"azureResourceId\":\"evxccedcp\",\"status\":\"Completed\",\"statusDetails\":\"odn\",\"provisioningState\":\"Failed\"},\"id\":\"tjc\",\"name\":\"nhltiugcxn\",\"type\":\"vvwxqi\"}]}";
+ = "{\"value\":[{\"properties\":{\"cloudNativeType\":\"ec2\",\"cloudNativeResourceId\":\"xnbkfezzxscyhwzd\",\"azureResourceId\":\"rujbzbomvzzbtdc\",\"status\":\"Completed\",\"statusDetails\":\"iyujviylwdshfs\",\"provisioningState\":\"Canceled\"},\"id\":\"gy\",\"name\":\"frymsgaojfmwnc\",\"type\":\"tmr\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,14 +33,14 @@ public void testListBySolutionConfiguration() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- PagedIterable response
- = manager.inventories().listBySolutionConfiguration("dl", "h", com.azure.core.util.Context.NONE);
+ PagedIterable response = manager.inventories()
+ .listBySolutionConfiguration("pjbi", "gjmfxumvfcl", com.azure.core.util.Context.NONE);
Assertions.assertEquals(CloudNativeType.EC2, response.iterator().next().properties().cloudNativeType());
- Assertions.assertEquals("racstwity", response.iterator().next().properties().cloudNativeResourceId());
- Assertions.assertEquals("evxccedcp", response.iterator().next().properties().azureResourceId());
+ Assertions.assertEquals("xnbkfezzxscyhwzd", response.iterator().next().properties().cloudNativeResourceId());
+ Assertions.assertEquals("rujbzbomvzzbtdc", response.iterator().next().properties().azureResourceId());
Assertions.assertEquals(SolutionConfigurationStatus.COMPLETED,
response.iterator().next().properties().status());
- Assertions.assertEquals("odn", response.iterator().next().properties().statusDetails());
+ Assertions.assertEquals("iyujviylwdshfs", response.iterator().next().properties().statusDetails());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryPropertiesTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryPropertiesTests.java
index b0877833c2bf..83854d6412f9 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryPropertiesTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryPropertiesTests.java
@@ -14,12 +14,12 @@ public final class InventoryPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
InventoryProperties model = BinaryData.fromString(
- "{\"cloudNativeType\":\"ec2\",\"cloudNativeResourceId\":\"ocukoklyax\",\"azureResourceId\":\"onuq\",\"status\":\"InProgress\",\"statusDetails\":\"beypewrmjmw\",\"provisioningState\":\"Succeeded\"}")
+ "{\"cloudNativeType\":\"ec2\",\"cloudNativeResourceId\":\"i\",\"azureResourceId\":\"kvceoveilovnotyf\",\"status\":\"Completed\",\"statusDetails\":\"jbkcnxdhbttkph\",\"provisioningState\":\"Succeeded\"}")
.toObject(InventoryProperties.class);
Assertions.assertEquals(CloudNativeType.EC2, model.cloudNativeType());
- Assertions.assertEquals("ocukoklyax", model.cloudNativeResourceId());
- Assertions.assertEquals("onuq", model.azureResourceId());
- Assertions.assertEquals(SolutionConfigurationStatus.IN_PROGRESS, model.status());
- Assertions.assertEquals("beypewrmjmw", model.statusDetails());
+ Assertions.assertEquals("i", model.cloudNativeResourceId());
+ Assertions.assertEquals("kvceoveilovnotyf", model.azureResourceId());
+ Assertions.assertEquals(SolutionConfigurationStatus.COMPLETED, model.status());
+ Assertions.assertEquals("jbkcnxdhbttkph", model.statusDetails());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryResourceInnerTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryResourceInnerTests.java
index ad7e65c049ae..2e54b71b62f0 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryResourceInnerTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryResourceInnerTests.java
@@ -14,12 +14,12 @@ public final class InventoryResourceInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
InventoryResourceInner model = BinaryData.fromString(
- "{\"properties\":{\"cloudNativeType\":\"ec2\",\"cloudNativeResourceId\":\"whonowk\",\"azureResourceId\":\"hwankixzbinjepu\",\"status\":\"New\",\"statusDetails\":\"ywnuzoq\",\"provisioningState\":\"Succeeded\"},\"id\":\"qzrnkcqvyxlwhz\",\"name\":\"sicohoqqnwvlry\",\"type\":\"vwhheunmmqhgyx\"}")
+ "{\"properties\":{\"cloudNativeType\":\"ec2\",\"cloudNativeResourceId\":\"baumnyqupedeoj\",\"azureResourceId\":\"bckhsmtxpsi\",\"status\":\"Failed\",\"statusDetails\":\"hvpesapskrdqm\",\"provisioningState\":\"Canceled\"},\"id\":\"htldwk\",\"name\":\"zxuutkncwscwsvl\",\"type\":\"otogtwrupqs\"}")
.toObject(InventoryResourceInner.class);
Assertions.assertEquals(CloudNativeType.EC2, model.properties().cloudNativeType());
- Assertions.assertEquals("whonowk", model.properties().cloudNativeResourceId());
- Assertions.assertEquals("hwankixzbinjepu", model.properties().azureResourceId());
- Assertions.assertEquals(SolutionConfigurationStatus.NEW, model.properties().status());
- Assertions.assertEquals("ywnuzoq", model.properties().statusDetails());
+ Assertions.assertEquals("baumnyqupedeoj", model.properties().cloudNativeResourceId());
+ Assertions.assertEquals("bckhsmtxpsi", model.properties().azureResourceId());
+ Assertions.assertEquals(SolutionConfigurationStatus.FAILED, model.properties().status());
+ Assertions.assertEquals("hvpesapskrdqm", model.properties().statusDetails());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryResourceListResultTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryResourceListResultTests.java
index 384e90c07380..a8994786efe7 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryResourceListResultTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/InventoryResourceListResultTests.java
@@ -14,13 +14,13 @@ public final class InventoryResourceListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
InventoryResourceListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"cloudNativeType\":\"ec2\",\"cloudNativeResourceId\":\"senhwlrs\",\"azureResourceId\":\"rzpwvlqdqgbiq\",\"status\":\"Completed\",\"statusDetails\":\"kaet\",\"provisioningState\":\"Failed\"},\"id\":\"fcivfsnkym\",\"name\":\"ctq\",\"type\":\"jf\"},{\"properties\":{\"cloudNativeType\":\"ec2\",\"cloudNativeResourceId\":\"cxerf\",\"azureResourceId\":\"utttxfvjrbirp\",\"status\":\"Completed\",\"statusDetails\":\"c\",\"provisioningState\":\"Succeeded\"},\"id\":\"fnljky\",\"name\":\"xjvuujqgidokg\",\"type\":\"ljyoxgvcltb\"}],\"nextLink\":\"ncghkje\"}")
+ "{\"value\":[{\"properties\":{\"cloudNativeType\":\"ec2\",\"cloudNativeResourceId\":\"qnermclfplphoxu\",\"azureResourceId\":\"rpabg\",\"status\":\"InProgress\",\"statusDetails\":\"bjtazqugxywpmu\",\"provisioningState\":\"Succeeded\"},\"id\":\"zwfqkqujidsuyon\",\"name\":\"bglaocqxtccm\",\"type\":\"yudxytlmoy\"}],\"nextLink\":\"vwfudwpzntxhd\"}")
.toObject(InventoryResourceListResult.class);
Assertions.assertEquals(CloudNativeType.EC2, model.value().get(0).properties().cloudNativeType());
- Assertions.assertEquals("senhwlrs", model.value().get(0).properties().cloudNativeResourceId());
- Assertions.assertEquals("rzpwvlqdqgbiq", model.value().get(0).properties().azureResourceId());
- Assertions.assertEquals(SolutionConfigurationStatus.COMPLETED, model.value().get(0).properties().status());
- Assertions.assertEquals("kaet", model.value().get(0).properties().statusDetails());
- Assertions.assertEquals("ncghkje", model.nextLink());
+ Assertions.assertEquals("qnermclfplphoxu", model.value().get(0).properties().cloudNativeResourceId());
+ Assertions.assertEquals("rpabg", model.value().get(0).properties().azureResourceId());
+ Assertions.assertEquals(SolutionConfigurationStatus.IN_PROGRESS, model.value().get(0).properties().status());
+ Assertions.assertEquals("bjtazqugxywpmu", model.value().get(0).properties().statusDetails());
+ Assertions.assertEquals("vwfudwpzntxhd", model.nextLink());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/OperationsListMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/OperationsListMockTests.java
index fa0258c84a77..ba79f723b44b 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/OperationsListMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/OperationsListMockTests.java
@@ -21,7 +21,7 @@ public final class OperationsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"name\":\"cwzzhxgktr\",\"isDataAction\":true,\"display\":{\"provider\":\"apkteoellwptfdyg\",\"resource\":\"qbuaceopzfqr\",\"operation\":\"uaopppcqeq\",\"description\":\"lzdahzxctobgbkdm\"},\"origin\":\"user,system\",\"actionType\":\"Internal\"}]}";
+ = "{\"value\":[{\"name\":\"dlxyjrxs\",\"isDataAction\":false,\"display\":{\"provider\":\"nihgwqapnedg\",\"resource\":\"cvkcvqvpkeqdcv\",\"operation\":\"hvoodsotbobzd\",\"description\":\"cjwvn\"},\"origin\":\"user\",\"actionType\":\"Internal\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorInnerTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorInnerTests.java
index 36a51a957e19..80e20b24a3e3 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorInnerTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorInnerTests.java
@@ -7,6 +7,9 @@
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.hybridconnectivity.fluent.models.PublicCloudConnectorInner;
import com.azure.resourcemanager.hybridconnectivity.models.AwsCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpProjectProperties;
import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorProperties;
import java.util.Arrays;
@@ -18,32 +21,60 @@ public final class PublicCloudConnectorInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PublicCloudConnectorInner model = BinaryData.fromString(
- "{\"properties\":{\"awsCloudProfile\":{\"accountId\":\"lgbquxig\",\"excludedAccounts\":[\"gzjaoyfhrtxilne\",\"kujysvlejuvfq\",\"wrlyxwjkcprb\"],\"isOrganizationalAccount\":false},\"hostType\":\"AWS\",\"provisioningState\":\"Canceled\",\"connectorPrimaryIdentifier\":\"tbvpysszdnru\"},\"location\":\"guhmuouqfpr\",\"tags\":{\"nwui\":\"bngui\",\"zuckyfi\":\"gazxuf\",\"htymw\":\"rfidfvzwdz\"},\"id\":\"sdkf\",\"name\":\"hwxmnteiwa\",\"type\":\"pvkmijcmmxdcuf\"}")
+ "{\"properties\":{\"awsCloudProfile\":{\"accountId\":\"zxibqeoj\",\"excludedAccounts\":[\"bzv\",\"dntwndeicbtw\",\"pzaoqvuhr\"],\"isOrganizationalAccount\":false},\"gcpCloudProfile\":{\"projectProperties\":{\"projectNumber\":\"yd\",\"projectId\":\"glmjth\"},\"organizationProperties\":{\"organizationId\":\"kw\",\"managementProjectNumber\":\"yeicxmqciwqvhk\",\"managementProjectId\":\"ixuigdtopbobj\",\"excludedProjectNumbers\":[\"m\"],\"excludedFolderIds\":[\"a\"]}},\"hostType\":\"AWS\",\"provisioningState\":\"Succeeded\",\"connectorPrimaryIdentifier\":\"z\"},\"kind\":\"GCP\",\"location\":\"t\",\"tags\":{\"ftutqxlngxlefgu\":\"dfgiot\",\"qmi\":\"nxkrx\"},\"id\":\"tthzrvqd\",\"name\":\"abhjybi\",\"type\":\"ehoqfbowskan\"}")
.toObject(PublicCloudConnectorInner.class);
- Assertions.assertEquals("guhmuouqfpr", model.location());
- Assertions.assertEquals("bngui", model.tags().get("nwui"));
- Assertions.assertEquals("lgbquxig", model.properties().awsCloudProfile().accountId());
- Assertions.assertEquals("gzjaoyfhrtxilne", model.properties().awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertEquals("t", model.location());
+ Assertions.assertEquals("dfgiot", model.tags().get("ftutqxlngxlefgu"));
+ Assertions.assertEquals("zxibqeoj", model.properties().awsCloudProfile().accountId());
+ Assertions.assertEquals("bzv", model.properties().awsCloudProfile().excludedAccounts().get(0));
Assertions.assertFalse(model.properties().awsCloudProfile().isOrganizationalAccount());
+ Assertions.assertEquals("yd", model.properties().gcpCloudProfile().projectProperties().projectNumber());
+ Assertions.assertEquals("glmjth", model.properties().gcpCloudProfile().projectProperties().projectId());
+ Assertions.assertEquals("kw", model.properties().gcpCloudProfile().organizationProperties().organizationId());
+ Assertions.assertEquals("yeicxmqciwqvhk",
+ model.properties().gcpCloudProfile().organizationProperties().managementProjectNumber());
+ Assertions.assertEquals("ixuigdtopbobj",
+ model.properties().gcpCloudProfile().organizationProperties().managementProjectId());
+ Assertions.assertEquals("m",
+ model.properties().gcpCloudProfile().organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("a",
+ model.properties().gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
Assertions.assertEquals(HostType.AWS, model.properties().hostType());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- PublicCloudConnectorInner model
- = new PublicCloudConnectorInner().withLocation("guhmuouqfpr")
- .withTags(mapOf("nwui", "bngui", "zuckyfi", "gazxuf", "htymw", "rfidfvzwdz"))
- .withProperties(new PublicCloudConnectorProperties()
- .withAwsCloudProfile(new AwsCloudProfile().withAccountId("lgbquxig")
- .withExcludedAccounts(Arrays.asList("gzjaoyfhrtxilne", "kujysvlejuvfq", "wrlyxwjkcprb"))
- .withIsOrganizationalAccount(false))
- .withHostType(HostType.AWS));
+ PublicCloudConnectorInner model = new PublicCloudConnectorInner().withLocation("t")
+ .withTags(mapOf("ftutqxlngxlefgu", "dfgiot", "qmi", "nxkrx"))
+ .withProperties(new PublicCloudConnectorProperties()
+ .withAwsCloudProfile(new AwsCloudProfile().withAccountId("zxibqeoj")
+ .withExcludedAccounts(Arrays.asList("bzv", "dntwndeicbtw", "pzaoqvuhr"))
+ .withIsOrganizationalAccount(false))
+ .withGcpCloudProfile(new GcpCloudProfile()
+ .withProjectProperties(new GcpProjectProperties().withProjectNumber("yd").withProjectId("glmjth"))
+ .withOrganizationProperties(new GcpOrganizationProperties().withOrganizationId("kw")
+ .withManagementProjectNumber("yeicxmqciwqvhk")
+ .withManagementProjectId("ixuigdtopbobj")
+ .withExcludedProjectNumbers(Arrays.asList("m"))
+ .withExcludedFolderIds(Arrays.asList("a"))))
+ .withHostType(HostType.AWS));
model = BinaryData.fromObject(model).toObject(PublicCloudConnectorInner.class);
- Assertions.assertEquals("guhmuouqfpr", model.location());
- Assertions.assertEquals("bngui", model.tags().get("nwui"));
- Assertions.assertEquals("lgbquxig", model.properties().awsCloudProfile().accountId());
- Assertions.assertEquals("gzjaoyfhrtxilne", model.properties().awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertEquals("t", model.location());
+ Assertions.assertEquals("dfgiot", model.tags().get("ftutqxlngxlefgu"));
+ Assertions.assertEquals("zxibqeoj", model.properties().awsCloudProfile().accountId());
+ Assertions.assertEquals("bzv", model.properties().awsCloudProfile().excludedAccounts().get(0));
Assertions.assertFalse(model.properties().awsCloudProfile().isOrganizationalAccount());
+ Assertions.assertEquals("yd", model.properties().gcpCloudProfile().projectProperties().projectNumber());
+ Assertions.assertEquals("glmjth", model.properties().gcpCloudProfile().projectProperties().projectId());
+ Assertions.assertEquals("kw", model.properties().gcpCloudProfile().organizationProperties().organizationId());
+ Assertions.assertEquals("yeicxmqciwqvhk",
+ model.properties().gcpCloudProfile().organizationProperties().managementProjectNumber());
+ Assertions.assertEquals("ixuigdtopbobj",
+ model.properties().gcpCloudProfile().organizationProperties().managementProjectId());
+ Assertions.assertEquals("m",
+ model.properties().gcpCloudProfile().organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("a",
+ model.properties().gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
Assertions.assertEquals(HostType.AWS, model.properties().hostType());
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorListResultTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorListResultTests.java
index 05e826d61bae..f982c339b7fc 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorListResultTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorListResultTests.java
@@ -13,15 +13,34 @@ public final class PublicCloudConnectorListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PublicCloudConnectorListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"awsCloudProfile\":{\"accountId\":\"vddntwn\",\"excludedAccounts\":[\"cbtwnpzaoqvuh\",\"hcffcyddglmjthjq\",\"wpyeicxmqciwqvh\"],\"isOrganizationalAccount\":true},\"hostType\":\"AWS\",\"provisioningState\":\"Succeeded\",\"connectorPrimaryIdentifier\":\"dtopbob\"},\"location\":\"ghmewuam\",\"tags\":{\"t\":\"rzayv\",\"ln\":\"gvdfgiotkftutq\",\"qmi\":\"xlefgugnxkrx\",\"abhjybi\":\"tthzrvqd\"},\"id\":\"ehoqfbowskan\",\"name\":\"ktzlcuiywg\",\"type\":\"ywgndrv\"}],\"nextLink\":\"hzgpphrcgyncocpe\"}")
+ "{\"value\":[{\"properties\":{\"awsCloudProfile\":{\"accountId\":\"fsfksymddyst\",\"excludedAccounts\":[\"uxh\",\"yudxorrqnbp\",\"czvyifq\"],\"isOrganizationalAccount\":false},\"gcpCloudProfile\":{\"projectProperties\":{\"projectNumber\":\"jsllrmv\",\"projectId\":\"d\"},\"organizationProperties\":{\"organizationId\":\"atkpnp\",\"managementProjectNumber\":\"lexxbczwtru\",\"managementProjectId\":\"iqzbq\",\"excludedProjectNumbers\":[\"ovm\",\"okacspk\",\"lhzdobp\",\"jmflbvvnch\"],\"excludedFolderIds\":[\"ciwwzjuqkhr\"]}},\"hostType\":\"AWS\",\"provisioningState\":\"Failed\",\"connectorPrimaryIdentifier\":\"ku\"},\"kind\":\"AWS\",\"location\":\"kg\",\"tags\":{\"dyjrrfbyaosv\":\"uuimjmvxieduug\"},\"id\":\"xc\",\"name\":\"onpc\",\"type\":\"hocohslkev\"}],\"nextLink\":\"ggzfbu\"}")
.toObject(PublicCloudConnectorListResult.class);
- Assertions.assertEquals("ghmewuam", model.value().get(0).location());
- Assertions.assertEquals("rzayv", model.value().get(0).tags().get("t"));
- Assertions.assertEquals("vddntwn", model.value().get(0).properties().awsCloudProfile().accountId());
- Assertions.assertEquals("cbtwnpzaoqvuh",
- model.value().get(0).properties().awsCloudProfile().excludedAccounts().get(0));
- Assertions.assertTrue(model.value().get(0).properties().awsCloudProfile().isOrganizationalAccount());
+ Assertions.assertEquals("kg", model.value().get(0).location());
+ Assertions.assertEquals("uuimjmvxieduug", model.value().get(0).tags().get("dyjrrfbyaosv"));
+ Assertions.assertEquals("fsfksymddyst", model.value().get(0).properties().awsCloudProfile().accountId());
+ Assertions.assertEquals("uxh", model.value().get(0).properties().awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertFalse(model.value().get(0).properties().awsCloudProfile().isOrganizationalAccount());
+ Assertions.assertEquals("jsllrmv",
+ model.value().get(0).properties().gcpCloudProfile().projectProperties().projectNumber());
+ Assertions.assertEquals("d",
+ model.value().get(0).properties().gcpCloudProfile().projectProperties().projectId());
+ Assertions.assertEquals("atkpnp",
+ model.value().get(0).properties().gcpCloudProfile().organizationProperties().organizationId());
+ Assertions.assertEquals("lexxbczwtru",
+ model.value().get(0).properties().gcpCloudProfile().organizationProperties().managementProjectNumber());
+ Assertions.assertEquals("iqzbq",
+ model.value().get(0).properties().gcpCloudProfile().organizationProperties().managementProjectId());
+ Assertions.assertEquals("ovm",
+ model.value()
+ .get(0)
+ .properties()
+ .gcpCloudProfile()
+ .organizationProperties()
+ .excludedProjectNumbers()
+ .get(0));
+ Assertions.assertEquals("ciwwzjuqkhr",
+ model.value().get(0).properties().gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
Assertions.assertEquals(HostType.AWS, model.value().get(0).properties().hostType());
- Assertions.assertEquals("hzgpphrcgyncocpe", model.nextLink());
+ Assertions.assertEquals("ggzfbu", model.nextLink());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorPropertiesTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorPropertiesTests.java
index 273546f22e3f..6f706406a2fa 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorPropertiesTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorPropertiesTests.java
@@ -6,6 +6,9 @@
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.hybridconnectivity.models.AwsCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpProjectProperties;
import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorProperties;
import java.util.Arrays;
@@ -15,25 +18,50 @@ public final class PublicCloudConnectorPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PublicCloudConnectorProperties model = BinaryData.fromString(
- "{\"awsCloudProfile\":{\"accountId\":\"fsrpymzidnse\",\"excludedAccounts\":[\"tbzsgfyccs\",\"ewmdw\",\"jeiachboosfl\",\"ro\"],\"isOrganizationalAccount\":false},\"hostType\":\"AWS\",\"provisioningState\":\"Canceled\",\"connectorPrimaryIdentifier\":\"hzzvypyq\"}")
+ "{\"awsCloudProfile\":{\"accountId\":\"tzlcuiywgqywgn\",\"excludedAccounts\":[\"ynhz\",\"pphrcgynco\",\"pec\"],\"isOrganizationalAccount\":false},\"gcpCloudProfile\":{\"projectProperties\":{\"projectNumber\":\"oo\",\"projectId\":\"sxlzevgbmqj\"},\"organizationProperties\":{\"organizationId\":\"bcypmi\",\"managementProjectNumber\":\"kwlzuvccfwnfn\",\"managementProjectId\":\"acfi\",\"excludedProjectNumbers\":[\"ebxetqgtzxdp\"],\"excludedFolderIds\":[\"qqwx\",\"jfeallnwsub\"]}},\"hostType\":\"GCP\",\"provisioningState\":\"Succeeded\",\"connectorPrimaryIdentifier\":\"mpmngnzscxaqwoo\"}")
.toObject(PublicCloudConnectorProperties.class);
- Assertions.assertEquals("fsrpymzidnse", model.awsCloudProfile().accountId());
- Assertions.assertEquals("tbzsgfyccs", model.awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertEquals("tzlcuiywgqywgn", model.awsCloudProfile().accountId());
+ Assertions.assertEquals("ynhz", model.awsCloudProfile().excludedAccounts().get(0));
Assertions.assertFalse(model.awsCloudProfile().isOrganizationalAccount());
- Assertions.assertEquals(HostType.AWS, model.hostType());
+ Assertions.assertEquals("oo", model.gcpCloudProfile().projectProperties().projectNumber());
+ Assertions.assertEquals("sxlzevgbmqj", model.gcpCloudProfile().projectProperties().projectId());
+ Assertions.assertEquals("bcypmi", model.gcpCloudProfile().organizationProperties().organizationId());
+ Assertions.assertEquals("kwlzuvccfwnfn",
+ model.gcpCloudProfile().organizationProperties().managementProjectNumber());
+ Assertions.assertEquals("acfi", model.gcpCloudProfile().organizationProperties().managementProjectId());
+ Assertions.assertEquals("ebxetqgtzxdp",
+ model.gcpCloudProfile().organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("qqwx", model.gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
+ Assertions.assertEquals(HostType.GCP, model.hostType());
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
PublicCloudConnectorProperties model = new PublicCloudConnectorProperties()
- .withAwsCloudProfile(new AwsCloudProfile().withAccountId("fsrpymzidnse")
- .withExcludedAccounts(Arrays.asList("tbzsgfyccs", "ewmdw", "jeiachboosfl", "ro"))
+ .withAwsCloudProfile(new AwsCloudProfile().withAccountId("tzlcuiywgqywgn")
+ .withExcludedAccounts(Arrays.asList("ynhz", "pphrcgynco", "pec"))
.withIsOrganizationalAccount(false))
- .withHostType(HostType.AWS);
+ .withGcpCloudProfile(new GcpCloudProfile()
+ .withProjectProperties(new GcpProjectProperties().withProjectNumber("oo").withProjectId("sxlzevgbmqj"))
+ .withOrganizationProperties(new GcpOrganizationProperties().withOrganizationId("bcypmi")
+ .withManagementProjectNumber("kwlzuvccfwnfn")
+ .withManagementProjectId("acfi")
+ .withExcludedProjectNumbers(Arrays.asList("ebxetqgtzxdp"))
+ .withExcludedFolderIds(Arrays.asList("qqwx", "jfeallnwsub"))))
+ .withHostType(HostType.GCP);
model = BinaryData.fromObject(model).toObject(PublicCloudConnectorProperties.class);
- Assertions.assertEquals("fsrpymzidnse", model.awsCloudProfile().accountId());
- Assertions.assertEquals("tbzsgfyccs", model.awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertEquals("tzlcuiywgqywgn", model.awsCloudProfile().accountId());
+ Assertions.assertEquals("ynhz", model.awsCloudProfile().excludedAccounts().get(0));
Assertions.assertFalse(model.awsCloudProfile().isOrganizationalAccount());
- Assertions.assertEquals(HostType.AWS, model.hostType());
+ Assertions.assertEquals("oo", model.gcpCloudProfile().projectProperties().projectNumber());
+ Assertions.assertEquals("sxlzevgbmqj", model.gcpCloudProfile().projectProperties().projectId());
+ Assertions.assertEquals("bcypmi", model.gcpCloudProfile().organizationProperties().organizationId());
+ Assertions.assertEquals("kwlzuvccfwnfn",
+ model.gcpCloudProfile().organizationProperties().managementProjectNumber());
+ Assertions.assertEquals("acfi", model.gcpCloudProfile().organizationProperties().managementProjectId());
+ Assertions.assertEquals("ebxetqgtzxdp",
+ model.gcpCloudProfile().organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("qqwx", model.gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
+ Assertions.assertEquals(HostType.GCP, model.hostType());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorPropertiesUpdateTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorPropertiesUpdateTests.java
index 360caad903e4..d06d56ab5e95 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorPropertiesUpdateTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorPropertiesUpdateTests.java
@@ -6,6 +6,8 @@
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.hybridconnectivity.models.AwsCloudProfileUpdate;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfileUpdate;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationPropertiesUpdate;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorPropertiesUpdate;
import java.util.Arrays;
import org.junit.jupiter.api.Assertions;
@@ -13,17 +15,28 @@
public final class PublicCloudConnectorPropertiesUpdateTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
- PublicCloudConnectorPropertiesUpdate model
- = BinaryData.fromString("{\"awsCloudProfile\":{\"excludedAccounts\":[\"fjpgddtocjjxhvp\"]}}")
- .toObject(PublicCloudConnectorPropertiesUpdate.class);
- Assertions.assertEquals("fjpgddtocjjxhvp", model.awsCloudProfile().excludedAccounts().get(0));
+ PublicCloudConnectorPropertiesUpdate model = BinaryData.fromString(
+ "{\"awsCloudProfile\":{\"excludedAccounts\":[\"yqjpkcatt\"]},\"gcpCloudProfile\":{\"organizationProperties\":{\"excludedProjectNumbers\":[\"rcczsqpjhvmd\"],\"excludedFolderIds\":[\"nysounqe\"]}}}")
+ .toObject(PublicCloudConnectorPropertiesUpdate.class);
+ Assertions.assertEquals("yqjpkcatt", model.awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertEquals("rcczsqpjhvmd",
+ model.gcpCloudProfile().organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("nysounqe",
+ model.gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
PublicCloudConnectorPropertiesUpdate model = new PublicCloudConnectorPropertiesUpdate()
- .withAwsCloudProfile(new AwsCloudProfileUpdate().withExcludedAccounts(Arrays.asList("fjpgddtocjjxhvp")));
+ .withAwsCloudProfile(new AwsCloudProfileUpdate().withExcludedAccounts(Arrays.asList("yqjpkcatt")))
+ .withGcpCloudProfile(new GcpCloudProfileUpdate().withOrganizationProperties(
+ new GcpOrganizationPropertiesUpdate().withExcludedProjectNumbers(Arrays.asList("rcczsqpjhvmd"))
+ .withExcludedFolderIds(Arrays.asList("nysounqe"))));
model = BinaryData.fromObject(model).toObject(PublicCloudConnectorPropertiesUpdate.class);
- Assertions.assertEquals("fjpgddtocjjxhvp", model.awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertEquals("yqjpkcatt", model.awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertEquals("rcczsqpjhvmd",
+ model.gcpCloudProfile().organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("nysounqe",
+ model.gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorUpdateTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorUpdateTests.java
index 1f079d23bc44..c800c9d4a61c 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorUpdateTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorUpdateTests.java
@@ -6,6 +6,8 @@
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.hybridconnectivity.models.AwsCloudProfileUpdate;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfileUpdate;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationPropertiesUpdate;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorPropertiesUpdate;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorUpdate;
import java.util.Arrays;
@@ -17,21 +19,33 @@ public final class PublicCloudConnectorUpdateTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
PublicCloudConnectorUpdate model = BinaryData.fromString(
- "{\"properties\":{\"awsCloudProfile\":{\"excludedAccounts\":[\"jxvsnbyxqabn\",\"ocpcy\",\"hurzafblj\"]}},\"tags\":{\"qajzyulpkudjkr\":\"btoqcjmkljavbqid\",\"e\":\"khbzhfepgzg\",\"scpai\":\"zloc\"},\"id\":\"hhbcsglummajtjao\",\"name\":\"xobnbdxkqpxok\",\"type\":\"jionpimexgstxgc\"}")
+ "{\"properties\":{\"awsCloudProfile\":{\"excludedAccounts\":[\"wtgrhpdjpj\",\"masxazjpqyegu\",\"lhbxxhejjzzvdud\"]},\"gcpCloudProfile\":{\"organizationProperties\":{\"excludedProjectNumbers\":[\"fhotw\"],\"excludedFolderIds\":[\"npwlbjnpg\",\"cftadeh\"]}}},\"tags\":{\"wd\":\"tyfsoppusuesn\",\"hctbqvudwxdn\":\"jbavorxzdm\"},\"id\":\"vo\",\"name\":\"gujjugwdkcglh\",\"type\":\"lazjdyggdtjixhbk\"}")
.toObject(PublicCloudConnectorUpdate.class);
- Assertions.assertEquals("btoqcjmkljavbqid", model.tags().get("qajzyulpkudjkr"));
- Assertions.assertEquals("jxvsnbyxqabn", model.properties().awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertEquals("tyfsoppusuesn", model.tags().get("wd"));
+ Assertions.assertEquals("wtgrhpdjpj", model.properties().awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertEquals("fhotw",
+ model.properties().gcpCloudProfile().organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("npwlbjnpg",
+ model.properties().gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- PublicCloudConnectorUpdate model = new PublicCloudConnectorUpdate()
- .withTags(mapOf("qajzyulpkudjkr", "btoqcjmkljavbqid", "e", "khbzhfepgzg", "scpai", "zloc"))
- .withProperties(new PublicCloudConnectorPropertiesUpdate().withAwsCloudProfile(
- new AwsCloudProfileUpdate().withExcludedAccounts(Arrays.asList("jxvsnbyxqabn", "ocpcy", "hurzafblj"))));
+ PublicCloudConnectorUpdate model
+ = new PublicCloudConnectorUpdate().withTags(mapOf("wd", "tyfsoppusuesn", "hctbqvudwxdn", "jbavorxzdm"))
+ .withProperties(new PublicCloudConnectorPropertiesUpdate()
+ .withAwsCloudProfile(new AwsCloudProfileUpdate()
+ .withExcludedAccounts(Arrays.asList("wtgrhpdjpj", "masxazjpqyegu", "lhbxxhejjzzvdud")))
+ .withGcpCloudProfile(new GcpCloudProfileUpdate().withOrganizationProperties(
+ new GcpOrganizationPropertiesUpdate().withExcludedProjectNumbers(Arrays.asList("fhotw"))
+ .withExcludedFolderIds(Arrays.asList("npwlbjnpg", "cftadeh")))));
model = BinaryData.fromObject(model).toObject(PublicCloudConnectorUpdate.class);
- Assertions.assertEquals("btoqcjmkljavbqid", model.tags().get("qajzyulpkudjkr"));
- Assertions.assertEquals("jxvsnbyxqabn", model.properties().awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertEquals("tyfsoppusuesn", model.tags().get("wd"));
+ Assertions.assertEquals("wtgrhpdjpj", model.properties().awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertEquals("fhotw",
+ model.properties().gcpCloudProfile().organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("npwlbjnpg",
+ model.properties().gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
}
// Use "Map.of" if available
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsCreateOrUpdateMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsCreateOrUpdateMockTests.java
index 21e16ac37a8b..9fdbaf021a17 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsCreateOrUpdateMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsCreateOrUpdateMockTests.java
@@ -11,6 +11,9 @@
import com.azure.core.test.http.MockHttpResponse;
import com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager;
import com.azure.resourcemanager.hybridconnectivity.models.AwsCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpCloudProfile;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpOrganizationProperties;
+import com.azure.resourcemanager.hybridconnectivity.models.GcpProjectProperties;
import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnector;
import com.azure.resourcemanager.hybridconnectivity.models.PublicCloudConnectorProperties;
@@ -27,7 +30,7 @@ public final class PublicCloudConnectorsCreateOrUpdateMockTests {
@Test
public void testCreateOrUpdate() throws Exception {
String responseStr
- = "{\"properties\":{\"awsCloudProfile\":{\"accountId\":\"rxcyjmoad\",\"excludedAccounts\":[\"arm\",\"wdmjsjqbjhhyx\",\"rw\"],\"isOrganizationalAccount\":false},\"hostType\":\"AWS\",\"provisioningState\":\"Succeeded\",\"connectorPrimaryIdentifier\":\"p\"},\"location\":\"kgymareqnajxqug\",\"tags\":{\"ofwq\":\"ycubeddgs\"},\"id\":\"zqalkrmnjijpx\",\"name\":\"cqqudf\",\"type\":\"byxbaaabjy\"}";
+ = "{\"properties\":{\"awsCloudProfile\":{\"accountId\":\"szfjvfbgofelja\",\"excludedAccounts\":[\"mqhldvrii\",\"ojnal\",\"hfkvtvsexsowuel\"],\"isOrganizationalAccount\":true},\"gcpCloudProfile\":{\"projectProperties\":{\"projectNumber\":\"hhxvrhmzkwpj\",\"projectId\":\"wws\"},\"organizationProperties\":{\"organizationId\":\"ghftqsxhqxujxuk\",\"managementProjectNumber\":\"dxdigr\",\"managementProjectId\":\"guufzd\",\"excludedProjectNumbers\":[\"qtfihwhbotzinga\",\"vppho\"],\"excludedFolderIds\":[\"zudphqamvdkfw\",\"nwcvtbvkayhmtnv\"]}},\"hostType\":\"GCP\",\"provisioningState\":\"Succeeded\",\"connectorPrimaryIdentifier\":\"kzwpcnpw\"},\"kind\":\"GCP\",\"location\":\"esgvvsccyaj\",\"tags\":{\"mdwzrmuhapfcqdps\":\"fhwygzlvdnkfxus\",\"svuo\":\"xqv\"},\"id\":\"mgccelvezrypq\",\"name\":\"mfe\",\"type\":\"kerqwkyh\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -37,22 +40,45 @@ public void testCreateOrUpdate() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PublicCloudConnector response = manager.publicCloudConnectors()
- .define("fatkld")
- .withRegion("imjwosyt")
- .withExistingResourceGroup("elpcirelsfeaenwa")
- .withTags(mapOf("zzikhlyfjhdg", "cskfcktqumiekk"))
- .withProperties(
- new PublicCloudConnectorProperties().withAwsCloudProfile(new AwsCloudProfile().withAccountId("bjhwuaan")
- .withExcludedAccounts(Arrays.asList("osphyoul"))
- .withIsOrganizationalAccount(true)).withHostType(HostType.AWS))
+ .define("vfvpdbodaciz")
+ .withRegion("twbdsrezpdrhn")
+ .withExistingResourceGroup("g")
+ .withTags(mapOf("ircgpikpz", "owqkdwytisi", "rmbzo", "mejzanlfzxia", "zpfrla", "okixrjqcir", "indfpwpjyl",
+ "szrnwo"))
+ .withProperties(new PublicCloudConnectorProperties()
+ .withAwsCloudProfile(new AwsCloudProfile().withAccountId("lhkrribdeibqipqk")
+ .withExcludedAccounts(Arrays.asList("xndzwm", "refajpjorwkqnyh"))
+ .withIsOrganizationalAccount(false))
+ .withGcpCloudProfile(new GcpCloudProfile()
+ .withProjectProperties(
+ new GcpProjectProperties().withProjectNumber("jivfxzsjabib").withProjectId("ystawfsdjpvkvp"))
+ .withOrganizationProperties(new GcpOrganizationProperties().withOrganizationId("xbkzbzkdvncj")
+ .withManagementProjectNumber("budurgkakmo")
+ .withManagementProjectId("zhjjklffhmouwq")
+ .withExcludedProjectNumbers(Arrays.asList("rfzeey", "bizikayuhq"))
+ .withExcludedFolderIds(Arrays.asList("bs", "bbqwrvtldg"))))
+ .withHostType(HostType.AWS))
.create();
- Assertions.assertEquals("kgymareqnajxqug", response.location());
- Assertions.assertEquals("ycubeddgs", response.tags().get("ofwq"));
- Assertions.assertEquals("rxcyjmoad", response.properties().awsCloudProfile().accountId());
- Assertions.assertEquals("arm", response.properties().awsCloudProfile().excludedAccounts().get(0));
- Assertions.assertFalse(response.properties().awsCloudProfile().isOrganizationalAccount());
- Assertions.assertEquals(HostType.AWS, response.properties().hostType());
+ Assertions.assertEquals("esgvvsccyaj", response.location());
+ Assertions.assertEquals("fhwygzlvdnkfxus", response.tags().get("mdwzrmuhapfcqdps"));
+ Assertions.assertEquals("szfjvfbgofelja", response.properties().awsCloudProfile().accountId());
+ Assertions.assertEquals("mqhldvrii", response.properties().awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertTrue(response.properties().awsCloudProfile().isOrganizationalAccount());
+ Assertions.assertEquals("hhxvrhmzkwpj",
+ response.properties().gcpCloudProfile().projectProperties().projectNumber());
+ Assertions.assertEquals("wws", response.properties().gcpCloudProfile().projectProperties().projectId());
+ Assertions.assertEquals("ghftqsxhqxujxuk",
+ response.properties().gcpCloudProfile().organizationProperties().organizationId());
+ Assertions.assertEquals("dxdigr",
+ response.properties().gcpCloudProfile().organizationProperties().managementProjectNumber());
+ Assertions.assertEquals("guufzd",
+ response.properties().gcpCloudProfile().organizationProperties().managementProjectId());
+ Assertions.assertEquals("qtfihwhbotzinga",
+ response.properties().gcpCloudProfile().organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("zudphqamvdkfw",
+ response.properties().gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
+ Assertions.assertEquals(HostType.GCP, response.properties().hostType());
}
// Use "Map.of" if available
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsDeleteByResourceGroupWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsDeleteByResourceGroupWithResponseMockTests.java
index fe5ccccf1d3a..ca3290e3fc90 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsDeleteByResourceGroupWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsDeleteByResourceGroupWithResponseMockTests.java
@@ -28,7 +28,7 @@ public void testDeleteWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
manager.publicCloudConnectors()
- .deleteByResourceGroupWithResponse("yvoqa", "piexpbtgiw", com.azure.core.util.Context.NONE);
+ .deleteByResourceGroupWithResponse("fz", "whxxbuyqax", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsGetByResourceGroupWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsGetByResourceGroupWithResponseMockTests.java
index 0fb151e5ec06..aa884a00ccc3 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsGetByResourceGroupWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsGetByResourceGroupWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class PublicCloudConnectorsGetByResourceGroupWithResponseMockTests
@Test
public void testGetByResourceGroupWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"awsCloudProfile\":{\"accountId\":\"uxvypomgkopkwh\",\"excludedAccounts\":[\"pajqgxysm\"],\"isOrganizationalAccount\":false},\"hostType\":\"AWS\",\"provisioningState\":\"Canceled\",\"connectorPrimaryIdentifier\":\"vmkcx\"},\"location\":\"apvhelxprgly\",\"tags\":{\"ejrjxgciqibrho\":\"dckcbc\"},\"id\":\"xsdqrhzoymibmrqy\",\"name\":\"bahwfl\",\"type\":\"szdtmhrkwof\"}";
+ = "{\"properties\":{\"awsCloudProfile\":{\"accountId\":\"xtrthz\",\"excludedAccounts\":[\"tdwkqbrq\"],\"isOrganizationalAccount\":false},\"gcpCloudProfile\":{\"projectProperties\":{\"projectNumber\":\"h\",\"projectId\":\"xiilivpdtiirqt\"},\"organizationProperties\":{\"organizationId\":\"oaxoruzfgsqu\",\"managementProjectNumber\":\"fxrxxle\",\"managementProjectId\":\"tramxjez\",\"excludedProjectNumbers\":[\"nwxuqlcvydyp\",\"tdooaoj\",\"niodkooeb\"],\"excludedFolderIds\":[\"jhemms\",\"vdkcrodtj\",\"nfwjlfltkacjvefk\",\"lfoakg\"]}},\"hostType\":\"AWS\",\"provisioningState\":\"Failed\",\"connectorPrimaryIdentifier\":\"gaowpulpqblylsyx\"},\"kind\":\"GCP\",\"location\":\"sjervti\",\"tags\":{\"psbzkfzbeyvpn\":\"sdszue\",\"v\":\"icvi\",\"rbuukzclewyhmlwp\":\"jjxd\"},\"id\":\"ztzp\",\"name\":\"fn\",\"type\":\"ckw\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,14 +32,27 @@ public void testGetByResourceGroupWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PublicCloudConnector response = manager.publicCloudConnectors()
- .getByResourceGroupWithResponse("nubexk", "zksmondj", com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("ewzsyyceuzsoib", "ud", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("apvhelxprgly", response.location());
- Assertions.assertEquals("dckcbc", response.tags().get("ejrjxgciqibrho"));
- Assertions.assertEquals("uxvypomgkopkwh", response.properties().awsCloudProfile().accountId());
- Assertions.assertEquals("pajqgxysm", response.properties().awsCloudProfile().excludedAccounts().get(0));
+ Assertions.assertEquals("sjervti", response.location());
+ Assertions.assertEquals("sdszue", response.tags().get("psbzkfzbeyvpn"));
+ Assertions.assertEquals("xtrthz", response.properties().awsCloudProfile().accountId());
+ Assertions.assertEquals("tdwkqbrq", response.properties().awsCloudProfile().excludedAccounts().get(0));
Assertions.assertFalse(response.properties().awsCloudProfile().isOrganizationalAccount());
+ Assertions.assertEquals("h", response.properties().gcpCloudProfile().projectProperties().projectNumber());
+ Assertions.assertEquals("xiilivpdtiirqt",
+ response.properties().gcpCloudProfile().projectProperties().projectId());
+ Assertions.assertEquals("oaxoruzfgsqu",
+ response.properties().gcpCloudProfile().organizationProperties().organizationId());
+ Assertions.assertEquals("fxrxxle",
+ response.properties().gcpCloudProfile().organizationProperties().managementProjectNumber());
+ Assertions.assertEquals("tramxjez",
+ response.properties().gcpCloudProfile().organizationProperties().managementProjectId());
+ Assertions.assertEquals("nwxuqlcvydyp",
+ response.properties().gcpCloudProfile().organizationProperties().excludedProjectNumbers().get(0));
+ Assertions.assertEquals("jhemms",
+ response.properties().gcpCloudProfile().organizationProperties().excludedFolderIds().get(0));
Assertions.assertEquals(HostType.AWS, response.properties().hostType());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListByResourceGroupMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListByResourceGroupMockTests.java
index 75f4fab4f24f..b5a99957c276 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListByResourceGroupMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListByResourceGroupMockTests.java
@@ -23,7 +23,7 @@ public final class PublicCloudConnectorsListByResourceGroupMockTests {
@Test
public void testListByResourceGroup() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"awsCloudProfile\":{\"accountId\":\"washr\",\"excludedAccounts\":[\"kcnqxwbpo\",\"ulpiuj\"],\"isOrganizationalAccount\":false},\"hostType\":\"AWS\",\"provisioningState\":\"Failed\",\"connectorPrimaryIdentifier\":\"i\"},\"location\":\"byuqerpqlp\",\"tags\":{\"t\":\"ciuqgbdb\",\"mhykojoxafnndl\":\"uvfbtkuwh\",\"kkpwdreqnovvq\":\"ichkoymkcdyhb\",\"syrsndsytgadgvra\":\"ovljxywsu\"},\"id\":\"aeneqnzarrwl\",\"name\":\"uu\",\"type\":\"jfqka\"}]}";
+ = "{\"value\":[{\"properties\":{\"awsCloudProfile\":{\"accountId\":\"jaltolmnc\",\"excludedAccounts\":[\"bqwcsdbnwdcf\",\"ucqdpfuvglsb\",\"jcanvxbvtvudut\",\"cormr\"],\"isOrganizationalAccount\":true},\"gcpCloudProfile\":{\"projectProperties\":{\"projectNumber\":\"cofudflvkgjub\",\"projectId\":\"dknnqvsazn\"},\"organizationProperties\":{\"organizationId\":\"tor\",\"managementProjectNumber\":\"dsg\",\"managementProjectId\":\"a\",\"excludedProjectNumbers\":[\"yc\",\"rauwjuetaebu\",\"u\"],\"excludedFolderIds\":[\"ovsm\",\"l\",\"wabm\",\"oefki\"]}},\"hostType\":\"AWS\",\"provisioningState\":\"Succeeded\",\"connectorPrimaryIdentifier\":\"u\"},\"kind\":\"AWS\",\"location\":\"qlgkfbtn\",\"tags\":{\"jitcjedftwwaez\":\"ongbjcnt\",\"i\":\"ojvdcpzfoqo\"},\"id\":\"ybxarzgszu\",\"name\":\"oxciqopidoamcio\",\"type\":\"hkh\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,14 +33,45 @@ public void testListByResourceGroup() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.publicCloudConnectors().listByResourceGroup("wo", com.azure.core.util.Context.NONE);
+ = manager.publicCloudConnectors().listByResourceGroup("feqztppriol", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("byuqerpqlp", response.iterator().next().location());
- Assertions.assertEquals("ciuqgbdb", response.iterator().next().tags().get("t"));
- Assertions.assertEquals("washr", response.iterator().next().properties().awsCloudProfile().accountId());
- Assertions.assertEquals("kcnqxwbpo",
+ Assertions.assertEquals("qlgkfbtn", response.iterator().next().location());
+ Assertions.assertEquals("ongbjcnt", response.iterator().next().tags().get("jitcjedftwwaez"));
+ Assertions.assertEquals("jaltolmnc", response.iterator().next().properties().awsCloudProfile().accountId());
+ Assertions.assertEquals("bqwcsdbnwdcf",
response.iterator().next().properties().awsCloudProfile().excludedAccounts().get(0));
- Assertions.assertFalse(response.iterator().next().properties().awsCloudProfile().isOrganizationalAccount());
+ Assertions.assertTrue(response.iterator().next().properties().awsCloudProfile().isOrganizationalAccount());
+ Assertions.assertEquals("cofudflvkgjub",
+ response.iterator().next().properties().gcpCloudProfile().projectProperties().projectNumber());
+ Assertions.assertEquals("dknnqvsazn",
+ response.iterator().next().properties().gcpCloudProfile().projectProperties().projectId());
+ Assertions.assertEquals("tor",
+ response.iterator().next().properties().gcpCloudProfile().organizationProperties().organizationId());
+ Assertions.assertEquals("dsg",
+ response.iterator()
+ .next()
+ .properties()
+ .gcpCloudProfile()
+ .organizationProperties()
+ .managementProjectNumber());
+ Assertions.assertEquals("a",
+ response.iterator().next().properties().gcpCloudProfile().organizationProperties().managementProjectId());
+ Assertions.assertEquals("yc",
+ response.iterator()
+ .next()
+ .properties()
+ .gcpCloudProfile()
+ .organizationProperties()
+ .excludedProjectNumbers()
+ .get(0));
+ Assertions.assertEquals("ovsm",
+ response.iterator()
+ .next()
+ .properties()
+ .gcpCloudProfile()
+ .organizationProperties()
+ .excludedFolderIds()
+ .get(0));
Assertions.assertEquals(HostType.AWS, response.iterator().next().properties().hostType());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListMockTests.java
index decc1734550f..0222a8d9c381 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/PublicCloudConnectorsListMockTests.java
@@ -23,7 +23,7 @@ public final class PublicCloudConnectorsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"awsCloudProfile\":{\"accountId\":\"wiipfpub\",\"excludedAccounts\":[\"wwiftohqkvpuv\",\"sgplsakn\"],\"isOrganizationalAccount\":true},\"hostType\":\"AWS\",\"provisioningState\":\"Canceled\",\"connectorPrimaryIdentifier\":\"jphuopxodlqi\"},\"location\":\"torzih\",\"tags\":{\"yzrpzbchckqqzq\":\"sjswsrms\",\"ysuiizynkedya\":\"ox\"},\"id\":\"rwyhqmibzyhwitsm\",\"name\":\"pyy\",\"type\":\"pcdpumnz\"}]}";
+ = "{\"value\":[{\"properties\":{\"awsCloudProfile\":{\"accountId\":\"khnzbonlw\",\"excludedAccounts\":[\"egokdwbwhkszzcmr\",\"exztvbtq\",\"sfraoyzko\"],\"isOrganizationalAccount\":false},\"gcpCloudProfile\":{\"projectProperties\":{\"projectNumber\":\"nguxawqaldsy\",\"projectId\":\"uximerqfobw\"},\"organizationProperties\":{\"organizationId\":\"nkbykutwpfhp\",\"managementProjectNumber\":\"gmhrskdsnfdsdoak\",\"managementProjectId\":\"tdlmkkzevd\",\"excludedProjectNumbers\":[\"wpusdsttwvogv\",\"bejdcn\",\"qqmoaku\",\"gm\"],\"excludedFolderIds\":[\"wr\"]}},\"hostType\":\"AWS\",\"provisioningState\":\"Failed\",\"connectorPrimaryIdentifier\":\"aenuuz\"},\"kind\":\"AWS\",\"location\":\"minrfdw\",\"tags\":{\"zbhd\":\"hhziuief\",\"equi\":\"smlmzqhoftrm\",\"iyylhalnswhccsp\":\"hxicslfaoqz\",\"scywuggwoluhc\":\"kaivwit\"},\"id\":\"bwemhairs\",\"name\":\"rgzdwmsweyp\",\"type\":\"w\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -35,12 +35,43 @@ public void testList() throws Exception {
PagedIterable response
= manager.publicCloudConnectors().list(com.azure.core.util.Context.NONE);
- Assertions.assertEquals("torzih", response.iterator().next().location());
- Assertions.assertEquals("sjswsrms", response.iterator().next().tags().get("yzrpzbchckqqzq"));
- Assertions.assertEquals("wiipfpub", response.iterator().next().properties().awsCloudProfile().accountId());
- Assertions.assertEquals("wwiftohqkvpuv",
+ Assertions.assertEquals("minrfdw", response.iterator().next().location());
+ Assertions.assertEquals("hhziuief", response.iterator().next().tags().get("zbhd"));
+ Assertions.assertEquals("khnzbonlw", response.iterator().next().properties().awsCloudProfile().accountId());
+ Assertions.assertEquals("egokdwbwhkszzcmr",
response.iterator().next().properties().awsCloudProfile().excludedAccounts().get(0));
- Assertions.assertTrue(response.iterator().next().properties().awsCloudProfile().isOrganizationalAccount());
+ Assertions.assertFalse(response.iterator().next().properties().awsCloudProfile().isOrganizationalAccount());
+ Assertions.assertEquals("nguxawqaldsy",
+ response.iterator().next().properties().gcpCloudProfile().projectProperties().projectNumber());
+ Assertions.assertEquals("uximerqfobw",
+ response.iterator().next().properties().gcpCloudProfile().projectProperties().projectId());
+ Assertions.assertEquals("nkbykutwpfhp",
+ response.iterator().next().properties().gcpCloudProfile().organizationProperties().organizationId());
+ Assertions.assertEquals("gmhrskdsnfdsdoak",
+ response.iterator()
+ .next()
+ .properties()
+ .gcpCloudProfile()
+ .organizationProperties()
+ .managementProjectNumber());
+ Assertions.assertEquals("tdlmkkzevd",
+ response.iterator().next().properties().gcpCloudProfile().organizationProperties().managementProjectId());
+ Assertions.assertEquals("wpusdsttwvogv",
+ response.iterator()
+ .next()
+ .properties()
+ .gcpCloudProfile()
+ .organizationProperties()
+ .excludedProjectNumbers()
+ .get(0));
+ Assertions.assertEquals("wr",
+ response.iterator()
+ .next()
+ .properties()
+ .gcpCloudProfile()
+ .organizationProperties()
+ .excludedFolderIds()
+ .get(0));
Assertions.assertEquals(HostType.AWS, response.iterator().next().properties().hostType());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsCreateOrupdateWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsCreateOrupdateWithResponseMockTests.java
index 91db72cc7cf6..bbc2dd1ab0c5 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsCreateOrupdateWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsCreateOrupdateWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class ServiceConfigurationsCreateOrupdateWithResponseMockTests {
@Test
public void testCreateOrupdateWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"serviceName\":\"SSH\",\"resourceId\":\"edgfbcvkcvq\",\"port\":6395460850482092633,\"provisioningState\":\"Updating\"},\"id\":\"vdrhvoo\",\"name\":\"sotbob\",\"type\":\"dopcjwvnh\"}";
+ = "{\"properties\":{\"serviceName\":\"SSH\",\"resourceId\":\"rtfudxepxg\",\"port\":2932477024589855825,\"provisioningState\":\"Creating\"},\"id\":\"mnpkukghimdblxg\",\"name\":\"imfnjhfjx\",\"type\":\"mszkkfo\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,15 +32,15 @@ public void testCreateOrupdateWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ServiceConfigurationResource response = manager.serviceConfigurations()
- .define("ljuti")
- .withExistingEndpoint("lvithhqzonosgg", "hcohfwdsjnk")
+ .define("melwuipiccjz")
+ .withExistingEndpoint("gxk", "lla")
.withServiceName(ServiceName.SSH)
- .withResourceId("cffgdkzzewk")
- .withPort(4567739994281506426L)
+ .withResourceId("gvvcnayrhyr")
+ .withPort(6786073010042821527L)
.create();
Assertions.assertEquals(ServiceName.SSH, response.serviceName());
- Assertions.assertEquals("edgfbcvkcvq", response.resourceId());
- Assertions.assertEquals(6395460850482092633L, response.port());
+ Assertions.assertEquals("rtfudxepxg", response.resourceId());
+ Assertions.assertEquals(2932477024589855825L, response.port());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsDeleteWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsDeleteWithResponseMockTests.java
index 7a7468986fe4..3854daf7eb8d 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsDeleteWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsDeleteWithResponseMockTests.java
@@ -28,7 +28,7 @@ public void testDeleteWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
manager.serviceConfigurations()
- .deleteWithResponse("seotgqrllt", "u", "lauwzizxbmpgcjef", com.azure.core.util.Context.NONE);
+ .deleteWithResponse("ypyynpcdpumnzg", "wznm", "biknsorgjhxbld", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsGetWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsGetWithResponseMockTests.java
index 3240115e80dd..02903b7d8496 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsGetWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsGetWithResponseMockTests.java
@@ -22,7 +22,7 @@ public final class ServiceConfigurationsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"serviceName\":\"WAC\",\"resourceId\":\"ogqxndlkzgxhuri\",\"port\":4682291687998834787,\"provisioningState\":\"Canceled\"},\"id\":\"unkbebx\",\"name\":\"ubyyntw\",\"type\":\"rbqtkoie\"}";
+ = "{\"properties\":{\"serviceName\":\"WAC\",\"resourceId\":\"zrpzb\",\"port\":5891022200470284221,\"provisioningState\":\"Failed\"},\"id\":\"qioxi\",\"name\":\"suiizynkedyat\",\"type\":\"wyhqmibzyhwits\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,11 +32,11 @@ public void testGetWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
ServiceConfigurationResource response = manager.serviceConfigurations()
- .getWithResponse("fzxmhhvhgureodkw", "bdagxt", "bqdxbx", com.azure.core.util.Context.NONE)
+ .getWithResponse("n", "jphuopxodlqi", "ntorzihleosjswsr", com.azure.core.util.Context.NONE)
.getValue();
Assertions.assertEquals(ServiceName.WAC, response.serviceName());
- Assertions.assertEquals("ogqxndlkzgxhuri", response.resourceId());
- Assertions.assertEquals(4682291687998834787L, response.port());
+ Assertions.assertEquals("zrpzb", response.resourceId());
+ Assertions.assertEquals(5891022200470284221L, response.port());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsListByEndpointResourceMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsListByEndpointResourceMockTests.java
index 23609f848a2f..45358926dc69 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsListByEndpointResourceMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/ServiceConfigurationsListByEndpointResourceMockTests.java
@@ -23,7 +23,7 @@ public final class ServiceConfigurationsListByEndpointResourceMockTests {
@Test
public void testListByEndpointResource() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"serviceName\":\"WAC\",\"resourceId\":\"hdneuelfph\",\"port\":5814437001624716680,\"provisioningState\":\"Succeeded\"},\"id\":\"fikdowwqu\",\"name\":\"v\",\"type\":\"zx\"}]}";
+ = "{\"value\":[{\"properties\":{\"serviceName\":\"SSH\",\"resourceId\":\"tllxdyhgsyocogj\",\"port\":6994873517454554947,\"provisioningState\":\"Creating\"},\"id\":\"hadoocrk\",\"name\":\"cikhnv\",\"type\":\"amqgxqquezikyw\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,10 +33,10 @@ public void testListByEndpointResource() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response = manager.serviceConfigurations()
- .listByEndpointResource("zmuvpbttdumorppx", "bmnzbtbhjpgl", com.azure.core.util.Context.NONE);
+ .listByEndpointResource("lwwrl", "dmtnc", com.azure.core.util.Context.NONE);
- Assertions.assertEquals(ServiceName.WAC, response.iterator().next().serviceName());
- Assertions.assertEquals("hdneuelfph", response.iterator().next().resourceId());
- Assertions.assertEquals(5814437001624716680L, response.iterator().next().port());
+ Assertions.assertEquals(ServiceName.SSH, response.iterator().next().serviceName());
+ Assertions.assertEquals("tllxdyhgsyocogj", response.iterator().next().resourceId());
+ Assertions.assertEquals(6994873517454554947L, response.iterator().next().port());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationInnerTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationInnerTests.java
index e7cb336ee170..bc95eb4ea865 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationInnerTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationInnerTests.java
@@ -16,23 +16,23 @@ public final class SolutionConfigurationInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SolutionConfigurationInner model = BinaryData.fromString(
- "{\"properties\":{\"provisioningState\":\"Canceled\",\"solutionType\":\"jj\",\"solutionSettings\":{\"wmc\":\"udgwdslfho\",\"cftadeh\":\"npwlbjnpg\",\"dejbavo\":\"nltyfsoppusuesnz\"},\"status\":\"Completed\",\"statusDetails\":\"mohctb\",\"lastSyncTime\":\"2021-09-18T10:27:07Z\"},\"id\":\"wxdndnvowgujjug\",\"name\":\"dkcglhsl\",\"type\":\"zj\"}")
+ "{\"properties\":{\"provisioningState\":\"Canceled\",\"solutionType\":\"ishc\",\"solutionSettings\":{\"alpbuxwgipwhon\":\"jdeyeamdpha\",\"kix\":\"wkgshwa\",\"eputtmrywnuzoqf\":\"bin\",\"qvyxlwhzlsicoho\":\"iyqzrnk\"},\"status\":\"Failed\",\"statusDetails\":\"vlryavwhheunmmq\",\"lastSyncTime\":\"2021-11-09T07:05:36Z\"},\"id\":\"zko\",\"name\":\"ocukoklyax\",\"type\":\"conuqszfkbeype\"}")
.toObject(SolutionConfigurationInner.class);
- Assertions.assertEquals("jj", model.properties().solutionType());
- Assertions.assertEquals("npwlbjnpg",
- model.properties().solutionSettings().additionalProperties().get("cftadeh"));
+ Assertions.assertEquals("ishc", model.properties().solutionType());
+ Assertions.assertEquals("jdeyeamdpha",
+ model.properties().solutionSettings().additionalProperties().get("alpbuxwgipwhon"));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
SolutionConfigurationInner model = new SolutionConfigurationInner()
- .withProperties(new SolutionConfigurationProperties().withSolutionType("jj")
- .withSolutionSettings(new SolutionSettings().withAdditionalProperties(
- mapOf("cftadeh", "npwlbjnpg", "wmc", "udgwdslfho", "dejbavo", "nltyfsoppusuesnz"))));
+ .withProperties(new SolutionConfigurationProperties().withSolutionType("ishc")
+ .withSolutionSettings(new SolutionSettings().withAdditionalProperties(mapOf("alpbuxwgipwhon",
+ "jdeyeamdpha", "eputtmrywnuzoqf", "bin", "kix", "wkgshwa", "qvyxlwhzlsicoho", "iyqzrnk"))));
model = BinaryData.fromObject(model).toObject(SolutionConfigurationInner.class);
- Assertions.assertEquals("jj", model.properties().solutionType());
- Assertions.assertEquals("npwlbjnpg",
- model.properties().solutionSettings().additionalProperties().get("cftadeh"));
+ Assertions.assertEquals("ishc", model.properties().solutionType());
+ Assertions.assertEquals("jdeyeamdpha",
+ model.properties().solutionSettings().additionalProperties().get("alpbuxwgipwhon"));
}
// Use "Map.of" if available
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationListResultTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationListResultTests.java
index 2dc4fc6b7e32..15db4ef6230e 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationListResultTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationListResultTests.java
@@ -12,11 +12,11 @@ public final class SolutionConfigurationListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SolutionConfigurationListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"solutionType\":\"pnpulexxbczwtru\",\"solutionSettings\":{\"vsovmyokac\":\"bq\"},\"status\":\"InProgress\",\"statusDetails\":\"lhzdobp\",\"lastSyncTime\":\"2021-10-04T03:33:51Z\"},\"id\":\"lb\",\"name\":\"vnchrkcci\",\"type\":\"wzjuqk\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"solutionType\":\"jiwkuofoskghsau\",\"solutionSettings\":{\"duugidyjr\":\"mvxi\",\"y\":\"f\"},\"status\":\"Failed\",\"statusDetails\":\"e\",\"lastSyncTime\":\"2021-10-23T12:01:36Z\"},\"id\":\"npc\",\"name\":\"hocohslkev\",\"type\":\"eggzfb\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"solutionType\":\"vfaxkffeiith\",\"solutionSettings\":{\"shxmzsbbzoggigrx\":\"zy\"},\"status\":\"New\",\"statusDetails\":\"vjxxjnsp\",\"lastSyncTime\":\"2021-07-31T00:27:15Z\"},\"id\":\"koen\",\"name\":\"ou\",\"type\":\"nvudwtiukb\"},{\"properties\":{\"provisioningState\":\"Succeeded\",\"solutionType\":\"kpoc\",\"solutionSettings\":{\"ucgygevqz\":\"yxoegukgjnp\"},\"status\":\"New\",\"statusDetails\":\"mrbpizcdrqj\",\"lastSyncTime\":\"2021-09-28T20:18:05Z\"},\"id\":\"dnfyhxdeoejzicwi\",\"name\":\"sjttgzfbish\",\"type\":\"bkh\"}],\"nextLink\":\"deyeamdphagalpbu\"}")
+ "{\"value\":[{\"properties\":{\"provisioningState\":\"Canceled\",\"solutionType\":\"hijggme\",\"solutionSettings\":{\"rcvpnazzmhjrunmp\":\"arbu\",\"nkxmyskpbhenbtk\":\"ttdbhrbnl\",\"yxczfclh\":\"xywnytnrsynlqidy\"},\"status\":\"Completed\",\"statusDetails\":\"babphlwrqlfk\",\"lastSyncTime\":\"2021-04-12T23:58:10Z\"},\"id\":\"sucocmnyyazttbtw\",\"name\":\"rq\",\"type\":\"uedck\"},{\"properties\":{\"provisioningState\":\"Canceled\",\"solutionType\":\"iexzfeyue\",\"solutionSettings\":{\"aepdkzjanc\":\"xujwbhqwalmuzyo\"},\"status\":\"Completed\",\"statusDetails\":\"d\",\"lastSyncTime\":\"2021-06-03T22:53:23Z\"},\"id\":\"xbniwdjs\",\"name\":\"zt\",\"type\":\"dbpgnxytxhp\"},{\"properties\":{\"provisioningState\":\"Canceled\",\"solutionType\":\"pfza\",\"solutionSettings\":{\"lwzbhvgyugu\":\"uhxwtctyqiklbbov\"},\"status\":\"Completed\",\"statusDetails\":\"kfssxqukkf\",\"lastSyncTime\":\"2021-09-14T21:04:43Z\"},\"id\":\"gsxnkjzkdeslpv\",\"name\":\"opwi\",\"type\":\"ighxpk\"}],\"nextLink\":\"zb\"}")
.toObject(SolutionConfigurationListResult.class);
- Assertions.assertEquals("pnpulexxbczwtru", model.value().get(0).properties().solutionType());
- Assertions.assertEquals("bq",
- model.value().get(0).properties().solutionSettings().additionalProperties().get("vsovmyokac"));
- Assertions.assertEquals("deyeamdphagalpbu", model.nextLink());
+ Assertions.assertEquals("hijggme", model.value().get(0).properties().solutionType());
+ Assertions.assertEquals("arbu",
+ model.value().get(0).properties().solutionSettings().additionalProperties().get("rcvpnazzmhjrunmp"));
+ Assertions.assertEquals("zb", model.nextLink());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationPropertiesTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationPropertiesTests.java
index ee49e2fc85c5..17f56a59a9bb 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationPropertiesTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationPropertiesTests.java
@@ -15,21 +15,20 @@ public final class SolutionConfigurationPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SolutionConfigurationProperties model = BinaryData.fromString(
- "{\"provisioningState\":\"Canceled\",\"solutionType\":\"gdtjixhbkuofqwey\",\"solutionSettings\":{\"vfyexfw\":\"n\",\"nnaamdectehfiqsc\":\"ybcibvyvdcsit\",\"hcjrefovgmk\":\"eypvhezrkg\",\"yvxyqjp\":\"sle\"},\"status\":\"Failed\",\"statusDetails\":\"tpngjcrcczsqpjh\",\"lastSyncTime\":\"2021-11-23T05:20:04Z\"}")
+ "{\"provisioningState\":\"Canceled\",\"solutionType\":\"jmwvvj\",\"solutionSettings\":{\"ffrzpwvlqdqgbiqy\":\"xsenhwlr\",\"vf\":\"ihkaetcktvfc\",\"xerf\":\"nkymuctqhjfbebrj\"},\"status\":\"Failed\",\"statusDetails\":\"ttxfvjr\",\"lastSyncTime\":\"2021-02-26T08:38:10Z\"}")
.toObject(SolutionConfigurationProperties.class);
- Assertions.assertEquals("gdtjixhbkuofqwey", model.solutionType());
- Assertions.assertEquals("eypvhezrkg", model.solutionSettings().additionalProperties().get("hcjrefovgmk"));
+ Assertions.assertEquals("jmwvvj", model.solutionType());
+ Assertions.assertEquals("ihkaetcktvfc", model.solutionSettings().additionalProperties().get("vf"));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- SolutionConfigurationProperties model
- = new SolutionConfigurationProperties().withSolutionType("gdtjixhbkuofqwey")
- .withSolutionSettings(new SolutionSettings().withAdditionalProperties(mapOf("hcjrefovgmk", "eypvhezrkg",
- "yvxyqjp", "sle", "vfyexfw", "n", "nnaamdectehfiqsc", "ybcibvyvdcsit")));
+ SolutionConfigurationProperties model = new SolutionConfigurationProperties().withSolutionType("jmwvvj")
+ .withSolutionSettings(new SolutionSettings().withAdditionalProperties(
+ mapOf("vf", "ihkaetcktvfc", "xerf", "nkymuctqhjfbebrj", "ffrzpwvlqdqgbiqy", "xsenhwlr")));
model = BinaryData.fromObject(model).toObject(SolutionConfigurationProperties.class);
- Assertions.assertEquals("gdtjixhbkuofqwey", model.solutionType());
- Assertions.assertEquals("eypvhezrkg", model.solutionSettings().additionalProperties().get("hcjrefovgmk"));
+ Assertions.assertEquals("jmwvvj", model.solutionType());
+ Assertions.assertEquals("ihkaetcktvfc", model.solutionSettings().additionalProperties().get("vf"));
}
// Use "Map.of" if available
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationPropertiesUpdateTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationPropertiesUpdateTests.java
index d0265e1a2f2f..9711d4533edf 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationPropertiesUpdateTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationPropertiesUpdateTests.java
@@ -15,20 +15,21 @@ public final class SolutionConfigurationPropertiesUpdateTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SolutionConfigurationPropertiesUpdate model = BinaryData.fromString(
- "{\"solutionType\":\"ys\",\"solutionSettings\":{\"yudxorrqnbp\":\"uxh\",\"vkd\":\"czvyifq\",\"d\":\"jsllrmv\"}}")
+ "{\"solutionType\":\"xnehmpvec\",\"solutionSettings\":{\"ukgri\":\"ebfqkkrbm\",\"fbxzpuzycisp\":\"flz\",\"y\":\"qzahmgkbrp\",\"rgvtqag\":\"hibnuqqkpika\"}}")
.toObject(SolutionConfigurationPropertiesUpdate.class);
- Assertions.assertEquals("ys", model.solutionType());
- Assertions.assertEquals("uxh", model.solutionSettings().additionalProperties().get("yudxorrqnbp"));
+ Assertions.assertEquals("xnehmpvec", model.solutionType());
+ Assertions.assertEquals("flz", model.solutionSettings().additionalProperties().get("fbxzpuzycisp"));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- SolutionConfigurationPropertiesUpdate model = new SolutionConfigurationPropertiesUpdate().withSolutionType("ys")
- .withSolutionSettings(new SolutionSettings()
- .withAdditionalProperties(mapOf("yudxorrqnbp", "uxh", "d", "jsllrmv", "vkd", "czvyifq")));
+ SolutionConfigurationPropertiesUpdate model
+ = new SolutionConfigurationPropertiesUpdate().withSolutionType("xnehmpvec")
+ .withSolutionSettings(new SolutionSettings().withAdditionalProperties(
+ mapOf("fbxzpuzycisp", "flz", "y", "qzahmgkbrp", "ukgri", "ebfqkkrbm", "rgvtqag", "hibnuqqkpika")));
model = BinaryData.fromObject(model).toObject(SolutionConfigurationPropertiesUpdate.class);
- Assertions.assertEquals("ys", model.solutionType());
- Assertions.assertEquals("uxh", model.solutionSettings().additionalProperties().get("yudxorrqnbp"));
+ Assertions.assertEquals("xnehmpvec", model.solutionType());
+ Assertions.assertEquals("flz", model.solutionSettings().additionalProperties().get("fbxzpuzycisp"));
}
// Use "Map.of" if available
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationUpdateTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationUpdateTests.java
index acf820eb28a7..44aeae6baafe 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationUpdateTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationUpdateTests.java
@@ -16,23 +16,23 @@ public final class SolutionConfigurationUpdateTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SolutionConfigurationUpdate model = BinaryData.fromString(
- "{\"properties\":{\"solutionType\":\"v\",\"solutionSettings\":{\"pfhyhl\":\"unqecanoae\",\"atuokthfuiu\":\"rpmopjmc\",\"zydagfuaxbezyiuo\":\"odsfcpkvxodpuozm\"}},\"id\":\"twhrdxwzywqsm\",\"name\":\"surex\",\"type\":\"moryocfsfksym\"}")
+ "{\"properties\":{\"solutionType\":\"xepcyvahfn\",\"solutionSettings\":{\"uujqgidokgjljyo\":\"qxj\"}},\"id\":\"vcltbgsncgh\",\"name\":\"jeszzhbijhtxfv\",\"type\":\"xbf\"}")
.toObject(SolutionConfigurationUpdate.class);
- Assertions.assertEquals("v", model.properties().solutionType());
- Assertions.assertEquals("odsfcpkvxodpuozm",
- model.properties().solutionSettings().additionalProperties().get("zydagfuaxbezyiuo"));
+ Assertions.assertEquals("xepcyvahfn", model.properties().solutionType());
+ Assertions.assertEquals("qxj",
+ model.properties().solutionSettings().additionalProperties().get("uujqgidokgjljyo"));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
SolutionConfigurationUpdate model = new SolutionConfigurationUpdate()
- .withProperties(new SolutionConfigurationPropertiesUpdate().withSolutionType("v")
- .withSolutionSettings(new SolutionSettings().withAdditionalProperties(
- mapOf("zydagfuaxbezyiuo", "odsfcpkvxodpuozm", "atuokthfuiu", "rpmopjmc", "pfhyhl", "unqecanoae"))));
+ .withProperties(new SolutionConfigurationPropertiesUpdate().withSolutionType("xepcyvahfn")
+ .withSolutionSettings(
+ new SolutionSettings().withAdditionalProperties(mapOf("uujqgidokgjljyo", "qxj"))));
model = BinaryData.fromObject(model).toObject(SolutionConfigurationUpdate.class);
- Assertions.assertEquals("v", model.properties().solutionType());
- Assertions.assertEquals("odsfcpkvxodpuozm",
- model.properties().solutionSettings().additionalProperties().get("zydagfuaxbezyiuo"));
+ Assertions.assertEquals("xepcyvahfn", model.properties().solutionType());
+ Assertions.assertEquals("qxj",
+ model.properties().solutionSettings().additionalProperties().get("uujqgidokgjljyo"));
}
// Use "Map.of" if available
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsCreateOrUpdateWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsCreateOrUpdateWithResponseMockTests.java
index 8ce4aa779779..13dfcbdfaa55 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsCreateOrUpdateWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsCreateOrUpdateWithResponseMockTests.java
@@ -25,7 +25,7 @@ public final class SolutionConfigurationsCreateOrUpdateWithResponseMockTests {
@Test
public void testCreateOrUpdateWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Canceled\",\"solutionType\":\"hziuiefozbhdms\",\"solutionSettings\":{\"icslfaoq\":\"qhoftrmaequiah\",\"kaivwit\":\"piyylhalnswhccsp\"},\"status\":\"Completed\",\"statusDetails\":\"wuggwolu\",\"lastSyncTime\":\"2021-02-16T05:41:02Z\"},\"id\":\"wem\",\"name\":\"ai\",\"type\":\"sbrgz\"}";
+ = "{\"properties\":{\"provisioningState\":\"Failed\",\"solutionType\":\"epttwqmsniff\",\"solutionSettings\":{\"frddhcrati\":\"nrojlpijnkr\",\"zq\":\"zronasxift\",\"tw\":\"zh\",\"lgnyhmo\":\"sgogczhonnxk\"},\"status\":\"New\",\"statusDetails\":\"kgthrrghxjbd\",\"lastSyncTime\":\"2021-11-06T08:53:41Z\"},\"id\":\"xgfrpdsofbshrnsv\",\"name\":\"uswdv\",\"type\":\"yybyc\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -35,16 +35,15 @@ public void testCreateOrUpdateWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
SolutionConfiguration response = manager.solutionConfigurations()
- .define("sfraoyzko")
- .withExistingResourceUri("exztvbtq")
- .withProperties(new SolutionConfigurationProperties().withSolutionType("mnguxawqaldsyu")
- .withSolutionSettings(new SolutionSettings().withAdditionalProperties(
- mapOf("r", "znkbykutwpfhpagm", "bw", "erqf", "sdsttwvog", "dlhewp", "kkze", "kdsnfdsdoakgtdl"))))
+ .define("ttpkiwkkbnujrywv")
+ .withExistingResourceUri("xyfwnylrcool")
+ .withProperties(new SolutionConfigurationProperties().withSolutionType("fpncurdo")
+ .withSolutionSettings(new SolutionSettings()
+ .withAdditionalProperties(mapOf("umwctondz", "fdntwjchrdgoih", "cbihwqk", "thtywub"))))
.create();
- Assertions.assertEquals("hziuiefozbhdms", response.properties().solutionType());
- Assertions.assertEquals("piyylhalnswhccsp",
- response.properties().solutionSettings().additionalProperties().get("kaivwit"));
+ Assertions.assertEquals("epttwqmsniff", response.properties().solutionType());
+ Assertions.assertEquals("zh", response.properties().solutionSettings().additionalProperties().get("tw"));
}
// Use "Map.of" if available
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsDeleteByResourceGroupWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsDeleteByResourceGroupWithResponseMockTests.java
index 26cd8b8d7fbf..9a19ac4600cc 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsDeleteByResourceGroupWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsDeleteByResourceGroupWithResponseMockTests.java
@@ -28,7 +28,7 @@ public void testDeleteWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
manager.solutionConfigurations()
- .deleteByResourceGroupWithResponse("patdooaojkniodko", "ebwnujhe", com.azure.core.util.Context.NONE);
+ .deleteByResourceGroupWithResponse("v", "kkgll", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsGetWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsGetWithResponseMockTests.java
index 12ca82b33afd..c3ccbb33d5f1 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsGetWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsGetWithResponseMockTests.java
@@ -21,7 +21,7 @@ public final class SolutionConfigurationsGetWithResponseMockTests {
@Test
public void testGetWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"provisioningState\":\"Succeeded\",\"solutionType\":\"xnevfdnwn\",\"solutionSettings\":{\"bjudpfrxtrthzv\":\"zsyyceuzso\",\"qbrqubpaxhexiili\":\"ytdw\",\"q\":\"pdtii\"},\"status\":\"Completed\",\"statusDetails\":\"axoruzfgsquy\",\"lastSyncTime\":\"2021-03-18T06:01:03Z\"},\"id\":\"xleptramx\",\"name\":\"ezw\",\"type\":\"wnwxuqlcvyd\"}";
+ = "{\"properties\":{\"provisioningState\":\"Failed\",\"solutionType\":\"owepbqpcrfkb\",\"solutionSettings\":{\"dw\":\"njv\",\"nkhtjsyingw\":\"lpqekf\",\"gikdgsz\":\"qatmtdhtmdvy\",\"birryuzhl\":\"w\"},\"status\":\"Completed\",\"statusDetails\":\"qrvqq\",\"lastSyncTime\":\"2021-10-29T20:59:14Z\"},\"id\":\"inrvgoupmfi\",\"name\":\"bfggjioolvr\",\"type\":\"x\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -30,11 +30,11 @@ public void testGetWithResponse() throws Exception {
.authenticate(tokenRequestContext -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)),
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
- SolutionConfiguration response = manager.solutionConfigurations()
- .getWithResponse("ayffim", "zrtuzq", com.azure.core.util.Context.NONE)
- .getValue();
+ SolutionConfiguration response
+ = manager.solutionConfigurations().getWithResponse("ob", "pg", com.azure.core.util.Context.NONE).getValue();
- Assertions.assertEquals("xnevfdnwn", response.properties().solutionType());
- Assertions.assertEquals("pdtii", response.properties().solutionSettings().additionalProperties().get("q"));
+ Assertions.assertEquals("owepbqpcrfkb", response.properties().solutionType());
+ Assertions.assertEquals("qatmtdhtmdvy",
+ response.properties().solutionSettings().additionalProperties().get("gikdgsz"));
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsListMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsListMockTests.java
index 3b10f175129d..693a39cf46cf 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsListMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionConfigurationsListMockTests.java
@@ -22,7 +22,7 @@ public final class SolutionConfigurationsListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"solutionType\":\"lt\",\"solutionSettings\":{\"pagao\":\"vefkdlfoakggk\",\"jnsjervtiagxsd\":\"pulpqblylsyxk\",\"beyvpnqicvinvkjj\":\"zuempsbzkf\",\"yhmlwpaztzp\":\"dxrbuukzcle\"},\"status\":\"InProgress\",\"statusDetails\":\"ckw\",\"lastSyncTime\":\"2021-07-01T12:09:49Z\"},\"id\":\"whxxbuyqax\",\"name\":\"feqztppriol\",\"type\":\"or\"}]}";
+ = "{\"value\":[{\"properties\":{\"provisioningState\":\"Failed\",\"solutionType\":\"xvvy\",\"solutionSettings\":{\"wz\":\"pbyrqufegxu\",\"l\":\"bnhlmc\",\"itvgbmhrixkwm\":\"dn\"},\"status\":\"InProgress\",\"statusDetails\":\"jvegrhbpnaixexcc\",\"lastSyncTime\":\"2020-12-28T17:34:21Z\"},\"id\":\"ax\",\"name\":\"cexdrrvqa\",\"type\":\"qkghtpwijnhy\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,10 +32,10 @@ public void testList() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.solutionConfigurations().list("msbvdkcrodtjinf", com.azure.core.util.Context.NONE);
+ = manager.solutionConfigurations().list("wjygvjayvblmhvk", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("lt", response.iterator().next().properties().solutionType());
- Assertions.assertEquals("vefkdlfoakggk",
- response.iterator().next().properties().solutionSettings().additionalProperties().get("pagao"));
+ Assertions.assertEquals("xvvy", response.iterator().next().properties().solutionType());
+ Assertions.assertEquals("pbyrqufegxu",
+ response.iterator().next().properties().solutionSettings().additionalProperties().get("wz"));
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypePropertiesTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypePropertiesTests.java
index c1e00f810367..79136e847a9b 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypePropertiesTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypePropertiesTests.java
@@ -5,6 +5,7 @@
package com.azure.resourcemanager.hybridconnectivity.generated;
import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeProperties;
import org.junit.jupiter.api.Assertions;
@@ -12,16 +13,18 @@ public final class SolutionTypePropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SolutionTypeProperties model = BinaryData.fromString(
- "{\"solutionType\":\"mg\",\"description\":\"nkjzkdeslpvlop\",\"supportedAzureRegions\":[\"ighxpk\",\"wzbaiue\"],\"solutionSettings\":[{\"name\":\"umnyqu\",\"displayName\":\"edeojnabc\",\"type\":\"hsmtxpsiebtfhvp\",\"description\":\"sapskr\",\"allowedValues\":[\"mhjjdhtldwkyzx\",\"utknc\",\"scwsv\"],\"defaultValue\":\"xotogtwrupqsxv\"}]}")
+ "{\"solutionType\":\"ibtnmxiebwwaloay\",\"description\":\"gwrtzju\",\"supportedAzureRegions\":[\"yzm\",\"txon\",\"mtsavjcbpwxqp\"],\"hostTypes\":[\"GCP\",\"AWS\",\"GCP\"],\"solutionSettings\":[{\"name\":\"vriuhprwmdyvx\",\"displayName\":\"tayriwwroyqbex\",\"type\":\"mcqibycnojv\",\"description\":\"nmefqsgzvahapj\",\"allowedValues\":[\"hpvgqz\",\"j\",\"vxdjzlmwlxkvugf\",\"zovawjvz\"],\"hostTypes\":[\"AWS\",\"GCP\"],\"defaultValue\":\"thnnpr\"},{\"name\":\"xipeilpjzuaejx\",\"displayName\":\"ultskzbbtdz\",\"type\":\"mv\",\"description\":\"ekg\",\"allowedValues\":[\"ozuhkfp\",\"sjyofdx\"],\"hostTypes\":[\"AWS\",\"AWS\",\"GCP\"],\"defaultValue\":\"ttouwaboekqvkel\"},{\"name\":\"smv\",\"displayName\":\"xwyjsflhhc\",\"type\":\"aln\",\"description\":\"ixisxyawjoy\",\"allowedValues\":[\"cslyjpk\",\"idzyexznelixhnr\",\"tfolhbnx\"],\"hostTypes\":[\"GCP\",\"AWS\",\"AWS\"],\"defaultValue\":\"ulppggdtpnapnyir\"}]}")
.toObject(SolutionTypeProperties.class);
- Assertions.assertEquals("mg", model.solutionType());
- Assertions.assertEquals("nkjzkdeslpvlop", model.description());
- Assertions.assertEquals("ighxpk", model.supportedAzureRegions().get(0));
- Assertions.assertEquals("umnyqu", model.solutionSettings().get(0).name());
- Assertions.assertEquals("edeojnabc", model.solutionSettings().get(0).displayName());
- Assertions.assertEquals("hsmtxpsiebtfhvp", model.solutionSettings().get(0).type());
- Assertions.assertEquals("sapskr", model.solutionSettings().get(0).description());
- Assertions.assertEquals("mhjjdhtldwkyzx", model.solutionSettings().get(0).allowedValues().get(0));
- Assertions.assertEquals("xotogtwrupqsxv", model.solutionSettings().get(0).defaultValue());
+ Assertions.assertEquals("ibtnmxiebwwaloay", model.solutionType());
+ Assertions.assertEquals("gwrtzju", model.description());
+ Assertions.assertEquals("yzm", model.supportedAzureRegions().get(0));
+ Assertions.assertEquals(HostType.GCP, model.hostTypes().get(0));
+ Assertions.assertEquals("vriuhprwmdyvx", model.solutionSettings().get(0).name());
+ Assertions.assertEquals("tayriwwroyqbex", model.solutionSettings().get(0).displayName());
+ Assertions.assertEquals("mcqibycnojv", model.solutionSettings().get(0).type());
+ Assertions.assertEquals("nmefqsgzvahapj", model.solutionSettings().get(0).description());
+ Assertions.assertEquals("hpvgqz", model.solutionSettings().get(0).allowedValues().get(0));
+ Assertions.assertEquals(HostType.AWS, model.solutionSettings().get(0).hostTypes().get(0));
+ Assertions.assertEquals("thnnpr", model.solutionSettings().get(0).defaultValue());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypeResourceInnerTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypeResourceInnerTests.java
index f50254df57b3..91a35d869a07 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypeResourceInnerTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypeResourceInnerTests.java
@@ -6,22 +6,25 @@
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.hybridconnectivity.fluent.models.SolutionTypeResourceInner;
+import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import org.junit.jupiter.api.Assertions;
public final class SolutionTypeResourceInnerTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SolutionTypeResourceInner model = BinaryData.fromString(
- "{\"properties\":{\"solutionType\":\"hbijhtxfvgxb\",\"description\":\"mxnehmp\",\"supportedAzureRegions\":[\"xgodebfqkkrbmp\",\"kgriwflzlfbx\"],\"solutionSettings\":[{\"name\":\"zycispn\",\"displayName\":\"zahmgkbrpyydhibn\",\"type\":\"qqkpikadrg\",\"description\":\"tqagnbuynh\",\"allowedValues\":[\"gg\",\"ebf\",\"iarbutrcvpna\",\"zmhjrunmp\"],\"defaultValue\":\"ttdbhrbnl\"},{\"name\":\"nkxmyskpbhenbtk\",\"displayName\":\"xywnytnrsynlqidy\",\"type\":\"yxczfclh\",\"description\":\"axdbabph\",\"allowedValues\":[\"rqlfktsthsucocmn\",\"yazttbtwwrqpue\",\"ckzywbiexzfeyue\",\"xibxujwbhqwalm\"],\"defaultValue\":\"zyoxaepdkzjan\"},{\"name\":\"ux\",\"displayName\":\"hdwbavxbniwdjs\",\"type\":\"zt\",\"description\":\"dbpgnxytxhp\",\"allowedValues\":[\"bzpfzab\",\"lcuhxwtctyqiklb\"],\"defaultValue\":\"ovplw\"}]},\"id\":\"hvgyuguosvmk\",\"name\":\"ss\",\"type\":\"qukkfp\"}")
+ "{\"properties\":{\"solutionType\":\"rqjbhckfrl\",\"description\":\"xsbkyvpyca\",\"supportedAzureRegions\":[\"bpzkafkuwbc\"],\"hostTypes\":[\"AWS\"],\"solutionSettings\":[{\"name\":\"hhseyv\",\"displayName\":\"us\",\"type\":\"tslhspkdeem\",\"description\":\"ofmxagkvtmelmqkr\",\"allowedValues\":[\"hvljuahaquh\",\"dhmdua\",\"aex\"],\"hostTypes\":[\"AWS\",\"AWS\",\"AWS\"],\"defaultValue\":\"dmwsrcrgvxpvgomz\"},{\"name\":\"fmisg\",\"displayName\":\"bnbbeldawkz\",\"type\":\"ali\",\"description\":\"urqhaka\",\"allowedValues\":[\"ashsfwxos\",\"w\",\"xcug\"],\"hostTypes\":[\"GCP\",\"GCP\",\"GCP\",\"AWS\"],\"defaultValue\":\"djeb\"},{\"name\":\"pucwwfvovbvme\",\"displayName\":\"ecivyh\",\"type\":\"ce\",\"description\":\"ojgjrwjueiotwmc\",\"allowedValues\":[\"tdx\",\"it\"],\"hostTypes\":[\"AWS\",\"AWS\",\"GCP\"],\"defaultValue\":\"wgqwgxhn\"},{\"name\":\"skxfbk\",\"displayName\":\"y\",\"type\":\"gklwn\",\"description\":\"nhjdauw\",\"allowedValues\":[\"ylwz\",\"tdhxujznbmpowuwp\",\"zqlveualupjmkhf\"],\"hostTypes\":[\"GCP\"],\"defaultValue\":\"bcswsrt\"}]},\"id\":\"iplrbpbewtghfgb\",\"name\":\"c\",\"type\":\"wxzvlvqhjkb\"}")
.toObject(SolutionTypeResourceInner.class);
- Assertions.assertEquals("hbijhtxfvgxb", model.properties().solutionType());
- Assertions.assertEquals("mxnehmp", model.properties().description());
- Assertions.assertEquals("xgodebfqkkrbmp", model.properties().supportedAzureRegions().get(0));
- Assertions.assertEquals("zycispn", model.properties().solutionSettings().get(0).name());
- Assertions.assertEquals("zahmgkbrpyydhibn", model.properties().solutionSettings().get(0).displayName());
- Assertions.assertEquals("qqkpikadrg", model.properties().solutionSettings().get(0).type());
- Assertions.assertEquals("tqagnbuynh", model.properties().solutionSettings().get(0).description());
- Assertions.assertEquals("gg", model.properties().solutionSettings().get(0).allowedValues().get(0));
- Assertions.assertEquals("ttdbhrbnl", model.properties().solutionSettings().get(0).defaultValue());
+ Assertions.assertEquals("rqjbhckfrl", model.properties().solutionType());
+ Assertions.assertEquals("xsbkyvpyca", model.properties().description());
+ Assertions.assertEquals("bpzkafkuwbc", model.properties().supportedAzureRegions().get(0));
+ Assertions.assertEquals(HostType.AWS, model.properties().hostTypes().get(0));
+ Assertions.assertEquals("hhseyv", model.properties().solutionSettings().get(0).name());
+ Assertions.assertEquals("us", model.properties().solutionSettings().get(0).displayName());
+ Assertions.assertEquals("tslhspkdeem", model.properties().solutionSettings().get(0).type());
+ Assertions.assertEquals("ofmxagkvtmelmqkr", model.properties().solutionSettings().get(0).description());
+ Assertions.assertEquals("hvljuahaquh", model.properties().solutionSettings().get(0).allowedValues().get(0));
+ Assertions.assertEquals(HostType.AWS, model.properties().solutionSettings().get(0).hostTypes().get(0));
+ Assertions.assertEquals("dmwsrcrgvxpvgomz", model.properties().solutionSettings().get(0).defaultValue());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypeResourceListResultTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypeResourceListResultTests.java
index 5cbeab691062..7bcdb57fa238 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypeResourceListResultTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypeResourceListResultTests.java
@@ -6,25 +6,30 @@
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.hybridconnectivity.implementation.models.SolutionTypeResourceListResult;
+import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import org.junit.jupiter.api.Assertions;
public final class SolutionTypeResourceListResultTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SolutionTypeResourceListResult model = BinaryData.fromString(
- "{\"value\":[{\"properties\":{\"solutionType\":\"xywpmueefjzwfqkq\",\"description\":\"ids\",\"supportedAzureRegions\":[\"nobglaocq\",\"tcc\",\"g\"],\"solutionSettings\":[{\"name\":\"xy\",\"displayName\":\"lmoyrx\",\"type\":\"wfudwpzntxhdzhl\",\"description\":\"qj\",\"allowedValues\":[\"ck\",\"rlhrxs\",\"kyv\"],\"defaultValue\":\"ycanuzbpzkafku\"}]},\"id\":\"crnwbmeh\",\"name\":\"seyvj\",\"type\":\"srtslhspkdeem\"},{\"properties\":{\"solutionType\":\"mx\",\"description\":\"kv\",\"supportedAzureRegions\":[\"lmqkrhahvlj\",\"ahaquh\"],\"solutionSettings\":[{\"name\":\"mdua\",\"displayName\":\"aex\",\"type\":\"pvfadmwsrcr\",\"description\":\"vxpvgomz\",\"allowedValues\":[\"misgwbnb\",\"e\"],\"defaultValue\":\"dawkzbali\"},{\"name\":\"urqhaka\",\"displayName\":\"hashsfwxosow\",\"type\":\"xcug\",\"description\":\"cjooxdjebwpucwwf\",\"allowedValues\":[\"vbvmeu\",\"civyhzceuo\",\"gjrwjueiotwmcdyt\"],\"defaultValue\":\"x\"}]},\"id\":\"txnrjaw\",\"name\":\"qwgxhniskx\",\"type\":\"bkpyc\"},{\"properties\":{\"solutionType\":\"wndnhj\",\"description\":\"uwhvylwzbtdhxujz\",\"supportedAzureRegions\":[\"pow\",\"wpr\"],\"solutionSettings\":[{\"name\":\"veual\",\"displayName\":\"pjmkhfxobbc\",\"type\":\"wsrtjriplrbpbe\",\"description\":\"tghfgblcgwxzvl\",\"allowedValues\":[\"hjkbegibtnmxieb\"],\"defaultValue\":\"waloayqcgwr\"}]},\"id\":\"j\",\"name\":\"zg\",\"type\":\"yzm\"},{\"properties\":{\"solutionType\":\"ongmtsa\",\"description\":\"cbpwxqpsrknft\",\"supportedAzureRegions\":[\"riuhprwm\",\"yvxqtayriwwroy\",\"bexrmcq\",\"bycnojvkn\"],\"solutionSettings\":[{\"name\":\"qsgzvahapj\",\"displayName\":\"zhpvgqzcjrvxd\",\"type\":\"zlmwlxkvugfhz\",\"description\":\"vawjvzunlu\",\"allowedValues\":[\"nnprn\",\"i\"],\"defaultValue\":\"eilpjzuaejxdu\"},{\"name\":\"tskzbbtdzumveek\",\"displayName\":\"pwo\",\"type\":\"uh\",\"description\":\"fpbsjyofdxl\",\"allowedValues\":[\"sd\"],\"defaultValue\":\"touwaboekqv\"},{\"name\":\"elnsmvbxw\",\"displayName\":\"jsflhhcaalnjix\",\"type\":\"sxyawjoyaqcs\",\"description\":\"yjpkiidzyexz\",\"allowedValues\":[\"lixhnrztfol\"],\"defaultValue\":\"bnxknalaulppg\"}]},\"id\":\"tpnapnyiropuhpig\",\"name\":\"pgylg\",\"type\":\"git\"}],\"nextLink\":\"edjvcslynqw\"}")
+ "{\"value\":[{\"properties\":{\"solutionType\":\"pcqeqx\",\"description\":\"z\",\"supportedAzureRegions\":[\"zxctobgb\",\"dmoizpostmg\"],\"hostTypes\":[\"GCP\",\"GCP\",\"GCP\"],\"solutionSettings\":[{\"name\":\"fqjhhkxbpvjymj\",\"displayName\":\"xxjyngudivkrtsw\",\"type\":\"xqzvszjfa\",\"description\":\"vjfdx\",\"allowedValues\":[\"vetvt\",\"qaqtdoqmcbxvwvxy\"],\"hostTypes\":[\"GCP\",\"AWS\"],\"defaultValue\":\"hsfxoblytkb\"},{\"name\":\"mpew\",\"displayName\":\"wfbkrvrns\",\"type\":\"shqjohxcrsbf\",\"description\":\"vasrruvwb\",\"allowedValues\":[\"qfsubcgjbirx\",\"pybsrfbjfdtw\",\"sotftpvj\",\"bexilzznfqqnv\"],\"hostTypes\":[\"GCP\",\"GCP\"],\"defaultValue\":\"taruoujmkcj\"},{\"name\":\"wqytjrybnwjewgdr\",\"displayName\":\"ervnaenqpehi\",\"type\":\"doy\",\"description\":\"mifthnzdnd\",\"allowedValues\":[\"gnayqigynduh\"],\"hostTypes\":[\"GCP\",\"AWS\",\"AWS\"],\"defaultValue\":\"kthumaqolbgycdui\"}]},\"id\":\"tgccymvaolpss\",\"name\":\"qlfmmdnbb\",\"type\":\"lzpswiydm\"},{\"properties\":{\"solutionType\":\"hzdxssadbzm\",\"description\":\"dfznudaodv\",\"supportedAzureRegions\":[\"ncblylpst\",\"bhhxsrzdzuc\",\"rsc\",\"ntnev\"],\"hostTypes\":[\"GCP\"],\"solutionSettings\":[{\"name\":\"gtdsslswt\",\"displayName\":\"weriofzpyqsem\",\"type\":\"abnetshh\",\"description\":\"zhedplvwiw\",\"allowedValues\":[\"mwmbes\",\"dnkwwtppjflcxog\",\"okonzmnsikvmkqz\"],\"hostTypes\":[\"AWS\",\"GCP\",\"AWS\",\"AWS\"],\"defaultValue\":\"tfz\"},{\"name\":\"mhhv\",\"displayName\":\"gureodkwobdag\",\"type\":\"tibqdxbxwakb\",\"description\":\"gqxndlkzgxhuripl\",\"allowedValues\":[\"odxun\",\"bebxmubyyntwl\"],\"hostTypes\":[\"AWS\",\"GCP\",\"AWS\",\"GCP\"],\"defaultValue\":\"ievseotgqrllt\"},{\"name\":\"u\",\"displayName\":\"lauwzizxbmpgcjef\",\"type\":\"zmuvpbttdumorppx\",\"description\":\"bmnzbtbhjpgl\",\"allowedValues\":[\"gohdneuelfphsd\",\"htozfikdow\",\"quuvxzxcl\",\"ithhqzon\"],\"hostTypes\":[\"GCP\"],\"defaultValue\":\"gbhcohfwdsj\"}]},\"id\":\"aljutiiswac\",\"name\":\"fgdkzzew\",\"type\":\"fvhqc\"}],\"nextLink\":\"ilvpnppfuflrwd\"}")
.toObject(SolutionTypeResourceListResult.class);
- Assertions.assertEquals("xywpmueefjzwfqkq", model.value().get(0).properties().solutionType());
- Assertions.assertEquals("ids", model.value().get(0).properties().description());
- Assertions.assertEquals("nobglaocq", model.value().get(0).properties().supportedAzureRegions().get(0));
- Assertions.assertEquals("xy", model.value().get(0).properties().solutionSettings().get(0).name());
- Assertions.assertEquals("lmoyrx", model.value().get(0).properties().solutionSettings().get(0).displayName());
- Assertions.assertEquals("wfudwpzntxhdzhl", model.value().get(0).properties().solutionSettings().get(0).type());
- Assertions.assertEquals("qj", model.value().get(0).properties().solutionSettings().get(0).description());
- Assertions.assertEquals("ck",
+ Assertions.assertEquals("pcqeqx", model.value().get(0).properties().solutionType());
+ Assertions.assertEquals("z", model.value().get(0).properties().description());
+ Assertions.assertEquals("zxctobgb", model.value().get(0).properties().supportedAzureRegions().get(0));
+ Assertions.assertEquals(HostType.GCP, model.value().get(0).properties().hostTypes().get(0));
+ Assertions.assertEquals("fqjhhkxbpvjymj", model.value().get(0).properties().solutionSettings().get(0).name());
+ Assertions.assertEquals("xxjyngudivkrtsw",
+ model.value().get(0).properties().solutionSettings().get(0).displayName());
+ Assertions.assertEquals("xqzvszjfa", model.value().get(0).properties().solutionSettings().get(0).type());
+ Assertions.assertEquals("vjfdx", model.value().get(0).properties().solutionSettings().get(0).description());
+ Assertions.assertEquals("vetvt",
model.value().get(0).properties().solutionSettings().get(0).allowedValues().get(0));
- Assertions.assertEquals("ycanuzbpzkafku",
+ Assertions.assertEquals(HostType.GCP,
+ model.value().get(0).properties().solutionSettings().get(0).hostTypes().get(0));
+ Assertions.assertEquals("hsfxoblytkb",
model.value().get(0).properties().solutionSettings().get(0).defaultValue());
- Assertions.assertEquals("edjvcslynqw", model.nextLink());
+ Assertions.assertEquals("ilvpnppfuflrwd", model.nextLink());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypeSettingsPropertiesTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypeSettingsPropertiesTests.java
index de9059f61944..2b348edb15dc 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypeSettingsPropertiesTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypeSettingsPropertiesTests.java
@@ -5,6 +5,7 @@
package com.azure.resourcemanager.hybridconnectivity.generated;
import com.azure.core.util.BinaryData;
+import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeSettingsProperties;
import org.junit.jupiter.api.Assertions;
@@ -12,13 +13,14 @@ public final class SolutionTypeSettingsPropertiesTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
SolutionTypeSettingsProperties model = BinaryData.fromString(
- "{\"name\":\"micykvceoveilo\",\"displayName\":\"notyfjfcnjbkcn\",\"type\":\"dhbt\",\"description\":\"kphywpnvjto\",\"allowedValues\":[\"ermclfplphoxuscr\",\"abgy\"],\"defaultValue\":\"psbjta\"}")
+ "{\"name\":\"pu\",\"displayName\":\"pigvpgylgqgitx\",\"type\":\"edjvcslynqw\",\"description\":\"ncw\",\"allowedValues\":[\"hxg\",\"trmgucnapkte\",\"ellwptfdy\"],\"hostTypes\":[\"GCP\",\"GCP\",\"AWS\"],\"defaultValue\":\"uaceopzfqrhhu\"}")
.toObject(SolutionTypeSettingsProperties.class);
- Assertions.assertEquals("micykvceoveilo", model.name());
- Assertions.assertEquals("notyfjfcnjbkcn", model.displayName());
- Assertions.assertEquals("dhbt", model.type());
- Assertions.assertEquals("kphywpnvjto", model.description());
- Assertions.assertEquals("ermclfplphoxuscr", model.allowedValues().get(0));
- Assertions.assertEquals("psbjta", model.defaultValue());
+ Assertions.assertEquals("pu", model.name());
+ Assertions.assertEquals("pigvpgylgqgitx", model.displayName());
+ Assertions.assertEquals("edjvcslynqw", model.type());
+ Assertions.assertEquals("ncw", model.description());
+ Assertions.assertEquals("hxg", model.allowedValues().get(0));
+ Assertions.assertEquals(HostType.GCP, model.hostTypes().get(0));
+ Assertions.assertEquals("uaceopzfqrhhu", model.defaultValue());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesGetByResourceGroupWithResponseMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesGetByResourceGroupWithResponseMockTests.java
index 3dcf09a6712d..c34a3c2e7c33 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesGetByResourceGroupWithResponseMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesGetByResourceGroupWithResponseMockTests.java
@@ -10,6 +10,7 @@
import com.azure.core.models.AzureCloud;
import com.azure.core.test.http.MockHttpResponse;
import com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager;
+import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeResource;
import java.nio.charset.StandardCharsets;
import java.time.OffsetDateTime;
@@ -21,7 +22,7 @@ public final class SolutionTypesGetByResourceGroupWithResponseMockTests {
@Test
public void testGetByResourceGroupWithResponse() throws Exception {
String responseStr
- = "{\"properties\":{\"solutionType\":\"rkvfgbvfvpdbo\",\"description\":\"cizsjqlhkrribdei\",\"supportedAzureRegions\":[\"p\",\"kghv\",\"ndzwmkrefa\",\"pjorwkqnyhg\"],\"solutionSettings\":[{\"name\":\"tjivfxzsjabib\",\"displayName\":\"ystawfsdjpvkvp\",\"type\":\"jxbkzbzkdvn\",\"description\":\"jabudurgkakmo\",\"allowedValues\":[\"hjjklff\",\"mouwqlgzrfzeey\",\"bizikayuhq\",\"bjbsybb\"],\"defaultValue\":\"wrv\"}]},\"id\":\"dgmfpgvmpipasl\",\"name\":\"haq\",\"type\":\"x\"}";
+ = "{\"properties\":{\"solutionType\":\"h\",\"description\":\"usps\",\"supportedAzureRegions\":[\"dvlmfwdgzxul\",\"cvpa\",\"rsre\",\"zvxurisjnhny\"],\"hostTypes\":[\"AWS\",\"GCP\"],\"solutionSettings\":[{\"name\":\"gxmrhublwp\",\"displayName\":\"esutrgjupauutpw\",\"type\":\"qhih\",\"description\":\"jqgwzp\",\"allowedValues\":[\"qntcypsxjvfoimwk\",\"lirc\"],\"hostTypes\":[\"AWS\",\"GCP\",\"GCP\"],\"defaultValue\":\"ydfce\"},{\"name\":\"cvlhv\",\"displayName\":\"gdyftumrtwna\",\"type\":\"jslb\",\"description\":\"wkojgcyztsfmzn\",\"allowedValues\":[\"eqphchqnrnr\",\"x\",\"huwrykqgaifm\"],\"hostTypes\":[\"AWS\",\"AWS\",\"GCP\"],\"defaultValue\":\"ydv\"}]},\"id\":\"bejdznxcv\",\"name\":\"srhnjivo\",\"type\":\"v\"}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -31,17 +32,20 @@ public void testGetByResourceGroupWithResponse() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
SolutionTypeResource response = manager.solutionTypes()
- .getByResourceGroupWithResponse("y", "unyowxwl", com.azure.core.util.Context.NONE)
+ .getByResourceGroupWithResponse("hirctymoxoftpipi", "yczuhxacpq", com.azure.core.util.Context.NONE)
.getValue();
- Assertions.assertEquals("rkvfgbvfvpdbo", response.properties().solutionType());
- Assertions.assertEquals("cizsjqlhkrribdei", response.properties().description());
- Assertions.assertEquals("p", response.properties().supportedAzureRegions().get(0));
- Assertions.assertEquals("tjivfxzsjabib", response.properties().solutionSettings().get(0).name());
- Assertions.assertEquals("ystawfsdjpvkvp", response.properties().solutionSettings().get(0).displayName());
- Assertions.assertEquals("jxbkzbzkdvn", response.properties().solutionSettings().get(0).type());
- Assertions.assertEquals("jabudurgkakmo", response.properties().solutionSettings().get(0).description());
- Assertions.assertEquals("hjjklff", response.properties().solutionSettings().get(0).allowedValues().get(0));
- Assertions.assertEquals("wrv", response.properties().solutionSettings().get(0).defaultValue());
+ Assertions.assertEquals("h", response.properties().solutionType());
+ Assertions.assertEquals("usps", response.properties().description());
+ Assertions.assertEquals("dvlmfwdgzxul", response.properties().supportedAzureRegions().get(0));
+ Assertions.assertEquals(HostType.AWS, response.properties().hostTypes().get(0));
+ Assertions.assertEquals("gxmrhublwp", response.properties().solutionSettings().get(0).name());
+ Assertions.assertEquals("esutrgjupauutpw", response.properties().solutionSettings().get(0).displayName());
+ Assertions.assertEquals("qhih", response.properties().solutionSettings().get(0).type());
+ Assertions.assertEquals("jqgwzp", response.properties().solutionSettings().get(0).description());
+ Assertions.assertEquals("qntcypsxjvfoimwk",
+ response.properties().solutionSettings().get(0).allowedValues().get(0));
+ Assertions.assertEquals(HostType.AWS, response.properties().solutionSettings().get(0).hostTypes().get(0));
+ Assertions.assertEquals("ydfce", response.properties().solutionSettings().get(0).defaultValue());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListByResourceGroupMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListByResourceGroupMockTests.java
index 95ea22626774..799354daabcf 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListByResourceGroupMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListByResourceGroupMockTests.java
@@ -11,6 +11,7 @@
import com.azure.core.models.AzureCloud;
import com.azure.core.test.http.MockHttpResponse;
import com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager;
+import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeResource;
import java.nio.charset.StandardCharsets;
import java.time.OffsetDateTime;
@@ -22,7 +23,7 @@ public final class SolutionTypesListByResourceGroupMockTests {
@Test
public void testListByResourceGroup() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"solutionType\":\"euyowqkd\",\"description\":\"t\",\"supportedAzureRegions\":[\"bi\"],\"solutionSettings\":[{\"name\":\"pikpz\",\"displayName\":\"mejzanlfzxia\",\"type\":\"rmbzo\",\"description\":\"okixrjqcir\",\"allowedValues\":[\"pfrlazsz\",\"nwoiind\"],\"defaultValue\":\"pwp\"},{\"name\":\"ylwbtlhflsjcdhsz\",\"displayName\":\"jvfbgofelja\",\"type\":\"rqmq\",\"description\":\"ldvriiiojnalghfk\",\"allowedValues\":[\"vsexsowuelu\",\"hhahhxvrhmzkwpjg\",\"wspughftqsxhqx\"],\"defaultValue\":\"j\"},{\"name\":\"ukndxdigrjgu\",\"displayName\":\"fzdm\",\"type\":\"yqtfihwh\",\"description\":\"otzi\",\"allowedValues\":[\"amvpphoszqzudph\"],\"defaultValue\":\"amvdkfwynwcvtbv\"}]},\"id\":\"yhmtnvyqiat\",\"name\":\"zwpcnpwzcjaesg\",\"type\":\"v\"}]}";
+ = "{\"value\":[{\"properties\":{\"solutionType\":\"ftul\",\"description\":\"tduceamt\",\"supportedAzureRegions\":[\"u\"],\"hostTypes\":[\"AWS\",\"AWS\",\"AWS\"],\"solutionSettings\":[{\"name\":\"qioknssxmojm\",\"displayName\":\"vpkjpr\",\"type\":\"kwcf\",\"description\":\"ql\",\"allowedValues\":[\"x\",\"tczheydbsdshmkx\"],\"hostTypes\":[\"GCP\",\"GCP\",\"GCP\"],\"defaultValue\":\"bbxuripl\"},{\"name\":\"fnhtbaxkgxyw\",\"displayName\":\"ckpyklyhplu\",\"type\":\"dpvruud\",\"description\":\"gzibthostgktstv\",\"allowedValues\":[\"eclze\",\"qbcvhzlhplod\",\"kdl\",\"wqfbumlkxtrqjfsm\"],\"hostTypes\":[\"AWS\",\"AWS\"],\"defaultValue\":\"xhwgfwsrtaw\"}]},\"id\":\"ezbrhubskh\",\"name\":\"dyg\",\"type\":\"ookk\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -32,20 +33,23 @@ public void testListByResourceGroup() throws Exception {
new AzureProfile("", "", AzureCloud.AZURE_PUBLIC_CLOUD));
PagedIterable response
- = manager.solutionTypes().listByResourceGroup("smwutwbdsrezpd", com.azure.core.util.Context.NONE);
+ = manager.solutionTypes().listByResourceGroup("novqfzge", com.azure.core.util.Context.NONE);
- Assertions.assertEquals("euyowqkd", response.iterator().next().properties().solutionType());
- Assertions.assertEquals("t", response.iterator().next().properties().description());
- Assertions.assertEquals("bi", response.iterator().next().properties().supportedAzureRegions().get(0));
- Assertions.assertEquals("pikpz", response.iterator().next().properties().solutionSettings().get(0).name());
- Assertions.assertEquals("mejzanlfzxia",
+ Assertions.assertEquals("ftul", response.iterator().next().properties().solutionType());
+ Assertions.assertEquals("tduceamt", response.iterator().next().properties().description());
+ Assertions.assertEquals("u", response.iterator().next().properties().supportedAzureRegions().get(0));
+ Assertions.assertEquals(HostType.AWS, response.iterator().next().properties().hostTypes().get(0));
+ Assertions.assertEquals("qioknssxmojm",
+ response.iterator().next().properties().solutionSettings().get(0).name());
+ Assertions.assertEquals("vpkjpr",
response.iterator().next().properties().solutionSettings().get(0).displayName());
- Assertions.assertEquals("rmbzo", response.iterator().next().properties().solutionSettings().get(0).type());
- Assertions.assertEquals("okixrjqcir",
- response.iterator().next().properties().solutionSettings().get(0).description());
- Assertions.assertEquals("pfrlazsz",
+ Assertions.assertEquals("kwcf", response.iterator().next().properties().solutionSettings().get(0).type());
+ Assertions.assertEquals("ql", response.iterator().next().properties().solutionSettings().get(0).description());
+ Assertions.assertEquals("x",
response.iterator().next().properties().solutionSettings().get(0).allowedValues().get(0));
- Assertions.assertEquals("pwp",
+ Assertions.assertEquals(HostType.GCP,
+ response.iterator().next().properties().solutionSettings().get(0).hostTypes().get(0));
+ Assertions.assertEquals("bbxuripl",
response.iterator().next().properties().solutionSettings().get(0).defaultValue());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListMockTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListMockTests.java
index 9a652a4fd2c1..cc831532602a 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListMockTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/SolutionTypesListMockTests.java
@@ -11,6 +11,7 @@
import com.azure.core.models.AzureCloud;
import com.azure.core.test.http.MockHttpResponse;
import com.azure.resourcemanager.hybridconnectivity.HybridConnectivityManager;
+import com.azure.resourcemanager.hybridconnectivity.models.HostType;
import com.azure.resourcemanager.hybridconnectivity.models.SolutionTypeResource;
import java.nio.charset.StandardCharsets;
import java.time.OffsetDateTime;
@@ -22,7 +23,7 @@ public final class SolutionTypesListMockTests {
@Test
public void testList() throws Exception {
String responseStr
- = "{\"value\":[{\"properties\":{\"solutionType\":\"yajguqfhwygzlv\",\"description\":\"kfxu\",\"supportedAzureRegions\":[\"dwzrmuh\",\"pfcqdp\",\"qxqvpsvuoymgc\",\"elvezrypq\"],\"solutionSettings\":[{\"name\":\"eokerqwkyhkobopg\",\"displayName\":\"edkowepbqpcrfk\",\"type\":\"wccsnjvcdwxlpqek\",\"description\":\"tn\",\"allowedValues\":[\"tjsyin\",\"wfqatmtd\"],\"defaultValue\":\"tmdvypgikdgs\"}]},\"id\":\"w\",\"name\":\"birryuzhl\",\"type\":\"kj\"}]}";
+ = "{\"value\":[{\"properties\":{\"solutionType\":\"jb\",\"description\":\"eorfm\",\"supportedAzureRegions\":[\"qtqzfavyv\",\"qqybarye\",\"ayjkqa\"],\"hostTypes\":[\"GCP\",\"GCP\",\"AWS\",\"GCP\"],\"solutionSettings\":[{\"name\":\"cbhernntiewdj\",\"displayName\":\"vbquwr\",\"type\":\"ehwagoh\",\"description\":\"uffkmrqemvvh\",\"allowedValues\":[\"tdrjfutacoebj\"],\"hostTypes\":[\"GCP\",\"GCP\",\"GCP\"],\"defaultValue\":\"jznmwcpmguaa\"},{\"name\":\"raufactkahzova\",\"displayName\":\"j\",\"type\":\"iuxxpshneekulfg\",\"description\":\"lqubkwdlen\",\"allowedValues\":[\"sutujba\"],\"hostTypes\":[\"GCP\",\"AWS\",\"AWS\"],\"defaultValue\":\"hminyflnorwmduv\"}]},\"id\":\"klvxwmyg\",\"name\":\"xpgpq\",\"type\":\"hiszepnnbjcrxgib\"}]}";
HttpClient httpClient
= response -> Mono.just(new MockHttpResponse(response, 200, responseStr.getBytes(StandardCharsets.UTF_8)));
@@ -33,19 +34,22 @@ public void testList() throws Exception {
PagedIterable response = manager.solutionTypes().list(com.azure.core.util.Context.NONE);
- Assertions.assertEquals("yajguqfhwygzlv", response.iterator().next().properties().solutionType());
- Assertions.assertEquals("kfxu", response.iterator().next().properties().description());
- Assertions.assertEquals("dwzrmuh", response.iterator().next().properties().supportedAzureRegions().get(0));
- Assertions.assertEquals("eokerqwkyhkobopg",
+ Assertions.assertEquals("jb", response.iterator().next().properties().solutionType());
+ Assertions.assertEquals("eorfm", response.iterator().next().properties().description());
+ Assertions.assertEquals("qtqzfavyv", response.iterator().next().properties().supportedAzureRegions().get(0));
+ Assertions.assertEquals(HostType.GCP, response.iterator().next().properties().hostTypes().get(0));
+ Assertions.assertEquals("cbhernntiewdj",
response.iterator().next().properties().solutionSettings().get(0).name());
- Assertions.assertEquals("edkowepbqpcrfk",
+ Assertions.assertEquals("vbquwr",
response.iterator().next().properties().solutionSettings().get(0).displayName());
- Assertions.assertEquals("wccsnjvcdwxlpqek",
- response.iterator().next().properties().solutionSettings().get(0).type());
- Assertions.assertEquals("tn", response.iterator().next().properties().solutionSettings().get(0).description());
- Assertions.assertEquals("tjsyin",
+ Assertions.assertEquals("ehwagoh", response.iterator().next().properties().solutionSettings().get(0).type());
+ Assertions.assertEquals("uffkmrqemvvh",
+ response.iterator().next().properties().solutionSettings().get(0).description());
+ Assertions.assertEquals("tdrjfutacoebj",
response.iterator().next().properties().solutionSettings().get(0).allowedValues().get(0));
- Assertions.assertEquals("tmdvypgikdgs",
+ Assertions.assertEquals(HostType.GCP,
+ response.iterator().next().properties().solutionSettings().get(0).hostTypes().get(0));
+ Assertions.assertEquals("jznmwcpmguaa",
response.iterator().next().properties().solutionSettings().get(0).defaultValue());
}
}
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/TrackedResourceUpdateTests.java b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/TrackedResourceUpdateTests.java
index db472676d134..4982e0e7015e 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/TrackedResourceUpdateTests.java
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/src/test/java/com/azure/resourcemanager/hybridconnectivity/generated/TrackedResourceUpdateTests.java
@@ -14,16 +14,17 @@ public final class TrackedResourceUpdateTests {
@org.junit.jupiter.api.Test
public void testDeserialize() throws Exception {
TrackedResourceUpdate model = BinaryData.fromString(
- "{\"tags\":{\"djwzrlov\":\"gmaajrm\"},\"id\":\"lwhijcoejctbzaq\",\"name\":\"qsycbkbfkgu\",\"type\":\"dkexxppofm\"}")
+ "{\"tags\":{\"yexfwh\":\"qweykhmenev\",\"amdecte\":\"bcibvyvdcsitynn\",\"qsc\":\"f\"},\"id\":\"ypvhezrkg\",\"name\":\"hcjrefovgmk\",\"type\":\"sle\"}")
.toObject(TrackedResourceUpdate.class);
- Assertions.assertEquals("gmaajrm", model.tags().get("djwzrlov"));
+ Assertions.assertEquals("qweykhmenev", model.tags().get("yexfwh"));
}
@org.junit.jupiter.api.Test
public void testSerialize() throws Exception {
- TrackedResourceUpdate model = new TrackedResourceUpdate().withTags(mapOf("djwzrlov", "gmaajrm"));
+ TrackedResourceUpdate model = new TrackedResourceUpdate()
+ .withTags(mapOf("yexfwh", "qweykhmenev", "amdecte", "bcibvyvdcsitynn", "qsc", "f"));
model = BinaryData.fromObject(model).toObject(TrackedResourceUpdate.class);
- Assertions.assertEquals("gmaajrm", model.tags().get("djwzrlov"));
+ Assertions.assertEquals("qweykhmenev", model.tags().get("yexfwh"));
}
// Use "Map.of" if available
diff --git a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/tsp-location.yaml b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/tsp-location.yaml
index 744404752096..483401d6df3e 100644
--- a/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/tsp-location.yaml
+++ b/sdk/hybridconnectivity/azure-resourcemanager-hybridconnectivity/tsp-location.yaml
@@ -1,4 +1,4 @@
directory: specification/hybridconnectivity/HybridConnectivity.Management
-commit: e9b44e3aefed8010c02f030abab631b55a8d29de
+commit: 47515ad36204e02e14c3b62414beebca92abb4a2
repo: Azure/azure-rest-api-specs
additionalDirectories: