Class NetworkConnectionUpdate
java.lang.Object
com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
com.azure.resourcemanager.devcenter.models.NetworkConnectionUpdate
The network connection properties for partial update. Properties not provided in the update request will not be
changed.
-
Constructor Summary
ConstructorDescriptionCreates an instance of NetworkConnectionUpdate 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.withLocation
(String location) Set the location property: The geo-location where the resource lives.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.Set the tags property: Resource tags.Methods inherited from class com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
location, tags
-
Constructor Details
-
NetworkConnectionUpdate
public NetworkConnectionUpdate()Creates an instance of NetworkConnectionUpdate class.
-
-
Method Details
-
withTags
Set the tags property: Resource tags.- Overrides:
withTags
in classTrackedResourceUpdate
- Parameters:
tags
- the tags value to set.- Returns:
- the TrackedResourceUpdate object itself.
-
withLocation
Set the location property: The geo-location where the resource lives.- Overrides:
withLocation
in classTrackedResourceUpdate
- Parameters:
location
- the location value to set.- Returns:
- the TrackedResourceUpdate object itself.
-
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 NetworkConnectionUpdate 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 NetworkConnectionUpdate 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 NetworkConnectionUpdate 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 NetworkConnectionUpdate 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 NetworkConnectionUpdate object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classTrackedResourceUpdate
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-