Class NetworkConnectionInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devcenter.fluent.models.NetworkConnectionInner
public final class NetworkConnectionInner
extends com.azure.core.management.Resource
Network related settings.
-
Constructor Summary
ConstructorDescriptionCreates an instance of NetworkConnectionInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the domainJoinType property: AAD Join type.Get 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 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 organizationUnit property: Active Directory domain Organization Unit (OU).Get the provisioningState property: The provisioning state of the resource.subnetId()
Get the subnetId property: The subnet to attach Virtual Machines to.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.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.withLocation
(String location) 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.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
NetworkConnectionInner
public NetworkConnectionInner()Creates an instance of NetworkConnectionInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 NetworkConnectionInner 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 NetworkConnectionInner 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 NetworkConnectionInner 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 NetworkConnectionInner 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 NetworkConnectionInner 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 NetworkConnectionInner 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 NetworkConnectionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-