Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,49 +26,49 @@
*/
public interface DedicatedCloudNode extends HasInner<DedicatedCloudNodeInner>, Resource, GroupableResourceCore<VMwareCloudSimpleManager, DedicatedCloudNodeInner>, HasResourceGroup, Refreshable<DedicatedCloudNode>, Updatable<DedicatedCloudNode.Update>, HasManager<VMwareCloudSimpleManager> {
/**
* @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.
Expand Down Expand Up @@ -108,7 +108,7 @@ public interface DedicatedCloudNode extends HasInner<DedicatedCloudNodeInner>, 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 {
}

/**
Expand All @@ -124,19 +124,31 @@ interface Blank extends GroupableResourceCore.DefinitionWithRegion<WithGroup> {
/**
* The stage of the DedicatedCloudNode definition allowing to specify the resource group.
*/
interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<WithAvailabilityZoneId> {
interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<WithDedicatedAvailabilityZoneId> {
}

/**
* 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);
}

/**
Expand Down Expand Up @@ -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);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
*/
public interface DedicatedCloudService extends HasInner<DedicatedCloudServiceInner>, Resource, GroupableResourceCore<VMwareCloudSimpleManager, DedicatedCloudServiceInner>, HasResourceGroup, Refreshable<DedicatedCloudService>, Updatable<DedicatedCloudService.Update>, HasManager<VMwareCloudSimpleManager> {
/**
* @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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@
* Type representing PrivateCloud.
*/
public interface PrivateCloud extends HasInner<PrivateCloudInner>, HasManager<VMwareCloudSimpleManager> {
/**
* @return the availabilityZoneId value.
*/
String availabilityZoneId();

/**
* @return the availabilityZoneName value.
*/
String availabilityZoneName();

/**
* @return the clustersNumber value.
*/
Expand All @@ -45,6 +35,26 @@ public interface PrivateCloud extends HasInner<PrivateCloudInner>, HasManager<VM
*/
DateTime createdOn();

/**
* @return the dedicatedAvailabilityZoneId value.
*/
String dedicatedAvailabilityZoneId();

/**
* @return the dedicatedAvailabilityZoneName value.
*/
String dedicatedAvailabilityZoneName();

/**
* @return the dedicatedPlacementGroupId value.
*/
String dedicatedPlacementGroupId();

/**
* @return the dedicatedPlacementGroupName value.
*/
String dedicatedPlacementGroupName();

/**
* @return the dnsServers value.
*/
Expand Down Expand Up @@ -75,16 +85,6 @@ public interface PrivateCloud extends HasInner<PrivateCloudInner>, HasManager<VM
*/
String nsxType();

/**
* @return the placementGroupId value.
*/
String placementGroupId();

/**
* @return the placementGroupName value.
*/
String placementGroupName();

/**
* @return the privateCloudId value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,48 +47,48 @@ public boolean isInCreateMode() {


@Override
public String availabilityZoneId() {
return this.inner().availabilityZoneId();
public String cloudRackName() {
return this.inner().cloudRackName();
}

@Override
public String availabilityZoneName() {
return this.inner().availabilityZoneName();
public Object created() {
return this.inner().created();
}

@Override
public String cloudRackName() {
return this.inner().cloudRackName();
public String dedicatedAvailabilityZoneId() {
return this.inner().dedicatedAvailabilityZoneId();
}

@Override
public Object created() {
return this.inner().created();
public String dedicatedAvailabilityZoneName() {
return this.inner().dedicatedAvailabilityZoneName();
}

@Override
public String id1() {
return this.inner().id1();
public String dedicatedPlacementGroupId() {
return this.inner().dedicatedPlacementGroupId();
}

@Override
public String name1() {
return this.inner().name1();
public String dedicatedPlacementGroupName() {
return this.inner().dedicatedPlacementGroupName();
}

@Override
public int nodesCount() {
return this.inner().nodesCount();
public String id1() {
return this.inner().id1();
}

@Override
public String placementGroupId() {
return this.inner().placementGroupId();
public String name1() {
return this.inner().name1();
}

@Override
public String placementGroupName() {
return this.inner().placementGroupName();
public int nodesCount() {
return this.inner().nodesCount();
}

@Override
Expand Down Expand Up @@ -127,8 +127,14 @@ public String vmwareClusterName() {
}

@Override
public DedicatedCloudNodeImpl withAvailabilityZoneId(String availabilityZoneId) {
this.inner().withAvailabilityZoneId(availabilityZoneId);
public DedicatedCloudNodeImpl withDedicatedAvailabilityZoneId(String dedicatedAvailabilityZoneId) {
this.inner().withDedicatedAvailabilityZoneId(dedicatedAvailabilityZoneId);
return this;
}

@Override
public DedicatedCloudNodeImpl withDedicatedPlacementGroupId(String dedicatedPlacementGroupId) {
this.inner().withDedicatedPlacementGroupId(dedicatedPlacementGroupId);
return this;
}

Expand All @@ -150,12 +156,6 @@ public DedicatedCloudNodeImpl withNodesCount(int nodesCount) {
return this;
}

@Override
public DedicatedCloudNodeImpl withPlacementGroupId(String placementGroupId) {
this.inner().withPlacementGroupId(placementGroupId);
return this;
}

@Override
public DedicatedCloudNodeImpl withPurchaseId(UUID purchaseId) {
this.inner().withPurchaseId(purchaseId);
Expand Down
Loading