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

276 строки
26 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration"
name: "VirtualMachineConfiguration"
nameWithType: "VirtualMachineConfiguration"
summary: "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
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 **VirtualMachineConfiguration**"
constructors:
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.VirtualMachineConfiguration()"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.VirtualMachineConfiguration()"
name: "VirtualMachineConfiguration()"
nameWithType: "VirtualMachineConfiguration.VirtualMachineConfiguration()"
syntax: "public VirtualMachineConfiguration()"
methods:
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.containerConfiguration()"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.containerConfiguration()"
name: "containerConfiguration()"
nameWithType: "VirtualMachineConfiguration.containerConfiguration()"
summary: "Get if specified, setup is performed on each node in the pool to allow tasks to run in containers."
syntax: "public ContainerConfiguration containerConfiguration()"
desc: "Get if specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it."
returns:
description: "the containerConfiguration value"
type: "<xref href=\"com.microsoft.azure.management.batch.ContainerConfiguration?alt=com.microsoft.azure.management.batch.ContainerConfiguration&text=ContainerConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.dataDisks()"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.dataDisks()"
name: "dataDisks()"
nameWithType: "VirtualMachineConfiguration.dataDisks()"
summary: "Get this property must be specified if the compute nodes in the pool need to have empty data disks attached to them."
syntax: "public List<DataDisk> dataDisks()"
desc: "Get this property must be specified if the compute nodes in the pool need to have empty data disks attached to them."
returns:
description: "the dataDisks value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.batch.DataDisk?alt=com.microsoft.azure.management.batch.DataDisk&text=DataDisk\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.diskEncryptionConfiguration()"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.diskEncryptionConfiguration()"
name: "diskEncryptionConfiguration()"
nameWithType: "VirtualMachineConfiguration.diskEncryptionConfiguration()"
summary: "Get if specified, encryption is performed on each node in the pool during node provisioning."
syntax: "public DiskEncryptionConfiguration diskEncryptionConfiguration()"
desc: "Get if specified, encryption is performed on each node in the pool during node provisioning."
returns:
description: "the diskEncryptionConfiguration value"
type: "<xref href=\"com.microsoft.azure.management.batch.DiskEncryptionConfiguration?alt=com.microsoft.azure.management.batch.DiskEncryptionConfiguration&text=DiskEncryptionConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.extensions()"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.extensions()"
name: "extensions()"
nameWithType: "VirtualMachineConfiguration.extensions()"
summary: "Get if specified, the extensions mentioned in this configuration will be installed on each node."
syntax: "public List<VMExtension> extensions()"
desc: "Get if specified, the extensions mentioned in this configuration will be installed on each node."
returns:
description: "the extensions value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.batch.VMExtension?alt=com.microsoft.azure.management.batch.VMExtension&text=VMExtension\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.imageReference()"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.imageReference()"
name: "imageReference()"
nameWithType: "VirtualMachineConfiguration.imageReference()"
summary: "Get the image<wbr>Reference value."
syntax: "public ImageReference imageReference()"
desc: "Get the imageReference value."
returns:
description: "the imageReference value"
type: "<xref href=\"com.microsoft.azure.management.batch.ImageReference?alt=com.microsoft.azure.management.batch.ImageReference&text=ImageReference\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.licenseType()"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.licenseType()"
name: "licenseType()"
nameWithType: "VirtualMachineConfiguration.licenseType()"
summary: "Get this only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed."
syntax: "public String licenseType()"
desc: "Get this only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are: Windows\\_Server - The on-premises license is for Windows Server. Windows\\_Client - The on-premises license is for Windows Client."
returns:
description: "the licenseType 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.VirtualMachineConfiguration.nodeAgentSkuId()"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.nodeAgentSkuId()"
name: "nodeAgentSkuId()"
nameWithType: "VirtualMachineConfiguration.nodeAgentSkuId()"
summary: "Get the Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service."
syntax: "public String nodeAgentSkuId()"
desc: "Get the Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation."
returns:
description: "the nodeAgentSkuId 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.VirtualMachineConfiguration.nodePlacementConfiguration()"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.nodePlacementConfiguration()"
name: "nodePlacementConfiguration()"
nameWithType: "VirtualMachineConfiguration.nodePlacementConfiguration()"
summary: "Get this configuration will specify rules on how nodes in the pool will be physically allocated."
syntax: "public NodePlacementConfiguration nodePlacementConfiguration()"
desc: "Get this configuration will specify rules on how nodes in the pool will be physically allocated."
returns:
description: "the nodePlacementConfiguration value"
type: "<xref href=\"com.microsoft.azure.management.batch.NodePlacementConfiguration?alt=com.microsoft.azure.management.batch.NodePlacementConfiguration&text=NodePlacementConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.osDisk()"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.osDisk()"
name: "osDisk()"
nameWithType: "VirtualMachineConfiguration.osDisk()"
summary: "Get contains configuration for ephemeral OSDisk settings."
syntax: "public OSDisk osDisk()"
desc: "Get contains configuration for ephemeral OSDisk settings."
returns:
description: "the osDisk value"
type: "<xref href=\"com.microsoft.azure.management.batch.OSDisk?alt=com.microsoft.azure.management.batch.OSDisk&text=OSDisk\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.windowsConfiguration()"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.windowsConfiguration()"
name: "windowsConfiguration()"
nameWithType: "VirtualMachineConfiguration.windowsConfiguration()"
summary: "Get this property must not be specified if the image<wbr>Reference specifies a Linux OS image."
syntax: "public WindowsConfiguration windowsConfiguration()"
desc: "Get this property must not be specified if the imageReference specifies a Linux OS image."
returns:
description: "the windowsConfiguration value"
type: "<xref href=\"com.microsoft.azure.management.batch.WindowsConfiguration?alt=com.microsoft.azure.management.batch.WindowsConfiguration&text=WindowsConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withContainerConfiguration(com.microsoft.azure.management.batch.ContainerConfiguration)"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withContainerConfiguration(ContainerConfiguration containerConfiguration)"
name: "withContainerConfiguration(ContainerConfiguration containerConfiguration)"
nameWithType: "VirtualMachineConfiguration.withContainerConfiguration(ContainerConfiguration containerConfiguration)"
summary: "Set if specified, setup is performed on each node in the pool to allow tasks to run in containers."
parameters:
- description: "the containerConfiguration value to set"
name: "containerConfiguration"
type: "<xref href=\"com.microsoft.azure.management.batch.ContainerConfiguration?alt=com.microsoft.azure.management.batch.ContainerConfiguration&text=ContainerConfiguration\" data-throw-if-not-resolved=\"False\" />"
syntax: "public VirtualMachineConfiguration withContainerConfiguration(ContainerConfiguration containerConfiguration)"
desc: "Set if specified, setup is performed on each node in the pool to allow tasks to run in containers. All regular tasks and job manager tasks run on this pool must specify the containerSettings property, and all other tasks may specify it."
returns:
description: "the VirtualMachineConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.VirtualMachineConfiguration?alt=com.microsoft.azure.management.batch.VirtualMachineConfiguration&text=VirtualMachineConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withDataDisks(java.util.List<com.microsoft.azure.management.batch.DataDisk>)"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withDataDisks(List<DataDisk> dataDisks)"
name: "withDataDisks(List<DataDisk> dataDisks)"
nameWithType: "VirtualMachineConfiguration.withDataDisks(List<DataDisk> dataDisks)"
summary: "Set this property must be specified if the compute nodes in the pool need to have empty data disks attached to them."
parameters:
- description: "the dataDisks value to set"
name: "dataDisks"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.batch.DataDisk?alt=com.microsoft.azure.management.batch.DataDisk&text=DataDisk\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public VirtualMachineConfiguration withDataDisks(List<DataDisk> dataDisks)"
desc: "Set this property must be specified if the compute nodes in the pool need to have empty data disks attached to them."
returns:
description: "the VirtualMachineConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.VirtualMachineConfiguration?alt=com.microsoft.azure.management.batch.VirtualMachineConfiguration&text=VirtualMachineConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withDiskEncryptionConfiguration(com.microsoft.azure.management.batch.DiskEncryptionConfiguration)"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withDiskEncryptionConfiguration(DiskEncryptionConfiguration diskEncryptionConfiguration)"
name: "withDiskEncryptionConfiguration(DiskEncryptionConfiguration diskEncryptionConfiguration)"
nameWithType: "VirtualMachineConfiguration.withDiskEncryptionConfiguration(DiskEncryptionConfiguration diskEncryptionConfiguration)"
summary: "Set if specified, encryption is performed on each node in the pool during node provisioning."
parameters:
- description: "the diskEncryptionConfiguration value to set"
name: "diskEncryptionConfiguration"
type: "<xref href=\"com.microsoft.azure.management.batch.DiskEncryptionConfiguration?alt=com.microsoft.azure.management.batch.DiskEncryptionConfiguration&text=DiskEncryptionConfiguration\" data-throw-if-not-resolved=\"False\" />"
syntax: "public VirtualMachineConfiguration withDiskEncryptionConfiguration(DiskEncryptionConfiguration diskEncryptionConfiguration)"
desc: "Set if specified, encryption is performed on each node in the pool during node provisioning."
returns:
description: "the VirtualMachineConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.VirtualMachineConfiguration?alt=com.microsoft.azure.management.batch.VirtualMachineConfiguration&text=VirtualMachineConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withExtensions(java.util.List<com.microsoft.azure.management.batch.VMExtension>)"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withExtensions(List<VMExtension> extensions)"
name: "withExtensions(List<VMExtension> extensions)"
nameWithType: "VirtualMachineConfiguration.withExtensions(List<VMExtension> extensions)"
summary: "Set if specified, the extensions mentioned in this configuration will be installed on each node."
parameters:
- description: "the extensions value to set"
name: "extensions"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.batch.VMExtension?alt=com.microsoft.azure.management.batch.VMExtension&text=VMExtension\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public VirtualMachineConfiguration withExtensions(List<VMExtension> extensions)"
desc: "Set if specified, the extensions mentioned in this configuration will be installed on each node."
returns:
description: "the VirtualMachineConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.VirtualMachineConfiguration?alt=com.microsoft.azure.management.batch.VirtualMachineConfiguration&text=VirtualMachineConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withImageReference(com.microsoft.azure.management.batch.ImageReference)"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withImageReference(ImageReference imageReference)"
name: "withImageReference(ImageReference imageReference)"
nameWithType: "VirtualMachineConfiguration.withImageReference(ImageReference imageReference)"
summary: "Set the image<wbr>Reference value."
parameters:
- description: "the imageReference value to set"
name: "imageReference"
type: "<xref href=\"com.microsoft.azure.management.batch.ImageReference?alt=com.microsoft.azure.management.batch.ImageReference&text=ImageReference\" data-throw-if-not-resolved=\"False\" />"
syntax: "public VirtualMachineConfiguration withImageReference(ImageReference imageReference)"
desc: "Set the imageReference value."
returns:
description: "the VirtualMachineConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.VirtualMachineConfiguration?alt=com.microsoft.azure.management.batch.VirtualMachineConfiguration&text=VirtualMachineConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withLicenseType(java.lang.String)"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withLicenseType(String licenseType)"
name: "withLicenseType(String licenseType)"
nameWithType: "VirtualMachineConfiguration.withLicenseType(String licenseType)"
summary: "Set this only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed."
parameters:
- description: "the licenseType value to set"
name: "licenseType"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public VirtualMachineConfiguration withLicenseType(String licenseType)"
desc: "Set this only applies to images that contain the Windows operating system, and should only be used when you hold valid on-premises licenses for the nodes which will be deployed. If omitted, no on-premises licensing discount is applied. Values are: Windows\\_Server - The on-premises license is for Windows Server. Windows\\_Client - The on-premises license is for Windows Client."
returns:
description: "the VirtualMachineConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.VirtualMachineConfiguration?alt=com.microsoft.azure.management.batch.VirtualMachineConfiguration&text=VirtualMachineConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withNodeAgentSkuId(java.lang.String)"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withNodeAgentSkuId(String nodeAgentSkuId)"
name: "withNodeAgentSkuId(String nodeAgentSkuId)"
nameWithType: "VirtualMachineConfiguration.withNodeAgentSkuId(String nodeAgentSkuId)"
summary: "Set the Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service."
parameters:
- description: "the nodeAgentSkuId value to set"
name: "nodeAgentSkuId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public VirtualMachineConfiguration withNodeAgentSkuId(String nodeAgentSkuId)"
desc: "Set the Batch node agent is a program that runs on each node in the pool, and provides the command-and-control interface between the node and the Batch service. There are different implementations of the node agent, known as SKUs, for different operating systems. You must specify a node agent SKU which matches the selected image reference. To get the list of supported node agent SKUs along with their list of verified image references, see the 'List supported node agent SKUs' operation."
returns:
description: "the VirtualMachineConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.VirtualMachineConfiguration?alt=com.microsoft.azure.management.batch.VirtualMachineConfiguration&text=VirtualMachineConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withNodePlacementConfiguration(com.microsoft.azure.management.batch.NodePlacementConfiguration)"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withNodePlacementConfiguration(NodePlacementConfiguration nodePlacementConfiguration)"
name: "withNodePlacementConfiguration(NodePlacementConfiguration nodePlacementConfiguration)"
nameWithType: "VirtualMachineConfiguration.withNodePlacementConfiguration(NodePlacementConfiguration nodePlacementConfiguration)"
summary: "Set this configuration will specify rules on how nodes in the pool will be physically allocated."
parameters:
- description: "the nodePlacementConfiguration value to set"
name: "nodePlacementConfiguration"
type: "<xref href=\"com.microsoft.azure.management.batch.NodePlacementConfiguration?alt=com.microsoft.azure.management.batch.NodePlacementConfiguration&text=NodePlacementConfiguration\" data-throw-if-not-resolved=\"False\" />"
syntax: "public VirtualMachineConfiguration withNodePlacementConfiguration(NodePlacementConfiguration nodePlacementConfiguration)"
desc: "Set this configuration will specify rules on how nodes in the pool will be physically allocated."
returns:
description: "the VirtualMachineConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.VirtualMachineConfiguration?alt=com.microsoft.azure.management.batch.VirtualMachineConfiguration&text=VirtualMachineConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withOsDisk(com.microsoft.azure.management.batch.OSDisk)"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withOsDisk(OSDisk osDisk)"
name: "withOsDisk(OSDisk osDisk)"
nameWithType: "VirtualMachineConfiguration.withOsDisk(OSDisk osDisk)"
summary: "Set contains configuration for ephemeral OSDisk settings."
parameters:
- description: "the osDisk value to set"
name: "osDisk"
type: "<xref href=\"com.microsoft.azure.management.batch.OSDisk?alt=com.microsoft.azure.management.batch.OSDisk&text=OSDisk\" data-throw-if-not-resolved=\"False\" />"
syntax: "public VirtualMachineConfiguration withOsDisk(OSDisk osDisk)"
desc: "Set contains configuration for ephemeral OSDisk settings."
returns:
description: "the VirtualMachineConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.VirtualMachineConfiguration?alt=com.microsoft.azure.management.batch.VirtualMachineConfiguration&text=VirtualMachineConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withWindowsConfiguration(com.microsoft.azure.management.batch.WindowsConfiguration)"
fullName: "com.microsoft.azure.management.batch.VirtualMachineConfiguration.withWindowsConfiguration(WindowsConfiguration windowsConfiguration)"
name: "withWindowsConfiguration(WindowsConfiguration windowsConfiguration)"
nameWithType: "VirtualMachineConfiguration.withWindowsConfiguration(WindowsConfiguration windowsConfiguration)"
summary: "Set this property must not be specified if the image<wbr>Reference specifies a Linux OS image."
parameters:
- description: "the windowsConfiguration value to set"
name: "windowsConfiguration"
type: "<xref href=\"com.microsoft.azure.management.batch.WindowsConfiguration?alt=com.microsoft.azure.management.batch.WindowsConfiguration&text=WindowsConfiguration\" data-throw-if-not-resolved=\"False\" />"
syntax: "public VirtualMachineConfiguration withWindowsConfiguration(WindowsConfiguration windowsConfiguration)"
desc: "Set this property must not be specified if the imageReference specifies a Linux OS image."
returns:
description: "the VirtualMachineConfiguration object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.VirtualMachineConfiguration?alt=com.microsoft.azure.management.batch.VirtualMachineConfiguration&text=VirtualMachineConfiguration\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The configuration for compute nodes in a pool based on the Azure Virtual Machines infrastructure."
metadata: {}
package: "com.microsoft.azure.management.batch"
artifact: com.microsoft.azure:azure-mgmt-batch:1.41.4