NetworkConnectionUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. fluent. models. NetworkConnectionUpdateProperties
- com.
Implements
public class NetworkConnectionUpdateProperties
implements JsonSerializable<NetworkConnectionUpdateProperties>
Properties of network connection. These properties can be updated after the resource has been created.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkConnectionUpdateProperties() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
domainName()
Get the domain |
| String |
domainPassword()
Get the domain |
| String |
domainUsername()
Get the domain |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
| String |
organizationUnit()
Get the organization |
| String |
subnetId()
Get the subnet |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withDomainName(String domainName)
Set the domain |
|
Network |
withDomainPassword(String domainPassword)
Set the domain |
|
Network |
withDomainUsername(String domainUsername)
Set the domain |
|
Network |
withOrganizationUnit(String organizationUnit)
Set the organization |
|
Network |
withSubnetId(String subnetId)
Set the subnet |
Methods inherited from java.lang.Object
Constructor Details
NetworkConnectionUpdateProperties
public NetworkConnectionUpdateProperties()
Creates an instance of NetworkConnectionUpdateProperties class.
Method Details
domainName
public String domainName()
Get the domainName property: Active Directory domain name.
Returns:
domainPassword
public String domainPassword()
Get the domainPassword property: The password for the account used to join domain.
Returns:
domainUsername
public String domainUsername()
Get the domainUsername property: The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com.
Returns:
fromJson
public static NetworkConnectionUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of NetworkConnectionUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
organizationUnit
public String organizationUnit()
Get the organizationUnit property: Active Directory domain Organization Unit (OU).
Returns:
subnetId
public String subnetId()
Get the subnetId property: The subnet to attach Virtual Machines to.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDomainName
public NetworkConnectionUpdateProperties withDomainName(String domainName)
Set the domainName property: Active Directory domain name.
Parameters:
Returns:
withDomainPassword
public NetworkConnectionUpdateProperties withDomainPassword(String domainPassword)
Set the domainPassword property: The password for the account used to join domain.
Parameters:
Returns:
withDomainUsername
public NetworkConnectionUpdateProperties withDomainUsername(String domainUsername)
Set the domainUsername property: The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com.
Parameters:
Returns:
withOrganizationUnit
public NetworkConnectionUpdateProperties withOrganizationUnit(String organizationUnit)
Set the organizationUnit property: Active Directory domain Organization Unit (OU).
Parameters:
Returns:
withSubnetId
public NetworkConnectionUpdateProperties withSubnetId(String subnetId)
Set the subnetId property: The subnet to attach Virtual Machines to.
Parameters:
Returns: