Class NetworkConnectionUpdateProperties
java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.NetworkConnectionUpdateProperties
- Direct Known Subclasses:
NetworkProperties
Properties of network connection. These properties can be updated after the resource has been created.
-
Constructor Summary
ConstructorDescriptionCreates an instance of NetworkConnectionUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the domainName property: Active Directory domain name.Get the domainPassword property: The password for the account used to join domain.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.Get the organizationUnit property: Active Directory domain Organization Unit (OU).subnetId()
Get the subnetId property: The subnet to attach Virtual Machines to.void
validate()
Validates the instance.withDomainName
(String domainName) Set the domainName property: Active Directory domain name.withDomainPassword
(String domainPassword) Set the domainPassword property: The password for the account used to join domain.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.withOrganizationUnit
(String organizationUnit) Set the organizationUnit property: Active Directory domain Organization Unit (OU).withSubnetId
(String subnetId) Set the subnetId property: The subnet to attach Virtual Machines to.
-
Constructor Details
-
NetworkConnectionUpdateProperties
public NetworkConnectionUpdateProperties()Creates an instance of NetworkConnectionUpdateProperties class.
-
-
Method Details
-
subnetId
Get the subnetId property: The subnet to attach Virtual Machines to.- Returns:
- the subnetId value.
-
withSubnetId
Set the subnetId property: The subnet to attach Virtual Machines to.- Parameters:
subnetId
- the subnetId value to set.- Returns:
- the NetworkConnectionUpdateProperties object itself.
-
domainName
Get the domainName property: Active Directory domain name.- Returns:
- the domainName value.
-
withDomainName
Set the domainName property: Active Directory domain name.- Parameters:
domainName
- the domainName value to set.- Returns:
- the NetworkConnectionUpdateProperties object itself.
-
organizationUnit
Get the organizationUnit property: Active Directory domain Organization Unit (OU).- Returns:
- the organizationUnit value.
-
withOrganizationUnit
Set the organizationUnit property: Active Directory domain Organization Unit (OU).- Parameters:
organizationUnit
- the organizationUnit value to set.- Returns:
- the NetworkConnectionUpdateProperties object itself.
-
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:
- the domainUsername value.
-
withDomainUsername
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:
domainUsername
- the domainUsername value to set.- Returns:
- the NetworkConnectionUpdateProperties object itself.
-
domainPassword
Get the domainPassword property: The password for the account used to join domain.- Returns:
- the domainPassword value.
-
withDomainPassword
Set the domainPassword property: The password for the account used to join domain.- Parameters:
domainPassword
- the domainPassword value to set.- Returns:
- the NetworkConnectionUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-