From bbed897c49ef7427d3ef2bcd926daaf746ef31e9 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 17 Dec 2024 00:02:13 +0000 Subject: [PATCH] CodeGen from PR 31901 in Azure/azure-rest-api-specs Merge 7872738dcd94d14e069a499b4336d9293386d3e2 into 17dbd6e760c42aeacf1db39381fc26e30dda72ca --- .../CHANGELOG.md | 10 +- .../README.md | 151 +++++++----------- .../pom.xml | 1 + .../models/BaseVirtualMachineProfile.java | 12 +- .../models/DiffDiskPlacement.java | 4 +- .../computefleet/models/DiffDiskSettings.java | 12 +- .../models/DiskControllerTypes.java | 4 +- .../models/LinuxConfiguration.java | 2 +- .../computefleet/models/SshPublicKey.java | 6 +- .../models/StorageAccountTypes.java | 4 +- .../computefleet/models/VMSizeProperties.java | 12 +- .../computefleet/models/VaultCertificate.java | 18 +-- .../VirtualMachineScaleSetOSProfile.java | 36 ++--- .../VirtualMachineScaleSetStorageProfile.java | 12 +- .../computefleet/models/WinRMListener.java | 18 +-- .../models/WindowsConfiguration.java | 12 +- .../tsp-location.yaml | 2 +- 17 files changed, 135 insertions(+), 181 deletions(-) diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/CHANGELOG.md b/sdk/computefleet/azure-resourcemanager-computefleet/CHANGELOG.md index e6bd243fd42b2..30dce4cf3f47a 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/CHANGELOG.md +++ b/sdk/computefleet/azure-resourcemanager-computefleet/CHANGELOG.md @@ -1,14 +1,8 @@ # Release History -## 1.1.0-beta.1 (Unreleased) +## 1.0.0-beta.1 (2024-12-17) -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes +- Azure Resource Manager Compute Fleet client library for Java. This package contains Microsoft Azure SDK for Compute Fleet Management SDK. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt). ## 1.0.0 (2024-10-22) diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/README.md b/sdk/computefleet/azure-resourcemanager-computefleet/README.md index f707d4cda708f..2e52e9079ec98 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/README.md +++ b/sdk/computefleet/azure-resourcemanager-computefleet/README.md @@ -32,7 +32,7 @@ Various documentation is available to help you get started com.azure.resourcemanager azure-resourcemanager-computefleet - 1.0.0 + 1.1.0-beta.1 ``` [//]: # ({x-version-update-end}) @@ -99,101 +99,60 @@ fleet = computeFleetManager.fleets() .define(fleetName) .withRegion(REGION) .withExistingResourceGroup(resourceGroupName) - .withProperties( - new FleetProperties() - .withSpotPriorityProfile( - new SpotPriorityProfile() - .withMaintain(false) - .withCapacity(1) - .withEvictionPolicy(EvictionPolicy.DELETE) - .withAllocationStrategy(SpotAllocationStrategy.LOWEST_PRICE) - ) - .withVmSizesProfile( - Arrays.asList( - new VmSizeProfile().withName("Standard_D4s_v3") - ) - ) - .withComputeProfile( - new ComputeProfile() - .withBaseVirtualMachineProfile( - new BaseVirtualMachineProfile() - .withStorageProfile( - new VirtualMachineScaleSetStorageProfile() - .withImageReference( - new ImageReference() - .withPublisher("canonical") - .withOffer("ubuntu-24_04-lts") - .withSku("server") - .withVersion("latest") - ) - .withOsDisk( - new VirtualMachineScaleSetOSDisk() - .withManagedDisk( - new VirtualMachineScaleSetManagedDiskParameters() - .withStorageAccountType(StorageAccountTypes.PREMIUM_LRS) - ) - .withOsType(OperatingSystemTypes.LINUX) - .withDiskSizeGB(30) - .withCreateOption(DiskCreateOptionTypes.FROM_IMAGE) - .withDeleteOption(DiskDeleteOptionTypes.DELETE) - .withCaching(CachingTypes.READ_WRITE) - ) - .withDiskControllerType(DiskControllerTypes.SCSI) - ) - .withOsProfile( - new VirtualMachineScaleSetOSProfile() - .withComputerNamePrefix(randomPadding()) - .withAdminUsername(adminUser) - .withAdminPassword(adminPwd) - .withLinuxConfiguration( - new LinuxConfiguration().withDisablePasswordAuthentication(false) - ) - ) - .withNetworkProfile( - new VirtualMachineScaleSetNetworkProfile() - .withNetworkInterfaceConfigurations( - Arrays.asList( - new VirtualMachineScaleSetNetworkConfiguration() - .withName(vmName) - .withProperties( - new VirtualMachineScaleSetNetworkConfigurationProperties() - .withPrimary(true) - .withEnableAcceleratedNetworking(false) - .withDeleteOption(DeleteOptions.DELETE) - .withIpConfigurations( - Arrays.asList( - new VirtualMachineScaleSetIPConfiguration() - .withName(vmName) - .withProperties( - new VirtualMachineScaleSetIPConfigurationProperties() - .withPrimary(true) - .withSubnet( - new ApiEntityReference() - .withId(network.subnets().get("default").id()) - ) - .withLoadBalancerBackendAddressPools( - loadBalancer.loadBalancingRules() - .get(loadBalancerName + "-lbrule") - .innerModel().backendAddressPools() - ) - ) - ) - ) - ) - ) - ) - .withNetworkApiVersion(NetworkApiVersion.fromString("2024-03-01")) - ) - ) - .withComputeApiVersion("2024-03-01") - .withPlatformFaultDomainCount(1) - ) - .withRegularPriorityProfile(new RegularPriorityProfile() - .withAllocationStrategy(RegularPriorityAllocationStrategy.LOWEST_PRICE) - .withMinCapacity(1) - .withCapacity(2) - ) - ) + .withProperties(new FleetProperties() + .withSpotPriorityProfile(new SpotPriorityProfile().withMaintain(false) + .withCapacity(1) + .withEvictionPolicy(EvictionPolicy.DELETE) + .withAllocationStrategy(SpotAllocationStrategy.LOWEST_PRICE)) + .withVmSizesProfile(Arrays.asList(new VmSizeProfile().withName("Standard_D4s_v3"))) + .withComputeProfile(new ComputeProfile() + .withBaseVirtualMachineProfile(new BaseVirtualMachineProfile() + .withStorageProfile(new VirtualMachineScaleSetStorageProfile() + .withImageReference(new ImageReference().withPublisher("canonical") + .withOffer("ubuntu-24_04-lts") + .withSku("server") + .withVersion("latest")) + .withOsDisk(new VirtualMachineScaleSetOSDisk() + .withManagedDisk(new VirtualMachineScaleSetManagedDiskParameters() + .withStorageAccountType(StorageAccountTypes.PREMIUM_LRS)) + .withOsType(OperatingSystemTypes.LINUX) + .withDiskSizeGB(30) + .withCreateOption(DiskCreateOptionTypes.FROM_IMAGE) + .withDeleteOption(DiskDeleteOptionTypes.DELETE) + .withCaching(CachingTypes.READ_WRITE)) + .withDiskControllerType(DiskControllerTypes.SCSI)) + .withOsProfile(new VirtualMachineScaleSetOSProfile().withComputerNamePrefix(randomPadding()) + .withAdminUsername(adminUser) + .withAdminPassword(adminPwd) + .withLinuxConfiguration( + new LinuxConfiguration().withDisablePasswordAuthentication(false))) + .withNetworkProfile( + new VirtualMachineScaleSetNetworkProfile() + .withNetworkInterfaceConfigurations( + Arrays.asList(new VirtualMachineScaleSetNetworkConfiguration().withName(vmName) + .withProperties(new VirtualMachineScaleSetNetworkConfigurationProperties() + .withPrimary(true) + .withEnableAcceleratedNetworking(false) + .withDeleteOption(DeleteOptions.DELETE) + .withIpConfigurations(Arrays + .asList(new VirtualMachineScaleSetIPConfiguration().withName(vmName) + .withProperties( + new VirtualMachineScaleSetIPConfigurationProperties() + .withPrimary(true) + .withSubnet(new ApiEntityReference() + .withId(network.subnets().get("default").id())) + .withLoadBalancerBackendAddressPools( + loadBalancer.loadBalancingRules() + .get(loadBalancerName + "-lbrule") + .innerModel() + .backendAddressPools()))))))) + .withNetworkApiVersion(NetworkApiVersion.fromString("2024-03-01")))) + .withComputeApiVersion("2024-03-01") + .withPlatformFaultDomainCount(1)) + .withRegularPriorityProfile(new RegularPriorityProfile() + .withAllocationStrategy(RegularPriorityAllocationStrategy.LOWEST_PRICE) + .withMinCapacity(1) + .withCapacity(2))) .create(); ``` [Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/computefleet/azure-resourcemanager-computefleet/SAMPLE.md) diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/pom.xml b/sdk/computefleet/azure-resourcemanager-computefleet/pom.xml index b3c024d491b46..c64bd2eea18cd 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/pom.xml +++ b/sdk/computefleet/azure-resourcemanager-computefleet/pom.xml @@ -46,6 +46,7 @@ 0 0 true + false diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/BaseVirtualMachineProfile.java b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/BaseVirtualMachineProfile.java index 1486de609d570..12fd3d09c137f 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/BaseVirtualMachineProfile.java +++ b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/BaseVirtualMachineProfile.java @@ -59,9 +59,9 @@ public final class BaseVirtualMachineProfile implements JsonSerializable
RHEL_BYOS (for RHEL)

SLES_BYOS * (for SUSE)

For more information, see [Azure Hybrid Use Benefit for * Windows - * Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) + * Server](https://learn.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) *

[Azure Hybrid Use Benefit for Linux - * Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) + * Server](https://learn.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) *

Minimum api-version: 2015-06-15 */ private String licenseType; @@ -259,9 +259,9 @@ public BaseVirtualMachineProfile withExtensionProfile(VirtualMachineScaleSetExte * Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS * (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for * Windows - * Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) + * Server](https://learn.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) * <br><br> [Azure Hybrid Use Benefit for Linux - * Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) + * Server](https://learn.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) * <br><br> Minimum api-version: 2015-06-15. * * @return the licenseType value. @@ -277,9 +277,9 @@ public String licenseType() { * Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS * (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for * Windows - * Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) + * Server](https://learn.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) * <br><br> [Azure Hybrid Use Benefit for Linux - * Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) + * Server](https://learn.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) * <br><br> Minimum api-version: 2015-06-15. * * @param licenseType the licenseType value to set. diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/DiffDiskPlacement.java b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/DiffDiskPlacement.java index 26a759a654d16..36eea8f26b826 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/DiffDiskPlacement.java +++ b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/DiffDiskPlacement.java @@ -13,9 +13,9 @@ * resource disk space for Ephemeral OS disk provisioning. For more information on * Ephemeral OS disk size requirements, please refer Ephemeral OS disk size * requirements for Windows VM at - * https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements + * https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements * and Linux VM at - * https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements + * https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements * Minimum api-version for NvmeDisk: 2024-03-01. */ public final class DiffDiskPlacement extends ExpandableStringEnum { diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/DiffDiskSettings.java b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/DiffDiskSettings.java index 515e4f737fcd1..6fdaededfa745 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/DiffDiskSettings.java +++ b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/DiffDiskSettings.java @@ -28,8 +28,8 @@ public final class DiffDiskSettings implements JsonSerializable { diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/SshPublicKey.java b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/SshPublicKey.java index bdc56279e92f8..3a879df6082de 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/SshPublicKey.java +++ b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/SshPublicKey.java @@ -28,7 +28,7 @@ public final class SshPublicKey implements JsonSerializable { * SSH public key certificate used to authenticate with the VM through ssh. The * key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, * see [Create SSH keys on Linux and Mac for Linux VMs in - * Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + * Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). */ private String keyData; @@ -66,7 +66,7 @@ public SshPublicKey withPath(String path) { * Get the keyData property: SSH public key certificate used to authenticate with the VM through ssh. The * key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, * see [Create SSH keys on Linux and Mac for Linux VMs in - * Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + * Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). * * @return the keyData value. */ @@ -78,7 +78,7 @@ public String keyData() { * Set the keyData property: SSH public key certificate used to authenticate with the VM through ssh. The * key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, * see [Create SSH keys on Linux and Mac for Linux VMs in - * Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + * Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). * * @param keyData the keyData value to set. * @return the SshPublicKey object itself. diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/StorageAccountTypes.java b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/StorageAccountTypes.java index 119c556b153bb..b3428fbff41ca 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/StorageAccountTypes.java +++ b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/StorageAccountTypes.java @@ -16,9 +16,9 @@ * zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant * storage. For more information regarding disks supported for Windows Virtual * Machines, refer to - * https://docs.microsoft.com/azure/virtual-machines/windows/disks-types and, for + * https://learn.microsoft.com/azure/virtual-machines/windows/disks-types and, for * Linux Virtual Machines, refer to - * https://docs.microsoft.com/azure/virtual-machines/linux/disks-types. + * https://learn.microsoft.com/azure/virtual-machines/linux/disks-types. */ public final class StorageAccountTypes extends ExpandableStringEnum { /** diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/VMSizeProperties.java b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/VMSizeProperties.java index 5c082e2841708..2f2de3b49cb40 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/VMSizeProperties.java +++ b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/VMSizeProperties.java @@ -21,7 +21,7 @@ public final class VMSizeProperties implements JsonSerializable
{
* "data":"",
"dataType":"pfx",
* "password":""
}
To install certificates on a virtual * machine it is recommended to use the [Azure Key Vault virtual machine extension * for - * Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) + * Linux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) * or the [Azure Key Vault virtual machine extension for - * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + * Windows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ private String certificateUrl; @@ -55,16 +55,16 @@ public VaultCertificate() { * Get the certificateUrl property: This is the URL of a certificate that has been uploaded to Key Vault as a * secret. For adding a secret to the Key Vault, see [Add a key or secret to the * key - * vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). + * vault](https://learn.microsoft.com/azure/key-vault/key-vault-get-started/#add). * In this case, your certificate needs to be It is the Base64 encoding of the * following JSON Object which is encoded in UTF-8: <br><br> {<br> * "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br> * "password":"<pfx-file-password>"<br>} <br> To install certificates on a virtual * machine it is recommended to use the [Azure Key Vault virtual machine extension * for - * Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) + * Linux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) * or the [Azure Key Vault virtual machine extension for - * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + * Windows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). * * @return the certificateUrl value. */ @@ -76,16 +76,16 @@ public String certificateUrl() { * Set the certificateUrl property: This is the URL of a certificate that has been uploaded to Key Vault as a * secret. For adding a secret to the Key Vault, see [Add a key or secret to the * key - * vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). + * vault](https://learn.microsoft.com/azure/key-vault/key-vault-get-started/#add). * In this case, your certificate needs to be It is the Base64 encoding of the * following JSON Object which is encoded in UTF-8: <br><br> {<br> * "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br> * "password":"<pfx-file-password>"<br>} <br> To install certificates on a virtual * machine it is recommended to use the [Azure Key Vault virtual machine extension * for - * Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) + * Linux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) * or the [Azure Key Vault virtual machine extension for - * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + * Windows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). * * @param certificateUrl the certificateUrl value to set. * @return the VaultCertificate object itself. diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/VirtualMachineScaleSetOSProfile.java b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/VirtualMachineScaleSetOSProfile.java index c86f6dc6f73bc..7a77e1d3cc1cf 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/VirtualMachineScaleSetOSProfile.java +++ b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/VirtualMachineScaleSetOSProfile.java @@ -46,10 +46,10 @@ public final class VirtualMachineScaleSetOSProfile implements JsonSerializable
For resetting the password, see [How to * reset the Remote Desktop service or its login password in a Windows - * VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) + * VM](https://learn.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) *

For resetting root password, see [Manage users, SSH, and check or * repair disks on Azure Linux VMs using the VMAccess - * Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) + * Extension](https://learn.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) */ private String adminPassword; @@ -58,7 +58,7 @@ public final class VirtualMachineScaleSetOSProfile implements JsonSerializable secrets; @@ -174,10 +174,10 @@ public VirtualMachineScaleSetOSProfile withAdminUsername(String adminUsername) { * "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", * "Password22", "iloveyou!" <br><br> For resetting the password, see [How to * reset the Remote Desktop service or its login password in a Windows - * VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) + * VM](https://learn.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) * <br><br> For resetting root password, see [Manage users, SSH, and check or * repair disks on Azure Linux VMs using the VMAccess - * Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection). + * Extension](https://learn.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection). * * @return the adminPassword value. */ @@ -197,10 +197,10 @@ public String adminPassword() { * "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", * "Password22", "iloveyou!" <br><br> For resetting the password, see [How to * reset the Remote Desktop service or its login password in a Windows - * VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) + * VM](https://learn.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) * <br><br> For resetting root password, see [Manage users, SSH, and check or * repair disks on Azure Linux VMs using the VMAccess - * Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection). + * Extension](https://learn.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection). * * @param adminPassword the adminPassword value to set. * @return the VirtualMachineScaleSetOSProfile object itself. @@ -215,7 +215,7 @@ public VirtualMachineScaleSetOSProfile withAdminPassword(String adminPassword) { * is decoded to a binary array that is saved as a file on the Virtual Machine. * The maximum length of the binary array is 65535 bytes. For using cloud-init for * your VM, see [Using cloud-init to customize a Linux VM during - * creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init). + * creation](https://learn.microsoft.com/azure/virtual-machines/linux/using-cloud-init). * * @return the customData value. */ @@ -228,7 +228,7 @@ public String customData() { * is decoded to a binary array that is saved as a file on the Virtual Machine. * The maximum length of the binary array is 65535 bytes. For using cloud-init for * your VM, see [Using cloud-init to customize a Linux VM during - * creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init). + * creation](https://learn.microsoft.com/azure/virtual-machines/linux/using-cloud-init). * * @param customData the customData value to set. * @return the VirtualMachineScaleSetOSProfile object itself. @@ -261,7 +261,7 @@ public VirtualMachineScaleSetOSProfile withWindowsConfiguration(WindowsConfigura /** * Get the linuxConfiguration property: Specifies the Linux operating system settings on the virtual machine. For a * list of supported Linux distributions, see [Linux on Azure-Endorsed - * Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). + * Distributions](https://learn.microsoft.com/azure/virtual-machines/linux/endorsed-distros). * * @return the linuxConfiguration value. */ @@ -272,7 +272,7 @@ public LinuxConfiguration linuxConfiguration() { /** * Set the linuxConfiguration property: Specifies the Linux operating system settings on the virtual machine. For a * list of supported Linux distributions, see [Linux on Azure-Endorsed - * Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). + * Distributions](https://learn.microsoft.com/azure/virtual-machines/linux/endorsed-distros). * * @param linuxConfiguration the linuxConfiguration value to set. * @return the VirtualMachineScaleSetOSProfile object itself. @@ -286,9 +286,9 @@ public VirtualMachineScaleSetOSProfile withLinuxConfiguration(LinuxConfiguration * Get the secrets property: Specifies set of certificates that should be installed onto the virtual * machines in the scale set. To install certificates on a virtual machine it is * recommended to use the [Azure Key Vault virtual machine extension for - * Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) + * Linux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) * or the [Azure Key Vault virtual machine extension for - * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + * Windows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). * * @return the secrets value. */ @@ -300,9 +300,9 @@ public List secrets() { * Set the secrets property: Specifies set of certificates that should be installed onto the virtual * machines in the scale set. To install certificates on a virtual machine it is * recommended to use the [Azure Key Vault virtual machine extension for - * Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) + * Linux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) * or the [Azure Key Vault virtual machine extension for - * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + * Windows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). * * @param secrets the secrets value to set. * @return the VirtualMachineScaleSetOSProfile object itself. diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/VirtualMachineScaleSetStorageProfile.java b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/VirtualMachineScaleSetStorageProfile.java index b3bbb303a961b..b0fe3f3807c53 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/VirtualMachineScaleSetStorageProfile.java +++ b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/VirtualMachineScaleSetStorageProfile.java @@ -30,7 +30,7 @@ public final class VirtualMachineScaleSetStorageProfile * Specifies information about the operating system disk used by the virtual * machines in the scale set. For more information about disks, see [About disks * and VHDs for Azure virtual - * machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + * machines](https://learn.microsoft.com/azure/virtual-machines/managed-disks-overview). */ private VirtualMachineScaleSetOSDisk osDisk; @@ -38,7 +38,7 @@ public final class VirtualMachineScaleSetStorageProfile * Specifies the parameters that are used to add data disks to the virtual * machines in the scale set. For more information about disks, see [About disks * and VHDs for Azure virtual - * machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + * machines](https://learn.microsoft.com/azure/virtual-machines/managed-disks-overview). */ private List dataDisks; @@ -84,7 +84,7 @@ public VirtualMachineScaleSetStorageProfile withImageReference(ImageReference im * Get the osDisk property: Specifies information about the operating system disk used by the virtual * machines in the scale set. For more information about disks, see [About disks * and VHDs for Azure virtual - * machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + * machines](https://learn.microsoft.com/azure/virtual-machines/managed-disks-overview). * * @return the osDisk value. */ @@ -96,7 +96,7 @@ public VirtualMachineScaleSetOSDisk osDisk() { * Set the osDisk property: Specifies information about the operating system disk used by the virtual * machines in the scale set. For more information about disks, see [About disks * and VHDs for Azure virtual - * machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + * machines](https://learn.microsoft.com/azure/virtual-machines/managed-disks-overview). * * @param osDisk the osDisk value to set. * @return the VirtualMachineScaleSetStorageProfile object itself. @@ -110,7 +110,7 @@ public VirtualMachineScaleSetStorageProfile withOsDisk(VirtualMachineScaleSetOSD * Get the dataDisks property: Specifies the parameters that are used to add data disks to the virtual * machines in the scale set. For more information about disks, see [About disks * and VHDs for Azure virtual - * machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + * machines](https://learn.microsoft.com/azure/virtual-machines/managed-disks-overview). * * @return the dataDisks value. */ @@ -122,7 +122,7 @@ public List dataDisks() { * Set the dataDisks property: Specifies the parameters that are used to add data disks to the virtual * machines in the scale set. For more information about disks, see [About disks * and VHDs for Azure virtual - * machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). + * machines](https://learn.microsoft.com/azure/virtual-machines/managed-disks-overview). * * @param dataDisks the dataDisks value to set. * @return the VirtualMachineScaleSetStorageProfile object itself. diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/WinRMListener.java b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/WinRMListener.java index 28dac4d0c2a0d..7e58971c2ae00 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/WinRMListener.java +++ b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/WinRMListener.java @@ -26,16 +26,16 @@ public final class WinRMListener implements JsonSerializable { * This is the URL of a certificate that has been uploaded to Key Vault as a * secret. For adding a secret to the Key Vault, see [Add a key or secret to the * key - * vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). + * vault](https://learn.microsoft.com/azure/key-vault/key-vault-get-started/#add). * In this case, your certificate needs to be the Base64 encoding of the following * JSON Object which is encoded in UTF-8:

{
* "data":"",
"dataType":"pfx",
* "password":""
}
To install certificates on a virtual * machine it is recommended to use the [Azure Key Vault virtual machine extension * for - * Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) + * Linux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) * or the [Azure Key Vault virtual machine extension for - * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + * Windows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ private String certificateUrl; @@ -71,16 +71,16 @@ public WinRMListener withProtocol(ProtocolTypes protocol) { * Get the certificateUrl property: This is the URL of a certificate that has been uploaded to Key Vault as a * secret. For adding a secret to the Key Vault, see [Add a key or secret to the * key - * vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). + * vault](https://learn.microsoft.com/azure/key-vault/key-vault-get-started/#add). * In this case, your certificate needs to be the Base64 encoding of the following * JSON Object which is encoded in UTF-8: <br><br> {<br> * "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br> * "password":"<pfx-file-password>"<br>} <br> To install certificates on a virtual * machine it is recommended to use the [Azure Key Vault virtual machine extension * for - * Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) + * Linux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) * or the [Azure Key Vault virtual machine extension for - * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + * Windows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). * * @return the certificateUrl value. */ @@ -92,16 +92,16 @@ public String certificateUrl() { * Set the certificateUrl property: This is the URL of a certificate that has been uploaded to Key Vault as a * secret. For adding a secret to the Key Vault, see [Add a key or secret to the * key - * vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). + * vault](https://learn.microsoft.com/azure/key-vault/key-vault-get-started/#add). * In this case, your certificate needs to be the Base64 encoding of the following * JSON Object which is encoded in UTF-8: <br><br> {<br> * "data":"<Base64-encoded-certificate>",<br> "dataType":"pfx",<br> * "password":"<pfx-file-password>"<br>} <br> To install certificates on a virtual * machine it is recommended to use the [Azure Key Vault virtual machine extension * for - * Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) + * Linux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) * or the [Azure Key Vault virtual machine extension for - * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + * Windows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). * * @param certificateUrl the certificateUrl value to set. * @return the WinRMListener object itself. diff --git a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/WindowsConfiguration.java b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/WindowsConfiguration.java index 7fadea5e794ac..ba4ade61a4ea1 100644 --- a/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/WindowsConfiguration.java +++ b/sdk/computefleet/azure-resourcemanager-computefleet/src/main/java/com/azure/resourcemanager/computefleet/models/WindowsConfiguration.java @@ -35,9 +35,9 @@ public final class WindowsConfiguration implements JsonSerializable