azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

108 строки
12 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.batch.NetworkConfiguration"
fullName: "com.microsoft.azure.management.batch.NetworkConfiguration"
name: "NetworkConfiguration"
nameWithType: "NetworkConfiguration"
summary: "The network configuration for a pool."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **NetworkConfiguration**"
constructors:
- uid: "com.microsoft.azure.management.batch.NetworkConfiguration.NetworkConfiguration()"
fullName: "com.microsoft.azure.management.batch.NetworkConfiguration.NetworkConfiguration()"
name: "NetworkConfiguration()"
nameWithType: "NetworkConfiguration.NetworkConfiguration()"
syntax: "public NetworkConfiguration()"
methods:
- uid: "com.microsoft.azure.management.batch.NetworkConfiguration.endpointConfiguration()"
fullName: "com.microsoft.azure.management.batch.NetworkConfiguration.endpointConfiguration()"
name: "endpointConfiguration()"
nameWithType: "NetworkConfiguration.endpointConfiguration()"
summary: "Get pool endpoint configuration is only supported on pools with the virtual<wbr>Machine<wbr>Configuration property."
syntax: "public PoolEndpointConfiguration endpointConfiguration()"
desc: "Get pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property."
returns:
description: "the endpointConfiguration value"
type: "<xref href=\"com.microsoft.azure.management.batch.PoolEndpointConfiguration?alt=com.microsoft.azure.management.batch.PoolEndpointConfiguration&text=PoolEndpointConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.NetworkConfiguration.publicIPAddressConfiguration()"
fullName: "com.microsoft.azure.management.batch.NetworkConfiguration.publicIPAddressConfiguration()"
name: "publicIPAddressConfiguration()"
nameWithType: "NetworkConfiguration.publicIPAddressConfiguration()"
summary: "Get this property is only supported on Pools with the virtual<wbr>Machine<wbr>Configuration property."
syntax: "public PublicIPAddressConfiguration publicIPAddressConfiguration()"
desc: "Get this property is only supported on Pools with the virtualMachineConfiguration property."
returns:
description: "the publicIPAddressConfiguration value"
type: "<xref href=\"com.microsoft.azure.management.batch.PublicIPAddressConfiguration?alt=com.microsoft.azure.management.batch.PublicIPAddressConfiguration&text=PublicIPAddressConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.NetworkConfiguration.subnetId()"
fullName: "com.microsoft.azure.management.batch.NetworkConfiguration.subnetId()"
name: "subnetId()"
nameWithType: "NetworkConfiguration.subnetId()"
summary: "Get the virtual network must be in the same region and subscription as the Azure Batch account."
syntax: "public String subnetId()"
desc: "Get the virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. For pools created with a virtual machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. For pools created with a cloud service configuration, enable ports 10100, 20100, and 30100. Also enable outbound connections to Azure Storage on port 443. For cloudServiceConfiguration pools, only 'classic' VNETs are supported. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics\\#virtual-network-vnet-and-firewall-configuration."
returns:
description: "the subnetId value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.NetworkConfiguration.withEndpointConfiguration(com.microsoft.azure.management.batch.PoolEndpointConfiguration)"
fullName: "com.microsoft.azure.management.batch.NetworkConfiguration.withEndpointConfiguration(PoolEndpointConfiguration endpointConfiguration)"
name: "withEndpointConfiguration(PoolEndpointConfiguration endpointConfiguration)"
nameWithType: "NetworkConfiguration.withEndpointConfiguration(PoolEndpointConfiguration endpointConfiguration)"
summary: "Set pool endpoint configuration is only supported on pools with the virtual<wbr>Machine<wbr>Configuration property."
parameters:
- description: "the endpointConfiguration value to set"
name: "endpointConfiguration"
type: "<xref href=\"com.microsoft.azure.management.batch.PoolEndpointConfiguration?alt=com.microsoft.azure.management.batch.PoolEndpointConfiguration&text=PoolEndpointConfiguration\" data-throw-if-not-resolved=\"False\" />"
syntax: "public NetworkConfiguration withEndpointConfiguration(PoolEndpointConfiguration endpointConfiguration)"
desc: "Set pool endpoint configuration is only supported on pools with the virtualMachineConfiguration property."
returns:
description: "the NetworkConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.NetworkConfiguration?alt=com.microsoft.azure.management.batch.NetworkConfiguration&text=NetworkConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.NetworkConfiguration.withPublicIPAddressConfiguration(com.microsoft.azure.management.batch.PublicIPAddressConfiguration)"
fullName: "com.microsoft.azure.management.batch.NetworkConfiguration.withPublicIPAddressConfiguration(PublicIPAddressConfiguration publicIPAddressConfiguration)"
name: "withPublicIPAddressConfiguration(PublicIPAddressConfiguration publicIPAddressConfiguration)"
nameWithType: "NetworkConfiguration.withPublicIPAddressConfiguration(PublicIPAddressConfiguration publicIPAddressConfiguration)"
summary: "Set this property is only supported on Pools with the virtual<wbr>Machine<wbr>Configuration property."
parameters:
- description: "the publicIPAddressConfiguration value to set"
name: "publicIPAddressConfiguration"
type: "<xref href=\"com.microsoft.azure.management.batch.PublicIPAddressConfiguration?alt=com.microsoft.azure.management.batch.PublicIPAddressConfiguration&text=PublicIPAddressConfiguration\" data-throw-if-not-resolved=\"False\" />"
syntax: "public NetworkConfiguration withPublicIPAddressConfiguration(PublicIPAddressConfiguration publicIPAddressConfiguration)"
desc: "Set this property is only supported on Pools with the virtualMachineConfiguration property."
returns:
description: "the NetworkConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.NetworkConfiguration?alt=com.microsoft.azure.management.batch.NetworkConfiguration&text=NetworkConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.NetworkConfiguration.withSubnetId(java.lang.String)"
fullName: "com.microsoft.azure.management.batch.NetworkConfiguration.withSubnetId(String subnetId)"
name: "withSubnetId(String subnetId)"
nameWithType: "NetworkConfiguration.withSubnetId(String subnetId)"
summary: "Set the virtual network must be in the same region and subscription as the Azure Batch account."
parameters:
- description: "the subnetId value to set"
name: "subnetId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public NetworkConfiguration withSubnetId(String subnetId)"
desc: "Set the virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication. For pools created with a virtual machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. For pools created with a cloud service configuration, enable ports 10100, 20100, and 30100. Also enable outbound connections to Azure Storage on port 443. For cloudServiceConfiguration pools, only 'classic' VNETs are supported. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics\\#virtual-network-vnet-and-firewall-configuration."
returns:
description: "the NetworkConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.NetworkConfiguration?alt=com.microsoft.azure.management.batch.NetworkConfiguration&text=NetworkConfiguration\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The network configuration for a pool."
metadata: {}
package: "com.microsoft.azure.management.batch"
artifact: com.microsoft.azure:azure-mgmt-batch:1.41.4