NetworkConnection Interface

public interface NetworkConnection

An immutable client-side representation of NetworkConnection.

Method Summary

Modifier and Type Method and Description
abstract DomainJoinType domainJoinType()

Gets the domainJoinType property: AAD Join type.

abstract String domainName()

Gets the domainName property: Active Directory domain name.

abstract String domainPassword()

Gets the domainPassword property: The password for the account used to join domain.

abstract String domainUsername()

Gets the domainUsername property: The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory.

abstract HealthCheckStatus healthCheckStatus()

Gets the healthCheckStatus property: Overall health status of the network connection.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract NetworkConnectionInner innerModel()

Gets the inner com.azure.resourcemanager.devcenter.fluent.models.NetworkConnectionInner object.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract String networkingResourceGroupName()

Gets the networkingResourceGroupName property: The name for resource group where NICs will be placed.

abstract String organizationUnit()

Gets the organizationUnit property: Active Directory domain Organization Unit (OU).

abstract ProvisioningState provisioningState()

Gets the provisioningState property: The provisioning state of the resource.

abstract NetworkConnection refresh()

Refreshes the resource to sync with Azure.

abstract NetworkConnection refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract void runHealthChecks()

Triggers a new health check run.

abstract void runHealthChecks(Context context)

Triggers a new health check run.

abstract String subnetId()

Gets the subnetId property: The subnet to attach Virtual Machines to.

abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the NetworkConnection resource.

Method Details

domainJoinType

public abstract DomainJoinType domainJoinType()

Gets the domainJoinType property: AAD Join type.

Returns:

the domainJoinType value.

domainName

public abstract String domainName()

Gets the domainName property: Active Directory domain name.

Returns:

the domainName value.

domainPassword

public abstract String domainPassword()

Gets the domainPassword property: The password for the account used to join domain.

Returns:

the domainPassword value.

domainUsername

public abstract String domainUsername()

Gets 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.

healthCheckStatus

public abstract HealthCheckStatus healthCheckStatus()

Gets 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.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract NetworkConnectionInner innerModel()

Gets the inner com.azure.resourcemanager.devcenter.fluent.models.NetworkConnectionInner object.

Returns:

the inner object.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

networkingResourceGroupName

public abstract String networkingResourceGroupName()

Gets the networkingResourceGroupName property: The name for resource group where NICs will be placed.

Returns:

the networkingResourceGroupName value.

organizationUnit

public abstract String organizationUnit()

Gets the organizationUnit property: Active Directory domain Organization Unit (OU).

Returns:

the organizationUnit value.

provisioningState

public abstract ProvisioningState provisioningState()

Gets the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

refresh

public abstract NetworkConnection refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract NetworkConnection refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

runHealthChecks

public abstract void runHealthChecks()

Triggers a new health check run. The execution and health check result can be tracked via the network Connection health check details.

runHealthChecks

public abstract void runHealthChecks(Context context)

Triggers a new health check run. The execution and health check result can be tracked via the network Connection health check details.

Parameters:

context - The context to associate with this operation.

subnetId

public abstract String subnetId()

Gets the subnetId property: The subnet to attach Virtual Machines to.

Returns:

the subnetId value.

systemData

public abstract SystemData systemData()

Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract NetworkConnection.Update update()

Begins update for the NetworkConnection resource.

Returns:

the stage of resource update.

Applies to