diff --git a/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/DedicatedCloudNode.java b/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/DedicatedCloudNode.java index 5a87df1f9cdd..bc7c2aa1b42f 100644 --- a/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/DedicatedCloudNode.java +++ b/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/DedicatedCloudNode.java @@ -26,49 +26,49 @@ */ public interface DedicatedCloudNode extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { /** - * @return the availabilityZoneId value. + * @return the cloudRackName value. */ - String availabilityZoneId(); + String cloudRackName(); /** - * @return the availabilityZoneName value. + * @return the created value. */ - String availabilityZoneName(); + Object created(); /** - * @return the cloudRackName value. + * @return the dedicatedAvailabilityZoneId value. */ - String cloudRackName(); + String dedicatedAvailabilityZoneId(); /** - * @return the created value. + * @return the dedicatedAvailabilityZoneName value. */ - Object created(); + String dedicatedAvailabilityZoneName(); /** - * @return the id1 value. + * @return the dedicatedPlacementGroupId value. */ - String id1(); + String dedicatedPlacementGroupId(); /** - * @return the name1 value. + * @return the dedicatedPlacementGroupName value. */ - String name1(); + String dedicatedPlacementGroupName(); /** - * @return the nodesCount value. + * @return the id1 value. */ - int nodesCount(); + String id1(); /** - * @return the placementGroupId value. + * @return the name1 value. */ - String placementGroupId(); + String name1(); /** - * @return the placementGroupName value. + * @return the nodesCount value. */ - String placementGroupName(); + int nodesCount(); /** * @return the privateCloudId value. @@ -108,7 +108,7 @@ public interface DedicatedCloudNode extends HasInner, R /** * The entirety of the DedicatedCloudNode definition. */ - interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, DefinitionStages.WithAvailabilityZoneId, DefinitionStages.WithId1, DefinitionStages.WithName1, DefinitionStages.WithNodesCount, DefinitionStages.WithPlacementGroupId, DefinitionStages.WithPurchaseId, DefinitionStages.WithCreate { + interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, DefinitionStages.WithDedicatedAvailabilityZoneId, DefinitionStages.WithDedicatedPlacementGroupId, DefinitionStages.WithId1, DefinitionStages.WithName1, DefinitionStages.WithNodesCount, DefinitionStages.WithPurchaseId, DefinitionStages.WithCreate { } /** @@ -124,19 +124,31 @@ interface Blank extends GroupableResourceCore.DefinitionWithRegion { /** * The stage of the DedicatedCloudNode definition allowing to specify the resource group. */ - interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup { + interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup { } /** - * The stage of the dedicatedcloudnode definition allowing to specify AvailabilityZoneId. + * The stage of the dedicatedcloudnode definition allowing to specify DedicatedAvailabilityZoneId. */ - interface WithAvailabilityZoneId { + interface WithDedicatedAvailabilityZoneId { /** - * Specifies availabilityZoneId. - * @param availabilityZoneId Availability Zone id, e.g. "az1" + * Specifies dedicatedAvailabilityZoneId. + * @param dedicatedAvailabilityZoneId CloudSimple Availability Zone id, e.g. "az1" * @return the next definition stage */ - WithId1 withAvailabilityZoneId(String availabilityZoneId); + WithDedicatedPlacementGroupId withDedicatedAvailabilityZoneId(String dedicatedAvailabilityZoneId); + } + + /** + * The stage of the dedicatedcloudnode definition allowing to specify DedicatedPlacementGroupId. + */ + interface WithDedicatedPlacementGroupId { + /** + * Specifies dedicatedPlacementGroupId. + * @param dedicatedPlacementGroupId CloudSimple Placement Group id, e.g. "n1" + * @return the next definition stage +*/ + WithId1 withDedicatedPlacementGroupId(String dedicatedPlacementGroupId); } /** @@ -172,19 +184,7 @@ interface WithNodesCount { * @param nodesCount count of nodes to create * @return the next definition stage */ - WithPlacementGroupId withNodesCount(int nodesCount); - } - - /** - * The stage of the dedicatedcloudnode definition allowing to specify PlacementGroupId. - */ - interface WithPlacementGroupId { - /** - * Specifies placementGroupId. - * @param placementGroupId Placement Group id, e.g. "n1" - * @return the next definition stage -*/ - WithPurchaseId withPlacementGroupId(String placementGroupId); + WithPurchaseId withNodesCount(int nodesCount); } /** diff --git a/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/DedicatedCloudService.java b/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/DedicatedCloudService.java index fa455685ccac..7889ecb652d5 100644 --- a/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/DedicatedCloudService.java +++ b/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/DedicatedCloudService.java @@ -25,14 +25,14 @@ */ public interface DedicatedCloudService extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { /** - * @return the gatewaySubnet value. + * @return the accountOnboardingState value. */ - String gatewaySubnet(); + OnboardingStatus accountOnboardingState(); /** - * @return the isAccountOnboarded value. + * @return the gatewaySubnet value. */ - OnboardingStatus isAccountOnboarded(); + String gatewaySubnet(); /** * @return the nodes value. diff --git a/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/PrivateCloud.java b/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/PrivateCloud.java index 5b009a4b31a3..e807d8dad02f 100644 --- a/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/PrivateCloud.java +++ b/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/PrivateCloud.java @@ -20,16 +20,6 @@ * Type representing PrivateCloud. */ public interface PrivateCloud extends HasInner, HasManager { - /** - * @return the availabilityZoneId value. - */ - String availabilityZoneId(); - - /** - * @return the availabilityZoneName value. - */ - String availabilityZoneName(); - /** * @return the clustersNumber value. */ @@ -45,6 +35,26 @@ public interface PrivateCloud extends HasInner, HasManager, HasManager dnsServers() { return this.inner().dnsServers(); @@ -90,16 +100,6 @@ public String nsxType() { return this.inner().nsxType(); } - @Override - public String placementGroupId() { - return this.inner().placementGroupId(); - } - - @Override - public String placementGroupName() { - return this.inner().placementGroupName(); - } - @Override public UUID privateCloudId() { return this.inner().privateCloudId(); diff --git a/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/implementation/PrivateCloudInner.java b/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/implementation/PrivateCloudInner.java index ed574b987048..b2f85bf5e924 100644 --- a/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/implementation/PrivateCloudInner.java +++ b/vmwarecloudsimple/resource-manager/v2019_04_01/src/main/java/com/microsoft/azure/management/vmwarecloudsimple/v2019_04_01/implementation/PrivateCloudInner.java @@ -39,18 +39,6 @@ public class PrivateCloudInner { @JsonProperty(value = "name") private String name; - /** - * Availability Zone id, e.g. "az1". - */ - @JsonProperty(value = "properties.availabilityZoneId") - private String availabilityZoneId; - - /** - * Availability Zone name, e.g. "Availability Zone 1". - */ - @JsonProperty(value = "properties.availabilityZoneName") - private String availabilityZoneName; - /** * Number of clusters. */ @@ -69,6 +57,30 @@ public class PrivateCloudInner { @JsonProperty(value = "properties.createdOn") private DateTime createdOn; + /** + * CloudSimple Availability Zone id, e.g. "az1". + */ + @JsonProperty(value = "properties.dedicatedAvailabilityZoneId") + private String dedicatedAvailabilityZoneId; + + /** + * CloudSimple Availability Zone name, e.g. "Availability Zone 1". + */ + @JsonProperty(value = "properties.dedicatedAvailabilityZoneName") + private String dedicatedAvailabilityZoneName; + + /** + * CloudSimple Placement Group id, e.g. "n1". + */ + @JsonProperty(value = "properties.dedicatedPlacementGroupId") + private String dedicatedPlacementGroupId; + + /** + * CloudSimple Placement Group name. + */ + @JsonProperty(value = "properties.dedicatedPlacementGroupName") + private String dedicatedPlacementGroupName; + /** * Array of DNS servers. */ @@ -87,18 +99,6 @@ public class PrivateCloudInner { @JsonProperty(value = "properties.nsxType") private String nsxType; - /** - * Placement Group id, e.g. "n1". - */ - @JsonProperty(value = "properties.placementGroupId") - private String placementGroupId; - - /** - * Placement Group name. - */ - @JsonProperty(value = "properties.placementGroupName") - private String placementGroupName; - /** * Id of a private cloud. */ @@ -250,46 +250,6 @@ public PrivateCloudInner withName(String name) { return this; } - /** - * Get availability Zone id, e.g. "az1". - * - * @return the availabilityZoneId value - */ - public String availabilityZoneId() { - return this.availabilityZoneId; - } - - /** - * Set availability Zone id, e.g. "az1". - * - * @param availabilityZoneId the availabilityZoneId value to set - * @return the PrivateCloudInner object itself. - */ - public PrivateCloudInner withAvailabilityZoneId(String availabilityZoneId) { - this.availabilityZoneId = availabilityZoneId; - return this; - } - - /** - * Get availability Zone name, e.g. "Availability Zone 1". - * - * @return the availabilityZoneName value - */ - public String availabilityZoneName() { - return this.availabilityZoneName; - } - - /** - * Set availability Zone name, e.g. "Availability Zone 1". - * - * @param availabilityZoneName the availabilityZoneName value to set - * @return the PrivateCloudInner object itself. - */ - public PrivateCloudInner withAvailabilityZoneName(String availabilityZoneName) { - this.availabilityZoneName = availabilityZoneName; - return this; - } - /** * Get number of clusters. * @@ -351,102 +311,142 @@ public PrivateCloudInner withCreatedOn(DateTime createdOn) { } /** - * Get array of DNS servers. + * Get cloudSimple Availability Zone id, e.g. "az1". * - * @return the dnsServers value + * @return the dedicatedAvailabilityZoneId value */ - public List dnsServers() { - return this.dnsServers; + public String dedicatedAvailabilityZoneId() { + return this.dedicatedAvailabilityZoneId; } /** - * Set array of DNS servers. + * Set cloudSimple Availability Zone id, e.g. "az1". * - * @param dnsServers the dnsServers value to set + * @param dedicatedAvailabilityZoneId the dedicatedAvailabilityZoneId value to set * @return the PrivateCloudInner object itself. */ - public PrivateCloudInner withDnsServers(List dnsServers) { - this.dnsServers = dnsServers; + public PrivateCloudInner withDedicatedAvailabilityZoneId(String dedicatedAvailabilityZoneId) { + this.dedicatedAvailabilityZoneId = dedicatedAvailabilityZoneId; return this; } /** - * Get expiration date of PC. + * Get cloudSimple Availability Zone name, e.g. "Availability Zone 1". * - * @return the expires value + * @return the dedicatedAvailabilityZoneName value */ - public String expires() { - return this.expires; + public String dedicatedAvailabilityZoneName() { + return this.dedicatedAvailabilityZoneName; } /** - * Set expiration date of PC. + * Set cloudSimple Availability Zone name, e.g. "Availability Zone 1". * - * @param expires the expires value to set + * @param dedicatedAvailabilityZoneName the dedicatedAvailabilityZoneName value to set * @return the PrivateCloudInner object itself. */ - public PrivateCloudInner withExpires(String expires) { - this.expires = expires; + public PrivateCloudInner withDedicatedAvailabilityZoneName(String dedicatedAvailabilityZoneName) { + this.dedicatedAvailabilityZoneName = dedicatedAvailabilityZoneName; return this; } /** - * Get nsx Type, e.g. "Advanced". + * Get cloudSimple Placement Group id, e.g. "n1". * - * @return the nsxType value + * @return the dedicatedPlacementGroupId value */ - public String nsxType() { - return this.nsxType; + public String dedicatedPlacementGroupId() { + return this.dedicatedPlacementGroupId; } /** - * Set nsx Type, e.g. "Advanced". + * Set cloudSimple Placement Group id, e.g. "n1". * - * @param nsxType the nsxType value to set + * @param dedicatedPlacementGroupId the dedicatedPlacementGroupId value to set * @return the PrivateCloudInner object itself. */ - public PrivateCloudInner withNsxType(String nsxType) { - this.nsxType = nsxType; + public PrivateCloudInner withDedicatedPlacementGroupId(String dedicatedPlacementGroupId) { + this.dedicatedPlacementGroupId = dedicatedPlacementGroupId; + return this; + } + + /** + * Get cloudSimple Placement Group name. + * + * @return the dedicatedPlacementGroupName value + */ + public String dedicatedPlacementGroupName() { + return this.dedicatedPlacementGroupName; + } + + /** + * Set cloudSimple Placement Group name. + * + * @param dedicatedPlacementGroupName the dedicatedPlacementGroupName value to set + * @return the PrivateCloudInner object itself. + */ + public PrivateCloudInner withDedicatedPlacementGroupName(String dedicatedPlacementGroupName) { + this.dedicatedPlacementGroupName = dedicatedPlacementGroupName; + return this; + } + + /** + * Get array of DNS servers. + * + * @return the dnsServers value + */ + public List dnsServers() { + return this.dnsServers; + } + + /** + * Set array of DNS servers. + * + * @param dnsServers the dnsServers value to set + * @return the PrivateCloudInner object itself. + */ + public PrivateCloudInner withDnsServers(List dnsServers) { + this.dnsServers = dnsServers; return this; } /** - * Get placement Group id, e.g. "n1". + * Get expiration date of PC. * - * @return the placementGroupId value + * @return the expires value */ - public String placementGroupId() { - return this.placementGroupId; + public String expires() { + return this.expires; } /** - * Set placement Group id, e.g. "n1". + * Set expiration date of PC. * - * @param placementGroupId the placementGroupId value to set + * @param expires the expires value to set * @return the PrivateCloudInner object itself. */ - public PrivateCloudInner withPlacementGroupId(String placementGroupId) { - this.placementGroupId = placementGroupId; + public PrivateCloudInner withExpires(String expires) { + this.expires = expires; return this; } /** - * Get placement Group name. + * Get nsx Type, e.g. "Advanced". * - * @return the placementGroupName value + * @return the nsxType value */ - public String placementGroupName() { - return this.placementGroupName; + public String nsxType() { + return this.nsxType; } /** - * Set placement Group name. + * Set nsx Type, e.g. "Advanced". * - * @param placementGroupName the placementGroupName value to set + * @param nsxType the nsxType value to set * @return the PrivateCloudInner object itself. */ - public PrivateCloudInner withPlacementGroupName(String placementGroupName) { - this.placementGroupName = placementGroupName; + public PrivateCloudInner withNsxType(String nsxType) { + this.nsxType = nsxType; return this; }