NetworkProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. fluent. models. NetworkConnectionUpdateProperties - com.
azure. resourcemanager. devcenter. fluent. models. NetworkProperties
- com.
- com.
public final class NetworkProperties
extends NetworkConnectionUpdateProperties
Network properties.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkProperties() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Domain |
domainJoinType()
Get the domain |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
|
Health |
healthCheckStatus()
Get the health |
| String |
networkingResourceGroupName()
Get the networking |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withDomainJoinType(DomainJoinType domainJoinType)
Set the domain |
|
Network |
withDomainName(String domainName)
Set the domain |
|
Network |
withDomainPassword(String domainPassword)
Set the domain |
|
Network |
withDomainUsername(String domainUsername)
Set the domain |
|
Network |
withNetworkingResourceGroupName(String networkingResourceGroupName)
Set the networking |
|
Network |
withOrganizationUnit(String organizationUnit)
Set the organization |
|
Network |
withSubnetId(String subnetId)
Set the subnet |
Methods inherited from NetworkConnectionUpdateProperties
Methods inherited from java.lang.Object
Constructor Details
NetworkProperties
public NetworkProperties()
Creates an instance of NetworkProperties class.
Method Details
domainJoinType
public DomainJoinType domainJoinType()
Get the domainJoinType property: AAD Join type.
Returns:
fromJson
public static NetworkProperties fromJson(JsonReader jsonReader)
Reads an instance of NetworkProperties from the JsonReader.
Parameters:
Returns:
Throws:
healthCheckStatus
public HealthCheckStatus 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:
networkingResourceGroupName
public String networkingResourceGroupName()
Get the networkingResourceGroupName property: The name for resource group where NICs will be placed.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NetworkProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
NetworkProperties.validate()withDomainJoinType
public NetworkProperties withDomainJoinType(DomainJoinType domainJoinType)
Set the domainJoinType property: AAD Join type.
Parameters:
Returns:
withDomainName
public NetworkProperties withDomainName(String domainName)
Set the domainName property: Active Directory domain name.
Overrides:
NetworkProperties.withDomainName(String domainName)Parameters:
withDomainPassword
public NetworkProperties withDomainPassword(String domainPassword)
Set the domainPassword property: The password for the account used to join domain.
Overrides:
NetworkProperties.withDomainPassword(String domainPassword)Parameters:
withDomainUsername
public NetworkProperties 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.
Overrides:
NetworkProperties.withDomainUsername(String domainUsername)Parameters:
withNetworkingResourceGroupName
public NetworkProperties withNetworkingResourceGroupName(String networkingResourceGroupName)
Set the networkingResourceGroupName property: The name for resource group where NICs will be placed.
Parameters:
Returns:
withOrganizationUnit
public NetworkProperties withOrganizationUnit(String organizationUnit)
Set the organizationUnit property: Active Directory domain Organization Unit (OU).
Overrides:
NetworkProperties.withOrganizationUnit(String organizationUnit)Parameters:
withSubnetId
public NetworkProperties withSubnetId(String subnetId)
Set the subnetId property: The subnet to attach Virtual Machines to.
Overrides:
NetworkProperties.withSubnetId(String subnetId)Parameters: