Class NetworkProperties
java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.NetworkConnectionUpdateProperties
com.azure.resourcemanager.devcenter.fluent.models.NetworkProperties
Network properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the domainJoinType property: AAD Join type.Get the healthCheckStatus property: Overall health status of the network connection.Get the networkingResourceGroupName property: The name for resource group where NICs will be placed.Get the provisioningState property: The provisioning state of the resource.void
validate()
Validates the instance.withDomainJoinType
(DomainJoinType domainJoinType) Set the domainJoinType property: AAD Join type.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.withNetworkingResourceGroupName
(String networkingResourceGroupName) Set the networkingResourceGroupName property: The name for resource group where NICs will be placed.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.Methods inherited from class com.azure.resourcemanager.devcenter.fluent.models.NetworkConnectionUpdateProperties
domainName, domainPassword, domainUsername, organizationUnit, subnetId
-
Constructor Details
-
NetworkProperties
public NetworkProperties()Creates an instance of NetworkProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioning state of the resource.- Returns:
- the provisioningState value.
-
healthCheckStatus
Get the healthCheckStatus property: Overall health status of the network connection. Health checks are run on creation, update, and periodically to validate the network connection.- Returns:
- the healthCheckStatus value.
-
networkingResourceGroupName
Get the networkingResourceGroupName property: The name for resource group where NICs will be placed.- Returns:
- the networkingResourceGroupName value.
-
withNetworkingResourceGroupName
Set the networkingResourceGroupName property: The name for resource group where NICs will be placed.- Parameters:
networkingResourceGroupName
- the networkingResourceGroupName value to set.- Returns:
- the NetworkProperties object itself.
-
domainJoinType
Get the domainJoinType property: AAD Join type.- Returns:
- the domainJoinType value.
-
withDomainJoinType
Set the domainJoinType property: AAD Join type.- Parameters:
domainJoinType
- the domainJoinType value to set.- Returns:
- the NetworkProperties object itself.
-
withSubnetId
Set the subnetId property: The subnet to attach Virtual Machines to.- Overrides:
withSubnetId
in classNetworkConnectionUpdateProperties
- Parameters:
subnetId
- the subnetId value to set.- Returns:
- the NetworkConnectionUpdateProperties object itself.
-
withDomainName
Set the domainName property: Active Directory domain name.- Overrides:
withDomainName
in classNetworkConnectionUpdateProperties
- Parameters:
domainName
- the domainName value to set.- Returns:
- the NetworkConnectionUpdateProperties object itself.
-
withOrganizationUnit
Set the organizationUnit property: Active Directory domain Organization Unit (OU).- Overrides:
withOrganizationUnit
in classNetworkConnectionUpdateProperties
- Parameters:
organizationUnit
- the organizationUnit value to set.- Returns:
- the NetworkConnectionUpdateProperties object itself.
-
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.- Overrides:
withDomainUsername
in classNetworkConnectionUpdateProperties
- Parameters:
domainUsername
- the domainUsername value to set.- Returns:
- the NetworkConnectionUpdateProperties object itself.
-
withDomainPassword
Set the domainPassword property: The password for the account used to join domain.- Overrides:
withDomainPassword
in classNetworkConnectionUpdateProperties
- Parameters:
domainPassword
- the domainPassword value to set.- Returns:
- the NetworkConnectionUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classNetworkConnectionUpdateProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-