Skip to content

Commit

Permalink
CodeGen from PR 31901 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 8df0d4de98dfe217a499e4ee5350de3f900aa5d9 into 17dbd6e760c42aeacf1db39381fc26e30dda72ca
  • Loading branch information
SDKAuto committed Dec 16, 2024
1 parent d5391c9 commit 66cc749
Show file tree
Hide file tree
Showing 21 changed files with 145 additions and 144 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public final class BatchJobManagerTask implements JsonSerializable<BatchJobManag
* features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or
* "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path
* (relative to the Task working directory), or use the Batch provided environment variable
* (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
* (https://learn.microsoft.com/azure/batch/batch-compute-node-environment-variables).
*/
@Generated
private final String commandLine;
Expand Down Expand Up @@ -229,7 +229,7 @@ public BatchJobManagerTask setDisplayName(String displayName) {
* to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c
* MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use
* a relative path (relative to the Task working directory), or use the Batch provided environment variable
* (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
* (https://learn.microsoft.com/azure/batch/batch-compute-node-environment-variables).
*
* @return the commandLine value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public final class BatchJobNetworkConfiguration implements JsonSerializable<Batc
* must be enabled for inbound communication from the Azure Batch service. 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. Port 443 is
* also required to be open for outbound connections for communications to Azure Storage. For more details see:
* https://docs.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
* https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
*/
@Generated
private final String subnetId;
Expand All @@ -52,7 +52,7 @@ public final class BatchJobNetworkConfiguration implements JsonSerializable<Batc
* enabled for inbound communication from the Azure Batch service. 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. Port 443 is
* also required to be open for outbound connections for communications to Azure Storage. For more details see:
* https://docs.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
* https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
*
* @return the subnetId value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public final class BatchJobPreparationTask implements JsonSerializable<BatchJobP
* features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or
* "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path
* (relative to the Task working directory), or use the Batch provided environment variable
* (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
* (https://learn.microsoft.com/azure/batch/batch-compute-node-environment-variables).
*/
@Generated
private final String commandLine;
Expand Down Expand Up @@ -176,7 +176,7 @@ public BatchJobPreparationTask setId(String id) {
* to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c
* MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use
* a relative path (relative to the Task working directory), or use the Batch provided environment variable
* (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
* (https://learn.microsoft.com/azure/batch/batch-compute-node-environment-variables).
*
* @return the commandLine value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public final class BatchJobReleaseTask implements JsonSerializable<BatchJobRelea
* features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or
* "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path
* (relative to the Task working directory), or use the Batch provided environment variable
* (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
* (https://learn.microsoft.com/azure/batch/batch-compute-node-environment-variables).
*/
@Generated
private final String commandLine;
Expand Down Expand Up @@ -155,7 +155,7 @@ public BatchJobReleaseTask setId(String id) {
* to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c
* MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use
* a relative path (relative to the Task working directory), or use the Batch provided environment variable
* (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
* (https://learn.microsoft.com/azure/batch/batch-compute-node-environment-variables).
*
* @return the commandLine value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public final class BatchNode implements JsonSerializable<BatchNode> {
/*
* The size of the virtual machine hosting the Compute Node. For information about available sizes of virtual
* machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool
* (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).
* (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes).
*/
@Generated
private String vmSize;
Expand Down Expand Up @@ -284,7 +284,7 @@ public String getAffinityId() {
/**
* Get the vmSize property: The size of the virtual machine hosting the Compute Node. For information about
* available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool
* (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).
* (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes).
*
* @return the vmSize value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public final class BatchPoolSpecification implements JsonSerializable<BatchPoolS
/*
* The size of the virtual machines in the Pool. All virtual machines in a Pool are the same size. For information
* about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool
* (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).
* (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes).
*/
@Generated
private final String vmSize;
Expand Down Expand Up @@ -200,7 +200,7 @@ public BatchPoolSpecification setDisplayName(String displayName) {
/**
* Get the vmSize property: The size of the virtual machines in the Pool. All virtual machines in a Pool are the
* same size. For information about available sizes of virtual machines in Pools, see Choose a VM size for Compute
* Nodes in an Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).
* Nodes in an Azure Batch Pool (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes).
*
* @return the vmSize value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public static BatchPoolUpdateContent fromJson(JsonReader jsonReader) throws IOEx
/*
* The size of virtual machines in the Pool. For information about available sizes of virtual machines in Pools, see
* Choose a VM size for Compute Nodes in an Azure Batch Pool
* (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).<br /><br />This field can be updated only when the
* (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes).<br /><br />This field can be updated only when the
* pool is empty.
*/
@Generated
Expand Down Expand Up @@ -372,7 +372,7 @@ public BatchPoolUpdateContent setDisplayName(String displayName) {
/**
* Get the vmSize property: The size of virtual machines in the Pool. For information about available sizes of
* virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool
* (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).&lt;br /&gt;&lt;br /&gt;This field can be updated
* (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes).&lt;br /&gt;&lt;br /&gt;This field can be updated
* only when the pool is empty.
*
* @return the vmSize value.
Expand All @@ -385,7 +385,7 @@ public String getVmSize() {
/**
* Set the vmSize property: The size of virtual machines in the Pool. For information about available sizes of
* virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool
* (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).&lt;br /&gt;&lt;br /&gt;This field can be updated
* (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes).&lt;br /&gt;&lt;br /&gt;This field can be updated
* only when the pool is empty.
*
* @param vmSize the vmSize value to set.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public final class BatchPoolUsageMetrics implements JsonSerializable<BatchPoolUs
/*
* The size of virtual machines in the Pool. All VMs in a Pool are the same size. For information about available
* sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an Azure Batch Pool
* (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).
* (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes).
*/
@Generated
private final String vmSize;
Expand Down Expand Up @@ -104,7 +104,7 @@ public OffsetDateTime getEndTime() {
/**
* Get the vmSize property: The size of virtual machines in the Pool. All VMs in a Pool are the same size. For
* information about available sizes of virtual machines in Pools, see Choose a VM size for Compute Nodes in an
* Azure Batch Pool (https://docs.microsoft.com/azure/batch/batch-pool-vm-sizes).
* Azure Batch Pool (https://learn.microsoft.com/azure/batch/batch-pool-vm-sizes).
*
* @return the vmSize value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public final class BatchStartTask implements JsonSerializable<BatchStartTask> {
* features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or
* "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path
* (relative to the Task working directory), or use the Batch provided environment variable
* (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
* (https://learn.microsoft.com/azure/batch/batch-compute-node-environment-variables).
*/
@Generated
private final String commandLine;
Expand Down Expand Up @@ -114,7 +114,7 @@ public BatchStartTask(String commandLine) {
* advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand"
* in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative
* path (relative to the Task working directory), or use the Batch provided environment variable
* (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
* (https://learn.microsoft.com/azure/batch/batch-compute-node-environment-variables).
*
* @return the commandLine value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public final class BatchTask implements JsonSerializable<BatchTask> {
* expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for
* example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to
* file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided
* environment variable (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
* environment variable (https://learn.microsoft.com/azure/batch/batch-compute-node-environment-variables).
*/
@Generated
private String commandLine;
Expand Down Expand Up @@ -360,7 +360,7 @@ public OffsetDateTime getPreviousStateTransitionTime() {
* shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If
* the command line refers to file paths, it should use a relative path (relative to the Task working directory), or
* use the Batch provided environment variable
* (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
* (https://learn.microsoft.com/azure/batch/batch-compute-node-environment-variables).
*
* @return the commandLine value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public final class BatchTaskCreateContent implements JsonSerializable<BatchTaskC
* expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for
* example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to
* file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided
* environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
* environment variable (https://learn.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
*/
@Generated
private final String commandLine;
Expand Down Expand Up @@ -231,7 +231,7 @@ public BatchTaskCreateContent setExitConditions(ExitConditions exitConditions) {
* shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If
* the command line refers to file paths, it should use a relative path (relative to the Task working directory), or
* use the Batch provided environment variable
* (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
* (https://learn.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
*
* @return the commandLine value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* property can be used by user in the request to choose which location the operating system should be in. e.g., cache
* disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please
* refer to Ephemeral OS disk size requirements for Windows VMs at
* https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at
* https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
* https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at
* https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
*/
public final class DiffDiskPlacement extends ExpandableStringEnum<DiffDiskPlacement> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public final class DiffDiskSettings implements JsonSerializable<DiffDiskSettings
* Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. This property can be
* used by user in the request to choose the location e.g., cache disk space for Ephemeral OS disk provisioning. For
* more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for
* Windows VMs at https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and
* Linux VMs at https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
* Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements
* and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
*/
@Generated
private DiffDiskPlacement placement;
Expand All @@ -40,8 +40,8 @@ public DiffDiskSettings() {
* pool. This property can be used by user in the request to choose the location e.g., cache disk space for
* Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to
* Ephemeral OS disk size requirements for Windows VMs at
* https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at
* https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
* https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at
* https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
*
* @return the placement value.
*/
Expand All @@ -55,8 +55,8 @@ public DiffDiskPlacement getPlacement() {
* pool. This property can be used by user in the request to choose the location e.g., cache disk space for
* Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to
* Ephemeral OS disk size requirements for Windows VMs at
* https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at
* https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
* https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at
* https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.
*
* @param placement the placement value to set.
* @return the DiffDiskSettings object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public final class ImageReference implements JsonSerializable<ImageReference> {
* region and must be in the same subscription as the Azure Batch account. If the image version is not specified in
* the imageId, the latest version will be used. For information about the firewall settings for the Batch Compute
* Node agent to communicate with the Batch service see
* https://docs.microsoft.com/azure/batch/nodes-and-pools#virtual-network-vnet-and-firewall-configuration.
* https://learn.microsoft.com/azure/batch/nodes-and-pools#virtual-network-vnet-and-firewall-configuration.
*/
@Generated
private String virtualMachineImageId;
Expand Down Expand Up @@ -181,7 +181,7 @@ public ImageReference setVersion(String version) {
* subscription as the Azure Batch account. If the image version is not specified in the imageId, the latest version
* will be used. For information about the firewall settings for the Batch Compute Node agent to communicate with
* the Batch service see
* https://docs.microsoft.com/azure/batch/nodes-and-pools#virtual-network-vnet-and-firewall-configuration.
* https://learn.microsoft.com/azure/batch/nodes-and-pools#virtual-network-vnet-and-firewall-configuration.
*
* @return the virtualMachineImageId value.
*/
Expand All @@ -201,7 +201,7 @@ public String getVirtualMachineImageId() {
* subscription as the Azure Batch account. If the image version is not specified in the imageId, the latest version
* will be used. For information about the firewall settings for the Batch Compute Node agent to communicate with
* the Batch service see
* https://docs.microsoft.com/azure/batch/nodes-and-pools#virtual-network-vnet-and-firewall-configuration.
* https://learn.microsoft.com/azure/batch/nodes-and-pools#virtual-network-vnet-and-firewall-configuration.
*
* @param virtualMachineImageId the virtualMachineImageId value to set.
* @return the ImageReference object itself.
Expand Down
Loading

0 comments on commit 66cc749

Please sign in to comment.