Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
Merged
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
@@ -0,0 +1,70 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.vmwarecloudsimple.v2019_04_01;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Host name model.
*/
public class CustomizationHostName {
/**
* Hostname.
*/
@JsonProperty(value = "name")
private String name;

/**
* Type of host name. Possible values include: 'USER_DEFINED',
* 'PREFIX_BASED', 'FIXED', 'VIRTUAL_MACHINE_NAME', 'CUSTOM_NAME'.
*/
@JsonProperty(value = "type")
private String type;

/**
* Get hostname.
*
* @return the name value
*/
public String name() {
return this.name;
}

/**
* Set hostname.
*
* @param name the name value to set
* @return the CustomizationHostName object itself.
*/
public CustomizationHostName withName(String name) {
this.name = name;
return this;
}

/**
* Get type of host name. Possible values include: 'USER_DEFINED', 'PREFIX_BASED', 'FIXED', 'VIRTUAL_MACHINE_NAME', 'CUSTOM_NAME'.
*
* @return the type value
*/
public String type() {
return this.type;
}

/**
* Set type of host name. Possible values include: 'USER_DEFINED', 'PREFIX_BASED', 'FIXED', 'VIRTUAL_MACHINE_NAME', 'CUSTOM_NAME'.
*
* @param type the type value to set
* @return the CustomizationHostName object itself.
*/
public CustomizationHostName withType(String type) {
this.type = type;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.vmwarecloudsimple.v2019_04_01;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The CustomizationIPAddress model.
*/
public class CustomizationIPAddress {
/**
* Argument when Custom ip type is selected.
*/
@JsonProperty(value = "argument")
private String argument;

/**
* Defined Ip Address when Fixed ip type is selected.
*/
@JsonProperty(value = "ipAddress")
private String ipAddress;

/**
* Customization Specification ip type. Possible values include: 'CUSTOM',
* 'DHCP_IP', 'FIXED_IP', 'USER_DEFINED'.
*/
@JsonProperty(value = "type")
private String type;

/**
* Get argument when Custom ip type is selected.
*
* @return the argument value
*/
public String argument() {
return this.argument;
}

/**
* Set argument when Custom ip type is selected.
*
* @param argument the argument value to set
* @return the CustomizationIPAddress object itself.
*/
public CustomizationIPAddress withArgument(String argument) {
this.argument = argument;
return this;
}

/**
* Get defined Ip Address when Fixed ip type is selected.
*
* @return the ipAddress value
*/
public String ipAddress() {
return this.ipAddress;
}

/**
* Set defined Ip Address when Fixed ip type is selected.
*
* @param ipAddress the ipAddress value to set
* @return the CustomizationIPAddress object itself.
*/
public CustomizationIPAddress withIpAddress(String ipAddress) {
this.ipAddress = ipAddress;
return this;
}

/**
* Get customization Specification ip type. Possible values include: 'CUSTOM', 'DHCP_IP', 'FIXED_IP', 'USER_DEFINED'.
*
* @return the type value
*/
public String type() {
return this.type;
}

/**
* Set customization Specification ip type. Possible values include: 'CUSTOM', 'DHCP_IP', 'FIXED_IP', 'USER_DEFINED'.
*
* @param type the type value to set
* @return the CustomizationIPAddress object itself.
*/
public CustomizationIPAddress withType(String type) {
this.type = type;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.vmwarecloudsimple.v2019_04_01;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The CustomizationIPSettings model.
*/
public class CustomizationIPSettings {
/**
* The list of gateways.
*/
@JsonProperty(value = "gateway")
private List<String> gateway;

/**
* Ip address customization settings.
*/
@JsonProperty(value = "ip")
private CustomizationIPAddress ip;

/**
* Adapter subnet mask.
*/
@JsonProperty(value = "subnetMask")
private String subnetMask;

/**
* Get the list of gateways.
*
* @return the gateway value
*/
public List<String> gateway() {
return this.gateway;
}

/**
* Set the list of gateways.
*
* @param gateway the gateway value to set
* @return the CustomizationIPSettings object itself.
*/
public CustomizationIPSettings withGateway(List<String> gateway) {
this.gateway = gateway;
return this;
}

/**
* Get ip address customization settings.
*
* @return the ip value
*/
public CustomizationIPAddress ip() {
return this.ip;
}

/**
* Set ip address customization settings.
*
* @param ip the ip value to set
* @return the CustomizationIPSettings object itself.
*/
public CustomizationIPSettings withIp(CustomizationIPAddress ip) {
this.ip = ip;
return this;
}

/**
* Get adapter subnet mask.
*
* @return the subnetMask value
*/
public String subnetMask() {
return this.subnetMask;
}

/**
* Set adapter subnet mask.
*
* @param subnetMask the subnetMask value to set
* @return the CustomizationIPSettings object itself.
*/
public CustomizationIPSettings withSubnetMask(String subnetMask) {
this.subnetMask = subnetMask;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/

package com.microsoft.azure.management.vmwarecloudsimple.v2019_04_01;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* The CustomizationIdentity model.
*/
public class CustomizationIdentity {
/**
* Windows Text Identity. Prepared data.
*/
@JsonProperty(value = "data")
private String data;

/**
* Virtual machine host name settings.
*/
@JsonProperty(value = "hostName")
private CustomizationHostName hostName;

/**
* Identity type. Possible values include: 'WINDOWS_TEXT', 'WINDOWS',
* 'LINUX'.
*/
@JsonProperty(value = "type")
private String type;

/**
* Windows Identity. User data customization.
*/
@JsonProperty(value = "userData")
private CustomizationIdentityUserData userData;

/**
* Get windows Text Identity. Prepared data.
*
* @return the data value
*/
public String data() {
return this.data;
}

/**
* Set windows Text Identity. Prepared data.
*
* @param data the data value to set
* @return the CustomizationIdentity object itself.
*/
public CustomizationIdentity withData(String data) {
this.data = data;
return this;
}

/**
* Get virtual machine host name settings.
*
* @return the hostName value
*/
public CustomizationHostName hostName() {
return this.hostName;
}

/**
* Set virtual machine host name settings.
*
* @param hostName the hostName value to set
* @return the CustomizationIdentity object itself.
*/
public CustomizationIdentity withHostName(CustomizationHostName hostName) {
this.hostName = hostName;
return this;
}

/**
* Get identity type. Possible values include: 'WINDOWS_TEXT', 'WINDOWS', 'LINUX'.
*
* @return the type value
*/
public String type() {
return this.type;
}

/**
* Set identity type. Possible values include: 'WINDOWS_TEXT', 'WINDOWS', 'LINUX'.
*
* @param type the type value to set
* @return the CustomizationIdentity object itself.
*/
public CustomizationIdentity withType(String type) {
this.type = type;
return this;
}

/**
* Get windows Identity. User data customization.
*
* @return the userData value
*/
public CustomizationIdentityUserData userData() {
return this.userData;
}

/**
* Set windows Identity. User data customization.
*
* @param userData the userData value to set
* @return the CustomizationIdentity object itself.
*/
public CustomizationIdentity withUserData(CustomizationIdentityUserData userData) {
this.userData = userData;
return this;
}

}
Loading