NetworkConnectionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. devcenter. fluent. models. NetworkConnectionInner
- com.
- com.
- com.
public final class NetworkConnectionInner
extends Resource
Network related settings.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkConnectionInner() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Domain |
domainJoinType()
Get the domain |
| String |
domainName()
Get the domain |
| String |
domainPassword()
Get the domain |
| String |
domainUsername()
Get the domain |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
|
Health |
healthCheckStatus()
Get the health |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
networkingResourceGroupName()
Get the networking |
| String |
organizationUnit()
Get the organization |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
subnetId()
Get the subnet |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| 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 |
withLocation(String location) |
|
Network |
withNetworkingResourceGroupName(String networkingResourceGroupName)
Set the networking |
|
Network |
withOrganizationUnit(String organizationUnit)
Set the organization |
|
Network |
withSubnetId(String subnetId)
Set the subnet |
|
Network |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
NetworkConnectionInner
public NetworkConnectionInner()
Creates an instance of NetworkConnectionInner class.
Method Details
domainJoinType
public DomainJoinType domainJoinType()
Get the domainJoinType property: AAD Join type.
Returns:
domainName
public String domainName()
Get the domainName property: Active Directory domain name.
Returns:
domainPassword
public String domainPassword()
Get the domainPassword property: The password for the account used to join domain.
Returns:
domainUsername
public String 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:
fromJson
public static NetworkConnectionInner fromJson(JsonReader jsonReader)
Reads an instance of NetworkConnectionInner 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:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
NetworkConnectionInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
NetworkConnectionInner.name()Returns:
networkingResourceGroupName
public String networkingResourceGroupName()
Get the networkingResourceGroupName property: The name for resource group where NICs will be placed.
Returns:
organizationUnit
public String organizationUnit()
Get the organizationUnit property: Active Directory domain Organization Unit (OU).
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
subnetId
public String subnetId()
Get the subnetId property: The subnet to attach Virtual Machines to.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NetworkConnectionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
NetworkConnectionInner.type()Returns:
validate
public void validate()
Validates the instance.
withDomainJoinType
public NetworkConnectionInner withDomainJoinType(DomainJoinType domainJoinType)
Set the domainJoinType property: AAD Join type.
Parameters:
Returns:
withDomainName
public NetworkConnectionInner withDomainName(String domainName)
Set the domainName property: Active Directory domain name.
Parameters:
Returns:
withDomainPassword
public NetworkConnectionInner withDomainPassword(String domainPassword)
Set the domainPassword property: The password for the account used to join domain.
Parameters:
Returns:
withDomainUsername
public NetworkConnectionInner 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.
Parameters:
Returns:
withLocation
public NetworkConnectionInner withLocation(String location)
Overrides:
NetworkConnectionInner.withLocation(String location)Parameters:
withNetworkingResourceGroupName
public NetworkConnectionInner withNetworkingResourceGroupName(String networkingResourceGroupName)
Set the networkingResourceGroupName property: The name for resource group where NICs will be placed.
Parameters:
Returns:
withOrganizationUnit
public NetworkConnectionInner withOrganizationUnit(String organizationUnit)
Set the organizationUnit property: Active Directory domain Organization Unit (OU).
Parameters:
Returns:
withSubnetId
public NetworkConnectionInner withSubnetId(String subnetId)
Set the subnetId property: The subnet to attach Virtual Machines to.
Parameters:
Returns:
withTags
public NetworkConnectionInner withTags(Map<String,String> tags)
Overrides:
NetworkConnectionInner.withTags(Map<String,String> tags)Parameters: