NetworkConnectionUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. TrackedResourceUpdate - com.
azure. resourcemanager. devcenter. models. NetworkConnectionUpdate
- com.
- com.
public final class NetworkConnectionUpdate
extends TrackedResourceUpdate
The network connection properties for partial update. Properties not provided in the update request will not be changed.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkConnectionUpdate() |
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 |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
|
Network |
withOrganizationUnit(String organizationUnit)
Set the organization |
|
Network |
withSubnetId(String subnetId)
Set the subnet |
|
Network |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from TrackedResourceUpdate
Methods inherited from java.lang.Object
Constructor Details
NetworkConnectionUpdate
public NetworkConnectionUpdate()
Creates an instance of NetworkConnectionUpdate 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 NetworkConnectionUpdate fromJson(JsonReader jsonReader)
Reads an instance of NetworkConnectionUpdate 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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NetworkConnectionUpdate.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
NetworkConnectionUpdate.validate()withDomainName
public NetworkConnectionUpdate withDomainName(String domainName)
Set the domainName property: Active Directory domain name.
Parameters:
Returns:
withDomainPassword
public NetworkConnectionUpdate withDomainPassword(String domainPassword)
Set the domainPassword property: The password for the account used to join domain.
Parameters:
Returns:
withDomainUsername
public NetworkConnectionUpdate 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:
withLocation
public NetworkConnectionUpdate withLocation(String location)
Set the location property: The geo-location where the resource lives.
Overrides:
NetworkConnectionUpdate.withLocation(String location)Parameters:
withOrganizationUnit
public NetworkConnectionUpdate withOrganizationUnit(String organizationUnit)
Set the organizationUnit property: Active Directory domain Organization Unit (OU).
Parameters:
Returns:
withSubnetId
public NetworkConnectionUpdate withSubnetId(String subnetId)
Set the subnetId property: The subnet to attach Virtual Machines to.
Parameters:
Returns:
withTags
public NetworkConnectionUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Overrides:
NetworkConnectionUpdate.withTags(Map<String,String> tags)Parameters: