Class NetworkProfile
java.lang.Object
com.azure.resourcemanager.batch.models.NetworkProfile
Network profile for Batch account, which contains network rule settings for each endpoint.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accountAccess property: Network access profile for batchAccount endpoint (Batch account data plane API).Get the nodeManagementAccess property: Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).void
validate()
Validates the instance.withAccountAccess
(EndpointAccessProfile accountAccess) Set the accountAccess property: Network access profile for batchAccount endpoint (Batch account data plane API).withNodeManagementAccess
(EndpointAccessProfile nodeManagementAccess) Set the nodeManagementAccess property: Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).
-
Constructor Details
-
NetworkProfile
public NetworkProfile()Creates an instance of NetworkProfile class.
-
-
Method Details
-
accountAccess
Get the accountAccess property: Network access profile for batchAccount endpoint (Batch account data plane API).- Returns:
- the accountAccess value.
-
withAccountAccess
Set the accountAccess property: Network access profile for batchAccount endpoint (Batch account data plane API).- Parameters:
accountAccess
- the accountAccess value to set.- Returns:
- the NetworkProfile object itself.
-
nodeManagementAccess
Get the nodeManagementAccess property: Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).- Returns:
- the nodeManagementAccess value.
-
withNodeManagementAccess
Set the nodeManagementAccess property: Network access profile for nodeManagement endpoint (Batch service managing compute nodes for Batch pools).- Parameters:
nodeManagementAccess
- the nodeManagementAccess value to set.- Returns:
- the NetworkProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-