From 2293fcad6e2a62b892a54890ab467ef8c1efcebd Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Tue, 18 Jun 2024 21:24:58 -0700 Subject: [PATCH 01/27] Remove useref and Fleet update changes --- .../AzureFleet.Management/common.tsp | 33 ++++- .../Fleets_ListVirtualMachineScaleSets.json | 4 +- .../AzureFleet.Management/fleet.tsp | 1 + .../2023-11-01-preview/azurefleet.json | 107 +++++++++------- .../2024-05-01-preview/azurefleet.json | 114 ++++++++++-------- .../Fleets_ListVirtualMachineScaleSets.json | 4 +- 6 files changed, 167 insertions(+), 96 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/common.tsp b/specification/azurefleet/AzureFleet.Management/common.tsp index d8bc97b05ebb..815e6fae265d 100644 --- a/specification/azurefleet/AzureFleet.Management/common.tsp +++ b/specification/azurefleet/AzureFleet.Management/common.tsp @@ -1,19 +1,44 @@ import "@typespec/http"; import "@typespec/rest"; import "@typespec/versioning"; -import "@azure-tools/typespec-autorest"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; using TypeSpec.Http; using TypeSpec.Rest; using TypeSpec.Versioning; -using Autorest; using Azure.ResourceManager; using OpenAPI; namespace Microsoft.AzureFleet; @doc("ApiError for Fleet") -@useRef("../../../../../compute/resource-manager/Microsoft.Compute/common-types/v1/common.json#/definitions/ApiError") -model ApiError {} +model ApiError is ApiErrorBase { + @extension("x-ms-identifiers", ["message", "target"]) + @doc("The Api error details") + details?: Array; + + @doc("The Api inner error") + innererror?: InnerError; +} + +@doc("Api error base.") +model ApiErrorBase { + @doc("The error code.") + code?: string; + + @doc("The target of the particular error.") + target?: string; + + @doc("The error message.") + message?: string; +} + +@doc("Inner error details.") +model InnerError { + @doc("The exception type.") + exceptionType?: string; + + @doc("The internal error message or exception dump.") + errorDetail?: string; +} diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListVirtualMachineScaleSets.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListVirtualMachineScaleSets.json index 628c68be9aed..90fbbfd5c47f 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListVirtualMachineScaleSets.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListVirtualMachineScaleSets.json @@ -25,8 +25,8 @@ } ], "innererror": { - "exceptiontype": "sfaomfpoaptnbxchrfskm", - "errordetail": "ihjwbwykq" + "exceptionType": "sfaomfpoaptnbxchrfskm", + "errorDetail": "ihjwbwykq" }, "code": "OverconstrainedAllocationRequest", "target": "nhaj", diff --git a/specification/azurefleet/AzureFleet.Management/fleet.tsp b/specification/azurefleet/AzureFleet.Management/fleet.tsp index f1c124a7cac3..fa01b95e75e0 100644 --- a/specification/azurefleet/AzureFleet.Management/fleet.tsp +++ b/specification/azurefleet/AzureFleet.Management/fleet.tsp @@ -218,6 +218,7 @@ interface Fleets { Fleet, LroHeaders = Azure.Core.Foundations.RetryAfterHeader >; + @parameterVisibility update is ArmCustomPatchAsync; delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 3a7a0582b6b8..5f1411cf1268 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -486,6 +486,57 @@ } }, "definitions": { + "ApiError": { + "type": "object", + "description": "ApiError for Fleet", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "target": { + "type": "string", + "description": "The target of the particular error." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "details": { + "type": "array", + "description": "The Api error details", + "items": { + "$ref": "#/definitions/ApiErrorBase" + }, + "x-ms-identifiers": [ + "message", + "target" + ] + }, + "innererror": { + "$ref": "#/definitions/InnerError", + "description": "The Api inner error" + } + } + }, + "ApiErrorBase": { + "type": "object", + "description": "Api error base.", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "target": { + "type": "string", + "description": "The target of the particular error." + }, + "message": { + "type": "string", + "description": "The error message." + } + } + }, "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType": { "type": "string", "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", @@ -557,20 +608,6 @@ "baseVirtualMachineProfile" ] }, - "ComputeProfileUpdate": { - "type": "object", - "description": "Compute Profile to use for running user's workloads.", - "properties": { - "baseVirtualMachineProfile": { - "$ref": "../../../../../compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/virtualMachineScaleSet.json#/definitions/VirtualMachineScaleSetVMProfile", - "description": "Base Virtual Machine Profile Properties to be specified according to \"specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{computeApiVersion}/virtualMachineScaleSet.json#/definitions/VirtualMachineScaleSetVMProfile\"" - }, - "computeApiVersion": { - "type": "string", - "description": "Specifies the Microsoft.Compute API version to use when creating underlying Virtual Machine scale sets and Virtual Machines.\nThe default value will be the latest supported computeApiVersion by Compute Fleet." - } - } - }, "EvictionPolicy": { "type": "string", "description": "Different kind of eviction policies", @@ -682,32 +719,6 @@ "computeProfile" ] }, - "FleetPropertiesUpdate": { - "type": "object", - "description": "Details of the Compute Fleet.", - "properties": { - "spotPriorityProfile": { - "$ref": "#/definitions/SpotPriorityProfile", - "description": "Configuration Options for Spot instances in Compute Fleet." - }, - "regularPriorityProfile": { - "$ref": "#/definitions/RegularPriorityProfile", - "description": "Configuration Options for Regular instances in Compute Fleet." - }, - "vmSizesProfile": { - "type": "array", - "description": "List of VM sizes supported for Compute Fleet", - "items": { - "$ref": "#/definitions/VmSizeProfile" - }, - "x-ms-identifiers": [] - }, - "computeProfile": { - "$ref": "#/definitions/ComputeProfileUpdate", - "description": "Compute Profile to use for running user's workloads." - } - } - }, "FleetUpdate": { "type": "object", "description": "Fleet Update Model", @@ -728,11 +739,25 @@ "description": "Updatable resource plan" }, "properties": { - "$ref": "#/definitions/FleetPropertiesUpdate", + "$ref": "#/definitions/FleetProperties", "description": "RP-specific updatable properties" } } }, + "InnerError": { + "type": "object", + "description": "Inner error details.", + "properties": { + "exceptionType": { + "type": "string", + "description": "The exception type." + }, + "errorDetail": { + "type": "string", + "description": "The internal error message or exception dump." + } + } + }, "ManagedServiceIdentityUpdate": { "type": "object", "description": "The template for adding optional properties.", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index fe99e2db4dc9..d2dcfee08456 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -465,6 +465,57 @@ } }, "definitions": { + "ApiError": { + "type": "object", + "description": "ApiError for Fleet", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "target": { + "type": "string", + "description": "The target of the particular error." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "details": { + "type": "array", + "description": "The Api error details", + "items": { + "$ref": "#/definitions/ApiErrorBase" + }, + "x-ms-identifiers": [ + "message", + "target" + ] + }, + "innererror": { + "$ref": "#/definitions/InnerError", + "description": "The Api inner error" + } + } + }, + "ApiErrorBase": { + "type": "object", + "description": "Api error base.", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "target": { + "type": "string", + "description": "The target of the particular error." + }, + "message": { + "type": "string", + "description": "The error message." + } + } + }, "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType": { "type": "string", "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", @@ -541,25 +592,6 @@ "baseVirtualMachineProfile" ] }, - "ComputeProfileUpdate": { - "type": "object", - "description": "Compute Profile to use for running user's workloads.", - "properties": { - "baseVirtualMachineProfile": { - "$ref": "../../../../../compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/virtualMachineScaleSet.json#/definitions/VirtualMachineScaleSetVMProfile", - "description": "Base Virtual Machine Profile Properties to be specified according to \"specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{computeApiVersion}/virtualMachineScaleSet.json#/definitions/VirtualMachineScaleSetVMProfile\"" - }, - "computeApiVersion": { - "type": "string", - "description": "Specifies the Microsoft.Compute API version to use when creating underlying Virtual Machine scale sets and Virtual Machines.\nThe default value will be the latest supported computeApiVersion by Compute Fleet." - }, - "platformFaultDomainCount": { - "type": "integer", - "format": "int32", - "description": "Specifies the number of fault domains to use when creating the underlying VMSS.\nA fault domain is a logical group of hardware within an Azure datacenter.\nVMs in the same fault domain share a common power source and network switch.\nIf not specified, defaults to 1, which represents \"Max Spreading\" (using as many fault domains as possible).\nThis property cannot be updated." - } - } - }, "EvictionPolicy": { "type": "string", "description": "Different kind of eviction policies", @@ -671,32 +703,6 @@ "computeProfile" ] }, - "FleetPropertiesUpdate": { - "type": "object", - "description": "Details of the Compute Fleet.", - "properties": { - "spotPriorityProfile": { - "$ref": "#/definitions/SpotPriorityProfile", - "description": "Configuration Options for Spot instances in Compute Fleet." - }, - "regularPriorityProfile": { - "$ref": "#/definitions/RegularPriorityProfile", - "description": "Configuration Options for Regular instances in Compute Fleet." - }, - "vmSizesProfile": { - "type": "array", - "description": "List of VM sizes supported for Compute Fleet", - "items": { - "$ref": "#/definitions/VmSizeProfile" - }, - "x-ms-identifiers": [] - }, - "computeProfile": { - "$ref": "#/definitions/ComputeProfileUpdate", - "description": "Compute Profile to use for running user's workloads." - } - } - }, "FleetUpdate": { "type": "object", "description": "Fleet Update Model", @@ -717,11 +723,25 @@ "description": "Updatable resource plan" }, "properties": { - "$ref": "#/definitions/FleetPropertiesUpdate", + "$ref": "#/definitions/FleetProperties", "description": "RP-specific updatable properties" } } }, + "InnerError": { + "type": "object", + "description": "Inner error details.", + "properties": { + "exceptionType": { + "type": "string", + "description": "The exception type." + }, + "errorDetail": { + "type": "string", + "description": "The internal error message or exception dump." + } + } + }, "ManagedServiceIdentityUpdate": { "type": "object", "description": "The template for adding optional properties.", @@ -957,7 +977,7 @@ "readOnly": true }, "error": { - "$ref": "../../../../../compute/resource-manager/Microsoft.Compute/common-types/v1/common.json#/definitions/ApiError", + "$ref": "#/definitions/ApiError", "description": "Error Information when `operationStatus` is `Failed`", "readOnly": true } diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListVirtualMachineScaleSets.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListVirtualMachineScaleSets.json index 628c68be9aed..90fbbfd5c47f 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListVirtualMachineScaleSets.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListVirtualMachineScaleSets.json @@ -25,8 +25,8 @@ } ], "innererror": { - "exceptiontype": "sfaomfpoaptnbxchrfskm", - "errordetail": "ihjwbwykq" + "exceptionType": "sfaomfpoaptnbxchrfskm", + "errorDetail": "ihjwbwykq" }, "code": "OverconstrainedAllocationRequest", "target": "nhaj", From d715112415eb08572ee96cc4bd77217aa44dedf1 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Wed, 19 Jun 2024 16:35:29 -0700 Subject: [PATCH 02/27] Remove useref --- .../baseVirtualMachineProfile.tsp | 2213 ++++++++++++++++ .../AzureFleet.Management/fleet.tsp | 6 - .../azurefleet/AzureFleet.Management/main.tsp | 1 + .../2023-11-01-preview/azurefleet.json | 2354 +++++++++++++++- .../2024-05-01-preview/azurefleet.json | 2358 ++++++++++++++++- 5 files changed, 6752 insertions(+), 180 deletions(-) create mode 100644 specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp new file mode 100644 index 000000000000..4722f25e3ffe --- /dev/null +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -0,0 +1,2213 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; + +using TypeSpec.Rest; +using TypeSpec.Http; + +namespace Microsoft.AzureFleet; + +/** + * Describes the base virtual machine profile for fleet + */ +model BaseVirtualMachineProfile { + /** + * Specifies the operating system settings for the virtual machines in the scale + * set. + */ + osProfile?: VirtualMachineScaleSetOSProfile; + + /** + * Specifies the storage settings for the virtual machine disks. + */ + storageProfile?: VirtualMachineScaleSetStorageProfile; + + /** + * Specifies properties of the network interfaces of the virtual machines in the + * scale set. + */ + networkProfile?: VirtualMachineScaleSetNetworkProfile; + + /** + * Specifies the Security related profile settings for the virtual machines in the + * scale set. + */ + securityProfile?: SecurityProfile; + + /** + * Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15. + */ + diagnosticsProfile?: DiagnosticsProfile; + + /** + * Specifies a collection of settings for extensions installed on virtual machines + * in the scale set. + */ + extensionProfile?: VirtualMachineScaleSetExtensionProfile; + + /** + * Specifies that the image or disk that is being used was licensed on-premises. + *

Possible values for Windows Server operating system are:

+ * Windows_Client

Windows_Server

Possible values for Linux + * Server operating system are:

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) + *

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

Minimum api-version: 2015-06-15 + */ + licenseType?: string; + + /** + * Specifies the priority for the virtual machines in the scale set. Minimum + * api-version: 2017-10-30-preview. + */ + priority?: VirtualMachinePriorityTypes; + + /** + * Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot + * scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are + * supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, + * both 'Deallocate' and 'Delete' are supported and the minimum api-version is + * 2017-10-30-preview. + */ + evictionPolicy?: VirtualMachineEvictionPolicyTypes; + + /** + * Specifies the billing related details of a Azure Spot VMSS. Minimum + * api-version: 2019-03-01. + */ + billingProfile?: BillingProfile; + + /** + * Specifies Scheduled Event related configurations. + */ + scheduledEventsProfile?: ScheduledEventsProfile; + + /** + * UserData for the virtual machines in the scale set, which must be base-64 + * encoded. Customer should not pass any secrets in here. Minimum api-version: + * 2021-03-01. + */ + userData?: string; + + /** + * Specifies the capacity reservation related details of a scale set. Minimum + * api-version: 2021-04-01. + */ + capacityReservation?: CapacityReservationProfile; + + /** + * Specifies the gallery applications that should be made available to the VM/VMSS + */ + applicationProfile?: ApplicationProfile; + + /** + * Specifies the hardware profile related details of a scale set. Minimum + * api-version: 2021-11-01. + */ + hardwareProfile?: VirtualMachineScaleSetHardwareProfile; + + /** + * Specifies the service artifact reference id used to set same image version for + * all virtual machines in the scale set when using 'latest' image version. + * Minimum api-version: 2022-11-01 + */ + serviceArtifactReference?: ServiceArtifactReference; + + /** + * Specifies the security posture to be used for all virtual machines in the scale + * set. Minimum api-version: 2023-03-01 + */ + securityPostureReference?: SecurityPostureReference; + + /** + * Specifies the time in which this VM profile for the Virtual Machine Scale Set + * was created. Minimum API version for this property is 2023-09-01. This value + * will be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile + * with minimum api-version 2023-09-01. + */ + @visibility("read") + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timeCreated?: utcDateTime; +} + +/** + * Describes a virtual machine scale set OS profile. + */ +model VirtualMachineScaleSetOSProfile { + /** + * Specifies the computer name prefix for all of the virtual machines in the scale + * set. Computer name prefixes must be 1 to 15 characters long. + */ + computerNamePrefix?: string; + + /** + * Specifies the name of the administrator account.

**Windows-only + * restriction:** Cannot end in "."

**Disallowed values:** + * "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", + * "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", + * "console", "david", "guest", "john", "owner", "root", "server", "sql", + * "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". + *

**Minimum-length (Linux):** 1 character

**Max-length + * (Linux):** 64 characters

**Max-length (Windows):** 20 characters + */ + adminUsername?: string; + + @doc(""" + Specifies the password of the administrator account.

**Minimum-length + (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters +

**Max-length (Windows):** 123 characters

**Max-length + (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 + conditions below need to be fulfilled
Has lower characters
Has upper + characters
Has a digit
Has a special character (Regex match [\\W_]) +

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", + \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", + \"Password22\", \"iloveyou!\"

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) +

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) + """) + adminPassword?: string; + + /** + * Specifies a base-64 encoded string of custom data. The base-64 encoded string + * 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) + */ + customData?: string; + + /** + * Specifies Windows operating system settings on the virtual machine. + */ + windowsConfiguration?: WindowsConfiguration; + + /** + * 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). + */ + linuxConfiguration?: LinuxConfiguration; + + /** + * 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) + * or the [Azure Key Vault virtual machine extension for + * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + */ + @OpenAPI.extension("x-ms-identifiers", ["sourceVault/id"]) + secrets?: VaultSecretGroup[]; + + /** + * Specifies whether extension operations should be allowed on the virtual machine + * scale set. This may only be set to False when no extensions are present on the + * virtual machine scale set. + */ + allowExtensionOperations?: boolean; + + /** + * Optional property which must either be set to True or omitted. + */ + requireGuestProvisionSignal?: boolean; +} + +/** + * Specifies Windows operating system settings on the virtual machine. + */ +model WindowsConfiguration { + /** + * Indicates whether virtual machine agent should be provisioned on the virtual + * machine. When this property is not specified in the request body, it is set to + * true by default. This will ensure that VM Agent is installed on the VM so that + * extensions can be added to the VM later. + */ + provisionVMAgent?: boolean; + + /** + * Indicates whether Automatic Updates is enabled for the Windows virtual machine. + * Default value is true. For virtual machine scale sets, this property can be + * updated and updates will take effect on OS reprovisioning. + */ + enableAutomaticUpdates?: boolean; + + /** + * Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". + * Possible values can be + * [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) + * value from time zones returned by + * [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones). + */ + timeZone?: string; + + /** + * Specifies additional base-64 encoded XML formatted information that can be + * included in the Unattend.xml file, which is used by Windows Setup. + */ + @OpenAPI.extension("x-ms-identifiers", []) + additionalUnattendContent?: AdditionalUnattendContent[]; + + /** + * [Preview Feature] Specifies settings related to VM Guest Patching on Windows. + */ + patchSettings?: PatchSettings; + + /** + * Specifies the Windows Remote Management listeners. This enables remote Windows + * PowerShell. + */ + winRM?: WinRMConfiguration; + + /** + * Indicates whether VMAgent Platform Updates is enabled for the Windows virtual + * machine. Default value is false. + */ + enableVMAgentPlatformUpdates?: boolean; +} + +/** + * Specifies additional XML formatted information that can be included in the + * Unattend.xml file, which is used by Windows Setup. Contents are defined by + * setting name, component name, and the pass in which the content is applied. + */ +model AdditionalUnattendContent { + /** + * The pass name. Currently, the only allowable value is OobeSystem. + */ + passName?: "OobeSystem"; + + /** + * The component name. Currently, the only allowable value is + * Microsoft-Windows-Shell-Setup. + */ + componentName?: "Microsoft-Windows-Shell-Setup"; + + /** + * Specifies the name of the setting to which the content applies. Possible values + * are: FirstLogonCommands and AutoLogon. + */ + settingName?: SettingNames; + + /** + * Specifies the XML formatted content that is added to the unattend.xml file for + * the specified path and component. The XML must be less than 4KB and must + * include the root element for the setting or feature that is being inserted. + */ + content?: string; +} + +/** + * Specifies settings related to VM Guest Patching on Windows. + */ +model PatchSettings { + /** + * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual + * machines associated to virtual machine scale set with OrchestrationMode as + * Flexible.

Possible values are:

**Manual** - You + * control the application of patches to a virtual machine. You do this by + * applying patches manually inside the VM. In this mode, automatic updates are + * disabled; the property WindowsConfiguration.enableAutomaticUpdates must be + * false

**AutomaticByOS** - The virtual machine will automatically be + * updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates + * must be true.

**AutomaticByPlatform** - the virtual machine will + * automatically updated by the platform. The properties provisionVMAgent and + * WindowsConfiguration.enableAutomaticUpdates must be true + */ + patchMode?: WindowsVMGuestPatchMode; + + /** + * Enables customers to patch their Azure VMs without requiring a reboot. For + * enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' + * must be set to 'AutomaticByPlatform'. + */ + enableHotpatching?: boolean; + + /** + * Specifies the mode of VM Guest patch assessment for the IaaS virtual + * machine.

Possible values are:

**ImageDefault** - You + * control the timing of patch assessments on a virtual machine.

+ * **AutomaticByPlatform** - The platform will trigger periodic patch assessments. + * The property provisionVMAgent must be true. + */ + assessmentMode?: WindowsPatchAssessmentMode; + + /** + * Specifies additional settings for patch mode AutomaticByPlatform in VM Guest + * Patching on Windows. + */ + automaticByPlatformSettings?: WindowsVMGuestPatchAutomaticByPlatformSettings; +} + +/** + * Specifies additional settings to be applied when patch mode AutomaticByPlatform + * is selected in Windows patch settings. + */ +model WindowsVMGuestPatchAutomaticByPlatformSettings { + /** + * Specifies the reboot setting for all AutomaticByPlatform patch installation + * operations. + */ + rebootSetting?: WindowsVMGuestPatchAutomaticByPlatformRebootSetting; + + /** + * Enables customer to schedule patching without accidental upgrades + */ + bypassPlatformSafetyChecksOnUserSchedule?: boolean; +} + +/** + * Describes Windows Remote Management configuration of the VM + */ +model WinRMConfiguration { + /** + * The list of Windows Remote Management listeners + */ + @OpenAPI.extension("x-ms-identifiers", []) + listeners?: WinRMListener[]; +} + +/** + * Describes Protocol and thumbprint of Windows Remote Management listener + */ +model WinRMListener { + /** + * Specifies the protocol of WinRM listener. Possible values are: **http,** + * **https.** + */ + protocol?: ProtocolTypes; + + /** + * 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). + * 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) + * or the [Azure Key Vault virtual machine extension for + * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + */ + certificateUrl?: string; +} + +/** + * 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). + */ +model LinuxConfiguration { + /** + * Specifies whether password authentication should be disabled. + */ + disablePasswordAuthentication?: boolean; + + /** + * Specifies the ssh key configuration for a Linux OS. + */ + ssh?: SshConfiguration; + + /** + * Indicates whether virtual machine agent should be provisioned on the virtual + * machine. When this property is not specified in the request body, default + * behavior is to set it to true. This will ensure that VM Agent is installed on + * the VM so that extensions can be added to the VM later. + */ + provisionVMAgent?: boolean; + + /** + * [Preview Feature] Specifies settings related to VM Guest Patching on Linux. + */ + patchSettings?: LinuxPatchSettings; + + /** + * Indicates whether VMAgent Platform Updates is enabled for the Linux virtual + * machine. Default value is false. + */ + enableVMAgentPlatformUpdates?: boolean; +} + +/** + * SSH configuration for Linux based VMs running on Azure + */ +model SshConfiguration { + /** + * The list of SSH public keys used to authenticate with linux based VMs. + */ + @OpenAPI.extension("x-ms-identifiers", ["path"]) + publicKeys?: SshPublicKey[]; +} + +/** + * Contains information about SSH certificate public key and the path on the Linux + * VM where the public key is placed. + */ +model SshPublicKey { + /** + * Specifies the full path on the created VM where ssh public key is stored. If + * the file already exists, the specified key is appended to the file. Example: + * /home/user/.ssh/authorized_keys + */ + path?: string; + + /** + * 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). + */ + keyData?: string; +} + +/** + * Specifies settings related to VM Guest Patching on Linux. + */ +model LinuxPatchSettings { + /** + * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual + * machines associated to virtual machine scale set with OrchestrationMode as + * Flexible.

Possible values are:

**ImageDefault** - The + * virtual machine's default patching configuration is used.

+ * **AutomaticByPlatform** - The virtual machine will be automatically updated by + * the platform. The property provisionVMAgent must be true + */ + patchMode?: LinuxVMGuestPatchMode; + + /** + * Specifies the mode of VM Guest Patch Assessment for the IaaS virtual + * machine.

Possible values are:

**ImageDefault** - You + * control the timing of patch assessments on a virtual machine.

+ * **AutomaticByPlatform** - The platform will trigger periodic patch assessments. + * The property provisionVMAgent must be true. + */ + assessmentMode?: LinuxPatchAssessmentMode; + + /** + * Specifies additional settings for patch mode AutomaticByPlatform in VM Guest + * Patching on Linux. + */ + automaticByPlatformSettings?: LinuxVMGuestPatchAutomaticByPlatformSettings; +} + +/** + * Specifies additional settings to be applied when patch mode AutomaticByPlatform + * is selected in Linux patch settings. + */ +model LinuxVMGuestPatchAutomaticByPlatformSettings { + /** + * Specifies the reboot setting for all AutomaticByPlatform patch installation + * operations. + */ + rebootSetting?: LinuxVMGuestPatchAutomaticByPlatformRebootSetting; + + /** + * Enables customer to schedule patching without accidental upgrades + */ + bypassPlatformSafetyChecksOnUserSchedule?: boolean; +} + +/** + * Describes a set of certificates which are all in the same Key Vault. + */ +model VaultSecretGroup { + /** + * The relative URL of the Key Vault containing all of the certificates in + * VaultCertificates. + */ + sourceVault?: SubResource; + + /** + * The list of key vault references in SourceVault which contain certificates. + */ + @OpenAPI.extension("x-ms-identifiers", ["certificateUrl"]) + vaultCertificates?: VaultCertificate[]; +} + +model SubResource { + /** + * Resource Id + */ + id?: string; +} + +/** + * Describes a single certificate reference in a Key Vault, and where the + * certificate should reside on the VM. + */ +model VaultCertificate { + /** + * 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). + * In this case, your certificate needs to be It is 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) + * or the [Azure Key Vault virtual machine extension for + * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + */ + certificateUrl?: string; + + /** + * For Windows VMs, specifies the certificate store on the Virtual Machine to + * which the certificate should be added. The specified certificate store is + * implicitly in the LocalMachine account. For Linux VMs, the certificate file is + * placed under the /var/lib/waagent directory, with the file name + * <UppercaseThumbprint>.crt for the X509 certificate file and + * <UppercaseThumbprint>.prv for private key. Both of these files are .pem + * formatted. + */ + certificateStore?: string; +} + +/** + * Describes a virtual machine scale set storage profile. + */ +model VirtualMachineScaleSetStorageProfile { + /** + * Specifies information about the image to use. You can specify information about + * platform images, marketplace images, or virtual machine images. This element is + * required when you want to use a platform image, marketplace image, or virtual + * machine image, but is not used in other creation operations. + */ + imageReference?: ImageReference; + + /** + * 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). + */ + osDisk?: VirtualMachineScaleSetOSDisk; + + /** + * 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). + */ + @OpenAPI.extension("x-ms-identifiers", ["name", "lun"]) + dataDisks?: VirtualMachineScaleSetDataDisk[]; + + diskControllerType?: string; +} + +/** + * Specifies information about the image to use. You can specify information about + * platform images, marketplace images, or virtual machine images. This element is + * required when you want to use a platform image, marketplace image, or virtual + * machine image, but is not used in other creation operations. NOTE: Image + * reference publisher and offer can only be set when you create the scale set. + */ +model ImageReference is SubResource { + /** + * The image publisher. + */ + publisher?: string; + + /** + * Specifies the offer of the platform image or marketplace image used to create + * the virtual machine. + */ + offer?: string; + + /** + * The image SKU. + */ + sku?: string; + + /** + * Specifies the version of the platform image or marketplace image used to create + * the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. + * Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest + * version of an image available at deploy time. Even if you use 'latest', the VM + * image will not automatically update after deploy time even if a new version + * becomes available. Please do not use field 'version' for gallery image + * deployment, gallery image should always use 'id' field for deployment, to use + * 'latest' version of gallery image, just set + * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' + * in the 'id' field without version input. + */ + version?: string; + + /** + * Specifies in decimal numbers, the version of platform image or marketplace + * image used to create the virtual machine. This readonly field differs from + * 'version', only if the value specified in 'version' field is 'latest'. + */ + @visibility("read") + exactVersion?: string; + + /** + * Specified the shared gallery image unique id for vm deployment. This can be + * fetched from shared gallery image GET call. + */ + sharedGalleryImageId?: string; + + /** + * Specified the community gallery image unique id for vm deployment. This can be + * fetched from community gallery image GET call. + */ + communityGalleryImageId?: string; +} + +/** + * Describes a virtual machine scale set operating system disk. + */ +model VirtualMachineScaleSetOSDisk { + /** + * The disk name. + */ + name?: string; + + /** + * Specifies the caching requirements. Possible values are: **None,** + * **ReadOnly,** **ReadWrite.** The default values are: **None for Standard + * storage. ReadOnly for Premium storage.** + */ + caching?: CachingTypes; + + /** + * Specifies whether writeAccelerator should be enabled or disabled on the disk. + */ + writeAcceleratorEnabled?: boolean; + + /** + * Specifies how the virtual machines in the scale set should be created. The only + * allowed value is: **FromImage.** This value is used when you are using an image + * to create the virtual machine. If you are using a platform image, you also use + * the imageReference element described above. If you are using a marketplace + * image, you also use the plan element previously described. + */ + createOption: DiskCreateOptionTypes; + + /** + * Specifies the ephemeral disk Settings for the operating system disk used by the + * virtual machine scale set. + */ + diffDiskSettings?: DiffDiskSettings; + + /** + * Specifies the size of an empty data disk in gigabytes. This element can be used + * to overwrite the size of the disk in a virtual machine image. The property + * 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot + * be larger than 1023. + */ + diskSizeGB?: int32; + + /** + * This property allows you to specify the type of the OS that is included in the + * disk if creating a VM from user-image or a specialized VHD. Possible values + * are: **Windows,** **Linux.** + */ + osType?: OperatingSystemTypes; + + /** + * Specifies information about the unmanaged user image to base the scale set on. + */ + image?: VirtualHardDisk; + + /** + * Specifies the container urls that are used to store operating system disks for + * the scale set. + */ + vhdContainers?: string[]; + + /** + * The managed disk parameters. + */ + managedDisk?: VirtualMachineScaleSetManagedDiskParameters; + + /** + * Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion + * (This feature is available for VMSS with Flexible OrchestrationMode only). + *

Possible values:

**Delete** If this value is used, the OS + * disk is deleted when VMSS Flex VM is deleted.

**Detach** If this value + * is used, the OS disk is retained after VMSS Flex VM is deleted.

The + * default value is set to **Delete**. For an Ephemeral OS Disk, the default value + * is set to **Delete**. User cannot change the delete option for Ephemeral OS + * Disk. + */ + deleteOption?: DiskDeleteOptionTypes; +} + +/** + * Describes the parameters of ephemeral disk settings that can be specified for + * operating system disk. **Note:** The ephemeral disk settings can only be + * specified for managed disk. + */ +model DiffDiskSettings { + /** + * Specifies the ephemeral disk settings for operating system disk. + */ + option?: DiffDiskOptions; + + /** + * Specifies the ephemeral disk placement for operating system disk. Possible + * values are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is: + * **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** + * is used. Refer to the VM size documentation for Windows VM at + * https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at + * https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM + * sizes exposes a cache disk. + */ + placement?: DiffDiskPlacement; +} + +/** + * Describes the uri of a disk. + */ +model VirtualHardDisk { + /** + * Specifies the virtual hard disk's uri. + */ + uri?: string; +} + +/** + * Describes the parameters of a ScaleSet managed disk. + */ +model VirtualMachineScaleSetManagedDiskParameters { + /** + * Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can + * only be used with data disks, it cannot be used with OS Disk. + */ + storageAccountType?: StorageAccountTypes; + + /** + * Specifies the customer managed disk encryption set resource id for the managed + * disk. + */ + diskEncryptionSet?: DiskEncryptionSetParameters; + + /** + * Specifies the security profile for the managed disk. + */ + securityProfile?: VMDiskSecurityProfile; +} + +/** + * Describes the parameter of customer managed disk encryption set resource id + * that can be specified for disk. **Note:** The disk encryption set resource id + * can only be specified for managed disk. Please refer + * https://aka.ms/mdssewithcmkoverview for more details. + */ +model DiskEncryptionSetParameters is SubResource; + +/** + * Specifies the security profile settings for the managed disk. **Note:** It can + * only be set for Confidential VMs. + */ +model VMDiskSecurityProfile { + /** + * Specifies the EncryptionType of the managed disk. It is set to + * DiskWithVMGuestState for encryption of the managed disk along with VMGuestState + * blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and + * NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. + * **Note:** It can be set for only Confidential VMs. + */ + securityEncryptionType?: SecurityEncryptionTypes; + + /** + * Specifies the customer managed disk encryption set resource id for the managed + * disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and + * VMGuest blob. + */ + diskEncryptionSet?: DiskEncryptionSetParameters; +} + +/** + * Describes a virtual machine scale set data disk. + */ +model VirtualMachineScaleSetDataDisk { + /** + * The disk name. + */ + name?: string; + + /** + * Specifies the logical unit number of the data disk. This value is used to + * identify data disks within the VM and therefore must be unique for each data + * disk attached to a VM. + */ + lun: int32; + + /** + * Specifies the caching requirements. Possible values are: **None,** + * **ReadOnly,** **ReadWrite.** The default values are: **None for Standard + * storage. ReadOnly for Premium storage.** + */ + caching?: CachingTypes; + + /** + * Specifies whether writeAccelerator should be enabled or disabled on the disk. + */ + writeAcceleratorEnabled?: boolean; + + /** + * The create option. + */ + createOption: DiskCreateOptionTypes; + + /** + * Specifies the size of an empty data disk in gigabytes. This element can be used + * to overwrite the size of the disk in a virtual machine image. The property + * diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be + * larger than 1023. + */ + diskSizeGB?: int32; + + /** + * The managed disk parameters. + */ + managedDisk?: VirtualMachineScaleSetManagedDiskParameters; + + /** + * Specifies the Read-Write IOPS for the managed disk. Should be used only when + * StorageAccountType is UltraSSD_LRS. If not specified, a default value would be + * assigned based on diskSizeGB. + */ + @encodedName("application/json", "diskIOPSReadWrite") + diskIopsReadWrite?: int64; + + /** + * Specifies the bandwidth in MB per second for the managed disk. Should be used + * only when StorageAccountType is UltraSSD_LRS. If not specified, a default value + * would be assigned based on diskSizeGB. + */ + diskMBpsReadWrite?: int64; + + /** + * Specifies whether data disk should be deleted or detached upon VMSS Flex + * deletion (This feature is available for VMSS with Flexible OrchestrationMode + * only).

Possible values:

**Delete** If this value is used, the + * data disk is deleted when the VMSS Flex VM is deleted.

**Detach** If + * this value is used, the data disk is retained after VMSS Flex VM is + * deleted.

The default value is set to **Delete**. + */ + deleteOption?: DiskDeleteOptionTypes; +} + +/** + * Describes a virtual machine scale set network profile. + */ +model VirtualMachineScaleSetNetworkProfile { + /** + * A reference to a load balancer probe used to determine the health of an + * instance in the virtual machine scale set. The reference will be in the form: + * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'. + */ + healthProbe?: ApiEntityReference; + + /** + * The list of network configurations. + */ + @OpenAPI.extension("x-ms-identifiers", []) + networkInterfaceConfigurations?: VirtualMachineScaleSetNetworkConfiguration[]; + + /** + * specifies the Microsoft.Network API version used when creating networking + * resources in the Network Interface Configurations for Virtual Machine Scale Set + * with orchestration mode 'Flexible' + */ + networkApiVersion?: NetworkApiVersion; +} + +/** + * The API entity reference. + */ +model ApiEntityReference { + /** + * The ARM resource id in the form of + * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... + */ + id?: string; +} + +/** + * Describes a virtual machine scale set network profile's network configurations. + */ +model VirtualMachineScaleSetNetworkConfiguration { + /** + * The network configuration name. + */ + name: string; + + /** + * Describes a virtual machine scale set network profile's IP configuration. + */ + properties?: VirtualMachineScaleSetNetworkConfigurationProperties; +} + +/** + * Describes a virtual machine scale set network profile's IP configuration. + */ +model VirtualMachineScaleSetNetworkConfigurationProperties { + /** + * Specifies the primary network interface in case the virtual machine has more + * than 1 network interface. + */ + primary?: boolean; + + /** + * Specifies whether the network interface is accelerated networking-enabled. + */ + enableAcceleratedNetworking?: boolean; + + /** + * Specifies whether the network interface is disabled for tcp state tracking. + */ + disableTcpStateTracking?: boolean; + + /** + * Specifies whether the network interface is FPGA networking-enabled. + */ + enableFpga?: boolean; + + /** + * The network security group. + */ + networkSecurityGroup?: SubResource; + + /** + * The dns settings to be applied on the network interfaces. + */ + dnsSettings?: VirtualMachineScaleSetNetworkConfigurationDnsSettings; + + /** + * Specifies the IP configurations of the network interface. + */ + @OpenAPI.extension("x-ms-identifiers", ["name"]) + ipConfigurations: VirtualMachineScaleSetIPConfiguration[]; + + /** + * Whether IP forwarding enabled on this NIC. + */ + enableIPForwarding?: boolean; + + /** + * Specify what happens to the network interface when the VM is deleted + */ + deleteOption?: DeleteOptions; + + /** + * Specifies whether the Auxiliary mode is enabled for the Network Interface + * resource. + */ + auxiliaryMode?: NetworkInterfaceAuxiliaryMode; + + /** + * Specifies whether the Auxiliary sku is enabled for the Network Interface + * resource. + */ + auxiliarySku?: NetworkInterfaceAuxiliarySku; +} + +/** + * Describes a virtual machines scale sets network configuration's DNS settings. + */ +model VirtualMachineScaleSetNetworkConfigurationDnsSettings { + /** + * List of DNS servers IP addresses + */ + dnsServers?: string[]; +} + +/** + * Describes a virtual machine scale set network profile's IP configuration. + */ +model VirtualMachineScaleSetIPConfiguration { + /** + * The IP configuration name. + */ + name: string; + + /** + * Describes a virtual machine scale set network profile's IP configuration + * properties. + */ + properties?: VirtualMachineScaleSetIPConfigurationProperties; +} + +/** + * Describes a virtual machine scale set network profile's IP configuration + * properties. + */ +model VirtualMachineScaleSetIPConfigurationProperties { + /** + * Specifies the identifier of the subnet. + */ + subnet?: ApiEntityReference; + + /** + * Specifies the primary network interface in case the virtual machine has more + * than 1 network interface. + */ + primary?: boolean; + + /** + * The publicIPAddressConfiguration. + */ + publicIPAddressConfiguration?: VirtualMachineScaleSetPublicIPAddressConfiguration; + + /** + * Available from Api-Version 2017-03-30 onwards, it represents whether the + * specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible + * values are: 'IPv4' and 'IPv6'. + */ + privateIPAddressVersion?: IPVersion; + + /** + * Specifies an array of references to backend address pools of application + * gateways. A scale set can reference backend address pools of multiple + * application gateways. Multiple scale sets cannot use the same application + * gateway. + */ + applicationGatewayBackendAddressPools?: SubResource[]; + + /** + * Specifies an array of references to application security group. + */ + applicationSecurityGroups?: SubResource[]; + + /** + * Specifies an array of references to backend address pools of load balancers. A + * scale set can reference backend address pools of one public and one internal + * load balancer. Multiple scale sets cannot use the same basic sku load balancer. + */ + loadBalancerBackendAddressPools?: SubResource[]; + + /** + * Specifies an array of references to inbound Nat pools of the load balancers. A + * scale set can reference inbound nat pools of one public and one internal load + * balancer. Multiple scale sets cannot use the same basic sku load balancer. + */ + loadBalancerInboundNatPools?: SubResource[]; +} + +/** + * Describes a virtual machines scale set IP Configuration's PublicIPAddress + * configuration + */ +model VirtualMachineScaleSetPublicIPAddressConfiguration { + /** + * The publicIP address configuration name. + */ + name: string; + + /** + * Describes a virtual machines scale set IP Configuration's PublicIPAddress + * configuration + */ + properties?: VirtualMachineScaleSetPublicIPAddressConfigurationProperties; + + /** + * Describes the public IP Sku. It can only be set with OrchestrationMode as + * Flexible. + */ + sku?: PublicIPAddressSku; +} + +/** + * Describes a virtual machines scale set IP Configuration's PublicIPAddress + * configuration + */ +model VirtualMachineScaleSetPublicIPAddressConfigurationProperties { + /** + * The idle timeout of the public IP address. + */ + idleTimeoutInMinutes?: int32; + + /** + * The dns settings to be applied on the publicIP addresses . + */ + dnsSettings?: VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings; + + /** + * The list of IP tags associated with the public IP address. + */ + @OpenAPI.extension("x-ms-identifiers", []) + ipTags?: VirtualMachineScaleSetIpTag[]; + + /** + * The PublicIPPrefix from which to allocate publicIP addresses. + */ + publicIPPrefix?: SubResource; + + /** + * Available from Api-Version 2019-07-01 onwards, it represents whether the + * specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible + * values are: 'IPv4' and 'IPv6'. + */ + publicIPAddressVersion?: IPVersion; + + /** + * Specify what happens to the public IP when the VM is deleted + */ + deleteOption?: DeleteOptions; +} + +/** + * Describes a virtual machines scale sets network configuration's DNS settings. + */ +model VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings { + /** + * The Domain name label.The concatenation of the domain name label and vm index + * will be the domain name labels of the PublicIPAddress resources that will be + * created + */ + domainNameLabel: string; + + /** + * The Domain name label scope.The concatenation of the hashed domain name label + * that generated according to the policy from domain name label scope and vm + * index will be the domain name labels of the PublicIPAddress resources that will + * be created + */ + domainNameLabelScope?: DomainNameLabelScopeTypes; +} + +/** + * Contains the IP tag associated with the public IP address. + */ +model VirtualMachineScaleSetIpTag { + /** + * IP tag type. Example: FirstPartyUsage. + */ + ipTagType?: string; + + /** + * IP tag associated with the public IP. Example: SQL, Storage etc. + */ + tag?: string; +} + +/** + * Describes the public IP Sku. It can only be set with OrchestrationMode as + * Flexible. + */ +model PublicIPAddressSku { + /** + * Specify public IP sku name + */ + name?: PublicIPAddressSkuName; + + /** + * Specify public IP sku tier + */ + tier?: PublicIPAddressSkuTier; +} + +/** + * Specifies the Security profile settings for the virtual machine or virtual + * machine scale set. + */ +model SecurityProfile { + /** + * Specifies the security settings like secure boot and vTPM used while creating + * the virtual machine. Minimum api-version: 2020-12-01. + */ + uefiSettings?: UefiSettings; + + /** + * This property can be used by user in the request to enable or disable the Host + * Encryption for the virtual machine or virtual machine scale set. This will + * enable the encryption for all the disks including Resource/Temp disk at host + * itself. The default behavior is: The Encryption at host will be disabled unless + * this property is set to true for the resource. + */ + encryptionAtHost?: boolean; + + /** + * Specifies the SecurityType of the virtual machine. It has to be set to any + * specified value to enable UefiSettings. The default behavior is: UefiSettings + * will not be enabled unless this property is set. + */ + securityType?: SecurityTypes; + + /** + * Specifies the Managed Identity used by ADE to get access token for keyvault + * operations. + */ + encryptionIdentity?: EncryptionIdentity; + + /** + * Specifies ProxyAgent settings while creating the virtual machine. Minimum + * api-version: 2023-09-01. + */ + proxyAgentSettings?: ProxyAgentSettings; +} + +/** + * Specifies the security settings like secure boot and vTPM used while creating + * the virtual machine. Minimum api-version: 2020-12-01. + */ +model UefiSettings { + /** + * Specifies whether secure boot should be enabled on the virtual machine. Minimum + * api-version: 2020-12-01. + */ + secureBootEnabled?: boolean; + + /** + * Specifies whether vTPM should be enabled on the virtual machine. Minimum + * api-version: 2020-12-01. + */ + vTpmEnabled?: boolean; +} + +/** + * Specifies the Managed Identity used by ADE to get access token for keyvault + * operations. + */ +model EncryptionIdentity { + /** + * Specifies ARM Resource ID of one of the user identities associated with the VM. + */ + userAssignedIdentityResourceId?: string; +} + +/** + * Specifies ProxyAgent settings while creating the virtual machine. Minimum + * api-version: 2023-09-01. + */ +model ProxyAgentSettings { + /** + * Specifies whether ProxyAgent feature should be enabled on the virtual machine + * or virtual machine scale set. + */ + enabled?: boolean; + + /** + * Specifies the mode that ProxyAgent will execute on if the feature is enabled. + * ProxyAgent will start to audit or monitor but not enforce access control over + * requests to host endpoints in Audit mode, while in Enforce mode it will enforce + * access control. The default value is Enforce mode. + */ + mode?: Mode; + + /** + * Increase the value of this property allows user to reset the key used for + * securing communication channel between guest and host. + */ + keyIncarnationId?: int32; +} + +/** + * Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15. + */ +model DiagnosticsProfile { + /** + * Boot Diagnostics is a debugging feature which allows you to view Console Output + * and Screenshot to diagnose VM status. **NOTE**: If storageUri is being + * specified then ensure that the storage account is in the same region and + * subscription as the VM. You can easily view the output of your console log. + * Azure also enables you to see a screenshot of the VM from the hypervisor. + */ + bootDiagnostics?: BootDiagnostics; +} + +/** + * Boot Diagnostics is a debugging feature which allows you to view Console Output + * and Screenshot to diagnose VM status. You can easily view the output of your + * console log. Azure also enables you to see a screenshot of the VM from the + * hypervisor. + */ +model BootDiagnostics { + /** + * Whether boot diagnostics should be enabled on the Virtual Machine. + */ + enabled?: boolean; + + /** + * Uri of the storage account to use for placing the console output and + * screenshot. If storageUri is not specified while enabling boot diagnostics, + * managed storage will be used. + */ + storageUri?: string; +} + +/** + * Describes a virtual machine scale set extension profile. + */ +model VirtualMachineScaleSetExtensionProfile { + /** + * The virtual machine scale set child extension resources. + */ + extensions?: VirtualMachineScaleSetExtension[]; + + /** + * Specifies the time alloted for all extensions to start. The time duration + * should be between 15 minutes and 120 minutes (inclusive) and should be + * specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). + * Minimum api-version: 2020-06-01. + */ + extensionsTimeBudget?: string; +} + +/** + * Describes a Virtual Machine Scale Set Extension. + */ +model VirtualMachineScaleSetExtension is SubResourceReadOnly { + /** + * The name of the extension. + */ + name?: string; + + /** + * Resource type + */ + @visibility("read") + type?: string; + + /** + * Describes the properties of a Virtual Machine Scale Set Extension. + */ + properties?: VirtualMachineScaleSetExtensionProperties; +} + +/** + * Describes the properties of a Virtual Machine Scale Set Extension. + */ +model VirtualMachineScaleSetExtensionProperties { + /** + * If a value is provided and is different from the previous value, the extension + * handler will be forced to update even if the extension configuration has not + * changed. + */ + forceUpdateTag?: string; + + /** + * The name of the extension handler publisher. + */ + publisher?: string; + + /** + * Specifies the type of the extension; an example is "CustomScriptExtension". + */ + type?: string; + + /** + * Specifies the version of the script handler. + */ + typeHandlerVersion?: string; + + /** + * Indicates whether the extension should use a newer minor version if one is + * available at deployment time. Once deployed, however, the extension will not + * upgrade minor versions unless redeployed, even with this property set to true. + */ + autoUpgradeMinorVersion?: boolean; + + /** + * Indicates whether the extension should be automatically upgraded by the + * platform if there is a newer version of the extension available. + */ + enableAutomaticUpgrade?: boolean; + + /** + * Json formatted public settings for the extension. + */ + settings?: Record; + + /** + * The extension can contain either protectedSettings or + * protectedSettingsFromKeyVault or no protected settings at all. + */ + protectedSettings?: Record; + + /** + * The provisioning state, which only appears in the response. + */ + @visibility("read") + provisioningState?: string; + + /** + * Collection of extension names after which this extension needs to be + * provisioned. + */ + provisionAfterExtensions?: string[]; + + /** + * Indicates whether failures stemming from the extension will be suppressed + * (Operational failures such as not connecting to the VM will not be suppressed + * regardless of this value). The default is false. + */ + suppressFailures?: boolean; + + /** + * The extensions protected settings that are passed by reference, and consumed + * from key vault + */ + protectedSettingsFromKeyVault?: KeyVaultSecretReference; +} + +/** + * Describes a reference to Key Vault Secret + */ +model KeyVaultSecretReference { + /** + * The URL referencing a secret in a Key Vault. + */ + secretUrl: string; + + /** + * The relative URL of the Key Vault containing the secret. + */ + sourceVault: SubResource; +} + +model SubResourceReadOnly { + /** + * Resource Id + */ + @visibility("read") + id?: string; +} + +/** + * Specifies the billing related details of a Azure Spot VM or VMSS. Minimum + * api-version: 2019-03-01. + */ +model BillingProfile { + /** + * Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. + * This price is in US Dollars.

This price will be compared with the + * current Azure Spot price for the VM size. Also, the prices are compared at the + * time of create/update of Azure Spot VM/VMSS and the operation will only succeed + * if the maxPrice is greater than the current Azure Spot price.

The + * maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current + * Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.

+ * Possible values are:

- Any decimal value greater than zero. Example: + * 0.01538

-1 – indicates default price to be up-to on-demand.

+ * You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should + * not be evicted for price reasons. Also, the default max price is -1 if it is + * not provided by you.

Minimum api-version: 2019-03-01. + */ + maxPrice?: float64; +} + +model ScheduledEventsProfile { + /** + * Specifies Terminate Scheduled Event related configurations. + */ + terminateNotificationProfile?: TerminateNotificationProfile; + + /** + * Specifies OS Image Scheduled Event related configurations. + */ + osImageNotificationProfile?: OSImageNotificationProfile; +} + +model TerminateNotificationProfile { + /** + * Configurable length of time a Virtual Machine being deleted will have to + * potentially approve the Terminate Scheduled Event before the event is auto + * approved (timed out). The configuration must be specified in ISO 8601 format, + * the default value is 5 minutes (PT5M) + */ + notBeforeTimeout?: string; + + /** + * Specifies whether the Terminate Scheduled event is enabled or disabled. + */ + enable?: boolean; +} + +model OSImageNotificationProfile { + /** + * Length of time a Virtual Machine being reimaged or having its OS upgraded will + * have to potentially approve the OS Image Scheduled Event before the event is + * auto approved (timed out). The configuration is specified in ISO 8601 format, + * and the value must be 15 minutes (PT15M) + */ + notBeforeTimeout?: string; + + /** + * Specifies whether the OS Image Scheduled event is enabled or disabled. + */ + enable?: boolean; +} + +/** + * The parameters of a capacity reservation Profile. + */ +model CapacityReservationProfile { + /** + * Specifies the capacity reservation group resource id that should be used for + * allocating the virtual machine or scaleset vm instances provided enough + * capacity has been reserved. Please refer to https://aka.ms/CapacityReservation + * for more details. + */ + capacityReservationGroup?: SubResource; +} + +/** + * Contains the list of gallery applications that should be made available to the + * VM/VMSS + */ +model ApplicationProfile { + /** + * Specifies the gallery applications that should be made available to the VM/VMSS + */ + @OpenAPI.extension("x-ms-identifiers", ["packageReferenceId"]) + galleryApplications?: VMGalleryApplication[]; +} + +/** + * Specifies the required information to reference a compute gallery application + * version + */ +model VMGalleryApplication { + /** + * Optional, Specifies a passthrough value for more generic context. + */ + tags?: string; + + /** + * Optional, Specifies the order in which the packages have to be installed + */ + order?: int32; + + /** + * Specifies the GalleryApplicationVersion resource id on the form of + * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version} + */ + packageReferenceId: string; + + /** + * Optional, Specifies the uri to an azure blob that will replace the default + * configuration for the package if provided + */ + configurationReference?: string; + + /** + * Optional, If true, any failure for any operation in the VmApplication will fail + * the deployment + */ + treatFailureAsDeploymentFailure?: boolean; + + /** + * If set to true, when a new Gallery Application version is available in PIR/SIG, + * it will be automatically updated for the VM/VMSS + */ + enableAutomaticUpgrade?: boolean; +} + +/** + * Specifies the hardware settings for the virtual machine scale set. + */ +model VirtualMachineScaleSetHardwareProfile { + /** + * Specifies the properties for customizing the size of the virtual machine. + * Minimum api-version: 2021-11-01. Please follow the instructions in [VM + * Customization](https://aka.ms/vmcustomization) for more details. + */ + vmSizeProperties?: VMSizeProperties; +} + +/** + * Specifies VM Size Property settings on the virtual machine. + */ +model VMSizeProperties { + /** + * Specifies the number of vCPUs available for the VM. When this property is not + * specified in the request body the default behavior is to set it to the value of + * vCPUs available for that VM size exposed in api response of [List all available + * virtual machine sizes in a + * region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). + */ + vCPUsAvailable?: int32; + + /** + * Specifies the vCPU to physical core ratio. When this property is not specified + * in the request body the default behavior is set to the value of vCPUsPerCore + * for the VM Size exposed in api response of [List all available virtual machine + * sizes in a + * region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list). + * **Setting this property to 1 also means that hyper-threading is disabled.** + */ + vCPUsPerCore?: int32; +} + +/** + * Specifies the service artifact reference id used to set same image version for + * all virtual machines in the scale set when using 'latest' image version. + * Minimum api-version: 2022-11-01 + */ +model ServiceArtifactReference { + /** + * The service artifact reference id in the form of + * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName} + */ + id?: string; +} + +/** + * Specifies the security posture to be used for all virtual machines in the scale + * set. Minimum api-version: 2023-03-01 + */ +model SecurityPostureReference { + /** + * The security posture reference id in the form of + * /CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest + */ + id?: string; + + /** + * List of virtual machine extensions to exclude when applying the Security + * Posture. + */ + excludeExtensions?: VirtualMachineExtension[]; +} + +/** + * Describes a Virtual Machine Extension. + */ +model VirtualMachineExtension is ResourceWithOptionalLocation { + /** + * Describes the properties of a Virtual Machine Extension. + */ + properties?: VirtualMachineExtensionProperties; +} + +/** + * Describes the properties of a Virtual Machine Extension. + */ +model VirtualMachineExtensionProperties { + /** + * How the extension handler should be forced to update even if the extension + * configuration has not changed. + */ + forceUpdateTag?: string; + + /** + * The name of the extension handler publisher. + */ + publisher?: string; + + /** + * Specifies the type of the extension; an example is "CustomScriptExtension". + */ + type?: string; + + /** + * Specifies the version of the script handler. + */ + typeHandlerVersion?: string; + + /** + * Indicates whether the extension should use a newer minor version if one is + * available at deployment time. Once deployed, however, the extension will not + * upgrade minor versions unless redeployed, even with this property set to true. + */ + autoUpgradeMinorVersion?: boolean; + + /** + * Indicates whether the extension should be automatically upgraded by the + * platform if there is a newer version of the extension available. + */ + enableAutomaticUpgrade?: boolean; + + /** + * Json formatted public settings for the extension. + */ + settings?: Record; + + /** + * The extension can contain either protectedSettings or + * protectedSettingsFromKeyVault or no protected settings at all. + */ + protectedSettings?: Record; + + /** + * The provisioning state, which only appears in the response. + */ + @visibility("read") + provisioningState?: string; + + /** + * The virtual machine extension instance view. + */ + instanceView?: VirtualMachineExtensionInstanceView; + + /** + * Indicates whether failures stemming from the extension will be suppressed + * (Operational failures such as not connecting to the VM will not be suppressed + * regardless of this value). The default is false. + */ + suppressFailures?: boolean; + + /** + * The extensions protected settings that are passed by reference, and consumed + * from key vault + */ + protectedSettingsFromKeyVault?: KeyVaultSecretReference; + + /** + * Collection of extension names after which this extension needs to be + * provisioned. + */ + provisionAfterExtensions?: string[]; +} + +/** + * The instance view of a virtual machine extension. + */ +model VirtualMachineExtensionInstanceView { + /** + * The virtual machine extension name. + */ + name?: string; + + /** + * Specifies the type of the extension; an example is "CustomScriptExtension". + */ + type?: string; + + /** + * Specifies the version of the script handler. + */ + typeHandlerVersion?: string; + + /** + * The resource status information. + */ + @OpenAPI.extension("x-ms-identifiers", []) + substatuses?: InstanceViewStatus[]; + + /** + * The resource status information. + */ + @OpenAPI.extension("x-ms-identifiers", []) + statuses?: InstanceViewStatus[]; +} + +/** + * Instance view status. + */ +model InstanceViewStatus { + /** + * The status code. + */ + code?: string; + + /** + * The level code. + */ + level?: StatusLevelTypes; + + /** + * The short localizable label for the status. + */ + displayStatus?: string; + + /** + * The detailed status message, including for alerts and error messages. + */ + message?: string; + + /** + * The time of the status. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + time?: utcDateTime; +} + +/** + * The Resource model definition with location property as optional. + */ +model ResourceWithOptionalLocation { + /** + * Resource location + */ + location?: string; + + /** + * Resource Id + */ + @visibility("read") + id?: string; + + /** + * Resource name + */ + @visibility("read") + name?: string; + + /** + * Resource type + */ + @visibility("read") + type?: string; + + /** + * Resource tags + */ + tags?: Record; +} + +/** + * Specifies the priority for a standalone virtual machine or the virtual machines + * in the scale set. 'Low' enum will be deprecated in the future, please use + * 'Spot' as the enum to deploy Azure Spot VM/VMSS. + */ +union VirtualMachinePriorityTypes { + string, + Regular: "Regular", + Low: "Low", + Spot: "Spot", +} + +/** + * Specifies the eviction policy for the Azure Spot VM/VMSS + */ +union VirtualMachineEvictionPolicyTypes { + string, + Deallocate: "Deallocate", + Delete: "Delete", +} + +/** + * Specifies the name of the setting to which the content applies. Possible values + * are: FirstLogonCommands and AutoLogon. + */ +enum SettingNames { + AutoLogon, + FirstLogonCommands, +} + +/** + * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual + * machines associated to virtual machine scale set with OrchestrationMode as + * Flexible.

Possible values are:

**Manual** - You + * control the application of patches to a virtual machine. You do this by + * applying patches manually inside the VM. In this mode, automatic updates are + * disabled; the property WindowsConfiguration.enableAutomaticUpdates must be + * false

**AutomaticByOS** - The virtual machine will automatically be + * updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates + * must be true.

**AutomaticByPlatform** - the virtual machine will + * automatically updated by the platform. The properties provisionVMAgent and + * WindowsConfiguration.enableAutomaticUpdates must be true + */ +union WindowsVMGuestPatchMode { + string, + Manual: "Manual", + AutomaticByOS: "AutomaticByOS", + AutomaticByPlatform: "AutomaticByPlatform", +} + +/** + * Specifies the mode of VM Guest patch assessment for the IaaS virtual + * machine.

Possible values are:

**ImageDefault** - You + * control the timing of patch assessments on a virtual machine.

+ * **AutomaticByPlatform** - The platform will trigger periodic patch assessments. + * The property provisionVMAgent must be true. + */ +union WindowsPatchAssessmentMode { + string, + ImageDefault: "ImageDefault", + AutomaticByPlatform: "AutomaticByPlatform", +} + +/** + * Specifies the reboot setting for all AutomaticByPlatform patch installation + * operations. + */ +union WindowsVMGuestPatchAutomaticByPlatformRebootSetting { + string, + Unknown: "Unknown", + IfRequired: "IfRequired", + Never: "Never", + Always: "Always", +} + +/** + * Specifies the protocol of WinRM listener. Possible values are: **http,** + * **https.** + */ +enum ProtocolTypes { + Http, + Https, +} + +/** + * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual + * machines associated to virtual machine scale set with OrchestrationMode as + * Flexible.

Possible values are:

**ImageDefault** - The + * virtual machine's default patching configuration is used.

+ * **AutomaticByPlatform** - The virtual machine will be automatically updated by + * the platform. The property provisionVMAgent must be true + */ +union LinuxVMGuestPatchMode { + string, + ImageDefault: "ImageDefault", + AutomaticByPlatform: "AutomaticByPlatform", +} + +/** + * Specifies the mode of VM Guest Patch Assessment for the IaaS virtual + * machine.

Possible values are:

**ImageDefault** - You + * control the timing of patch assessments on a virtual machine.

+ * **AutomaticByPlatform** - The platform will trigger periodic patch assessments. + * The property provisionVMAgent must be true. + */ +union LinuxPatchAssessmentMode { + string, + ImageDefault: "ImageDefault", + AutomaticByPlatform: "AutomaticByPlatform", +} + +/** + * Specifies the reboot setting for all AutomaticByPlatform patch installation + * operations. + */ +union LinuxVMGuestPatchAutomaticByPlatformRebootSetting { + string, + Unknown: "Unknown", + IfRequired: "IfRequired", + Never: "Never", + Always: "Always", +} + +/** + * Specifies the caching requirements. Possible values are: **None,** + * **ReadOnly,** **ReadWrite.** The default values are: **None for Standard + * storage. ReadOnly for Premium storage** + */ +enum CachingTypes { + None, + ReadOnly, + ReadWrite, +} + +/** + * This property allows you to specify the type of the OS that is included in the + * disk if creating a VM from user-image or a specialized VHD. Possible values + * are: **Windows,** **Linux.** + */ +enum OperatingSystemTypes { + Windows, + Linux, +} + +/** + * Specifies how the virtual machine should be created. Possible values are: + * **Attach.** This value is used when you are using a specialized disk to create + * the virtual machine. **FromImage.** This value is used when you are using an + * image to create the virtual machine. If you are using a platform image, you + * also use the imageReference element described above. If you are using a + * marketplace image, you also use the plan element previously described. + */ +union DiskCreateOptionTypes { + string, + FromImage: "FromImage", + Empty: "Empty", + Attach: "Attach", +} + +/** + * Specifies the behavior of the managed disk when the VM gets deleted, for + * example whether the managed disk is deleted or detached. Supported values are: + * **Delete.** If this value is used, the managed disk is deleted when VM gets + * deleted. **Detach.** If this value is used, the managed disk is retained after + * VM gets deleted. Minimum api-version: 2021-03-01. + */ +union DiskDeleteOptionTypes { + string, + Delete: "Delete", + Detach: "Detach", +} + +/** + * Specifies the ephemeral disk option for operating system disk. + */ +union DiffDiskOptions { + string, + Local: "Local", +} + +/** + * Specifies the ephemeral disk placement for operating system disk. This property + * can be used by user in the request to choose the location i.e, cache disk or + * 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 + * and Linux VM at + * https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements + */ +union DiffDiskPlacement { + string, + CacheDisk: "CacheDisk", + ResourceDisk: "ResourceDisk", +} + +/** + * Specifies the storage account type for the managed disk. Managed OS disk + * storage account type can only be set when you create the scale set. NOTE: + * UltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk. + * Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS + * uses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD + * 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 + * Linux Virtual Machines, refer to + * https://docs.microsoft.com/azure/virtual-machines/linux/disks-types + */ +union StorageAccountTypes { + string, + Standard_LRS: "Standard_LRS", + Premium_LRS: "Premium_LRS", + StandardSSD_LRS: "StandardSSD_LRS", + UltraSSD_LRS: "UltraSSD_LRS", + Premium_ZRS: "Premium_ZRS", + StandardSSD_ZRS: "StandardSSD_ZRS", + PremiumV2_LRS: "PremiumV2_LRS", +} + +/** + * Specifies the EncryptionType of the managed disk. It is set to + * DiskWithVMGuestState for encryption of the managed disk along with VMGuestState + * blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and + * NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. + * **Note:** It can be set for only Confidential VMs. + */ +union SecurityEncryptionTypes { + string, + VMGuestStateOnly: "VMGuestStateOnly", + DiskWithVMGuestState: "DiskWithVMGuestState", + NonPersistedTPM: "NonPersistedTPM", +} + +/** + * specifies the Microsoft.Network API version used when creating networking + * resources in the Network Interface Configurations for Virtual Machine Scale Set + * with orchestration mode 'Flexible' + */ +union NetworkApiVersion { + string, + `2020-11-01`: "2020-11-01", +} + +/** + * Specify what happens to the network interface when the VM is deleted + */ +union DeleteOptions { + string, + Delete: "Delete", + Detach: "Detach", +} + +/** + * Specifies whether the Auxiliary mode is enabled for the Network Interface + * resource. + */ +union NetworkInterfaceAuxiliaryMode { + string, + None: "None", + AcceleratedConnections: "AcceleratedConnections", + Floating: "Floating", +} + +/** + * Specifies whether the Auxiliary sku is enabled for the Network Interface + * resource. + */ +union NetworkInterfaceAuxiliarySku { + string, + None: "None", + A1: "A1", + A2: "A2", + A4: "A4", + A8: "A8", +} + +/** + * Available from Api-Version 2017-03-30 onwards, it represents whether the + * specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible + * values are: 'IPv4' and 'IPv6'. + */ +union IPVersion { + string, + IPv4: "IPv4", + IPv6: "IPv6", +} + +/** + * The Domain name label scope.The concatenation of the hashed domain name label + * that generated according to the policy from domain name label scope and vm + * index will be the domain name labels of the PublicIPAddress resources that will + * be created + */ +union DomainNameLabelScopeTypes { + string, + TenantReuse: "TenantReuse", + SubscriptionReuse: "SubscriptionReuse", + ResourceGroupReuse: "ResourceGroupReuse", + NoReuse: "NoReuse", +} + +/** + * Specify public IP sku name + */ +union PublicIPAddressSkuName { + string, + Basic: "Basic", + Standard: "Standard", +} + +/** + * Specify public IP sku tier + */ +union PublicIPAddressSkuTier { + string, + Regional: "Regional", + Global: "Global", +} + +/** + * Specifies the SecurityType of the virtual machine. It has to be set to any + * specified value to enable UefiSettings. The default behavior is: UefiSettings + * will not be enabled unless this property is set. + */ +union SecurityTypes { + string, + TrustedLaunch: "TrustedLaunch", + ConfidentialVM: "ConfidentialVM", +} + +/** + * Specifies the mode that ProxyAgent will execute on if the feature is enabled. + * ProxyAgent will start to audit or monitor but not enforce access control over + * requests to host endpoints in Audit mode, while in Enforce mode it will enforce + * access control. The default value is Enforce mode. + */ +union Mode { + string, + Audit: "Audit", + Enforce: "Enforce", +} + +/** + * The level code. + */ +enum StatusLevelTypes { + Info, + Warning, + Error, +} diff --git a/specification/azurefleet/AzureFleet.Management/fleet.tsp b/specification/azurefleet/AzureFleet.Management/fleet.tsp index fa01b95e75e0..f627c02727df 100644 --- a/specification/azurefleet/AzureFleet.Management/fleet.tsp +++ b/specification/azurefleet/AzureFleet.Management/fleet.tsp @@ -1,14 +1,12 @@ import "@typespec/http"; import "@typespec/rest"; import "@typespec/versioning"; -import "@azure-tools/typespec-autorest"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; using TypeSpec.Http; using TypeSpec.Rest; using TypeSpec.Versioning; -using Autorest; using Azure.ResourceManager; using OpenAPI; @@ -114,10 +112,6 @@ model ComputeProfile { platformFaultDomainCount?: int32; } -@doc("BaseVirtualMachineProfile") -@useRef("../../../../../compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/virtualMachineScaleSet.json#/definitions/VirtualMachineScaleSetVMProfile") -model BaseVirtualMachineProfile {} - @doc("Specifications about a VM Size. This will also contain the corresponding rank and weight in future.") model VmSizeProfile { @doc("The Sku name (e.g. 'Standard_DS1_v2')") diff --git a/specification/azurefleet/AzureFleet.Management/main.tsp b/specification/azurefleet/AzureFleet.Management/main.tsp index 17ef95fcf8e7..cee8a045de2e 100644 --- a/specification/azurefleet/AzureFleet.Management/main.tsp +++ b/specification/azurefleet/AzureFleet.Management/main.tsp @@ -5,6 +5,7 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "./common.tsp"; import "./fleet.tsp"; +import "./baseVirtualMachineProfile.tsp"; import "./virtualMachineScaleSet.tsp"; using TypeSpec.Http; diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 5f1411cf1268..af57b693e213 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -486,6 +486,50 @@ } }, "definitions": { + "AdditionalUnattendContent": { + "type": "object", + "description": "Specifies additional XML formatted information that can be included in the\nUnattend.xml file, which is used by Windows Setup. Contents are defined by\nsetting name, component name, and the pass in which the content is applied.", + "properties": { + "passName": { + "type": "string", + "description": "The pass name. Currently, the only allowable value is OobeSystem.", + "enum": [ + "OobeSystem" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "componentName": { + "type": "string", + "description": "The component name. Currently, the only allowable value is\nMicrosoft-Windows-Shell-Setup.", + "enum": [ + "Microsoft-Windows-Shell-Setup" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "settingName": { + "$ref": "#/definitions/SettingNames", + "description": "Specifies the name of the setting to which the content applies. Possible values\nare: FirstLogonCommands and AutoLogon." + }, + "content": { + "type": "string", + "description": "Specifies the XML formatted content that is added to the unattend.xml file for\nthe specified path and component. The XML must be less than 4KB and must\ninclude the root element for the setting or feature that is being inserted." + } + } + }, + "ApiEntityReference": { + "type": "object", + "description": "The API entity reference.", + "properties": { + "id": { + "type": "string", + "description": "The ARM resource id in the form of\n/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." + } + } + }, "ApiError": { "type": "object", "description": "ApiError for Fleet", @@ -537,6 +581,22 @@ } } }, + "ApplicationProfile": { + "type": "object", + "description": "Contains the list of gallery applications that should be made available to the\nVM/VMSS", + "properties": { + "galleryApplications": { + "type": "array", + "description": "Specifies the gallery applications that should be made available to the VM/VMSS", + "items": { + "$ref": "#/definitions/VMGalleryApplication" + }, + "x-ms-identifiers": [ + "packageReferenceId" + ] + } + } + }, "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType": { "type": "string", "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", @@ -591,12 +651,140 @@ } } }, + "BaseVirtualMachineProfile": { + "type": "object", + "description": "Describes the base virtual machine profile for fleet", + "properties": { + "osProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetOSProfile", + "description": "Specifies the operating system settings for the virtual machines in the scale\nset." + }, + "storageProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile", + "description": "Specifies the storage settings for the virtual machine disks." + }, + "networkProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile", + "description": "Specifies properties of the network interfaces of the virtual machines in the\nscale set." + }, + "securityProfile": { + "$ref": "#/definitions/SecurityProfile", + "description": "Specifies the Security related profile settings for the virtual machines in the\nscale set." + }, + "diagnosticsProfile": { + "$ref": "#/definitions/DiagnosticsProfile", + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." + }, + "extensionProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile", + "description": "Specifies a collection of settings for extensions installed on virtual machines\nin the scale set." + }, + "licenseType": { + "type": "string", + "description": "Specifies that the image or disk that is being used was licensed on-premises.\n

Possible values for Windows Server operating system are:

\nWindows_Client

Windows_Server

Possible values for Linux\nServer operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS\n(for SUSE)

For more information, see [Azure Hybrid Use Benefit for\nWindows\nServer](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)\n

[Azure Hybrid Use Benefit for Linux\nServer](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)\n

Minimum api-version: 2015-06-15" + }, + "priority": { + "$ref": "#/definitions/VirtualMachinePriorityTypes", + "description": "Specifies the priority for the virtual machines in the scale set. Minimum\napi-version: 2017-10-30-preview." + }, + "evictionPolicy": { + "$ref": "#/definitions/VirtualMachineEvictionPolicyTypes", + "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot\nscale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are\nsupported and the minimum api-version is 2019-03-01. For Azure Spot scale sets,\nboth 'Deallocate' and 'Delete' are supported and the minimum api-version is\n2017-10-30-preview." + }, + "billingProfile": { + "$ref": "#/definitions/BillingProfile", + "description": "Specifies the billing related details of a Azure Spot VMSS. Minimum\napi-version: 2019-03-01." + }, + "scheduledEventsProfile": { + "$ref": "#/definitions/ScheduledEventsProfile", + "description": "Specifies Scheduled Event related configurations." + }, + "userData": { + "type": "string", + "description": "UserData for the virtual machines in the scale set, which must be base-64\nencoded. Customer should not pass any secrets in here. Minimum api-version:\n2021-03-01." + }, + "capacityReservation": { + "$ref": "#/definitions/CapacityReservationProfile", + "description": "Specifies the capacity reservation related details of a scale set. Minimum\napi-version: 2021-04-01." + }, + "applicationProfile": { + "$ref": "#/definitions/ApplicationProfile", + "description": "Specifies the gallery applications that should be made available to the VM/VMSS" + }, + "hardwareProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetHardwareProfile", + "description": "Specifies the hardware profile related details of a scale set. Minimum\napi-version: 2021-11-01." + }, + "serviceArtifactReference": { + "$ref": "#/definitions/ServiceArtifactReference", + "description": "Specifies the service artifact reference id used to set same image version for\nall virtual machines in the scale set when using 'latest' image version.\nMinimum api-version: 2022-11-01" + }, + "securityPostureReference": { + "$ref": "#/definitions/SecurityPostureReference", + "description": "Specifies the security posture to be used for all virtual machines in the scale\nset. Minimum api-version: 2023-03-01" + }, + "timeCreated": { + "type": "string", + "format": "date-time", + "description": "Specifies the time in which this VM profile for the Virtual Machine Scale Set\nwas created. Minimum API version for this property is 2023-09-01. This value\nwill be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile\nwith minimum api-version 2023-09-01.", + "readOnly": true + } + } + }, + "BillingProfile": { + "type": "object", + "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum\napi-version: 2019-03-01.", + "properties": { + "maxPrice": { + "type": "number", + "format": "double", + "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS.\nThis price is in US Dollars.

This price will be compared with the\ncurrent Azure Spot price for the VM size. Also, the prices are compared at the\ntime of create/update of Azure Spot VM/VMSS and the operation will only succeed\nif the maxPrice is greater than the current Azure Spot price.

The\nmaxPrice will also be used for evicting a Azure Spot VM/VMSS if the current\nAzure Spot price goes beyond the maxPrice after creation of VM/VMSS.

\nPossible values are:

- Any decimal value greater than zero. Example:\n0.01538

-1 – indicates default price to be up-to on-demand.

\nYou can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should\nnot be evicted for price reasons. Also, the default max price is -1 if it is\nnot provided by you.

Minimum api-version: 2019-03-01." + } + } + }, + "BootDiagnostics": { + "type": "object", + "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output\nand Screenshot to diagnose VM status. You can easily view the output of your\nconsole log. Azure also enables you to see a screenshot of the VM from the\nhypervisor.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether boot diagnostics should be enabled on the Virtual Machine." + }, + "storageUri": { + "type": "string", + "description": "Uri of the storage account to use for placing the console output and\nscreenshot. If storageUri is not specified while enabling boot diagnostics,\nmanaged storage will be used." + } + } + }, + "CachingTypes": { + "type": "string", + "description": "Specifies the caching requirements. Possible values are: **None,**\n**ReadOnly,** **ReadWrite.** The default values are: **None for Standard\nstorage. ReadOnly for Premium storage**", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": { + "name": "CachingTypes", + "modelAsString": false + } + }, + "CapacityReservationProfile": { + "type": "object", + "description": "The parameters of a capacity reservation Profile.", + "properties": { + "capacityReservationGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies the capacity reservation group resource id that should be used for\nallocating the virtual machine or scaleset vm instances provided enough\ncapacity has been reserved. Please refer to https://aka.ms/CapacityReservation\nfor more details." + } + } + }, "ComputeProfile": { "type": "object", "description": "Compute Profile to use for running user's workloads.", "properties": { "baseVirtualMachineProfile": { - "$ref": "../../../../../compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/virtualMachineScaleSet.json#/definitions/VirtualMachineScaleSetVMProfile", + "$ref": "#/definitions/BaseVirtualMachineProfile", "description": "Base Virtual Machine Profile Properties to be specified according to \"specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{computeApiVersion}/virtualMachineScaleSet.json#/definitions/VirtualMachineScaleSetVMProfile\"" }, "computeApiVersion": { @@ -608,6 +796,192 @@ "baseVirtualMachineProfile" ] }, + "DeleteOptions": { + "type": "string", + "description": "Specify what happens to the network interface when the VM is deleted", + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "DeleteOptions", + "modelAsString": true, + "values": [ + { + "name": "Delete", + "value": "Delete" + }, + { + "name": "Detach", + "value": "Detach" + } + ] + } + }, + "DiagnosticsProfile": { + "type": "object", + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.", + "properties": { + "bootDiagnostics": { + "$ref": "#/definitions/BootDiagnostics", + "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output\nand Screenshot to diagnose VM status. **NOTE**: If storageUri is being\nspecified then ensure that the storage account is in the same region and\nsubscription as the VM. You can easily view the output of your console log.\nAzure also enables you to see a screenshot of the VM from the hypervisor." + } + } + }, + "DiffDiskOptions": { + "type": "string", + "description": "Specifies the ephemeral disk option for operating system disk.", + "enum": [ + "Local" + ], + "x-ms-enum": { + "name": "DiffDiskOptions", + "modelAsString": true, + "values": [ + { + "name": "Local", + "value": "Local" + } + ] + } + }, + "DiffDiskPlacement": { + "type": "string", + "description": "Specifies the ephemeral disk placement for operating system disk. This property\ncan be used by user in the request to choose the location i.e, cache disk or\nresource disk space for Ephemeral OS disk provisioning. For more information on\nEphemeral OS disk size requirements, please refer Ephemeral OS disk size\nrequirements for Windows VM at\nhttps://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements\nand Linux VM at\nhttps://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements", + "enum": [ + "CacheDisk", + "ResourceDisk" + ], + "x-ms-enum": { + "name": "DiffDiskPlacement", + "modelAsString": true, + "values": [ + { + "name": "CacheDisk", + "value": "CacheDisk" + }, + { + "name": "ResourceDisk", + "value": "ResourceDisk" + } + ] + } + }, + "DiffDiskSettings": { + "type": "object", + "description": "Describes the parameters of ephemeral disk settings that can be specified for\noperating system disk. **Note:** The ephemeral disk settings can only be\nspecified for managed disk.", + "properties": { + "option": { + "$ref": "#/definitions/DiffDiskOptions", + "description": "Specifies the ephemeral disk settings for operating system disk." + }, + "placement": { + "$ref": "#/definitions/DiffDiskPlacement", + "description": "Specifies the ephemeral disk placement for operating system disk. Possible\nvalues are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is:\n**CacheDisk** if one is configured for the VM size otherwise **ResourceDisk**\nis used. Refer to the VM size documentation for Windows VM at\nhttps://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at\nhttps://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM\nsizes exposes a cache disk." + } + } + }, + "DiskCreateOptionTypes": { + "type": "string", + "description": "Specifies how the virtual machine should be created. Possible values are:\n**Attach.** This value is used when you are using a specialized disk to create\nthe virtual machine. **FromImage.** This value is used when you are using an\nimage to create the virtual machine. If you are using a platform image, you\nalso use the imageReference element described above. If you are using a\nmarketplace image, you also use the plan element previously described.", + "enum": [ + "FromImage", + "Empty", + "Attach" + ], + "x-ms-enum": { + "name": "DiskCreateOptionTypes", + "modelAsString": true, + "values": [ + { + "name": "FromImage", + "value": "FromImage" + }, + { + "name": "Empty", + "value": "Empty" + }, + { + "name": "Attach", + "value": "Attach" + } + ] + } + }, + "DiskDeleteOptionTypes": { + "type": "string", + "description": "Specifies the behavior of the managed disk when the VM gets deleted, for\nexample whether the managed disk is deleted or detached. Supported values are:\n**Delete.** If this value is used, the managed disk is deleted when VM gets\ndeleted. **Detach.** If this value is used, the managed disk is retained after\nVM gets deleted. Minimum api-version: 2021-03-01.", + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "DiskDeleteOptionTypes", + "modelAsString": true, + "values": [ + { + "name": "Delete", + "value": "Delete" + }, + { + "name": "Detach", + "value": "Detach" + } + ] + } + }, + "DiskEncryptionSetParameters": { + "type": "object", + "description": "Describes the parameter of customer managed disk encryption set resource id\nthat can be specified for disk. **Note:** The disk encryption set resource id\ncan only be specified for managed disk. Please refer\nhttps://aka.ms/mdssewithcmkoverview for more details.", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + } + }, + "DomainNameLabelScopeTypes": { + "type": "string", + "description": "The Domain name label scope.The concatenation of the hashed domain name label\nthat generated according to the policy from domain name label scope and vm\nindex will be the domain name labels of the PublicIPAddress resources that will\nbe created", + "enum": [ + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "DomainNameLabelScopeTypes", + "modelAsString": true, + "values": [ + { + "name": "TenantReuse", + "value": "TenantReuse" + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse" + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse" + }, + { + "name": "NoReuse", + "value": "NoReuse" + } + ] + } + }, + "EncryptionIdentity": { + "type": "object", + "description": "Specifies the Managed Identity used by ADE to get access token for keyvault\noperations.", + "properties": { + "userAssignedIdentityResourceId": { + "type": "string", + "description": "Specifies ARM Resource ID of one of the user identities associated with the VM." + } + } + }, "EvictionPolicy": { "type": "string", "description": "Different kind of eviction policies", @@ -744,6 +1118,67 @@ } } }, + "IPVersion": { + "type": "string", + "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the\nspecific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible\nvalues are: 'IPv4' and 'IPv6'.", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "IPVersion", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4" + }, + { + "name": "IPv6", + "value": "IPv6" + } + ] + } + }, + "ImageReference": { + "type": "object", + "description": "Specifies information about the image to use. You can specify information about\nplatform images, marketplace images, or virtual machine images. This element is\nrequired when you want to use a platform image, marketplace image, or virtual\nmachine image, but is not used in other creation operations. NOTE: Image\nreference publisher and offer can only be set when you create the scale set.", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + }, + "publisher": { + "type": "string", + "description": "The image publisher." + }, + "offer": { + "type": "string", + "description": "Specifies the offer of the platform image or marketplace image used to create\nthe virtual machine." + }, + "sku": { + "type": "string", + "description": "The image SKU." + }, + "version": { + "type": "string", + "description": "Specifies the version of the platform image or marketplace image used to create\nthe virtual machine. The allowed formats are Major.Minor.Build or 'latest'.\nMajor, Minor, and Build are decimal numbers. Specify 'latest' to use the latest\nversion of an image available at deploy time. Even if you use 'latest', the VM\nimage will not automatically update after deploy time even if a new version\nbecomes available. Please do not use field 'version' for gallery image\ndeployment, gallery image should always use 'id' field for deployment, to use\n'latest' version of gallery image, just set\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'\nin the 'id' field without version input." + }, + "exactVersion": { + "type": "string", + "description": "Specifies in decimal numbers, the version of platform image or marketplace\nimage used to create the virtual machine. This readonly field differs from\n'version', only if the value specified in 'version' field is 'latest'.", + "readOnly": true + }, + "sharedGalleryImageId": { + "type": "string", + "description": "Specified the shared gallery image unique id for vm deployment. This can be\nfetched from shared gallery image GET call." + }, + "communityGalleryImageId": { + "type": "string", + "description": "Specified the community gallery image unique id for vm deployment. This can be\nfetched from community gallery image GET call." + } + } + }, "InnerError": { "type": "object", "description": "Inner error details.", @@ -758,30 +1193,371 @@ } } }, - "ManagedServiceIdentityUpdate": { + "InstanceViewStatus": { "type": "object", - "description": "The template for adding optional properties.", + "description": "Instance view status.", "properties": { - "type": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", - "description": "The type of managed identity assigned to this resource." + "code": { + "type": "string", + "description": "The status code." }, - "userAssignedIdentities": { - "type": "object", - "description": "The identities assigned to this resource by the user.", - "x-nullable": true, - "additionalProperties": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" - } + "level": { + "$ref": "#/definitions/StatusLevelTypes", + "description": "The level code." + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." } } }, - "ProvisioningState": { - "type": "string", - "description": "The status of the current operation.", - "enum": [ - "Succeeded", - "Failed", + "KeyVaultSecretReference": { + "type": "object", + "description": "Describes a reference to Key Vault Secret", + "properties": { + "secretUrl": { + "type": "string", + "description": "The URL referencing a secret in a Key Vault." + }, + "sourceVault": { + "$ref": "#/definitions/SubResource", + "description": "The relative URL of the Key Vault containing the secret." + } + }, + "required": [ + "secretUrl", + "sourceVault" + ] + }, + "LinuxConfiguration": { + "type": "object", + "description": "Specifies the Linux operating system settings on the virtual machine. For a\nlist of supported Linux distributions, see [Linux on Azure-Endorsed\nDistributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).", + "properties": { + "disablePasswordAuthentication": { + "type": "boolean", + "description": "Specifies whether password authentication should be disabled." + }, + "ssh": { + "$ref": "#/definitions/SshConfiguration", + "description": "Specifies the ssh key configuration for a Linux OS." + }, + "provisionVMAgent": { + "type": "boolean", + "description": "Indicates whether virtual machine agent should be provisioned on the virtual\nmachine. When this property is not specified in the request body, default\nbehavior is to set it to true. This will ensure that VM Agent is installed on\nthe VM so that extensions can be added to the VM later." + }, + "patchSettings": { + "$ref": "#/definitions/LinuxPatchSettings", + "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux." + }, + "enableVMAgentPlatformUpdates": { + "type": "boolean", + "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual\nmachine. Default value is false." + } + } + }, + "LinuxPatchAssessmentMode": { + "type": "string", + "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "LinuxPatchAssessmentMode", + "modelAsString": true, + "values": [ + { + "name": "ImageDefault", + "value": "ImageDefault" + }, + { + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform" + } + ] + } + }, + "LinuxPatchSettings": { + "type": "object", + "description": "Specifies settings related to VM Guest Patching on Linux.", + "properties": { + "patchMode": { + "$ref": "#/definitions/LinuxVMGuestPatchMode", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**ImageDefault** - The\nvirtual machine's default patching configuration is used.

\n**AutomaticByPlatform** - The virtual machine will be automatically updated by\nthe platform. The property provisionVMAgent must be true" + }, + "assessmentMode": { + "$ref": "#/definitions/LinuxPatchAssessmentMode", + "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true." + }, + "automaticByPlatformSettings": { + "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformSettings", + "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest\nPatching on Linux." + } + } + }, + "LinuxVMGuestPatchAutomaticByPlatformRebootSetting": { + "type": "string", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations.", + "enum": [ + "Unknown", + "IfRequired", + "Never", + "Always" + ], + "x-ms-enum": { + "name": "LinuxVMGuestPatchAutomaticByPlatformRebootSetting", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "IfRequired", + "value": "IfRequired" + }, + { + "name": "Never", + "value": "Never" + }, + { + "name": "Always", + "value": "Always" + } + ] + } + }, + "LinuxVMGuestPatchAutomaticByPlatformSettings": { + "type": "object", + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform\nis selected in Linux patch settings.", + "properties": { + "rebootSetting": { + "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformRebootSetting", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations." + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "type": "boolean", + "description": "Enables customer to schedule patching without accidental upgrades" + } + } + }, + "LinuxVMGuestPatchMode": { + "type": "string", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**ImageDefault** - The\nvirtual machine's default patching configuration is used.

\n**AutomaticByPlatform** - The virtual machine will be automatically updated by\nthe platform. The property provisionVMAgent must be true", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "LinuxVMGuestPatchMode", + "modelAsString": true, + "values": [ + { + "name": "ImageDefault", + "value": "ImageDefault" + }, + { + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform" + } + ] + } + }, + "ManagedServiceIdentityUpdate": { + "type": "object", + "description": "The template for adding optional properties.", + "properties": { + "type": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "x-nullable": true, + "additionalProperties": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } + } + } + }, + "Mode": { + "type": "string", + "description": "Specifies the mode that ProxyAgent will execute on if the feature is enabled.\nProxyAgent will start to audit or monitor but not enforce access control over\nrequests to host endpoints in Audit mode, while in Enforce mode it will enforce\naccess control. The default value is Enforce mode.", + "enum": [ + "Audit", + "Enforce" + ], + "x-ms-enum": { + "name": "Mode", + "modelAsString": true, + "values": [ + { + "name": "Audit", + "value": "Audit" + }, + { + "name": "Enforce", + "value": "Enforce" + } + ] + } + }, + "NetworkApiVersion": { + "type": "string", + "description": "specifies the Microsoft.Network API version used when creating networking\nresources in the Network Interface Configurations for Virtual Machine Scale Set\nwith orchestration mode 'Flexible'", + "enum": [ + "2020-11-01" + ], + "x-ms-enum": { + "name": "NetworkApiVersion", + "modelAsString": true, + "values": [ + { + "name": "2020-11-01", + "value": "2020-11-01" + } + ] + } + }, + "NetworkInterfaceAuxiliaryMode": { + "type": "string", + "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface\nresource.", + "enum": [ + "None", + "AcceleratedConnections", + "Floating" + ], + "x-ms-enum": { + "name": "NetworkInterfaceAuxiliaryMode", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "AcceleratedConnections", + "value": "AcceleratedConnections" + }, + { + "name": "Floating", + "value": "Floating" + } + ] + } + }, + "NetworkInterfaceAuxiliarySku": { + "type": "string", + "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface\nresource.", + "enum": [ + "None", + "A1", + "A2", + "A4", + "A8" + ], + "x-ms-enum": { + "name": "NetworkInterfaceAuxiliarySku", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "A1", + "value": "A1" + }, + { + "name": "A2", + "value": "A2" + }, + { + "name": "A4", + "value": "A4" + }, + { + "name": "A8", + "value": "A8" + } + ] + } + }, + "OSImageNotificationProfile": { + "type": "object", + "properties": { + "notBeforeTimeout": { + "type": "string", + "description": "Length of time a Virtual Machine being reimaged or having its OS upgraded will\nhave to potentially approve the OS Image Scheduled Event before the event is\nauto approved (timed out). The configuration is specified in ISO 8601 format,\nand the value must be 15 minutes (PT15M)" + }, + "enable": { + "type": "boolean", + "description": "Specifies whether the OS Image Scheduled event is enabled or disabled." + } + } + }, + "OperatingSystemTypes": { + "type": "string", + "description": "This property allows you to specify the type of the OS that is included in the\ndisk if creating a VM from user-image or a specialized VHD. Possible values\nare: **Windows,** **Linux.**", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": false + } + }, + "PatchSettings": { + "type": "object", + "description": "Specifies settings related to VM Guest Patching on Windows.", + "properties": { + "patchMode": { + "$ref": "#/definitions/WindowsVMGuestPatchMode", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**Manual** - You\ncontrol the application of patches to a virtual machine. You do this by\napplying patches manually inside the VM. In this mode, automatic updates are\ndisabled; the property WindowsConfiguration.enableAutomaticUpdates must be\nfalse

**AutomaticByOS** - The virtual machine will automatically be\nupdated by the OS. The property WindowsConfiguration.enableAutomaticUpdates\nmust be true.

**AutomaticByPlatform** - the virtual machine will\nautomatically updated by the platform. The properties provisionVMAgent and\nWindowsConfiguration.enableAutomaticUpdates must be true" + }, + "enableHotpatching": { + "type": "boolean", + "description": "Enables customers to patch their Azure VMs without requiring a reboot. For\nenableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode'\nmust be set to 'AutomaticByPlatform'." + }, + "assessmentMode": { + "$ref": "#/definitions/WindowsPatchAssessmentMode", + "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true." + }, + "automaticByPlatformSettings": { + "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformSettings", + "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest\nPatching on Windows." + } + } + }, + "ProtocolTypes": { + "type": "string", + "description": "Specifies the protocol of WinRM listener. Possible values are: **http,**\n**https.**", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": { + "name": "ProtocolTypes", + "modelAsString": false + } + }, + "ProvisioningState": { + "type": "string", + "description": "The status of the current operation.", + "enum": [ + "Succeeded", + "Failed", "Canceled", "Creating", "Updating", @@ -831,6 +1607,83 @@ }, "readOnly": true }, + "ProxyAgentSettings": { + "type": "object", + "description": "Specifies ProxyAgent settings while creating the virtual machine. Minimum\napi-version: 2023-09-01.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Specifies whether ProxyAgent feature should be enabled on the virtual machine\nor virtual machine scale set." + }, + "mode": { + "$ref": "#/definitions/Mode", + "description": "Specifies the mode that ProxyAgent will execute on if the feature is enabled.\nProxyAgent will start to audit or monitor but not enforce access control over\nrequests to host endpoints in Audit mode, while in Enforce mode it will enforce\naccess control. The default value is Enforce mode." + }, + "keyIncarnationId": { + "type": "integer", + "format": "int32", + "description": "Increase the value of this property allows user to reset the key used for\nsecuring communication channel between guest and host." + } + } + }, + "PublicIPAddressSku": { + "type": "object", + "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as\nFlexible.", + "properties": { + "name": { + "$ref": "#/definitions/PublicIPAddressSkuName", + "description": "Specify public IP sku name" + }, + "tier": { + "$ref": "#/definitions/PublicIPAddressSkuTier", + "description": "Specify public IP sku tier" + } + } + }, + "PublicIPAddressSkuName": { + "type": "string", + "description": "Specify public IP sku name", + "enum": [ + "Basic", + "Standard" + ], + "x-ms-enum": { + "name": "PublicIPAddressSkuName", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic" + }, + { + "name": "Standard", + "value": "Standard" + } + ] + } + }, + "PublicIPAddressSkuTier": { + "type": "string", + "description": "Specify public IP sku tier", + "enum": [ + "Regional", + "Global" + ], + "x-ms-enum": { + "name": "PublicIPAddressSkuTier", + "modelAsString": true, + "values": [ + { + "name": "Regional", + "value": "Regional" + }, + { + "name": "Global", + "value": "Global" + } + ] + } + }, "RegularPriorityAllocationStrategy": { "type": "string", "description": "Regular VM Allocation strategy types for Compute Fleet", @@ -897,33 +1750,192 @@ } } }, - "SpotAllocationStrategy": { - "type": "string", - "description": "Spot allocation strategy types for Compute Fleet", - "enum": [ - "PriceCapacityOptimized", - "LowestPrice", - "CapacityOptimized" - ], - "x-ms-enum": { - "name": "SpotAllocationStrategy", - "modelAsString": true, - "values": [ - { - "name": "PriceCapacityOptimized", - "value": "PriceCapacityOptimized", - "description": "Default. VM sizes distribution will be determined to optimize for both price and capacity." - }, - { - "name": "LowestPrice", - "value": "LowestPrice", - "description": "VM sizes distribution will be determined to optimize for price. Note: Capacity will still be considered here but will be given much less weight." - }, - { - "name": "CapacityOptimized", - "value": "CapacityOptimized", - "description": "VM sizes distribution will be determined to optimize for capacity." - } + "ResourceWithOptionalLocation": { + "type": "object", + "description": "The Resource model definition with location property as optional.", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ScheduledEventsProfile": { + "type": "object", + "properties": { + "terminateNotificationProfile": { + "$ref": "#/definitions/TerminateNotificationProfile", + "description": "Specifies Terminate Scheduled Event related configurations." + }, + "osImageNotificationProfile": { + "$ref": "#/definitions/OSImageNotificationProfile", + "description": "Specifies OS Image Scheduled Event related configurations." + } + } + }, + "SecurityEncryptionTypes": { + "type": "string", + "description": "Specifies the EncryptionType of the managed disk. It is set to\nDiskWithVMGuestState for encryption of the managed disk along with VMGuestState\nblob, VMGuestStateOnly for encryption of just the VMGuestState blob, and\nNonPersistedTPM for not persisting firmware state in the VMGuestState blob..\n**Note:** It can be set for only Confidential VMs.", + "enum": [ + "VMGuestStateOnly", + "DiskWithVMGuestState", + "NonPersistedTPM" + ], + "x-ms-enum": { + "name": "SecurityEncryptionTypes", + "modelAsString": true, + "values": [ + { + "name": "VMGuestStateOnly", + "value": "VMGuestStateOnly" + }, + { + "name": "DiskWithVMGuestState", + "value": "DiskWithVMGuestState" + }, + { + "name": "NonPersistedTPM", + "value": "NonPersistedTPM" + } + ] + } + }, + "SecurityPostureReference": { + "type": "object", + "description": "Specifies the security posture to be used for all virtual machines in the scale\nset. Minimum api-version: 2023-03-01", + "properties": { + "id": { + "type": "string", + "description": "The security posture reference id in the form of\n/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest" + }, + "excludeExtensions": { + "type": "array", + "description": "List of virtual machine extensions to exclude when applying the Security\nPosture.", + "items": { + "$ref": "#/definitions/VirtualMachineExtension" + } + } + } + }, + "SecurityProfile": { + "type": "object", + "description": "Specifies the Security profile settings for the virtual machine or virtual\nmachine scale set.", + "properties": { + "uefiSettings": { + "$ref": "#/definitions/UefiSettings", + "description": "Specifies the security settings like secure boot and vTPM used while creating\nthe virtual machine. Minimum api-version: 2020-12-01." + }, + "encryptionAtHost": { + "type": "boolean", + "description": "This property can be used by user in the request to enable or disable the Host\nEncryption for the virtual machine or virtual machine scale set. This will\nenable the encryption for all the disks including Resource/Temp disk at host\nitself. The default behavior is: The Encryption at host will be disabled unless\nthis property is set to true for the resource." + }, + "securityType": { + "$ref": "#/definitions/SecurityTypes", + "description": "Specifies the SecurityType of the virtual machine. It has to be set to any\nspecified value to enable UefiSettings. The default behavior is: UefiSettings\nwill not be enabled unless this property is set." + }, + "encryptionIdentity": { + "$ref": "#/definitions/EncryptionIdentity", + "description": "Specifies the Managed Identity used by ADE to get access token for keyvault\noperations." + }, + "proxyAgentSettings": { + "$ref": "#/definitions/ProxyAgentSettings", + "description": "Specifies ProxyAgent settings while creating the virtual machine. Minimum\napi-version: 2023-09-01." + } + } + }, + "SecurityTypes": { + "type": "string", + "description": "Specifies the SecurityType of the virtual machine. It has to be set to any\nspecified value to enable UefiSettings. The default behavior is: UefiSettings\nwill not be enabled unless this property is set.", + "enum": [ + "TrustedLaunch", + "ConfidentialVM" + ], + "x-ms-enum": { + "name": "SecurityTypes", + "modelAsString": true, + "values": [ + { + "name": "TrustedLaunch", + "value": "TrustedLaunch" + }, + { + "name": "ConfidentialVM", + "value": "ConfidentialVM" + } + ] + } + }, + "ServiceArtifactReference": { + "type": "object", + "description": "Specifies the service artifact reference id used to set same image version for\nall virtual machines in the scale set when using 'latest' image version.\nMinimum api-version: 2022-11-01", + "properties": { + "id": { + "type": "string", + "description": "The service artifact reference id in the form of\n/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}" + } + } + }, + "SettingNames": { + "type": "string", + "description": "Specifies the name of the setting to which the content applies. Possible values\nare: FirstLogonCommands and AutoLogon.", + "enum": [ + "AutoLogon", + "FirstLogonCommands" + ], + "x-ms-enum": { + "name": "SettingNames", + "modelAsString": false + } + }, + "SpotAllocationStrategy": { + "type": "string", + "description": "Spot allocation strategy types for Compute Fleet", + "enum": [ + "PriceCapacityOptimized", + "LowestPrice", + "CapacityOptimized" + ], + "x-ms-enum": { + "name": "SpotAllocationStrategy", + "modelAsString": true, + "values": [ + { + "name": "PriceCapacityOptimized", + "value": "PriceCapacityOptimized", + "description": "Default. VM sizes distribution will be determined to optimize for both price and capacity." + }, + { + "name": "LowestPrice", + "value": "LowestPrice", + "description": "VM sizes distribution will be determined to optimize for price. Note: Capacity will still be considered here but will be given much less weight." + }, + { + "name": "CapacityOptimized", + "value": "CapacityOptimized", + "description": "VM sizes distribution will be determined to optimize for capacity." + } ] } }, @@ -958,70 +1970,1240 @@ } } }, - "VirtualMachineScaleSet": { + "SshConfiguration": { "type": "object", - "description": "An AzureFleet's virtualMachineScaleSet", + "description": "SSH configuration for Linux based VMs running on Azure", "properties": { - "name": { + "publicKeys": { + "type": "array", + "description": "The list of SSH public keys used to authenticate with linux based VMs.", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "x-ms-identifiers": [ + "path" + ] + } + } + }, + "SshPublicKey": { + "type": "object", + "description": "Contains information about SSH certificate public key and the path on the Linux\nVM where the public key is placed.", + "properties": { + "path": { "type": "string", - "description": "The name of the virtualMachineScaleSet", - "readOnly": true + "description": "Specifies the full path on the created VM where ssh public key is stored. If\nthe file already exists, the specified key is appended to the file. Example:\n/home/user/.ssh/authorized_keys" }, + "keyData": { + "type": "string", + "description": "SSH public key certificate used to authenticate with the VM through ssh. The\nkey needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys,\nsee [Create SSH keys on Linux and Mac for Linux VMs in\nAzure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." + } + } + }, + "StatusLevelTypes": { + "type": "string", + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "StatusLevelTypes", + "modelAsString": false + } + }, + "StorageAccountTypes": { + "type": "string", + "description": "Specifies the storage account type for the managed disk. Managed OS disk\nstorage account type can only be set when you create the scale set. NOTE:\nUltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk.\nStandard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS\nuses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD\nzone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant\nstorage. For more information regarding disks supported for Windows Virtual\nMachines, refer to\nhttps://docs.microsoft.com/azure/virtual-machines/windows/disks-types and, for\nLinux Virtual Machines, refer to\nhttps://docs.microsoft.com/azure/virtual-machines/linux/disks-types", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ], + "x-ms-enum": { + "name": "StorageAccountTypes", + "modelAsString": true, + "values": [ + { + "name": "Standard_LRS", + "value": "Standard_LRS" + }, + { + "name": "Premium_LRS", + "value": "Premium_LRS" + }, + { + "name": "StandardSSD_LRS", + "value": "StandardSSD_LRS" + }, + { + "name": "UltraSSD_LRS", + "value": "UltraSSD_LRS" + }, + { + "name": "Premium_ZRS", + "value": "Premium_ZRS" + }, + { + "name": "StandardSSD_ZRS", + "value": "StandardSSD_ZRS" + }, + { + "name": "PremiumV2_LRS", + "value": "PremiumV2_LRS" + } + ] + } + }, + "SubResource": { + "type": "object", + "properties": { "id": { "type": "string", - "description": "The compute RP resource id of the virtualMachineScaleSet \n\"subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}\"", - "readOnly": true - }, - "type": { + "description": "Resource Id" + } + } + }, + "SubResourceReadOnly": { + "type": "object", + "properties": { + "id": { "type": "string", - "description": "Type of the virtualMachineScaleSet", + "description": "Resource Id", "readOnly": true + } + } + }, + "TerminateNotificationProfile": { + "type": "object", + "properties": { + "notBeforeTimeout": { + "type": "string", + "description": "Configurable length of time a Virtual Machine being deleted will have to\npotentially approve the Terminate Scheduled Event before the event is auto\napproved (timed out). The configuration must be specified in ISO 8601 format,\nthe default value is 5 minutes (PT5M)" }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "This represents the Provisioning State of the VMSS in response to the last operation that was performed on it by Azure Fleet resource.", - "readOnly": true + "enable": { + "type": "boolean", + "description": "Specifies whether the Terminate Scheduled event is enabled or disabled." } - }, - "required": [ - "name", - "id", - "provisioningState" - ] + } }, - "VirtualMachineScaleSetListResult": { + "UefiSettings": { "type": "object", - "description": "The response of a VirtualMachineScaleSet list operation.", + "description": "Specifies the security settings like secure boot and vTPM used while creating\nthe virtual machine. Minimum api-version: 2020-12-01.", "properties": { - "value": { - "type": "array", - "description": "The VirtualMachineScaleSet items on this page", - "items": { - "$ref": "#/definitions/VirtualMachineScaleSet" - } + "secureBootEnabled": { + "type": "boolean", + "description": "Specifies whether secure boot should be enabled on the virtual machine. Minimum\napi-version: 2020-12-01." }, - "nextLink": { + "vTpmEnabled": { + "type": "boolean", + "description": "Specifies whether vTPM should be enabled on the virtual machine. Minimum\napi-version: 2020-12-01." + } + } + }, + "VMDiskSecurityProfile": { + "type": "object", + "description": "Specifies the security profile settings for the managed disk. **Note:** It can\nonly be set for Confidential VMs.", + "properties": { + "securityEncryptionType": { + "$ref": "#/definitions/SecurityEncryptionTypes", + "description": "Specifies the EncryptionType of the managed disk. It is set to\nDiskWithVMGuestState for encryption of the managed disk along with VMGuestState\nblob, VMGuestStateOnly for encryption of just the VMGuestState blob, and\nNonPersistedTPM for not persisting firmware state in the VMGuestState blob..\n**Note:** It can be set for only Confidential VMs." + }, + "diskEncryptionSet": { + "$ref": "#/definitions/DiskEncryptionSetParameters", + "description": "Specifies the customer managed disk encryption set resource id for the managed\ndisk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and\nVMGuest blob." + } + } + }, + "VMGalleryApplication": { + "type": "object", + "description": "Specifies the required information to reference a compute gallery application\nversion", + "properties": { + "tags": { "type": "string", - "format": "uri", - "description": "The link to the next page of items" + "description": "Optional, Specifies a passthrough value for more generic context." + }, + "order": { + "type": "integer", + "format": "int32", + "description": "Optional, Specifies the order in which the packages have to be installed" + }, + "packageReferenceId": { + "type": "string", + "description": "Specifies the GalleryApplicationVersion resource id on the form of\n/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}" + }, + "configurationReference": { + "type": "string", + "description": "Optional, Specifies the uri to an azure blob that will replace the default\nconfiguration for the package if provided" + }, + "treatFailureAsDeploymentFailure": { + "type": "boolean", + "description": "Optional, If true, any failure for any operation in the VmApplication will fail\nthe deployment" + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "If set to true, when a new Gallery Application version is available in PIR/SIG,\nit will be automatically updated for the VM/VMSS" } }, "required": [ - "value" + "packageReferenceId" ] }, - "VmSizeProfile": { + "VMSizeProperties": { "type": "object", - "description": "Specifications about a VM Size. This will also contain the corresponding rank and weight in future.", + "description": "Specifies VM Size Property settings on the virtual machine.", "properties": { - "name": { + "vCPUsAvailable": { + "type": "integer", + "format": "int32", + "description": "Specifies the number of vCPUs available for the VM. When this property is not\nspecified in the request body the default behavior is to set it to the value of\nvCPUs available for that VM size exposed in api response of [List all available\nvirtual machine sizes in a\nregion](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)." + }, + "vCPUsPerCore": { + "type": "integer", + "format": "int32", + "description": "Specifies the vCPU to physical core ratio. When this property is not specified\nin the request body the default behavior is set to the value of vCPUsPerCore\nfor the VM Size exposed in api response of [List all available virtual machine\nsizes in a\nregion](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list).\n**Setting this property to 1 also means that hyper-threading is disabled.**" + } + } + }, + "VaultCertificate": { + "type": "object", + "description": "Describes a single certificate reference in a Key Vault, and where the\ncertificate should reside on the VM.", + "properties": { + "certificateUrl": { "type": "string", - "description": "The Sku name (e.g. 'Standard_DS1_v2')" + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a\nsecret. For adding a secret to the Key Vault, see [Add a key or secret to the\nkey\nvault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add).\nIn this case, your certificate needs to be It is the Base64 encoding of the\nfollowing JSON Object which is encoded in UTF-8:

{
\n\"data\":\"\",
\"dataType\":\"pfx\",
\n\"password\":\"\"
}
To install certificates on a virtual\nmachine it is recommended to use the [Azure Key Vault virtual machine extension\nfor\nLinux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)\nor the [Azure Key Vault virtual machine extension for\nWindows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + }, + "certificateStore": { + "type": "string", + "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to\nwhich the certificate should be added. The specified certificate store is\nimplicitly in the LocalMachine account. For Linux VMs, the certificate file is\nplaced under the /var/lib/waagent directory, with the file name\n<UppercaseThumbprint>.crt for the X509 certificate file and\n<UppercaseThumbprint>.prv for private key. Both of these files are .pem\nformatted." } - }, - "required": [ - "name" - ] + } + }, + "VaultSecretGroup": { + "type": "object", + "description": "Describes a set of certificates which are all in the same Key Vault.", + "properties": { + "sourceVault": { + "$ref": "#/definitions/SubResource", + "description": "The relative URL of the Key Vault containing all of the certificates in\nVaultCertificates." + }, + "vaultCertificates": { + "type": "array", + "description": "The list of key vault references in SourceVault which contain certificates.", + "items": { + "$ref": "#/definitions/VaultCertificate" + }, + "x-ms-identifiers": [ + "certificateUrl" + ] + } + } + }, + "VirtualHardDisk": { + "type": "object", + "description": "Describes the uri of a disk.", + "properties": { + "uri": { + "type": "string", + "description": "Specifies the virtual hard disk's uri." + } + } + }, + "VirtualMachineEvictionPolicyTypes": { + "type": "string", + "description": "Specifies the eviction policy for the Azure Spot VM/VMSS", + "enum": [ + "Deallocate", + "Delete" + ], + "x-ms-enum": { + "name": "VirtualMachineEvictionPolicyTypes", + "modelAsString": true, + "values": [ + { + "name": "Deallocate", + "value": "Deallocate" + }, + { + "name": "Delete", + "value": "Delete" + } + ] + } + }, + "VirtualMachineExtension": { + "type": "object", + "description": "Describes a Virtual Machine Extension.", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/VirtualMachineExtensionProperties", + "description": "Describes the properties of a Virtual Machine Extension." + } + } + }, + "VirtualMachineExtensionInstanceView": { + "type": "object", + "description": "The instance view of a virtual machine extension.", + "properties": { + "name": { + "type": "string", + "description": "The virtual machine extension name." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "substatuses": { + "type": "array", + "description": "The resource status information.", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "x-ms-identifiers": [] + }, + "statuses": { + "type": "array", + "description": "The resource status information.", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "x-ms-identifiers": [] + } + } + }, + "VirtualMachineExtensionProperties": { + "type": "object", + "description": "Describes the properties of a Virtual Machine Extension.", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension\nconfiguration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is\navailable at deployment time. Once deployed, however, the extension will not\nupgrade minor versions unless redeployed, even with this property set to true." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the\nplatform if there is a newer version of the extension available." + }, + "settings": { + "type": "object", + "description": "Json formatted public settings for the extension.", + "additionalProperties": {} + }, + "protectedSettings": { + "type": "object", + "description": "The extension can contain either protectedSettings or\nprotectedSettingsFromKeyVault or no protected settings at all.", + "additionalProperties": {} + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state, which only appears in the response.", + "readOnly": true + }, + "instanceView": { + "$ref": "#/definitions/VirtualMachineExtensionInstanceView", + "description": "The virtual machine extension instance view." + }, + "suppressFailures": { + "type": "boolean", + "description": "Indicates whether failures stemming from the extension will be suppressed\n(Operational failures such as not connecting to the VM will not be suppressed\nregardless of this value). The default is false." + }, + "protectedSettingsFromKeyVault": { + "$ref": "#/definitions/KeyVaultSecretReference", + "description": "The extensions protected settings that are passed by reference, and consumed\nfrom key vault" + }, + "provisionAfterExtensions": { + "type": "array", + "description": "Collection of extension names after which this extension needs to be\nprovisioned.", + "items": { + "type": "string" + } + } + } + }, + "VirtualMachinePriorityTypes": { + "type": "string", + "description": "Specifies the priority for a standalone virtual machine or the virtual machines\nin the scale set. 'Low' enum will be deprecated in the future, please use\n'Spot' as the enum to deploy Azure Spot VM/VMSS.", + "enum": [ + "Regular", + "Low", + "Spot" + ], + "x-ms-enum": { + "name": "VirtualMachinePriorityTypes", + "modelAsString": true, + "values": [ + { + "name": "Regular", + "value": "Regular" + }, + { + "name": "Low", + "value": "Low" + }, + { + "name": "Spot", + "value": "Spot" + } + ] + } + }, + "VirtualMachineScaleSet": { + "type": "object", + "description": "An AzureFleet's virtualMachineScaleSet", + "properties": { + "name": { + "type": "string", + "description": "The name of the virtualMachineScaleSet", + "readOnly": true + }, + "id": { + "type": "string", + "description": "The compute RP resource id of the virtualMachineScaleSet \n\"subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}\"", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the virtualMachineScaleSet", + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "This represents the Provisioning State of the VMSS in response to the last operation that was performed on it by Azure Fleet resource.", + "readOnly": true + } + }, + "required": [ + "name", + "id", + "provisioningState" + ] + }, + "VirtualMachineScaleSetDataDisk": { + "type": "object", + "description": "Describes a virtual machine scale set data disk.", + "properties": { + "name": { + "type": "string", + "description": "The disk name." + }, + "lun": { + "type": "integer", + "format": "int32", + "description": "Specifies the logical unit number of the data disk. This value is used to\nidentify data disks within the VM and therefore must be unique for each data\ndisk attached to a VM." + }, + "caching": { + "$ref": "#/definitions/CachingTypes", + "description": "Specifies the caching requirements. Possible values are: **None,**\n**ReadOnly,** **ReadWrite.** The default values are: **None for Standard\nstorage. ReadOnly for Premium storage.**" + }, + "writeAcceleratorEnabled": { + "type": "boolean", + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + }, + "createOption": { + "$ref": "#/definitions/DiskCreateOptionTypes", + "description": "The create option." + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used\nto overwrite the size of the disk in a virtual machine image. The property\ndiskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be\nlarger than 1023." + }, + "managedDisk": { + "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters", + "description": "The managed disk parameters." + }, + "diskIOPSReadWrite": { + "type": "integer", + "format": "int64", + "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when\nStorageAccountType is UltraSSD_LRS. If not specified, a default value would be\nassigned based on diskSizeGB.", + "x-ms-client-name": "diskIopsReadWrite" + }, + "diskMBpsReadWrite": { + "type": "integer", + "format": "int64", + "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used\nonly when StorageAccountType is UltraSSD_LRS. If not specified, a default value\nwould be assigned based on diskSizeGB." + }, + "deleteOption": { + "$ref": "#/definitions/DiskDeleteOptionTypes", + "description": "Specifies whether data disk should be deleted or detached upon VMSS Flex\ndeletion (This feature is available for VMSS with Flexible OrchestrationMode\nonly).

Possible values:

**Delete** If this value is used, the\ndata disk is deleted when the VMSS Flex VM is deleted.

**Detach** If\nthis value is used, the data disk is retained after VMSS Flex VM is\ndeleted.

The default value is set to **Delete**." + } + }, + "required": [ + "lun", + "createOption" + ] + }, + "VirtualMachineScaleSetExtension": { + "type": "object", + "description": "Describes a Virtual Machine Scale Set Extension.", + "properties": { + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of the extension." + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties", + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + } + } + }, + "VirtualMachineScaleSetExtensionProfile": { + "type": "object", + "description": "Describes a virtual machine scale set extension profile.", + "properties": { + "extensions": { + "type": "array", + "description": "The virtual machine scale set child extension resources.", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetExtension" + } + }, + "extensionsTimeBudget": { + "type": "string", + "description": "Specifies the time alloted for all extensions to start. The time duration\nshould be between 15 minutes and 120 minutes (inclusive) and should be\nspecified in ISO 8601 format. The default value is 90 minutes (PT1H30M).\nMinimum api-version: 2020-06-01." + } + } + }, + "VirtualMachineScaleSetExtensionProperties": { + "type": "object", + "description": "Describes the properties of a Virtual Machine Scale Set Extension.", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "If a value is provided and is different from the previous value, the extension\nhandler will be forced to update even if the extension configuration has not\nchanged." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is\navailable at deployment time. Once deployed, however, the extension will not\nupgrade minor versions unless redeployed, even with this property set to true." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the\nplatform if there is a newer version of the extension available." + }, + "settings": { + "type": "object", + "description": "Json formatted public settings for the extension.", + "additionalProperties": {} + }, + "protectedSettings": { + "type": "object", + "description": "The extension can contain either protectedSettings or\nprotectedSettingsFromKeyVault or no protected settings at all.", + "additionalProperties": {} + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state, which only appears in the response.", + "readOnly": true + }, + "provisionAfterExtensions": { + "type": "array", + "description": "Collection of extension names after which this extension needs to be\nprovisioned.", + "items": { + "type": "string" + } + }, + "suppressFailures": { + "type": "boolean", + "description": "Indicates whether failures stemming from the extension will be suppressed\n(Operational failures such as not connecting to the VM will not be suppressed\nregardless of this value). The default is false." + }, + "protectedSettingsFromKeyVault": { + "$ref": "#/definitions/KeyVaultSecretReference", + "description": "The extensions protected settings that are passed by reference, and consumed\nfrom key vault" + } + } + }, + "VirtualMachineScaleSetHardwareProfile": { + "type": "object", + "description": "Specifies the hardware settings for the virtual machine scale set.", + "properties": { + "vmSizeProperties": { + "$ref": "#/definitions/VMSizeProperties", + "description": "Specifies the properties for customizing the size of the virtual machine.\nMinimum api-version: 2021-11-01. Please follow the instructions in [VM\nCustomization](https://aka.ms/vmcustomization) for more details." + } + } + }, + "VirtualMachineScaleSetIPConfiguration": { + "type": "object", + "description": "Describes a virtual machine scale set network profile's IP configuration.", + "properties": { + "name": { + "type": "string", + "description": "The IP configuration name." + }, + "properties": { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties", + "description": "Describes a virtual machine scale set network profile's IP configuration\nproperties." + } + }, + "required": [ + "name" + ] + }, + "VirtualMachineScaleSetIPConfigurationProperties": { + "type": "object", + "description": "Describes a virtual machine scale set network profile's IP configuration\nproperties.", + "properties": { + "subnet": { + "$ref": "#/definitions/ApiEntityReference", + "description": "Specifies the identifier of the subnet." + }, + "primary": { + "type": "boolean", + "description": "Specifies the primary network interface in case the virtual machine has more\nthan 1 network interface." + }, + "publicIPAddressConfiguration": { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration", + "description": "The publicIPAddressConfiguration." + }, + "privateIPAddressVersion": { + "$ref": "#/definitions/IPVersion", + "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the\nspecific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible\nvalues are: 'IPv4' and 'IPv6'." + }, + "applicationGatewayBackendAddressPools": { + "type": "array", + "description": "Specifies an array of references to backend address pools of application\ngateways. A scale set can reference backend address pools of multiple\napplication gateways. Multiple scale sets cannot use the same application\ngateway.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "applicationSecurityGroups": { + "type": "array", + "description": "Specifies an array of references to application security group.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "loadBalancerBackendAddressPools": { + "type": "array", + "description": "Specifies an array of references to backend address pools of load balancers. A\nscale set can reference backend address pools of one public and one internal\nload balancer. Multiple scale sets cannot use the same basic sku load balancer.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "loadBalancerInboundNatPools": { + "type": "array", + "description": "Specifies an array of references to inbound Nat pools of the load balancers. A\nscale set can reference inbound nat pools of one public and one internal load\nbalancer. Multiple scale sets cannot use the same basic sku load balancer.", + "items": { + "$ref": "#/definitions/SubResource" + } + } + } + }, + "VirtualMachineScaleSetIpTag": { + "type": "object", + "description": "Contains the IP tag associated with the public IP address.", + "properties": { + "ipTagType": { + "type": "string", + "description": "IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "IP tag associated with the public IP. Example: SQL, Storage etc." + } + } + }, + "VirtualMachineScaleSetListResult": { + "type": "object", + "description": "The response of a VirtualMachineScaleSet list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualMachineScaleSet items on this page", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSet" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualMachineScaleSetManagedDiskParameters": { + "type": "object", + "description": "Describes the parameters of a ScaleSet managed disk.", + "properties": { + "storageAccountType": { + "$ref": "#/definitions/StorageAccountTypes", + "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can\nonly be used with data disks, it cannot be used with OS Disk." + }, + "diskEncryptionSet": { + "$ref": "#/definitions/DiskEncryptionSetParameters", + "description": "Specifies the customer managed disk encryption set resource id for the managed\ndisk." + }, + "securityProfile": { + "$ref": "#/definitions/VMDiskSecurityProfile", + "description": "Specifies the security profile for the managed disk." + } + } + }, + "VirtualMachineScaleSetNetworkConfiguration": { + "type": "object", + "description": "Describes a virtual machine scale set network profile's network configurations.", + "properties": { + "name": { + "type": "string", + "description": "The network configuration name." + }, + "properties": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties", + "description": "Describes a virtual machine scale set network profile's IP configuration." + } + }, + "required": [ + "name" + ] + }, + "VirtualMachineScaleSetNetworkConfigurationDnsSettings": { + "type": "object", + "description": "Describes a virtual machines scale sets network configuration's DNS settings.", + "properties": { + "dnsServers": { + "type": "array", + "description": "List of DNS servers IP addresses", + "items": { + "type": "string" + } + } + } + }, + "VirtualMachineScaleSetNetworkConfigurationProperties": { + "type": "object", + "description": "Describes a virtual machine scale set network profile's IP configuration.", + "properties": { + "primary": { + "type": "boolean", + "description": "Specifies the primary network interface in case the virtual machine has more\nthan 1 network interface." + }, + "enableAcceleratedNetworking": { + "type": "boolean", + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "disableTcpStateTracking": { + "type": "boolean", + "description": "Specifies whether the network interface is disabled for tcp state tracking." + }, + "enableFpga": { + "type": "boolean", + "description": "Specifies whether the network interface is FPGA networking-enabled." + }, + "networkSecurityGroup": { + "$ref": "#/definitions/SubResource", + "description": "The network security group." + }, + "dnsSettings": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings", + "description": "The dns settings to be applied on the network interfaces." + }, + "ipConfigurations": { + "type": "array", + "description": "Specifies the IP configurations of the network interface.", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "enableIPForwarding": { + "type": "boolean", + "description": "Whether IP forwarding enabled on this NIC." + }, + "deleteOption": { + "$ref": "#/definitions/DeleteOptions", + "description": "Specify what happens to the network interface when the VM is deleted" + }, + "auxiliaryMode": { + "$ref": "#/definitions/NetworkInterfaceAuxiliaryMode", + "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface\nresource." + }, + "auxiliarySku": { + "$ref": "#/definitions/NetworkInterfaceAuxiliarySku", + "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface\nresource." + } + }, + "required": [ + "ipConfigurations" + ] + }, + "VirtualMachineScaleSetNetworkProfile": { + "type": "object", + "description": "Describes a virtual machine scale set network profile.", + "properties": { + "healthProbe": { + "$ref": "#/definitions/ApiEntityReference", + "description": "A reference to a load balancer probe used to determine the health of an\ninstance in the virtual machine scale set. The reference will be in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'." + }, + "networkInterfaceConfigurations": { + "type": "array", + "description": "The list of network configurations.", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration" + }, + "x-ms-identifiers": [] + }, + "networkApiVersion": { + "$ref": "#/definitions/NetworkApiVersion", + "description": "specifies the Microsoft.Network API version used when creating networking\nresources in the Network Interface Configurations for Virtual Machine Scale Set\nwith orchestration mode 'Flexible'" + } + } + }, + "VirtualMachineScaleSetOSDisk": { + "type": "object", + "description": "Describes a virtual machine scale set operating system disk.", + "properties": { + "name": { + "type": "string", + "description": "The disk name." + }, + "caching": { + "$ref": "#/definitions/CachingTypes", + "description": "Specifies the caching requirements. Possible values are: **None,**\n**ReadOnly,** **ReadWrite.** The default values are: **None for Standard\nstorage. ReadOnly for Premium storage.**" + }, + "writeAcceleratorEnabled": { + "type": "boolean", + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + }, + "createOption": { + "$ref": "#/definitions/DiskCreateOptionTypes", + "description": "Specifies how the virtual machines in the scale set should be created. The only\nallowed value is: **FromImage.** This value is used when you are using an image\nto create the virtual machine. If you are using a platform image, you also use\nthe imageReference element described above. If you are using a marketplace\nimage, you also use the plan element previously described." + }, + "diffDiskSettings": { + "$ref": "#/definitions/DiffDiskSettings", + "description": "Specifies the ephemeral disk Settings for the operating system disk used by the\nvirtual machine scale set." + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used\nto overwrite the size of the disk in a virtual machine image. The property\n'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot\nbe larger than 1023." + }, + "osType": { + "$ref": "#/definitions/OperatingSystemTypes", + "description": "This property allows you to specify the type of the OS that is included in the\ndisk if creating a VM from user-image or a specialized VHD. Possible values\nare: **Windows,** **Linux.**" + }, + "image": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "Specifies information about the unmanaged user image to base the scale set on." + }, + "vhdContainers": { + "type": "array", + "description": "Specifies the container urls that are used to store operating system disks for\nthe scale set.", + "items": { + "type": "string" + } + }, + "managedDisk": { + "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters", + "description": "The managed disk parameters." + }, + "deleteOption": { + "$ref": "#/definitions/DiskDeleteOptionTypes", + "description": "Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion\n(This feature is available for VMSS with Flexible OrchestrationMode only).\n

Possible values:

**Delete** If this value is used, the OS\ndisk is deleted when VMSS Flex VM is deleted.

**Detach** If this value\nis used, the OS disk is retained after VMSS Flex VM is deleted.

The\ndefault value is set to **Delete**. For an Ephemeral OS Disk, the default value\nis set to **Delete**. User cannot change the delete option for Ephemeral OS\nDisk." + } + }, + "required": [ + "createOption" + ] + }, + "VirtualMachineScaleSetOSProfile": { + "type": "object", + "description": "Describes a virtual machine scale set OS profile.", + "properties": { + "computerNamePrefix": { + "type": "string", + "description": "Specifies the computer name prefix for all of the virtual machines in the scale\nset. Computer name prefixes must be 1 to 15 characters long." + }, + "adminUsername": { + "type": "string", + "description": "Specifies the name of the administrator account.

**Windows-only\nrestriction:** Cannot end in \".\"

**Disallowed values:**\n\"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\",\n\"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\",\n\"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\",\n\"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".\n

**Minimum-length (Linux):** 1 character

**Max-length\n(Linux):** 64 characters

**Max-length (Windows):** 20 characters" + }, + "adminPassword": { + "type": "string", + "description": "Specifies the password of the administrator account.

**Minimum-length\n(Windows):** 8 characters

**Minimum-length (Linux):** 6 characters\n

**Max-length (Windows):** 123 characters

**Max-length\n(Linux):** 72 characters

**Complexity requirements:** 3 out of 4\nconditions below need to be fulfilled
Has lower characters
Has upper\ncharacters
Has a digit
Has a special character (Regex match [\\W_])\n

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\",\n\"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\",\n\"Password22\", \"iloveyou!\"

For resetting the password, see [How to\nreset the Remote Desktop service or its login password in a Windows\nVM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)\n

For resetting root password, see [Manage users, SSH, and check or\nrepair disks on Azure Linux VMs using the VMAccess\nExtension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)" + }, + "customData": { + "type": "string", + "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string\nis decoded to a binary array that is saved as a file on the Virtual Machine.\nThe maximum length of the binary array is 65535 bytes. For using cloud-init for\nyour VM, see [Using cloud-init to customize a Linux VM during\ncreation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)" + }, + "windowsConfiguration": { + "$ref": "#/definitions/WindowsConfiguration", + "description": "Specifies Windows operating system settings on the virtual machine." + }, + "linuxConfiguration": { + "$ref": "#/definitions/LinuxConfiguration", + "description": "Specifies the Linux operating system settings on the virtual machine. For a\nlist of supported Linux distributions, see [Linux on Azure-Endorsed\nDistributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)." + }, + "secrets": { + "type": "array", + "description": "Specifies set of certificates that should be installed onto the virtual\nmachines in the scale set. To install certificates on a virtual machine it is\nrecommended to use the [Azure Key Vault virtual machine extension for\nLinux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)\nor the [Azure Key Vault virtual machine extension for\nWindows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + }, + "x-ms-identifiers": [ + "sourceVault/id" + ] + }, + "allowExtensionOperations": { + "type": "boolean", + "description": "Specifies whether extension operations should be allowed on the virtual machine\nscale set. This may only be set to False when no extensions are present on the\nvirtual machine scale set." + }, + "requireGuestProvisionSignal": { + "type": "boolean", + "description": "Optional property which must either be set to True or omitted." + } + } + }, + "VirtualMachineScaleSetPublicIPAddressConfiguration": { + "type": "object", + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress\nconfiguration", + "properties": { + "name": { + "type": "string", + "description": "The publicIP address configuration name." + }, + "properties": { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties", + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress\nconfiguration" + }, + "sku": { + "$ref": "#/definitions/PublicIPAddressSku", + "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as\nFlexible." + } + }, + "required": [ + "name" + ] + }, + "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": { + "type": "object", + "description": "Describes a virtual machines scale sets network configuration's DNS settings.", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "The Domain name label.The concatenation of the domain name label and vm index\nwill be the domain name labels of the PublicIPAddress resources that will be\ncreated" + }, + "domainNameLabelScope": { + "$ref": "#/definitions/DomainNameLabelScopeTypes", + "description": "The Domain name label scope.The concatenation of the hashed domain name label\nthat generated according to the policy from domain name label scope and vm\nindex will be the domain name labels of the PublicIPAddress resources that will\nbe created" + } + }, + "required": [ + "domainNameLabel" + ] + }, + "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": { + "type": "object", + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress\nconfiguration", + "properties": { + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The idle timeout of the public IP address." + }, + "dnsSettings": { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", + "description": "The dns settings to be applied on the publicIP addresses ." + }, + "ipTags": { + "type": "array", + "description": "The list of IP tags associated with the public IP address.", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetIpTag" + }, + "x-ms-identifiers": [] + }, + "publicIPPrefix": { + "$ref": "#/definitions/SubResource", + "description": "The PublicIPPrefix from which to allocate publicIP addresses." + }, + "publicIPAddressVersion": { + "$ref": "#/definitions/IPVersion", + "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the\nspecific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible\nvalues are: 'IPv4' and 'IPv6'." + }, + "deleteOption": { + "$ref": "#/definitions/DeleteOptions", + "description": "Specify what happens to the public IP when the VM is deleted" + } + } + }, + "VirtualMachineScaleSetStorageProfile": { + "type": "object", + "description": "Describes a virtual machine scale set storage profile.", + "properties": { + "imageReference": { + "$ref": "#/definitions/ImageReference", + "description": "Specifies information about the image to use. You can specify information about\nplatform images, marketplace images, or virtual machine images. This element is\nrequired when you want to use a platform image, marketplace image, or virtual\nmachine image, but is not used in other creation operations." + }, + "osDisk": { + "$ref": "#/definitions/VirtualMachineScaleSetOSDisk", + "description": "Specifies information about the operating system disk used by the virtual\nmachines in the scale set. For more information about disks, see [About disks\nand VHDs for Azure virtual\nmachines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + }, + "dataDisks": { + "type": "array", + "description": "Specifies the parameters that are used to add data disks to the virtual\nmachines in the scale set. For more information about disks, see [About disks\nand VHDs for Azure virtual\nmachines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetDataDisk" + }, + "x-ms-identifiers": [ + "name", + "lun" + ] + }, + "diskControllerType": { + "type": "string" + } + } + }, + "VmSizeProfile": { + "type": "object", + "description": "Specifications about a VM Size. This will also contain the corresponding rank and weight in future.", + "properties": { + "name": { + "type": "string", + "description": "The Sku name (e.g. 'Standard_DS1_v2')" + } + }, + "required": [ + "name" + ] + }, + "WinRMConfiguration": { + "type": "object", + "description": "Describes Windows Remote Management configuration of the VM", + "properties": { + "listeners": { + "type": "array", + "description": "The list of Windows Remote Management listeners", + "items": { + "$ref": "#/definitions/WinRMListener" + }, + "x-ms-identifiers": [] + } + } + }, + "WinRMListener": { + "type": "object", + "description": "Describes Protocol and thumbprint of Windows Remote Management listener", + "properties": { + "protocol": { + "$ref": "#/definitions/ProtocolTypes", + "description": "Specifies the protocol of WinRM listener. Possible values are: **http,**\n**https.**" + }, + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a\nsecret. For adding a secret to the Key Vault, see [Add a key or secret to the\nkey\nvault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add).\nIn this case, your certificate needs to be the Base64 encoding of the following\nJSON Object which is encoded in UTF-8:

{
\n\"data\":\"\",
\"dataType\":\"pfx\",
\n\"password\":\"\"
}
To install certificates on a virtual\nmachine it is recommended to use the [Azure Key Vault virtual machine extension\nfor\nLinux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)\nor the [Azure Key Vault virtual machine extension for\nWindows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + } + } + }, + "WindowsConfiguration": { + "type": "object", + "description": "Specifies Windows operating system settings on the virtual machine.", + "properties": { + "provisionVMAgent": { + "type": "boolean", + "description": "Indicates whether virtual machine agent should be provisioned on the virtual\nmachine. When this property is not specified in the request body, it is set to\ntrue by default. This will ensure that VM Agent is installed on the VM so that\nextensions can be added to the VM later." + }, + "enableAutomaticUpdates": { + "type": "boolean", + "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine.\nDefault value is true. For virtual machine scale sets, this property can be\nupdated and updates will take effect on OS reprovisioning." + }, + "timeZone": { + "type": "string", + "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".\nPossible values can be\n[TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id)\nvalue from time zones returned by\n[TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones)." + }, + "additionalUnattendContent": { + "type": "array", + "description": "Specifies additional base-64 encoded XML formatted information that can be\nincluded in the Unattend.xml file, which is used by Windows Setup.", + "items": { + "$ref": "#/definitions/AdditionalUnattendContent" + }, + "x-ms-identifiers": [] + }, + "patchSettings": { + "$ref": "#/definitions/PatchSettings", + "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows." + }, + "winRM": { + "$ref": "#/definitions/WinRMConfiguration", + "description": "Specifies the Windows Remote Management listeners. This enables remote Windows\nPowerShell." + }, + "enableVMAgentPlatformUpdates": { + "type": "boolean", + "description": "Indicates whether VMAgent Platform Updates is enabled for the Windows virtual\nmachine. Default value is false." + } + } + }, + "WindowsPatchAssessmentMode": { + "type": "string", + "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "WindowsPatchAssessmentMode", + "modelAsString": true, + "values": [ + { + "name": "ImageDefault", + "value": "ImageDefault" + }, + { + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform" + } + ] + } + }, + "WindowsVMGuestPatchAutomaticByPlatformRebootSetting": { + "type": "string", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations.", + "enum": [ + "Unknown", + "IfRequired", + "Never", + "Always" + ], + "x-ms-enum": { + "name": "WindowsVMGuestPatchAutomaticByPlatformRebootSetting", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "IfRequired", + "value": "IfRequired" + }, + { + "name": "Never", + "value": "Never" + }, + { + "name": "Always", + "value": "Always" + } + ] + } + }, + "WindowsVMGuestPatchAutomaticByPlatformSettings": { + "type": "object", + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform\nis selected in Windows patch settings.", + "properties": { + "rebootSetting": { + "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformRebootSetting", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations." + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "type": "boolean", + "description": "Enables customer to schedule patching without accidental upgrades" + } + } + }, + "WindowsVMGuestPatchMode": { + "type": "string", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**Manual** - You\ncontrol the application of patches to a virtual machine. You do this by\napplying patches manually inside the VM. In this mode, automatic updates are\ndisabled; the property WindowsConfiguration.enableAutomaticUpdates must be\nfalse

**AutomaticByOS** - The virtual machine will automatically be\nupdated by the OS. The property WindowsConfiguration.enableAutomaticUpdates\nmust be true.

**AutomaticByPlatform** - the virtual machine will\nautomatically updated by the platform. The properties provisionVMAgent and\nWindowsConfiguration.enableAutomaticUpdates must be true", + "enum": [ + "Manual", + "AutomaticByOS", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "WindowsVMGuestPatchMode", + "modelAsString": true, + "values": [ + { + "name": "Manual", + "value": "Manual" + }, + { + "name": "AutomaticByOS", + "value": "AutomaticByOS" + }, + { + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform" + } + ] + } } }, "parameters": {} diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index d2dcfee08456..de70ce271d4b 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -465,6 +465,50 @@ } }, "definitions": { + "AdditionalUnattendContent": { + "type": "object", + "description": "Specifies additional XML formatted information that can be included in the\nUnattend.xml file, which is used by Windows Setup. Contents are defined by\nsetting name, component name, and the pass in which the content is applied.", + "properties": { + "passName": { + "type": "string", + "description": "The pass name. Currently, the only allowable value is OobeSystem.", + "enum": [ + "OobeSystem" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "componentName": { + "type": "string", + "description": "The component name. Currently, the only allowable value is\nMicrosoft-Windows-Shell-Setup.", + "enum": [ + "Microsoft-Windows-Shell-Setup" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "settingName": { + "$ref": "#/definitions/SettingNames", + "description": "Specifies the name of the setting to which the content applies. Possible values\nare: FirstLogonCommands and AutoLogon." + }, + "content": { + "type": "string", + "description": "Specifies the XML formatted content that is added to the unattend.xml file for\nthe specified path and component. The XML must be less than 4KB and must\ninclude the root element for the setting or feature that is being inserted." + } + } + }, + "ApiEntityReference": { + "type": "object", + "description": "The API entity reference.", + "properties": { + "id": { + "type": "string", + "description": "The ARM resource id in the form of\n/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." + } + } + }, "ApiError": { "type": "object", "description": "ApiError for Fleet", @@ -516,6 +560,22 @@ } } }, + "ApplicationProfile": { + "type": "object", + "description": "Contains the list of gallery applications that should be made available to the\nVM/VMSS", + "properties": { + "galleryApplications": { + "type": "array", + "description": "Specifies the gallery applications that should be made available to the VM/VMSS", + "items": { + "$ref": "#/definitions/VMGalleryApplication" + }, + "x-ms-identifiers": [ + "packageReferenceId" + ] + } + } + }, "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType": { "type": "string", "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", @@ -570,12 +630,140 @@ } } }, + "BaseVirtualMachineProfile": { + "type": "object", + "description": "Describes the base virtual machine profile for fleet", + "properties": { + "osProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetOSProfile", + "description": "Specifies the operating system settings for the virtual machines in the scale\nset." + }, + "storageProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile", + "description": "Specifies the storage settings for the virtual machine disks." + }, + "networkProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile", + "description": "Specifies properties of the network interfaces of the virtual machines in the\nscale set." + }, + "securityProfile": { + "$ref": "#/definitions/SecurityProfile", + "description": "Specifies the Security related profile settings for the virtual machines in the\nscale set." + }, + "diagnosticsProfile": { + "$ref": "#/definitions/DiagnosticsProfile", + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." + }, + "extensionProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile", + "description": "Specifies a collection of settings for extensions installed on virtual machines\nin the scale set." + }, + "licenseType": { + "type": "string", + "description": "Specifies that the image or disk that is being used was licensed on-premises.\n

Possible values for Windows Server operating system are:

\nWindows_Client

Windows_Server

Possible values for Linux\nServer operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS\n(for SUSE)

For more information, see [Azure Hybrid Use Benefit for\nWindows\nServer](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)\n

[Azure Hybrid Use Benefit for Linux\nServer](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)\n

Minimum api-version: 2015-06-15" + }, + "priority": { + "$ref": "#/definitions/VirtualMachinePriorityTypes", + "description": "Specifies the priority for the virtual machines in the scale set. Minimum\napi-version: 2017-10-30-preview." + }, + "evictionPolicy": { + "$ref": "#/definitions/VirtualMachineEvictionPolicyTypes", + "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot\nscale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are\nsupported and the minimum api-version is 2019-03-01. For Azure Spot scale sets,\nboth 'Deallocate' and 'Delete' are supported and the minimum api-version is\n2017-10-30-preview." + }, + "billingProfile": { + "$ref": "#/definitions/BillingProfile", + "description": "Specifies the billing related details of a Azure Spot VMSS. Minimum\napi-version: 2019-03-01." + }, + "scheduledEventsProfile": { + "$ref": "#/definitions/ScheduledEventsProfile", + "description": "Specifies Scheduled Event related configurations." + }, + "userData": { + "type": "string", + "description": "UserData for the virtual machines in the scale set, which must be base-64\nencoded. Customer should not pass any secrets in here. Minimum api-version:\n2021-03-01." + }, + "capacityReservation": { + "$ref": "#/definitions/CapacityReservationProfile", + "description": "Specifies the capacity reservation related details of a scale set. Minimum\napi-version: 2021-04-01." + }, + "applicationProfile": { + "$ref": "#/definitions/ApplicationProfile", + "description": "Specifies the gallery applications that should be made available to the VM/VMSS" + }, + "hardwareProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetHardwareProfile", + "description": "Specifies the hardware profile related details of a scale set. Minimum\napi-version: 2021-11-01." + }, + "serviceArtifactReference": { + "$ref": "#/definitions/ServiceArtifactReference", + "description": "Specifies the service artifact reference id used to set same image version for\nall virtual machines in the scale set when using 'latest' image version.\nMinimum api-version: 2022-11-01" + }, + "securityPostureReference": { + "$ref": "#/definitions/SecurityPostureReference", + "description": "Specifies the security posture to be used for all virtual machines in the scale\nset. Minimum api-version: 2023-03-01" + }, + "timeCreated": { + "type": "string", + "format": "date-time", + "description": "Specifies the time in which this VM profile for the Virtual Machine Scale Set\nwas created. Minimum API version for this property is 2023-09-01. This value\nwill be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile\nwith minimum api-version 2023-09-01.", + "readOnly": true + } + } + }, + "BillingProfile": { + "type": "object", + "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum\napi-version: 2019-03-01.", + "properties": { + "maxPrice": { + "type": "number", + "format": "double", + "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS.\nThis price is in US Dollars.

This price will be compared with the\ncurrent Azure Spot price for the VM size. Also, the prices are compared at the\ntime of create/update of Azure Spot VM/VMSS and the operation will only succeed\nif the maxPrice is greater than the current Azure Spot price.

The\nmaxPrice will also be used for evicting a Azure Spot VM/VMSS if the current\nAzure Spot price goes beyond the maxPrice after creation of VM/VMSS.

\nPossible values are:

- Any decimal value greater than zero. Example:\n0.01538

-1 – indicates default price to be up-to on-demand.

\nYou can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should\nnot be evicted for price reasons. Also, the default max price is -1 if it is\nnot provided by you.

Minimum api-version: 2019-03-01." + } + } + }, + "BootDiagnostics": { + "type": "object", + "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output\nand Screenshot to diagnose VM status. You can easily view the output of your\nconsole log. Azure also enables you to see a screenshot of the VM from the\nhypervisor.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether boot diagnostics should be enabled on the Virtual Machine." + }, + "storageUri": { + "type": "string", + "description": "Uri of the storage account to use for placing the console output and\nscreenshot. If storageUri is not specified while enabling boot diagnostics,\nmanaged storage will be used." + } + } + }, + "CachingTypes": { + "type": "string", + "description": "Specifies the caching requirements. Possible values are: **None,**\n**ReadOnly,** **ReadWrite.** The default values are: **None for Standard\nstorage. ReadOnly for Premium storage**", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": { + "name": "CachingTypes", + "modelAsString": false + } + }, + "CapacityReservationProfile": { + "type": "object", + "description": "The parameters of a capacity reservation Profile.", + "properties": { + "capacityReservationGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies the capacity reservation group resource id that should be used for\nallocating the virtual machine or scaleset vm instances provided enough\ncapacity has been reserved. Please refer to https://aka.ms/CapacityReservation\nfor more details." + } + } + }, "ComputeProfile": { "type": "object", "description": "Compute Profile to use for running user's workloads.", "properties": { "baseVirtualMachineProfile": { - "$ref": "../../../../../compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/virtualMachineScaleSet.json#/definitions/VirtualMachineScaleSetVMProfile", + "$ref": "#/definitions/BaseVirtualMachineProfile", "description": "Base Virtual Machine Profile Properties to be specified according to \"specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{computeApiVersion}/virtualMachineScaleSet.json#/definitions/VirtualMachineScaleSetVMProfile\"" }, "computeApiVersion": { @@ -592,6 +780,192 @@ "baseVirtualMachineProfile" ] }, + "DeleteOptions": { + "type": "string", + "description": "Specify what happens to the network interface when the VM is deleted", + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "DeleteOptions", + "modelAsString": true, + "values": [ + { + "name": "Delete", + "value": "Delete" + }, + { + "name": "Detach", + "value": "Detach" + } + ] + } + }, + "DiagnosticsProfile": { + "type": "object", + "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.", + "properties": { + "bootDiagnostics": { + "$ref": "#/definitions/BootDiagnostics", + "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output\nand Screenshot to diagnose VM status. **NOTE**: If storageUri is being\nspecified then ensure that the storage account is in the same region and\nsubscription as the VM. You can easily view the output of your console log.\nAzure also enables you to see a screenshot of the VM from the hypervisor." + } + } + }, + "DiffDiskOptions": { + "type": "string", + "description": "Specifies the ephemeral disk option for operating system disk.", + "enum": [ + "Local" + ], + "x-ms-enum": { + "name": "DiffDiskOptions", + "modelAsString": true, + "values": [ + { + "name": "Local", + "value": "Local" + } + ] + } + }, + "DiffDiskPlacement": { + "type": "string", + "description": "Specifies the ephemeral disk placement for operating system disk. This property\ncan be used by user in the request to choose the location i.e, cache disk or\nresource disk space for Ephemeral OS disk provisioning. For more information on\nEphemeral OS disk size requirements, please refer Ephemeral OS disk size\nrequirements for Windows VM at\nhttps://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements\nand Linux VM at\nhttps://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements", + "enum": [ + "CacheDisk", + "ResourceDisk" + ], + "x-ms-enum": { + "name": "DiffDiskPlacement", + "modelAsString": true, + "values": [ + { + "name": "CacheDisk", + "value": "CacheDisk" + }, + { + "name": "ResourceDisk", + "value": "ResourceDisk" + } + ] + } + }, + "DiffDiskSettings": { + "type": "object", + "description": "Describes the parameters of ephemeral disk settings that can be specified for\noperating system disk. **Note:** The ephemeral disk settings can only be\nspecified for managed disk.", + "properties": { + "option": { + "$ref": "#/definitions/DiffDiskOptions", + "description": "Specifies the ephemeral disk settings for operating system disk." + }, + "placement": { + "$ref": "#/definitions/DiffDiskPlacement", + "description": "Specifies the ephemeral disk placement for operating system disk. Possible\nvalues are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is:\n**CacheDisk** if one is configured for the VM size otherwise **ResourceDisk**\nis used. Refer to the VM size documentation for Windows VM at\nhttps://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at\nhttps://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM\nsizes exposes a cache disk." + } + } + }, + "DiskCreateOptionTypes": { + "type": "string", + "description": "Specifies how the virtual machine should be created. Possible values are:\n**Attach.** This value is used when you are using a specialized disk to create\nthe virtual machine. **FromImage.** This value is used when you are using an\nimage to create the virtual machine. If you are using a platform image, you\nalso use the imageReference element described above. If you are using a\nmarketplace image, you also use the plan element previously described.", + "enum": [ + "FromImage", + "Empty", + "Attach" + ], + "x-ms-enum": { + "name": "DiskCreateOptionTypes", + "modelAsString": true, + "values": [ + { + "name": "FromImage", + "value": "FromImage" + }, + { + "name": "Empty", + "value": "Empty" + }, + { + "name": "Attach", + "value": "Attach" + } + ] + } + }, + "DiskDeleteOptionTypes": { + "type": "string", + "description": "Specifies the behavior of the managed disk when the VM gets deleted, for\nexample whether the managed disk is deleted or detached. Supported values are:\n**Delete.** If this value is used, the managed disk is deleted when VM gets\ndeleted. **Detach.** If this value is used, the managed disk is retained after\nVM gets deleted. Minimum api-version: 2021-03-01.", + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "DiskDeleteOptionTypes", + "modelAsString": true, + "values": [ + { + "name": "Delete", + "value": "Delete" + }, + { + "name": "Detach", + "value": "Detach" + } + ] + } + }, + "DiskEncryptionSetParameters": { + "type": "object", + "description": "Describes the parameter of customer managed disk encryption set resource id\nthat can be specified for disk. **Note:** The disk encryption set resource id\ncan only be specified for managed disk. Please refer\nhttps://aka.ms/mdssewithcmkoverview for more details.", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + } + } + }, + "DomainNameLabelScopeTypes": { + "type": "string", + "description": "The Domain name label scope.The concatenation of the hashed domain name label\nthat generated according to the policy from domain name label scope and vm\nindex will be the domain name labels of the PublicIPAddress resources that will\nbe created", + "enum": [ + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "DomainNameLabelScopeTypes", + "modelAsString": true, + "values": [ + { + "name": "TenantReuse", + "value": "TenantReuse" + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse" + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse" + }, + { + "name": "NoReuse", + "value": "NoReuse" + } + ] + } + }, + "EncryptionIdentity": { + "type": "object", + "description": "Specifies the Managed Identity used by ADE to get access token for keyvault\noperations.", + "properties": { + "userAssignedIdentityResourceId": { + "type": "string", + "description": "Specifies ARM Resource ID of one of the user identities associated with the VM." + } + } + }, "EvictionPolicy": { "type": "string", "description": "Different kind of eviction policies", @@ -728,6 +1102,67 @@ } } }, + "IPVersion": { + "type": "string", + "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the\nspecific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible\nvalues are: 'IPv4' and 'IPv6'.", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "IPVersion", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4" + }, + { + "name": "IPv6", + "value": "IPv6" + } + ] + } + }, + "ImageReference": { + "type": "object", + "description": "Specifies information about the image to use. You can specify information about\nplatform images, marketplace images, or virtual machine images. This element is\nrequired when you want to use a platform image, marketplace image, or virtual\nmachine image, but is not used in other creation operations. NOTE: Image\nreference publisher and offer can only be set when you create the scale set.", + "properties": { + "id": { + "type": "string", + "description": "Resource Id" + }, + "publisher": { + "type": "string", + "description": "The image publisher." + }, + "offer": { + "type": "string", + "description": "Specifies the offer of the platform image or marketplace image used to create\nthe virtual machine." + }, + "sku": { + "type": "string", + "description": "The image SKU." + }, + "version": { + "type": "string", + "description": "Specifies the version of the platform image or marketplace image used to create\nthe virtual machine. The allowed formats are Major.Minor.Build or 'latest'.\nMajor, Minor, and Build are decimal numbers. Specify 'latest' to use the latest\nversion of an image available at deploy time. Even if you use 'latest', the VM\nimage will not automatically update after deploy time even if a new version\nbecomes available. Please do not use field 'version' for gallery image\ndeployment, gallery image should always use 'id' field for deployment, to use\n'latest' version of gallery image, just set\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'\nin the 'id' field without version input." + }, + "exactVersion": { + "type": "string", + "description": "Specifies in decimal numbers, the version of platform image or marketplace\nimage used to create the virtual machine. This readonly field differs from\n'version', only if the value specified in 'version' field is 'latest'.", + "readOnly": true + }, + "sharedGalleryImageId": { + "type": "string", + "description": "Specified the shared gallery image unique id for vm deployment. This can be\nfetched from shared gallery image GET call." + }, + "communityGalleryImageId": { + "type": "string", + "description": "Specified the community gallery image unique id for vm deployment. This can be\nfetched from community gallery image GET call." + } + } + }, "InnerError": { "type": "object", "description": "Inner error details.", @@ -742,29 +1177,370 @@ } } }, - "ManagedServiceIdentityUpdate": { + "InstanceViewStatus": { "type": "object", - "description": "The template for adding optional properties.", + "description": "Instance view status.", "properties": { - "type": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", - "description": "The type of managed identity assigned to this resource." + "code": { + "type": "string", + "description": "The status code." }, - "userAssignedIdentities": { - "type": "object", - "description": "The identities assigned to this resource by the user.", - "x-nullable": true, - "additionalProperties": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" - } + "level": { + "$ref": "#/definitions/StatusLevelTypes", + "description": "The level code." + }, + "displayStatus": { + "type": "string", + "description": "The short localizable label for the status." + }, + "message": { + "type": "string", + "description": "The detailed status message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "The time of the status." } } }, - "ProvisioningState": { - "type": "string", - "description": "The status of the current operation.", - "enum": [ - "Succeeded", + "KeyVaultSecretReference": { + "type": "object", + "description": "Describes a reference to Key Vault Secret", + "properties": { + "secretUrl": { + "type": "string", + "description": "The URL referencing a secret in a Key Vault." + }, + "sourceVault": { + "$ref": "#/definitions/SubResource", + "description": "The relative URL of the Key Vault containing the secret." + } + }, + "required": [ + "secretUrl", + "sourceVault" + ] + }, + "LinuxConfiguration": { + "type": "object", + "description": "Specifies the Linux operating system settings on the virtual machine. For a\nlist of supported Linux distributions, see [Linux on Azure-Endorsed\nDistributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).", + "properties": { + "disablePasswordAuthentication": { + "type": "boolean", + "description": "Specifies whether password authentication should be disabled." + }, + "ssh": { + "$ref": "#/definitions/SshConfiguration", + "description": "Specifies the ssh key configuration for a Linux OS." + }, + "provisionVMAgent": { + "type": "boolean", + "description": "Indicates whether virtual machine agent should be provisioned on the virtual\nmachine. When this property is not specified in the request body, default\nbehavior is to set it to true. This will ensure that VM Agent is installed on\nthe VM so that extensions can be added to the VM later." + }, + "patchSettings": { + "$ref": "#/definitions/LinuxPatchSettings", + "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux." + }, + "enableVMAgentPlatformUpdates": { + "type": "boolean", + "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual\nmachine. Default value is false." + } + } + }, + "LinuxPatchAssessmentMode": { + "type": "string", + "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "LinuxPatchAssessmentMode", + "modelAsString": true, + "values": [ + { + "name": "ImageDefault", + "value": "ImageDefault" + }, + { + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform" + } + ] + } + }, + "LinuxPatchSettings": { + "type": "object", + "description": "Specifies settings related to VM Guest Patching on Linux.", + "properties": { + "patchMode": { + "$ref": "#/definitions/LinuxVMGuestPatchMode", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**ImageDefault** - The\nvirtual machine's default patching configuration is used.

\n**AutomaticByPlatform** - The virtual machine will be automatically updated by\nthe platform. The property provisionVMAgent must be true" + }, + "assessmentMode": { + "$ref": "#/definitions/LinuxPatchAssessmentMode", + "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true." + }, + "automaticByPlatformSettings": { + "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformSettings", + "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest\nPatching on Linux." + } + } + }, + "LinuxVMGuestPatchAutomaticByPlatformRebootSetting": { + "type": "string", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations.", + "enum": [ + "Unknown", + "IfRequired", + "Never", + "Always" + ], + "x-ms-enum": { + "name": "LinuxVMGuestPatchAutomaticByPlatformRebootSetting", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "IfRequired", + "value": "IfRequired" + }, + { + "name": "Never", + "value": "Never" + }, + { + "name": "Always", + "value": "Always" + } + ] + } + }, + "LinuxVMGuestPatchAutomaticByPlatformSettings": { + "type": "object", + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform\nis selected in Linux patch settings.", + "properties": { + "rebootSetting": { + "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformRebootSetting", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations." + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "type": "boolean", + "description": "Enables customer to schedule patching without accidental upgrades" + } + } + }, + "LinuxVMGuestPatchMode": { + "type": "string", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**ImageDefault** - The\nvirtual machine's default patching configuration is used.

\n**AutomaticByPlatform** - The virtual machine will be automatically updated by\nthe platform. The property provisionVMAgent must be true", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "LinuxVMGuestPatchMode", + "modelAsString": true, + "values": [ + { + "name": "ImageDefault", + "value": "ImageDefault" + }, + { + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform" + } + ] + } + }, + "ManagedServiceIdentityUpdate": { + "type": "object", + "description": "The template for adding optional properties.", + "properties": { + "type": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "x-nullable": true, + "additionalProperties": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } + } + } + }, + "Mode": { + "type": "string", + "description": "Specifies the mode that ProxyAgent will execute on if the feature is enabled.\nProxyAgent will start to audit or monitor but not enforce access control over\nrequests to host endpoints in Audit mode, while in Enforce mode it will enforce\naccess control. The default value is Enforce mode.", + "enum": [ + "Audit", + "Enforce" + ], + "x-ms-enum": { + "name": "Mode", + "modelAsString": true, + "values": [ + { + "name": "Audit", + "value": "Audit" + }, + { + "name": "Enforce", + "value": "Enforce" + } + ] + } + }, + "NetworkApiVersion": { + "type": "string", + "description": "specifies the Microsoft.Network API version used when creating networking\nresources in the Network Interface Configurations for Virtual Machine Scale Set\nwith orchestration mode 'Flexible'", + "enum": [ + "2020-11-01" + ], + "x-ms-enum": { + "name": "NetworkApiVersion", + "modelAsString": true, + "values": [ + { + "name": "2020-11-01", + "value": "2020-11-01" + } + ] + } + }, + "NetworkInterfaceAuxiliaryMode": { + "type": "string", + "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface\nresource.", + "enum": [ + "None", + "AcceleratedConnections", + "Floating" + ], + "x-ms-enum": { + "name": "NetworkInterfaceAuxiliaryMode", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "AcceleratedConnections", + "value": "AcceleratedConnections" + }, + { + "name": "Floating", + "value": "Floating" + } + ] + } + }, + "NetworkInterfaceAuxiliarySku": { + "type": "string", + "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface\nresource.", + "enum": [ + "None", + "A1", + "A2", + "A4", + "A8" + ], + "x-ms-enum": { + "name": "NetworkInterfaceAuxiliarySku", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "A1", + "value": "A1" + }, + { + "name": "A2", + "value": "A2" + }, + { + "name": "A4", + "value": "A4" + }, + { + "name": "A8", + "value": "A8" + } + ] + } + }, + "OSImageNotificationProfile": { + "type": "object", + "properties": { + "notBeforeTimeout": { + "type": "string", + "description": "Length of time a Virtual Machine being reimaged or having its OS upgraded will\nhave to potentially approve the OS Image Scheduled Event before the event is\nauto approved (timed out). The configuration is specified in ISO 8601 format,\nand the value must be 15 minutes (PT15M)" + }, + "enable": { + "type": "boolean", + "description": "Specifies whether the OS Image Scheduled event is enabled or disabled." + } + } + }, + "OperatingSystemTypes": { + "type": "string", + "description": "This property allows you to specify the type of the OS that is included in the\ndisk if creating a VM from user-image or a specialized VHD. Possible values\nare: **Windows,** **Linux.**", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": false + } + }, + "PatchSettings": { + "type": "object", + "description": "Specifies settings related to VM Guest Patching on Windows.", + "properties": { + "patchMode": { + "$ref": "#/definitions/WindowsVMGuestPatchMode", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**Manual** - You\ncontrol the application of patches to a virtual machine. You do this by\napplying patches manually inside the VM. In this mode, automatic updates are\ndisabled; the property WindowsConfiguration.enableAutomaticUpdates must be\nfalse

**AutomaticByOS** - The virtual machine will automatically be\nupdated by the OS. The property WindowsConfiguration.enableAutomaticUpdates\nmust be true.

**AutomaticByPlatform** - the virtual machine will\nautomatically updated by the platform. The properties provisionVMAgent and\nWindowsConfiguration.enableAutomaticUpdates must be true" + }, + "enableHotpatching": { + "type": "boolean", + "description": "Enables customers to patch their Azure VMs without requiring a reboot. For\nenableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode'\nmust be set to 'AutomaticByPlatform'." + }, + "assessmentMode": { + "$ref": "#/definitions/WindowsPatchAssessmentMode", + "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true." + }, + "automaticByPlatformSettings": { + "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformSettings", + "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest\nPatching on Windows." + } + } + }, + "ProtocolTypes": { + "type": "string", + "description": "Specifies the protocol of WinRM listener. Possible values are: **http,**\n**https.**", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": { + "name": "ProtocolTypes", + "modelAsString": false + } + }, + "ProvisioningState": { + "type": "string", + "description": "The status of the current operation.", + "enum": [ + "Succeeded", "Failed", "Canceled", "Creating", @@ -815,6 +1591,83 @@ }, "readOnly": true }, + "ProxyAgentSettings": { + "type": "object", + "description": "Specifies ProxyAgent settings while creating the virtual machine. Minimum\napi-version: 2023-09-01.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Specifies whether ProxyAgent feature should be enabled on the virtual machine\nor virtual machine scale set." + }, + "mode": { + "$ref": "#/definitions/Mode", + "description": "Specifies the mode that ProxyAgent will execute on if the feature is enabled.\nProxyAgent will start to audit or monitor but not enforce access control over\nrequests to host endpoints in Audit mode, while in Enforce mode it will enforce\naccess control. The default value is Enforce mode." + }, + "keyIncarnationId": { + "type": "integer", + "format": "int32", + "description": "Increase the value of this property allows user to reset the key used for\nsecuring communication channel between guest and host." + } + } + }, + "PublicIPAddressSku": { + "type": "object", + "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as\nFlexible.", + "properties": { + "name": { + "$ref": "#/definitions/PublicIPAddressSkuName", + "description": "Specify public IP sku name" + }, + "tier": { + "$ref": "#/definitions/PublicIPAddressSkuTier", + "description": "Specify public IP sku tier" + } + } + }, + "PublicIPAddressSkuName": { + "type": "string", + "description": "Specify public IP sku name", + "enum": [ + "Basic", + "Standard" + ], + "x-ms-enum": { + "name": "PublicIPAddressSkuName", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic" + }, + { + "name": "Standard", + "value": "Standard" + } + ] + } + }, + "PublicIPAddressSkuTier": { + "type": "string", + "description": "Specify public IP sku tier", + "enum": [ + "Regional", + "Global" + ], + "x-ms-enum": { + "name": "PublicIPAddressSkuTier", + "modelAsString": true, + "values": [ + { + "name": "Regional", + "value": "Regional" + }, + { + "name": "Global", + "value": "Global" + } + ] + } + }, "RegularPriorityAllocationStrategy": { "type": "string", "description": "Regular VM Allocation strategy types for Compute Fleet", @@ -887,27 +1740,186 @@ } } }, - "SpotAllocationStrategy": { - "type": "string", - "description": "Spot allocation strategy types for Compute Fleet", - "enum": [ - "PriceCapacityOptimized", - "LowestPrice", - "CapacityOptimized" - ], - "x-ms-enum": { - "name": "SpotAllocationStrategy", - "modelAsString": true, - "values": [ - { - "name": "PriceCapacityOptimized", - "value": "PriceCapacityOptimized", - "description": "Default. VM sizes distribution will be determined to optimize for both price and capacity." - }, - { - "name": "LowestPrice", - "value": "LowestPrice", - "description": "VM sizes distribution will be determined to optimize for price. Note: Capacity will still be considered here but will be given much less weight." + "ResourceWithOptionalLocation": { + "type": "object", + "description": "The Resource model definition with location property as optional.", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ScheduledEventsProfile": { + "type": "object", + "properties": { + "terminateNotificationProfile": { + "$ref": "#/definitions/TerminateNotificationProfile", + "description": "Specifies Terminate Scheduled Event related configurations." + }, + "osImageNotificationProfile": { + "$ref": "#/definitions/OSImageNotificationProfile", + "description": "Specifies OS Image Scheduled Event related configurations." + } + } + }, + "SecurityEncryptionTypes": { + "type": "string", + "description": "Specifies the EncryptionType of the managed disk. It is set to\nDiskWithVMGuestState for encryption of the managed disk along with VMGuestState\nblob, VMGuestStateOnly for encryption of just the VMGuestState blob, and\nNonPersistedTPM for not persisting firmware state in the VMGuestState blob..\n**Note:** It can be set for only Confidential VMs.", + "enum": [ + "VMGuestStateOnly", + "DiskWithVMGuestState", + "NonPersistedTPM" + ], + "x-ms-enum": { + "name": "SecurityEncryptionTypes", + "modelAsString": true, + "values": [ + { + "name": "VMGuestStateOnly", + "value": "VMGuestStateOnly" + }, + { + "name": "DiskWithVMGuestState", + "value": "DiskWithVMGuestState" + }, + { + "name": "NonPersistedTPM", + "value": "NonPersistedTPM" + } + ] + } + }, + "SecurityPostureReference": { + "type": "object", + "description": "Specifies the security posture to be used for all virtual machines in the scale\nset. Minimum api-version: 2023-03-01", + "properties": { + "id": { + "type": "string", + "description": "The security posture reference id in the form of\n/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest" + }, + "excludeExtensions": { + "type": "array", + "description": "List of virtual machine extensions to exclude when applying the Security\nPosture.", + "items": { + "$ref": "#/definitions/VirtualMachineExtension" + } + } + } + }, + "SecurityProfile": { + "type": "object", + "description": "Specifies the Security profile settings for the virtual machine or virtual\nmachine scale set.", + "properties": { + "uefiSettings": { + "$ref": "#/definitions/UefiSettings", + "description": "Specifies the security settings like secure boot and vTPM used while creating\nthe virtual machine. Minimum api-version: 2020-12-01." + }, + "encryptionAtHost": { + "type": "boolean", + "description": "This property can be used by user in the request to enable or disable the Host\nEncryption for the virtual machine or virtual machine scale set. This will\nenable the encryption for all the disks including Resource/Temp disk at host\nitself. The default behavior is: The Encryption at host will be disabled unless\nthis property is set to true for the resource." + }, + "securityType": { + "$ref": "#/definitions/SecurityTypes", + "description": "Specifies the SecurityType of the virtual machine. It has to be set to any\nspecified value to enable UefiSettings. The default behavior is: UefiSettings\nwill not be enabled unless this property is set." + }, + "encryptionIdentity": { + "$ref": "#/definitions/EncryptionIdentity", + "description": "Specifies the Managed Identity used by ADE to get access token for keyvault\noperations." + }, + "proxyAgentSettings": { + "$ref": "#/definitions/ProxyAgentSettings", + "description": "Specifies ProxyAgent settings while creating the virtual machine. Minimum\napi-version: 2023-09-01." + } + } + }, + "SecurityTypes": { + "type": "string", + "description": "Specifies the SecurityType of the virtual machine. It has to be set to any\nspecified value to enable UefiSettings. The default behavior is: UefiSettings\nwill not be enabled unless this property is set.", + "enum": [ + "TrustedLaunch", + "ConfidentialVM" + ], + "x-ms-enum": { + "name": "SecurityTypes", + "modelAsString": true, + "values": [ + { + "name": "TrustedLaunch", + "value": "TrustedLaunch" + }, + { + "name": "ConfidentialVM", + "value": "ConfidentialVM" + } + ] + } + }, + "ServiceArtifactReference": { + "type": "object", + "description": "Specifies the service artifact reference id used to set same image version for\nall virtual machines in the scale set when using 'latest' image version.\nMinimum api-version: 2022-11-01", + "properties": { + "id": { + "type": "string", + "description": "The service artifact reference id in the form of\n/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}" + } + } + }, + "SettingNames": { + "type": "string", + "description": "Specifies the name of the setting to which the content applies. Possible values\nare: FirstLogonCommands and AutoLogon.", + "enum": [ + "AutoLogon", + "FirstLogonCommands" + ], + "x-ms-enum": { + "name": "SettingNames", + "modelAsString": false + } + }, + "SpotAllocationStrategy": { + "type": "string", + "description": "Spot allocation strategy types for Compute Fleet", + "enum": [ + "PriceCapacityOptimized", + "LowestPrice", + "CapacityOptimized" + ], + "x-ms-enum": { + "name": "SpotAllocationStrategy", + "modelAsString": true, + "values": [ + { + "name": "PriceCapacityOptimized", + "value": "PriceCapacityOptimized", + "description": "Default. VM sizes distribution will be determined to optimize for both price and capacity." + }, + { + "name": "LowestPrice", + "value": "LowestPrice", + "description": "VM sizes distribution will be determined to optimize for price. Note: Capacity will still be considered here but will be given much less weight." }, { "name": "CapacityOptimized", @@ -952,82 +1964,1252 @@ } } }, - "VirtualMachineScaleSet": { + "SshConfiguration": { "type": "object", - "description": "An AzureFleet's virtualMachineScaleSet", + "description": "SSH configuration for Linux based VMs running on Azure", "properties": { - "name": { + "publicKeys": { + "type": "array", + "description": "The list of SSH public keys used to authenticate with linux based VMs.", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "x-ms-identifiers": [ + "path" + ] + } + } + }, + "SshPublicKey": { + "type": "object", + "description": "Contains information about SSH certificate public key and the path on the Linux\nVM where the public key is placed.", + "properties": { + "path": { "type": "string", - "description": "The name of the virtualMachineScaleSet", - "readOnly": true + "description": "Specifies the full path on the created VM where ssh public key is stored. If\nthe file already exists, the specified key is appended to the file. Example:\n/home/user/.ssh/authorized_keys" }, + "keyData": { + "type": "string", + "description": "SSH public key certificate used to authenticate with the VM through ssh. The\nkey needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys,\nsee [Create SSH keys on Linux and Mac for Linux VMs in\nAzure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." + } + } + }, + "StatusLevelTypes": { + "type": "string", + "description": "The level code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "StatusLevelTypes", + "modelAsString": false + } + }, + "StorageAccountTypes": { + "type": "string", + "description": "Specifies the storage account type for the managed disk. Managed OS disk\nstorage account type can only be set when you create the scale set. NOTE:\nUltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk.\nStandard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS\nuses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD\nzone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant\nstorage. For more information regarding disks supported for Windows Virtual\nMachines, refer to\nhttps://docs.microsoft.com/azure/virtual-machines/windows/disks-types and, for\nLinux Virtual Machines, refer to\nhttps://docs.microsoft.com/azure/virtual-machines/linux/disks-types", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ], + "x-ms-enum": { + "name": "StorageAccountTypes", + "modelAsString": true, + "values": [ + { + "name": "Standard_LRS", + "value": "Standard_LRS" + }, + { + "name": "Premium_LRS", + "value": "Premium_LRS" + }, + { + "name": "StandardSSD_LRS", + "value": "StandardSSD_LRS" + }, + { + "name": "UltraSSD_LRS", + "value": "UltraSSD_LRS" + }, + { + "name": "Premium_ZRS", + "value": "Premium_ZRS" + }, + { + "name": "StandardSSD_ZRS", + "value": "StandardSSD_ZRS" + }, + { + "name": "PremiumV2_LRS", + "value": "PremiumV2_LRS" + } + ] + } + }, + "SubResource": { + "type": "object", + "properties": { "id": { "type": "string", - "description": "The compute RP resource id of the virtualMachineScaleSet \n\"subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}\"", - "readOnly": true - }, - "type": { + "description": "Resource Id" + } + } + }, + "SubResourceReadOnly": { + "type": "object", + "properties": { + "id": { "type": "string", - "description": "Type of the virtualMachineScaleSet", + "description": "Resource Id", "readOnly": true + } + } + }, + "TerminateNotificationProfile": { + "type": "object", + "properties": { + "notBeforeTimeout": { + "type": "string", + "description": "Configurable length of time a Virtual Machine being deleted will have to\npotentially approve the Terminate Scheduled Event before the event is auto\napproved (timed out). The configuration must be specified in ISO 8601 format,\nthe default value is 5 minutes (PT5M)" }, - "operationStatus": { - "$ref": "#/definitions/ProvisioningState", - "description": "This represents the operationStatus of the VMSS in response to the last operation that was performed on it by Azure Fleet resource.", - "readOnly": true + "enable": { + "type": "boolean", + "description": "Specifies whether the Terminate Scheduled event is enabled or disabled." + } + } + }, + "UefiSettings": { + "type": "object", + "description": "Specifies the security settings like secure boot and vTPM used while creating\nthe virtual machine. Minimum api-version: 2020-12-01.", + "properties": { + "secureBootEnabled": { + "type": "boolean", + "description": "Specifies whether secure boot should be enabled on the virtual machine. Minimum\napi-version: 2020-12-01." }, - "error": { - "$ref": "#/definitions/ApiError", - "description": "Error Information when `operationStatus` is `Failed`", - "readOnly": true + "vTpmEnabled": { + "type": "boolean", + "description": "Specifies whether vTPM should be enabled on the virtual machine. Minimum\napi-version: 2020-12-01." } - }, - "required": [ - "name", - "id", - "operationStatus" - ] + } }, - "VirtualMachineScaleSetListResult": { + "VMDiskSecurityProfile": { "type": "object", - "description": "The response of a VirtualMachineScaleSet list operation.", + "description": "Specifies the security profile settings for the managed disk. **Note:** It can\nonly be set for Confidential VMs.", "properties": { - "value": { - "type": "array", - "description": "The VirtualMachineScaleSet items on this page", - "items": { - "$ref": "#/definitions/VirtualMachineScaleSet" - } + "securityEncryptionType": { + "$ref": "#/definitions/SecurityEncryptionTypes", + "description": "Specifies the EncryptionType of the managed disk. It is set to\nDiskWithVMGuestState for encryption of the managed disk along with VMGuestState\nblob, VMGuestStateOnly for encryption of just the VMGuestState blob, and\nNonPersistedTPM for not persisting firmware state in the VMGuestState blob..\n**Note:** It can be set for only Confidential VMs." }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" + "diskEncryptionSet": { + "$ref": "#/definitions/DiskEncryptionSetParameters", + "description": "Specifies the customer managed disk encryption set resource id for the managed\ndisk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and\nVMGuest blob." } - }, - "required": [ - "value" - ] + } }, - "VmSizeProfile": { + "VMGalleryApplication": { "type": "object", - "description": "Specifications about a VM Size. This will also contain the corresponding rank and weight in future.", + "description": "Specifies the required information to reference a compute gallery application\nversion", "properties": { - "name": { + "tags": { "type": "string", - "description": "The Sku name (e.g. 'Standard_DS1_v2')" + "description": "Optional, Specifies a passthrough value for more generic context." }, - "rank": { + "order": { "type": "integer", "format": "int32", - "description": "The rank of the VM size. This is used with 'RegularPriorityAllocationStrategy.Prioritized'\nThe lower the number, the higher the priority. Starting with 0.", - "minimum": 0, - "maximum": 65535 + "description": "Optional, Specifies the order in which the packages have to be installed" + }, + "packageReferenceId": { + "type": "string", + "description": "Specifies the GalleryApplicationVersion resource id on the form of\n/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}" + }, + "configurationReference": { + "type": "string", + "description": "Optional, Specifies the uri to an azure blob that will replace the default\nconfiguration for the package if provided" + }, + "treatFailureAsDeploymentFailure": { + "type": "boolean", + "description": "Optional, If true, any failure for any operation in the VmApplication will fail\nthe deployment" + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "If set to true, when a new Gallery Application version is available in PIR/SIG,\nit will be automatically updated for the VM/VMSS" } }, "required": [ - "name" + "packageReferenceId" ] + }, + "VMSizeProperties": { + "type": "object", + "description": "Specifies VM Size Property settings on the virtual machine.", + "properties": { + "vCPUsAvailable": { + "type": "integer", + "format": "int32", + "description": "Specifies the number of vCPUs available for the VM. When this property is not\nspecified in the request body the default behavior is to set it to the value of\nvCPUs available for that VM size exposed in api response of [List all available\nvirtual machine sizes in a\nregion](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list)." + }, + "vCPUsPerCore": { + "type": "integer", + "format": "int32", + "description": "Specifies the vCPU to physical core ratio. When this property is not specified\nin the request body the default behavior is set to the value of vCPUsPerCore\nfor the VM Size exposed in api response of [List all available virtual machine\nsizes in a\nregion](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list).\n**Setting this property to 1 also means that hyper-threading is disabled.**" + } + } + }, + "VaultCertificate": { + "type": "object", + "description": "Describes a single certificate reference in a Key Vault, and where the\ncertificate should reside on the VM.", + "properties": { + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a\nsecret. For adding a secret to the Key Vault, see [Add a key or secret to the\nkey\nvault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add).\nIn this case, your certificate needs to be It is the Base64 encoding of the\nfollowing JSON Object which is encoded in UTF-8:

{
\n\"data\":\"\",
\"dataType\":\"pfx\",
\n\"password\":\"\"
}
To install certificates on a virtual\nmachine it is recommended to use the [Azure Key Vault virtual machine extension\nfor\nLinux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)\nor the [Azure Key Vault virtual machine extension for\nWindows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + }, + "certificateStore": { + "type": "string", + "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to\nwhich the certificate should be added. The specified certificate store is\nimplicitly in the LocalMachine account. For Linux VMs, the certificate file is\nplaced under the /var/lib/waagent directory, with the file name\n<UppercaseThumbprint>.crt for the X509 certificate file and\n<UppercaseThumbprint>.prv for private key. Both of these files are .pem\nformatted." + } + } + }, + "VaultSecretGroup": { + "type": "object", + "description": "Describes a set of certificates which are all in the same Key Vault.", + "properties": { + "sourceVault": { + "$ref": "#/definitions/SubResource", + "description": "The relative URL of the Key Vault containing all of the certificates in\nVaultCertificates." + }, + "vaultCertificates": { + "type": "array", + "description": "The list of key vault references in SourceVault which contain certificates.", + "items": { + "$ref": "#/definitions/VaultCertificate" + }, + "x-ms-identifiers": [ + "certificateUrl" + ] + } + } + }, + "VirtualHardDisk": { + "type": "object", + "description": "Describes the uri of a disk.", + "properties": { + "uri": { + "type": "string", + "description": "Specifies the virtual hard disk's uri." + } + } + }, + "VirtualMachineEvictionPolicyTypes": { + "type": "string", + "description": "Specifies the eviction policy for the Azure Spot VM/VMSS", + "enum": [ + "Deallocate", + "Delete" + ], + "x-ms-enum": { + "name": "VirtualMachineEvictionPolicyTypes", + "modelAsString": true, + "values": [ + { + "name": "Deallocate", + "value": "Deallocate" + }, + { + "name": "Delete", + "value": "Delete" + } + ] + } + }, + "VirtualMachineExtension": { + "type": "object", + "description": "Describes a Virtual Machine Extension.", + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/VirtualMachineExtensionProperties", + "description": "Describes the properties of a Virtual Machine Extension." + } + } + }, + "VirtualMachineExtensionInstanceView": { + "type": "object", + "description": "The instance view of a virtual machine extension.", + "properties": { + "name": { + "type": "string", + "description": "The virtual machine extension name." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "substatuses": { + "type": "array", + "description": "The resource status information.", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "x-ms-identifiers": [] + }, + "statuses": { + "type": "array", + "description": "The resource status information.", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "x-ms-identifiers": [] + } + } + }, + "VirtualMachineExtensionProperties": { + "type": "object", + "description": "Describes the properties of a Virtual Machine Extension.", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension\nconfiguration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is\navailable at deployment time. Once deployed, however, the extension will not\nupgrade minor versions unless redeployed, even with this property set to true." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the\nplatform if there is a newer version of the extension available." + }, + "settings": { + "type": "object", + "description": "Json formatted public settings for the extension.", + "additionalProperties": {} + }, + "protectedSettings": { + "type": "object", + "description": "The extension can contain either protectedSettings or\nprotectedSettingsFromKeyVault or no protected settings at all.", + "additionalProperties": {} + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state, which only appears in the response.", + "readOnly": true + }, + "instanceView": { + "$ref": "#/definitions/VirtualMachineExtensionInstanceView", + "description": "The virtual machine extension instance view." + }, + "suppressFailures": { + "type": "boolean", + "description": "Indicates whether failures stemming from the extension will be suppressed\n(Operational failures such as not connecting to the VM will not be suppressed\nregardless of this value). The default is false." + }, + "protectedSettingsFromKeyVault": { + "$ref": "#/definitions/KeyVaultSecretReference", + "description": "The extensions protected settings that are passed by reference, and consumed\nfrom key vault" + }, + "provisionAfterExtensions": { + "type": "array", + "description": "Collection of extension names after which this extension needs to be\nprovisioned.", + "items": { + "type": "string" + } + } + } + }, + "VirtualMachinePriorityTypes": { + "type": "string", + "description": "Specifies the priority for a standalone virtual machine or the virtual machines\nin the scale set. 'Low' enum will be deprecated in the future, please use\n'Spot' as the enum to deploy Azure Spot VM/VMSS.", + "enum": [ + "Regular", + "Low", + "Spot" + ], + "x-ms-enum": { + "name": "VirtualMachinePriorityTypes", + "modelAsString": true, + "values": [ + { + "name": "Regular", + "value": "Regular" + }, + { + "name": "Low", + "value": "Low" + }, + { + "name": "Spot", + "value": "Spot" + } + ] + } + }, + "VirtualMachineScaleSet": { + "type": "object", + "description": "An AzureFleet's virtualMachineScaleSet", + "properties": { + "name": { + "type": "string", + "description": "The name of the virtualMachineScaleSet", + "readOnly": true + }, + "id": { + "type": "string", + "description": "The compute RP resource id of the virtualMachineScaleSet \n\"subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}\"", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the virtualMachineScaleSet", + "readOnly": true + }, + "operationStatus": { + "$ref": "#/definitions/ProvisioningState", + "description": "This represents the operationStatus of the VMSS in response to the last operation that was performed on it by Azure Fleet resource.", + "readOnly": true + }, + "error": { + "$ref": "#/definitions/ApiError", + "description": "Error Information when `operationStatus` is `Failed`", + "readOnly": true + } + }, + "required": [ + "name", + "id", + "operationStatus" + ] + }, + "VirtualMachineScaleSetDataDisk": { + "type": "object", + "description": "Describes a virtual machine scale set data disk.", + "properties": { + "name": { + "type": "string", + "description": "The disk name." + }, + "lun": { + "type": "integer", + "format": "int32", + "description": "Specifies the logical unit number of the data disk. This value is used to\nidentify data disks within the VM and therefore must be unique for each data\ndisk attached to a VM." + }, + "caching": { + "$ref": "#/definitions/CachingTypes", + "description": "Specifies the caching requirements. Possible values are: **None,**\n**ReadOnly,** **ReadWrite.** The default values are: **None for Standard\nstorage. ReadOnly for Premium storage.**" + }, + "writeAcceleratorEnabled": { + "type": "boolean", + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + }, + "createOption": { + "$ref": "#/definitions/DiskCreateOptionTypes", + "description": "The create option." + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used\nto overwrite the size of the disk in a virtual machine image. The property\ndiskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be\nlarger than 1023." + }, + "managedDisk": { + "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters", + "description": "The managed disk parameters." + }, + "diskIOPSReadWrite": { + "type": "integer", + "format": "int64", + "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when\nStorageAccountType is UltraSSD_LRS. If not specified, a default value would be\nassigned based on diskSizeGB.", + "x-ms-client-name": "diskIopsReadWrite" + }, + "diskMBpsReadWrite": { + "type": "integer", + "format": "int64", + "description": "Specifies the bandwidth in MB per second for the managed disk. Should be used\nonly when StorageAccountType is UltraSSD_LRS. If not specified, a default value\nwould be assigned based on diskSizeGB." + }, + "deleteOption": { + "$ref": "#/definitions/DiskDeleteOptionTypes", + "description": "Specifies whether data disk should be deleted or detached upon VMSS Flex\ndeletion (This feature is available for VMSS with Flexible OrchestrationMode\nonly).

Possible values:

**Delete** If this value is used, the\ndata disk is deleted when the VMSS Flex VM is deleted.

**Detach** If\nthis value is used, the data disk is retained after VMSS Flex VM is\ndeleted.

The default value is set to **Delete**." + } + }, + "required": [ + "lun", + "createOption" + ] + }, + "VirtualMachineScaleSetExtension": { + "type": "object", + "description": "Describes a Virtual Machine Scale Set Extension.", + "properties": { + "id": { + "type": "string", + "description": "Resource Id", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of the extension." + }, + "type": { + "type": "string", + "description": "Resource type", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties", + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + } + } + }, + "VirtualMachineScaleSetExtensionProfile": { + "type": "object", + "description": "Describes a virtual machine scale set extension profile.", + "properties": { + "extensions": { + "type": "array", + "description": "The virtual machine scale set child extension resources.", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetExtension" + } + }, + "extensionsTimeBudget": { + "type": "string", + "description": "Specifies the time alloted for all extensions to start. The time duration\nshould be between 15 minutes and 120 minutes (inclusive) and should be\nspecified in ISO 8601 format. The default value is 90 minutes (PT1H30M).\nMinimum api-version: 2020-06-01." + } + } + }, + "VirtualMachineScaleSetExtensionProperties": { + "type": "object", + "description": "Describes the properties of a Virtual Machine Scale Set Extension.", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "If a value is provided and is different from the previous value, the extension\nhandler will be forced to update even if the extension configuration has not\nchanged." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is\navailable at deployment time. Once deployed, however, the extension will not\nupgrade minor versions unless redeployed, even with this property set to true." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the\nplatform if there is a newer version of the extension available." + }, + "settings": { + "type": "object", + "description": "Json formatted public settings for the extension.", + "additionalProperties": {} + }, + "protectedSettings": { + "type": "object", + "description": "The extension can contain either protectedSettings or\nprotectedSettingsFromKeyVault or no protected settings at all.", + "additionalProperties": {} + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state, which only appears in the response.", + "readOnly": true + }, + "provisionAfterExtensions": { + "type": "array", + "description": "Collection of extension names after which this extension needs to be\nprovisioned.", + "items": { + "type": "string" + } + }, + "suppressFailures": { + "type": "boolean", + "description": "Indicates whether failures stemming from the extension will be suppressed\n(Operational failures such as not connecting to the VM will not be suppressed\nregardless of this value). The default is false." + }, + "protectedSettingsFromKeyVault": { + "$ref": "#/definitions/KeyVaultSecretReference", + "description": "The extensions protected settings that are passed by reference, and consumed\nfrom key vault" + } + } + }, + "VirtualMachineScaleSetHardwareProfile": { + "type": "object", + "description": "Specifies the hardware settings for the virtual machine scale set.", + "properties": { + "vmSizeProperties": { + "$ref": "#/definitions/VMSizeProperties", + "description": "Specifies the properties for customizing the size of the virtual machine.\nMinimum api-version: 2021-11-01. Please follow the instructions in [VM\nCustomization](https://aka.ms/vmcustomization) for more details." + } + } + }, + "VirtualMachineScaleSetIPConfiguration": { + "type": "object", + "description": "Describes a virtual machine scale set network profile's IP configuration.", + "properties": { + "name": { + "type": "string", + "description": "The IP configuration name." + }, + "properties": { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties", + "description": "Describes a virtual machine scale set network profile's IP configuration\nproperties." + } + }, + "required": [ + "name" + ] + }, + "VirtualMachineScaleSetIPConfigurationProperties": { + "type": "object", + "description": "Describes a virtual machine scale set network profile's IP configuration\nproperties.", + "properties": { + "subnet": { + "$ref": "#/definitions/ApiEntityReference", + "description": "Specifies the identifier of the subnet." + }, + "primary": { + "type": "boolean", + "description": "Specifies the primary network interface in case the virtual machine has more\nthan 1 network interface." + }, + "publicIPAddressConfiguration": { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfiguration", + "description": "The publicIPAddressConfiguration." + }, + "privateIPAddressVersion": { + "$ref": "#/definitions/IPVersion", + "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the\nspecific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible\nvalues are: 'IPv4' and 'IPv6'." + }, + "applicationGatewayBackendAddressPools": { + "type": "array", + "description": "Specifies an array of references to backend address pools of application\ngateways. A scale set can reference backend address pools of multiple\napplication gateways. Multiple scale sets cannot use the same application\ngateway.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "applicationSecurityGroups": { + "type": "array", + "description": "Specifies an array of references to application security group.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "loadBalancerBackendAddressPools": { + "type": "array", + "description": "Specifies an array of references to backend address pools of load balancers. A\nscale set can reference backend address pools of one public and one internal\nload balancer. Multiple scale sets cannot use the same basic sku load balancer.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "loadBalancerInboundNatPools": { + "type": "array", + "description": "Specifies an array of references to inbound Nat pools of the load balancers. A\nscale set can reference inbound nat pools of one public and one internal load\nbalancer. Multiple scale sets cannot use the same basic sku load balancer.", + "items": { + "$ref": "#/definitions/SubResource" + } + } + } + }, + "VirtualMachineScaleSetIpTag": { + "type": "object", + "description": "Contains the IP tag associated with the public IP address.", + "properties": { + "ipTagType": { + "type": "string", + "description": "IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "IP tag associated with the public IP. Example: SQL, Storage etc." + } + } + }, + "VirtualMachineScaleSetListResult": { + "type": "object", + "description": "The response of a VirtualMachineScaleSet list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualMachineScaleSet items on this page", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSet" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualMachineScaleSetManagedDiskParameters": { + "type": "object", + "description": "Describes the parameters of a ScaleSet managed disk.", + "properties": { + "storageAccountType": { + "$ref": "#/definitions/StorageAccountTypes", + "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can\nonly be used with data disks, it cannot be used with OS Disk." + }, + "diskEncryptionSet": { + "$ref": "#/definitions/DiskEncryptionSetParameters", + "description": "Specifies the customer managed disk encryption set resource id for the managed\ndisk." + }, + "securityProfile": { + "$ref": "#/definitions/VMDiskSecurityProfile", + "description": "Specifies the security profile for the managed disk." + } + } + }, + "VirtualMachineScaleSetNetworkConfiguration": { + "type": "object", + "description": "Describes a virtual machine scale set network profile's network configurations.", + "properties": { + "name": { + "type": "string", + "description": "The network configuration name." + }, + "properties": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties", + "description": "Describes a virtual machine scale set network profile's IP configuration." + } + }, + "required": [ + "name" + ] + }, + "VirtualMachineScaleSetNetworkConfigurationDnsSettings": { + "type": "object", + "description": "Describes a virtual machines scale sets network configuration's DNS settings.", + "properties": { + "dnsServers": { + "type": "array", + "description": "List of DNS servers IP addresses", + "items": { + "type": "string" + } + } + } + }, + "VirtualMachineScaleSetNetworkConfigurationProperties": { + "type": "object", + "description": "Describes a virtual machine scale set network profile's IP configuration.", + "properties": { + "primary": { + "type": "boolean", + "description": "Specifies the primary network interface in case the virtual machine has more\nthan 1 network interface." + }, + "enableAcceleratedNetworking": { + "type": "boolean", + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "disableTcpStateTracking": { + "type": "boolean", + "description": "Specifies whether the network interface is disabled for tcp state tracking." + }, + "enableFpga": { + "type": "boolean", + "description": "Specifies whether the network interface is FPGA networking-enabled." + }, + "networkSecurityGroup": { + "$ref": "#/definitions/SubResource", + "description": "The network security group." + }, + "dnsSettings": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationDnsSettings", + "description": "The dns settings to be applied on the network interfaces." + }, + "ipConfigurations": { + "type": "array", + "description": "Specifies the IP configurations of the network interface.", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "enableIPForwarding": { + "type": "boolean", + "description": "Whether IP forwarding enabled on this NIC." + }, + "deleteOption": { + "$ref": "#/definitions/DeleteOptions", + "description": "Specify what happens to the network interface when the VM is deleted" + }, + "auxiliaryMode": { + "$ref": "#/definitions/NetworkInterfaceAuxiliaryMode", + "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface\nresource." + }, + "auxiliarySku": { + "$ref": "#/definitions/NetworkInterfaceAuxiliarySku", + "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface\nresource." + } + }, + "required": [ + "ipConfigurations" + ] + }, + "VirtualMachineScaleSetNetworkProfile": { + "type": "object", + "description": "Describes a virtual machine scale set network profile.", + "properties": { + "healthProbe": { + "$ref": "#/definitions/ApiEntityReference", + "description": "A reference to a load balancer probe used to determine the health of an\ninstance in the virtual machine scale set. The reference will be in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'." + }, + "networkInterfaceConfigurations": { + "type": "array", + "description": "The list of network configurations.", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration" + }, + "x-ms-identifiers": [] + }, + "networkApiVersion": { + "$ref": "#/definitions/NetworkApiVersion", + "description": "specifies the Microsoft.Network API version used when creating networking\nresources in the Network Interface Configurations for Virtual Machine Scale Set\nwith orchestration mode 'Flexible'" + } + } + }, + "VirtualMachineScaleSetOSDisk": { + "type": "object", + "description": "Describes a virtual machine scale set operating system disk.", + "properties": { + "name": { + "type": "string", + "description": "The disk name." + }, + "caching": { + "$ref": "#/definitions/CachingTypes", + "description": "Specifies the caching requirements. Possible values are: **None,**\n**ReadOnly,** **ReadWrite.** The default values are: **None for Standard\nstorage. ReadOnly for Premium storage.**" + }, + "writeAcceleratorEnabled": { + "type": "boolean", + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + }, + "createOption": { + "$ref": "#/definitions/DiskCreateOptionTypes", + "description": "Specifies how the virtual machines in the scale set should be created. The only\nallowed value is: **FromImage.** This value is used when you are using an image\nto create the virtual machine. If you are using a platform image, you also use\nthe imageReference element described above. If you are using a marketplace\nimage, you also use the plan element previously described." + }, + "diffDiskSettings": { + "$ref": "#/definitions/DiffDiskSettings", + "description": "Specifies the ephemeral disk Settings for the operating system disk used by the\nvirtual machine scale set." + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used\nto overwrite the size of the disk in a virtual machine image. The property\n'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot\nbe larger than 1023." + }, + "osType": { + "$ref": "#/definitions/OperatingSystemTypes", + "description": "This property allows you to specify the type of the OS that is included in the\ndisk if creating a VM from user-image or a specialized VHD. Possible values\nare: **Windows,** **Linux.**" + }, + "image": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "Specifies information about the unmanaged user image to base the scale set on." + }, + "vhdContainers": { + "type": "array", + "description": "Specifies the container urls that are used to store operating system disks for\nthe scale set.", + "items": { + "type": "string" + } + }, + "managedDisk": { + "$ref": "#/definitions/VirtualMachineScaleSetManagedDiskParameters", + "description": "The managed disk parameters." + }, + "deleteOption": { + "$ref": "#/definitions/DiskDeleteOptionTypes", + "description": "Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion\n(This feature is available for VMSS with Flexible OrchestrationMode only).\n

Possible values:

**Delete** If this value is used, the OS\ndisk is deleted when VMSS Flex VM is deleted.

**Detach** If this value\nis used, the OS disk is retained after VMSS Flex VM is deleted.

The\ndefault value is set to **Delete**. For an Ephemeral OS Disk, the default value\nis set to **Delete**. User cannot change the delete option for Ephemeral OS\nDisk." + } + }, + "required": [ + "createOption" + ] + }, + "VirtualMachineScaleSetOSProfile": { + "type": "object", + "description": "Describes a virtual machine scale set OS profile.", + "properties": { + "computerNamePrefix": { + "type": "string", + "description": "Specifies the computer name prefix for all of the virtual machines in the scale\nset. Computer name prefixes must be 1 to 15 characters long." + }, + "adminUsername": { + "type": "string", + "description": "Specifies the name of the administrator account.

**Windows-only\nrestriction:** Cannot end in \".\"

**Disallowed values:**\n\"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\",\n\"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\",\n\"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\",\n\"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".\n

**Minimum-length (Linux):** 1 character

**Max-length\n(Linux):** 64 characters

**Max-length (Windows):** 20 characters" + }, + "adminPassword": { + "type": "string", + "description": "Specifies the password of the administrator account.

**Minimum-length\n(Windows):** 8 characters

**Minimum-length (Linux):** 6 characters\n

**Max-length (Windows):** 123 characters

**Max-length\n(Linux):** 72 characters

**Complexity requirements:** 3 out of 4\nconditions below need to be fulfilled
Has lower characters
Has upper\ncharacters
Has a digit
Has a special character (Regex match [\\W_])\n

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\",\n\"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\",\n\"Password22\", \"iloveyou!\"

For resetting the password, see [How to\nreset the Remote Desktop service or its login password in a Windows\nVM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)\n

For resetting root password, see [Manage users, SSH, and check or\nrepair disks on Azure Linux VMs using the VMAccess\nExtension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)" + }, + "customData": { + "type": "string", + "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string\nis decoded to a binary array that is saved as a file on the Virtual Machine.\nThe maximum length of the binary array is 65535 bytes. For using cloud-init for\nyour VM, see [Using cloud-init to customize a Linux VM during\ncreation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)" + }, + "windowsConfiguration": { + "$ref": "#/definitions/WindowsConfiguration", + "description": "Specifies Windows operating system settings on the virtual machine." + }, + "linuxConfiguration": { + "$ref": "#/definitions/LinuxConfiguration", + "description": "Specifies the Linux operating system settings on the virtual machine. For a\nlist of supported Linux distributions, see [Linux on Azure-Endorsed\nDistributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)." + }, + "secrets": { + "type": "array", + "description": "Specifies set of certificates that should be installed onto the virtual\nmachines in the scale set. To install certificates on a virtual machine it is\nrecommended to use the [Azure Key Vault virtual machine extension for\nLinux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)\nor the [Azure Key Vault virtual machine extension for\nWindows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + }, + "x-ms-identifiers": [ + "sourceVault/id" + ] + }, + "allowExtensionOperations": { + "type": "boolean", + "description": "Specifies whether extension operations should be allowed on the virtual machine\nscale set. This may only be set to False when no extensions are present on the\nvirtual machine scale set." + }, + "requireGuestProvisionSignal": { + "type": "boolean", + "description": "Optional property which must either be set to True or omitted." + } + } + }, + "VirtualMachineScaleSetPublicIPAddressConfiguration": { + "type": "object", + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress\nconfiguration", + "properties": { + "name": { + "type": "string", + "description": "The publicIP address configuration name." + }, + "properties": { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationProperties", + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress\nconfiguration" + }, + "sku": { + "$ref": "#/definitions/PublicIPAddressSku", + "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as\nFlexible." + } + }, + "required": [ + "name" + ] + }, + "VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings": { + "type": "object", + "description": "Describes a virtual machines scale sets network configuration's DNS settings.", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "The Domain name label.The concatenation of the domain name label and vm index\nwill be the domain name labels of the PublicIPAddress resources that will be\ncreated" + }, + "domainNameLabelScope": { + "$ref": "#/definitions/DomainNameLabelScopeTypes", + "description": "The Domain name label scope.The concatenation of the hashed domain name label\nthat generated according to the policy from domain name label scope and vm\nindex will be the domain name labels of the PublicIPAddress resources that will\nbe created" + } + }, + "required": [ + "domainNameLabel" + ] + }, + "VirtualMachineScaleSetPublicIPAddressConfigurationProperties": { + "type": "object", + "description": "Describes a virtual machines scale set IP Configuration's PublicIPAddress\nconfiguration", + "properties": { + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The idle timeout of the public IP address." + }, + "dnsSettings": { + "$ref": "#/definitions/VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", + "description": "The dns settings to be applied on the publicIP addresses ." + }, + "ipTags": { + "type": "array", + "description": "The list of IP tags associated with the public IP address.", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetIpTag" + }, + "x-ms-identifiers": [] + }, + "publicIPPrefix": { + "$ref": "#/definitions/SubResource", + "description": "The PublicIPPrefix from which to allocate publicIP addresses." + }, + "publicIPAddressVersion": { + "$ref": "#/definitions/IPVersion", + "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the\nspecific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible\nvalues are: 'IPv4' and 'IPv6'." + }, + "deleteOption": { + "$ref": "#/definitions/DeleteOptions", + "description": "Specify what happens to the public IP when the VM is deleted" + } + } + }, + "VirtualMachineScaleSetStorageProfile": { + "type": "object", + "description": "Describes a virtual machine scale set storage profile.", + "properties": { + "imageReference": { + "$ref": "#/definitions/ImageReference", + "description": "Specifies information about the image to use. You can specify information about\nplatform images, marketplace images, or virtual machine images. This element is\nrequired when you want to use a platform image, marketplace image, or virtual\nmachine image, but is not used in other creation operations." + }, + "osDisk": { + "$ref": "#/definitions/VirtualMachineScaleSetOSDisk", + "description": "Specifies information about the operating system disk used by the virtual\nmachines in the scale set. For more information about disks, see [About disks\nand VHDs for Azure virtual\nmachines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + }, + "dataDisks": { + "type": "array", + "description": "Specifies the parameters that are used to add data disks to the virtual\nmachines in the scale set. For more information about disks, see [About disks\nand VHDs for Azure virtual\nmachines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetDataDisk" + }, + "x-ms-identifiers": [ + "name", + "lun" + ] + }, + "diskControllerType": { + "type": "string" + } + } + }, + "VmSizeProfile": { + "type": "object", + "description": "Specifications about a VM Size. This will also contain the corresponding rank and weight in future.", + "properties": { + "name": { + "type": "string", + "description": "The Sku name (e.g. 'Standard_DS1_v2')" + }, + "rank": { + "type": "integer", + "format": "int32", + "description": "The rank of the VM size. This is used with 'RegularPriorityAllocationStrategy.Prioritized'\nThe lower the number, the higher the priority. Starting with 0.", + "minimum": 0, + "maximum": 65535 + } + }, + "required": [ + "name" + ] + }, + "WinRMConfiguration": { + "type": "object", + "description": "Describes Windows Remote Management configuration of the VM", + "properties": { + "listeners": { + "type": "array", + "description": "The list of Windows Remote Management listeners", + "items": { + "$ref": "#/definitions/WinRMListener" + }, + "x-ms-identifiers": [] + } + } + }, + "WinRMListener": { + "type": "object", + "description": "Describes Protocol and thumbprint of Windows Remote Management listener", + "properties": { + "protocol": { + "$ref": "#/definitions/ProtocolTypes", + "description": "Specifies the protocol of WinRM listener. Possible values are: **http,**\n**https.**" + }, + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a\nsecret. For adding a secret to the Key Vault, see [Add a key or secret to the\nkey\nvault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add).\nIn this case, your certificate needs to be the Base64 encoding of the following\nJSON Object which is encoded in UTF-8:

{
\n\"data\":\"\",
\"dataType\":\"pfx\",
\n\"password\":\"\"
}
To install certificates on a virtual\nmachine it is recommended to use the [Azure Key Vault virtual machine extension\nfor\nLinux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)\nor the [Azure Key Vault virtual machine extension for\nWindows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + } + } + }, + "WindowsConfiguration": { + "type": "object", + "description": "Specifies Windows operating system settings on the virtual machine.", + "properties": { + "provisionVMAgent": { + "type": "boolean", + "description": "Indicates whether virtual machine agent should be provisioned on the virtual\nmachine. When this property is not specified in the request body, it is set to\ntrue by default. This will ensure that VM Agent is installed on the VM so that\nextensions can be added to the VM later." + }, + "enableAutomaticUpdates": { + "type": "boolean", + "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine.\nDefault value is true. For virtual machine scale sets, this property can be\nupdated and updates will take effect on OS reprovisioning." + }, + "timeZone": { + "type": "string", + "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".\nPossible values can be\n[TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id)\nvalue from time zones returned by\n[TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones)." + }, + "additionalUnattendContent": { + "type": "array", + "description": "Specifies additional base-64 encoded XML formatted information that can be\nincluded in the Unattend.xml file, which is used by Windows Setup.", + "items": { + "$ref": "#/definitions/AdditionalUnattendContent" + }, + "x-ms-identifiers": [] + }, + "patchSettings": { + "$ref": "#/definitions/PatchSettings", + "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows." + }, + "winRM": { + "$ref": "#/definitions/WinRMConfiguration", + "description": "Specifies the Windows Remote Management listeners. This enables remote Windows\nPowerShell." + }, + "enableVMAgentPlatformUpdates": { + "type": "boolean", + "description": "Indicates whether VMAgent Platform Updates is enabled for the Windows virtual\nmachine. Default value is false." + } + } + }, + "WindowsPatchAssessmentMode": { + "type": "string", + "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "WindowsPatchAssessmentMode", + "modelAsString": true, + "values": [ + { + "name": "ImageDefault", + "value": "ImageDefault" + }, + { + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform" + } + ] + } + }, + "WindowsVMGuestPatchAutomaticByPlatformRebootSetting": { + "type": "string", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations.", + "enum": [ + "Unknown", + "IfRequired", + "Never", + "Always" + ], + "x-ms-enum": { + "name": "WindowsVMGuestPatchAutomaticByPlatformRebootSetting", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "IfRequired", + "value": "IfRequired" + }, + { + "name": "Never", + "value": "Never" + }, + { + "name": "Always", + "value": "Always" + } + ] + } + }, + "WindowsVMGuestPatchAutomaticByPlatformSettings": { + "type": "object", + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform\nis selected in Windows patch settings.", + "properties": { + "rebootSetting": { + "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformRebootSetting", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations." + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "type": "boolean", + "description": "Enables customer to schedule patching without accidental upgrades" + } + } + }, + "WindowsVMGuestPatchMode": { + "type": "string", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**Manual** - You\ncontrol the application of patches to a virtual machine. You do this by\napplying patches manually inside the VM. In this mode, automatic updates are\ndisabled; the property WindowsConfiguration.enableAutomaticUpdates must be\nfalse

**AutomaticByOS** - The virtual machine will automatically be\nupdated by the OS. The property WindowsConfiguration.enableAutomaticUpdates\nmust be true.

**AutomaticByPlatform** - the virtual machine will\nautomatically updated by the platform. The properties provisionVMAgent and\nWindowsConfiguration.enableAutomaticUpdates must be true", + "enum": [ + "Manual", + "AutomaticByOS", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "WindowsVMGuestPatchMode", + "modelAsString": true, + "values": [ + { + "name": "Manual", + "value": "Manual" + }, + { + "name": "AutomaticByOS", + "value": "AutomaticByOS" + }, + { + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform" + } + ] + } } }, "parameters": {} From fa8a914c8821b39a7bec634d50ff083aa1068dd4 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Wed, 19 Jun 2024 19:19:52 -0700 Subject: [PATCH 03/27] fix spell check --- .../baseVirtualMachineProfile.tsp | 16 ++++++++-------- .../preview/2023-11-01-preview/azurefleet.json | 8 ++++---- .../preview/2024-05-01-preview/azurefleet.json | 8 ++++---- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index 4722f25e3ffe..aaf9569c1669 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -636,8 +636,8 @@ model ImageReference is SubResource { * version of an image available at deploy time. Even if you use 'latest', the VM * image will not automatically update after deploy time even if a new version * becomes available. Please do not use field 'version' for gallery image - * deployment, gallery image should always use 'id' field for deployment, to use - * 'latest' version of gallery image, just set + * deployment, gallery image should always use 'id' field for deployment, to use 'latest' + * version of gallery image, just set * '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' * in the 'id' field without version input. */ @@ -645,8 +645,8 @@ model ImageReference is SubResource { /** * Specifies in decimal numbers, the version of platform image or marketplace - * image used to create the virtual machine. This readonly field differs from - * 'version', only if the value specified in 'version' field is 'latest'. + * image used to create the virtual machine. This readonly field differs from 'version', + * only if the value specified in 'version' field is 'latest'. */ @visibility("read") exactVersion?: string; @@ -702,8 +702,8 @@ model VirtualMachineScaleSetOSDisk { /** * Specifies the size of an empty data disk in gigabytes. This element can be used - * to overwrite the size of the disk in a virtual machine image. The property - * 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot + * to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' + * is the number of bytes x 1024^3 for the disk and the value cannot * be larger than 1023. */ diskSizeGB?: int32; @@ -1862,8 +1862,8 @@ model ResourceWithOptionalLocation { /** * Specifies the priority for a standalone virtual machine or the virtual machines - * in the scale set. 'Low' enum will be deprecated in the future, please use - * 'Spot' as the enum to deploy Azure Spot VM/VMSS. + * in the scale set. 'Low' enum will be deprecated in the future, please use 'Spot' + * as the enum to deploy Azure Spot VM/VMSS. */ union VirtualMachinePriorityTypes { string, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index af57b693e213..0d2c8a2d8678 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -1162,11 +1162,11 @@ }, "version": { "type": "string", - "description": "Specifies the version of the platform image or marketplace image used to create\nthe virtual machine. The allowed formats are Major.Minor.Build or 'latest'.\nMajor, Minor, and Build are decimal numbers. Specify 'latest' to use the latest\nversion of an image available at deploy time. Even if you use 'latest', the VM\nimage will not automatically update after deploy time even if a new version\nbecomes available. Please do not use field 'version' for gallery image\ndeployment, gallery image should always use 'id' field for deployment, to use\n'latest' version of gallery image, just set\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'\nin the 'id' field without version input." + "description": "Specifies the version of the platform image or marketplace image used to create\nthe virtual machine. The allowed formats are Major.Minor.Build or 'latest'.\nMajor, Minor, and Build are decimal numbers. Specify 'latest' to use the latest\nversion of an image available at deploy time. Even if you use 'latest', the VM\nimage will not automatically update after deploy time even if a new version\nbecomes available. Please do not use field 'version' for gallery image\ndeployment, gallery image should always use 'id' field for deployment, to use 'latest'\nversion of gallery image, just set \n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'\nin the 'id' field without version input." }, "exactVersion": { "type": "string", - "description": "Specifies in decimal numbers, the version of platform image or marketplace\nimage used to create the virtual machine. This readonly field differs from\n'version', only if the value specified in 'version' field is 'latest'.", + "description": "Specifies in decimal numbers, the version of platform image or marketplace\nimage used to create the virtual machine. This readonly field differs from 'version',\nonly if the value specified in 'version' field is 'latest'.", "readOnly": true }, "sharedGalleryImageId": { @@ -2372,7 +2372,7 @@ }, "VirtualMachinePriorityTypes": { "type": "string", - "description": "Specifies the priority for a standalone virtual machine or the virtual machines\nin the scale set. 'Low' enum will be deprecated in the future, please use\n'Spot' as the enum to deploy Azure Spot VM/VMSS.", + "description": "Specifies the priority for a standalone virtual machine or the virtual machines\nin the scale set. 'Low' enum will be deprecated in the future, please use 'Spot'\nas the enum to deploy Azure Spot VM/VMSS.", "enum": [ "Regular", "Low", @@ -2852,7 +2852,7 @@ "diskSizeGB": { "type": "integer", "format": "int32", - "description": "Specifies the size of an empty data disk in gigabytes. This element can be used\nto overwrite the size of the disk in a virtual machine image. The property\n'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot\nbe larger than 1023." + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used\nto overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB'\nis the number of bytes x 1024^3 for the disk and the value cannot\nbe larger than 1023." }, "osType": { "$ref": "#/definitions/OperatingSystemTypes", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index de70ce271d4b..56bd4b5deb42 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -1146,11 +1146,11 @@ }, "version": { "type": "string", - "description": "Specifies the version of the platform image or marketplace image used to create\nthe virtual machine. The allowed formats are Major.Minor.Build or 'latest'.\nMajor, Minor, and Build are decimal numbers. Specify 'latest' to use the latest\nversion of an image available at deploy time. Even if you use 'latest', the VM\nimage will not automatically update after deploy time even if a new version\nbecomes available. Please do not use field 'version' for gallery image\ndeployment, gallery image should always use 'id' field for deployment, to use\n'latest' version of gallery image, just set\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'\nin the 'id' field without version input." + "description": "Specifies the version of the platform image or marketplace image used to create\nthe virtual machine. The allowed formats are Major.Minor.Build or 'latest'.\nMajor, Minor, and Build are decimal numbers. Specify 'latest' to use the latest\nversion of an image available at deploy time. Even if you use 'latest', the VM\nimage will not automatically update after deploy time even if a new version\nbecomes available. Please do not use field 'version' for gallery image\ndeployment, gallery image should always use 'id' field for deployment, to use 'latest'\nversion of gallery image, just set \n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'\nin the 'id' field without version input." }, "exactVersion": { "type": "string", - "description": "Specifies in decimal numbers, the version of platform image or marketplace\nimage used to create the virtual machine. This readonly field differs from\n'version', only if the value specified in 'version' field is 'latest'.", + "description": "Specifies in decimal numbers, the version of platform image or marketplace\nimage used to create the virtual machine. This readonly field differs from 'version',\nonly if the value specified in 'version' field is 'latest'.", "readOnly": true }, "sharedGalleryImageId": { @@ -2366,7 +2366,7 @@ }, "VirtualMachinePriorityTypes": { "type": "string", - "description": "Specifies the priority for a standalone virtual machine or the virtual machines\nin the scale set. 'Low' enum will be deprecated in the future, please use\n'Spot' as the enum to deploy Azure Spot VM/VMSS.", + "description": "Specifies the priority for a standalone virtual machine or the virtual machines\nin the scale set. 'Low' enum will be deprecated in the future, please use 'Spot'\nas the enum to deploy Azure Spot VM/VMSS.", "enum": [ "Regular", "Low", @@ -2851,7 +2851,7 @@ "diskSizeGB": { "type": "integer", "format": "int32", - "description": "Specifies the size of an empty data disk in gigabytes. This element can be used\nto overwrite the size of the disk in a virtual machine image. The property\n'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot\nbe larger than 1023." + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used\nto overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB'\nis the number of bytes x 1024^3 for the disk and the value cannot\nbe larger than 1023." }, "osType": { "$ref": "#/definitions/OperatingSystemTypes", From 1c5b1408faf95d6a881cc3cdd52e580ce83ca17b Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Thu, 20 Jun 2024 00:02:19 -0700 Subject: [PATCH 04/27] Fix validation errors --- .../baseVirtualMachineProfile.tsp | 487 ++++++++++++++++-- .../2023-11-01-preview/azurefleet.json | 349 ++++++++++--- .../2024-05-01-preview/azurefleet.json | 349 ++++++++++--- 3 files changed, 967 insertions(+), 218 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index aaf9569c1669..4af01782eccf 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -136,6 +136,7 @@ model BaseVirtualMachineProfile { /** * Describes a virtual machine scale set OS profile. */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model VirtualMachineScaleSetOSProfile { /** * Specifies the computer name prefix for all of the virtual machines in the scale @@ -202,6 +203,7 @@ model VirtualMachineScaleSetOSProfile { * or the [Azure Key Vault virtual machine extension for * Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "id exists inside sourceVault" @OpenAPI.extension("x-ms-identifiers", ["sourceVault/id"]) secrets?: VaultSecretGroup[]; @@ -228,6 +230,7 @@ model WindowsConfiguration { * true by default. This will ensure that VM Agent is installed on the VM so that * extensions can be added to the VM later. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "" provisionVMAgent?: boolean; /** @@ -262,12 +265,14 @@ model WindowsConfiguration { * Specifies the Windows Remote Management listeners. This enables remote Windows * PowerShell. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "" winRM?: WinRMConfiguration; /** * Indicates whether VMAgent Platform Updates is enabled for the Windows virtual * machine. Default value is false. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "" enableVMAgentPlatformUpdates?: boolean; } @@ -348,6 +353,7 @@ model PatchSettings { * Specifies additional settings to be applied when patch mode AutomaticByPlatform * is selected in Windows patch settings. */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model WindowsVMGuestPatchAutomaticByPlatformSettings { /** * Specifies the reboot setting for all AutomaticByPlatform patch installation @@ -364,6 +370,7 @@ model WindowsVMGuestPatchAutomaticByPlatformSettings { /** * Describes Windows Remote Management configuration of the VM */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model WinRMConfiguration { /** * The list of Windows Remote Management listeners @@ -375,6 +382,7 @@ model WinRMConfiguration { /** * Describes Protocol and thumbprint of Windows Remote Management listener */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model WinRMListener { /** * Specifies the protocol of WinRM listener. Possible values are: **http,** @@ -422,6 +430,7 @@ model LinuxConfiguration { * behavior is to set it to true. This will ensure that VM Agent is installed on * the VM so that extensions can be added to the VM later. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "" provisionVMAgent?: boolean; /** @@ -433,6 +442,7 @@ model LinuxConfiguration { * Indicates whether VMAgent Platform Updates is enabled for the Linux virtual * machine. Default value is false. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "" enableVMAgentPlatformUpdates?: boolean; } @@ -502,6 +512,7 @@ model LinuxPatchSettings { * Specifies additional settings to be applied when patch mode AutomaticByPlatform * is selected in Linux patch settings. */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model LinuxVMGuestPatchAutomaticByPlatformSettings { /** * Specifies the reboot setting for all AutomaticByPlatform patch installation @@ -532,6 +543,9 @@ model VaultSecretGroup { vaultCertificates?: VaultCertificate[]; } +/** + * Describes SubResource + */ model SubResource { /** * Resource Id @@ -602,7 +616,10 @@ model VirtualMachineScaleSetStorageProfile { @OpenAPI.extension("x-ms-identifiers", ["name", "lun"]) dataDisks?: VirtualMachineScaleSetDataDisk[]; - diskControllerType?: string; + /** + * Specifies the disk controller type configured for the virtual machines in the scale set. Minimum api-version: 2022-08-01 + */ + diskControllerType?: DiskControllerTypes; } /** @@ -667,6 +684,7 @@ model ImageReference is SubResource { /** * Describes a virtual machine scale set operating system disk. */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model VirtualMachineScaleSetOSDisk { /** * The disk name. @@ -811,6 +829,7 @@ model DiskEncryptionSetParameters is SubResource; * Specifies the security profile settings for the managed disk. **Note:** It can * only be set for Confidential VMs. */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model VMDiskSecurityProfile { /** * Specifies the EncryptionType of the managed disk. It is set to @@ -868,6 +887,7 @@ model VirtualMachineScaleSetDataDisk { * diskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be * larger than 1023. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "" diskSizeGB?: int32; /** @@ -888,6 +908,7 @@ model VirtualMachineScaleSetDataDisk { * only when StorageAccountType is UltraSSD_LRS. If not specified, a default value * would be assigned based on diskSizeGB. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "" diskMBpsReadWrite?: int64; /** @@ -996,6 +1017,7 @@ model VirtualMachineScaleSetNetworkConfigurationProperties { /** * Whether IP forwarding enabled on this NIC. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "" enableIPForwarding?: boolean; /** @@ -1029,6 +1051,7 @@ model VirtualMachineScaleSetNetworkConfigurationDnsSettings { /** * Describes a virtual machine scale set network profile's IP configuration. */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model VirtualMachineScaleSetIPConfiguration { /** * The IP configuration name. @@ -1046,6 +1069,7 @@ model VirtualMachineScaleSetIPConfiguration { * Describes a virtual machine scale set network profile's IP configuration * properties. */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model VirtualMachineScaleSetIPConfigurationProperties { /** * Specifies the identifier of the subnet. @@ -1102,6 +1126,7 @@ model VirtualMachineScaleSetIPConfigurationProperties { * Describes a virtual machines scale set IP Configuration's PublicIPAddress * configuration */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model VirtualMachineScaleSetPublicIPAddressConfiguration { /** * The publicIP address configuration name. @@ -1125,6 +1150,7 @@ model VirtualMachineScaleSetPublicIPAddressConfiguration { * Describes a virtual machines scale set IP Configuration's PublicIPAddress * configuration */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model VirtualMachineScaleSetPublicIPAddressConfigurationProperties { /** * The idle timeout of the public IP address. @@ -1163,6 +1189,7 @@ model VirtualMachineScaleSetPublicIPAddressConfigurationProperties { /** * Describes a virtual machines scale sets network configuration's DNS settings. */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings { /** * The Domain name label.The concatenation of the domain name label and vm index @@ -1199,6 +1226,7 @@ model VirtualMachineScaleSetIpTag { * Describes the public IP Sku. It can only be set with OrchestrationMode as * Flexible. */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model PublicIPAddressSku { /** * Specify public IP sku name @@ -1470,6 +1498,9 @@ model KeyVaultSecretReference { sourceVault: SubResource; } +/** + * Describes a Readonly subresource. + */ model SubResourceReadOnly { /** * Resource Id @@ -1500,6 +1531,9 @@ model BillingProfile { maxPrice?: float64; } +/** + * Specifies Scheduled Event related configurations. + */ model ScheduledEventsProfile { /** * Specifies Terminate Scheduled Event related configurations. @@ -1512,6 +1546,9 @@ model ScheduledEventsProfile { osImageNotificationProfile?: OSImageNotificationProfile; } +/** + * Specifies Terminate Scheduled Event related configurations. + */ model TerminateNotificationProfile { /** * Configurable length of time a Virtual Machine being deleted will have to @@ -1527,6 +1564,10 @@ model TerminateNotificationProfile { enable?: boolean; } +/** + * Specifies OS Image Scheduled Event related configurations. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model OSImageNotificationProfile { /** * Length of time a Virtual Machine being reimaged or having its OS upgraded will @@ -1571,6 +1612,7 @@ model ApplicationProfile { * Specifies the required information to reference a compute gallery application * version */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model VMGalleryApplication { /** * Optional, Specifies a passthrough value for more generic context. @@ -1622,6 +1664,7 @@ model VirtualMachineScaleSetHardwareProfile { /** * Specifies VM Size Property settings on the virtual machine. */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "" model VMSizeProperties { /** * Specifies the number of vCPUs available for the VM. When this property is not @@ -1867,8 +1910,21 @@ model ResourceWithOptionalLocation { */ union VirtualMachinePriorityTypes { string, + + /** + * Regular Priority + */ Regular: "Regular", + + /** + * Low Priority. 'Low' enum will be deprecated in the future, + * please use 'Spot' as the enum to deploy Azure Spot VM/VMSS. + */ Low: "Low", + + /** + * Spot Priority + */ Spot: "Spot", } @@ -1877,7 +1933,15 @@ union VirtualMachinePriorityTypes { */ union VirtualMachineEvictionPolicyTypes { string, + + /** + * Deallocate Eviction Policy + */ Deallocate: "Deallocate", + + /** + * Delete Eviction Policy + */ Delete: "Delete", } @@ -1885,53 +1949,90 @@ union VirtualMachineEvictionPolicyTypes { * Specifies the name of the setting to which the content applies. Possible values * are: FirstLogonCommands and AutoLogon. */ -enum SettingNames { - AutoLogon, - FirstLogonCommands, +union SettingNames { + string, + + /** + * AutoLogon setting + */ + AutoLogon: "AutoLogon", + + /** + * FirstLogonCommands setting + */ + FirstLogonCommands: "FirstLogonCommands", } /** * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual * machines associated to virtual machine scale set with OrchestrationMode as - * Flexible.

Possible values are:

**Manual** - You - * control the application of patches to a virtual machine. You do this by - * applying patches manually inside the VM. In this mode, automatic updates are - * disabled; the property WindowsConfiguration.enableAutomaticUpdates must be - * false

**AutomaticByOS** - The virtual machine will automatically be - * updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates - * must be true.

**AutomaticByPlatform** - the virtual machine will - * automatically updated by the platform. The properties provisionVMAgent and - * WindowsConfiguration.enableAutomaticUpdates must be true + * Flexible. */ union WindowsVMGuestPatchMode { string, + + /** + * You control the application of patches to a virtual machine. + * You do this by applying patches manually inside the VM. In this mode, + * automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates + * must be false + */ Manual: "Manual", + + /** + * The virtual machine will automatically be updated by the OS. + * The property WindowsConfiguration.enableAutomaticUpdates must be true. + */ AutomaticByOS: "AutomaticByOS", + + /** + * The virtual machine will automatically updated by the platform. The properties + * provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true. + */ AutomaticByPlatform: "AutomaticByPlatform", } /** - * Specifies the mode of VM Guest patch assessment for the IaaS virtual - * machine.

Possible values are:

**ImageDefault** - You - * control the timing of patch assessments on a virtual machine.

- * **AutomaticByPlatform** - The platform will trigger periodic patch assessments. - * The property provisionVMAgent must be true. + * Specifies the mode of VM Guest patch assessment for the IaaS virtual machine. */ union WindowsPatchAssessmentMode { string, + + /** + * You control the timing of patch assessments on a virtual machine. + */ ImageDefault: "ImageDefault", + + /** + * The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. + */ AutomaticByPlatform: "AutomaticByPlatform", } /** - * Specifies the reboot setting for all AutomaticByPlatform patch installation - * operations. + * Specifies the reboot setting for all AutomaticByPlatform patch installation operations. */ union WindowsVMGuestPatchAutomaticByPlatformRebootSetting { string, + + /** + * Unknown Reboot setting + */ Unknown: "Unknown", + + /** + * IfRequired Reboot setting + */ IfRequired: "IfRequired", + + /** + * Never Reboot setting + */ Never: "Never", + + /** + * Always Reboot setting + */ Always: "Always", } @@ -1939,22 +2040,36 @@ union WindowsVMGuestPatchAutomaticByPlatformRebootSetting { * Specifies the protocol of WinRM listener. Possible values are: **http,** * **https.** */ -enum ProtocolTypes { - Http, - Https, +union ProtocolTypes { + string, + + /** + * Http protocol + */ + Http: "Http", + + /** + * Https protocol + */ + Https: "Https", } /** * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual * machines associated to virtual machine scale set with OrchestrationMode as - * Flexible.

Possible values are:

**ImageDefault** - The - * virtual machine's default patching configuration is used.

- * **AutomaticByPlatform** - The virtual machine will be automatically updated by - * the platform. The property provisionVMAgent must be true + * Flexible. */ union LinuxVMGuestPatchMode { string, + + /** + * The virtual machine's default patching configuration is used. + */ ImageDefault: "ImageDefault", + + /** + * The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true. + */ AutomaticByPlatform: "AutomaticByPlatform", } @@ -1967,7 +2082,15 @@ union LinuxVMGuestPatchMode { */ union LinuxPatchAssessmentMode { string, + + /** + * You control the timing of patch assessments on a virtual machine. + */ ImageDefault: "ImageDefault", + + /** + * The platform will trigger periodic patch assessments.The property provisionVMAgent must be true. + */ AutomaticByPlatform: "AutomaticByPlatform", } @@ -1977,21 +2100,48 @@ union LinuxPatchAssessmentMode { */ union LinuxVMGuestPatchAutomaticByPlatformRebootSetting { string, + + /** + * Unknown Reboot setting + */ Unknown: "Unknown", + + /** + * IfRequired Reboot setting + */ IfRequired: "IfRequired", + + /** + * Never Reboot setting + */ Never: "Never", + + /** + * Always Reboot setting + */ Always: "Always", } /** - * Specifies the caching requirements. Possible values are: **None,** - * **ReadOnly,** **ReadWrite.** The default values are: **None for Standard - * storage. ReadOnly for Premium storage** + * Specifies the caching requirements. */ -enum CachingTypes { - None, - ReadOnly, - ReadWrite, +union CachingTypes { + string, + + /** + * 'None' is default for Standard Storage + */ + None: "None", + + /** + * 'ReadOnly' is default for Premium Storage + */ + ReadOnly: "ReadOnly", + + /** + * 'ReadWrite' is default for OS Disk + */ + ReadWrite: "ReadWrite", } /** @@ -1999,24 +2149,53 @@ enum CachingTypes { * disk if creating a VM from user-image or a specialized VHD. Possible values * are: **Windows,** **Linux.** */ -enum OperatingSystemTypes { - Windows, - Linux, +union OperatingSystemTypes { + string, + + /** + * Windows OS type + */ + Windows: "Windows", + + /** + * Linux OS type + */ + Linux: "Linux", } /** - * Specifies how the virtual machine should be created. Possible values are: - * **Attach.** This value is used when you are using a specialized disk to create - * the virtual machine. **FromImage.** This value is used when you are using an - * image to create the virtual machine. If you are using a platform image, you - * also use the imageReference element described above. If you are using a - * marketplace image, you also use the plan element previously described. + * Specifies how the virtual machine should be created. */ union DiskCreateOptionTypes { string, + + /** + * This value is used when you are using an image to create the virtual machine. + * If you are using a platform image, you also use the imageReference element + * described above. If you are using a marketplace image, you also use the + * plan element previously described. + */ FromImage: "FromImage", + + /** + * This value is used when creating an empty data disk. + */ Empty: "Empty", + + /** + * This value is used when you are using a specialized disk to create the virtual machine. + */ Attach: "Attach", + + /** + * This value is used to create a data disk from a snapshot or another disk. + */ + Copy: "Copy", + + /** + * This value is used to create a data disk from a disk restore point. + */ + Restore: "Restore", } /** @@ -2028,7 +2207,15 @@ union DiskCreateOptionTypes { */ union DiskDeleteOptionTypes { string, + + /** + * If this value is used, the managed disk is deleted when VM gets deleted. + */ Delete: "Delete", + + /** + * If this value is used, the managed disk is retained after VM gets deleted. + */ Detach: "Detach", } @@ -2037,6 +2224,10 @@ union DiskDeleteOptionTypes { */ union DiffDiskOptions { string, + + /** + * Local Option. + */ Local: "Local", } @@ -2049,11 +2240,25 @@ union DiffDiskOptions { * https://docs.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 + * Minimum api-version for NvmeDisk: 2024-03-01. */ union DiffDiskPlacement { string, + + /** + * CacheDisk option. + */ CacheDisk: "CacheDisk", + + /** + * Resource Disk option. + */ ResourceDisk: "ResourceDisk", + + /** + * NvmeDisk option. + */ + NvmeDisk: "NvmeDisk", } /** @@ -2071,26 +2276,66 @@ union DiffDiskPlacement { */ union StorageAccountTypes { string, + + /** + * Standard_LRS option. + */ Standard_LRS: "Standard_LRS", + + /** + * Premium_LRS option. + */ Premium_LRS: "Premium_LRS", + + /** + * StandardSSD_LRS option. + */ StandardSSD_LRS: "StandardSSD_LRS", + + /** + * UltraSSD_LRS option. + */ UltraSSD_LRS: "UltraSSD_LRS", + + /** + * Premium_ZRS option. + */ Premium_ZRS: "Premium_ZRS", + + /** + * StandardSSD_ZRS option. + */ StandardSSD_ZRS: "StandardSSD_ZRS", + + /** + * PremiumV2_LRS option. + */ PremiumV2_LRS: "PremiumV2_LRS", } /** - * Specifies the EncryptionType of the managed disk. It is set to - * DiskWithVMGuestState for encryption of the managed disk along with VMGuestState - * blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and - * NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. + * Specifies the EncryptionType of the managed disk. * **Note:** It can be set for only Confidential VMs. */ union SecurityEncryptionTypes { string, + + /** + * EncryptionType of the managed disk is set to VMGuestStateOnly for encryption + * of just the VMGuestState blob. + */ VMGuestStateOnly: "VMGuestStateOnly", + + /** + * EncryptionType of the managed disk is set to DiskWithVMGuestState for encryption + * of the managed disk along with VMGuestState blob. + */ DiskWithVMGuestState: "DiskWithVMGuestState", + + /** + * EncryptionType of the managed disk is set to NonPersistedTPM for not persisting + * firmware state in the VMGuestState blob. + */ NonPersistedTPM: "NonPersistedTPM", } @@ -2101,6 +2346,10 @@ union SecurityEncryptionTypes { */ union NetworkApiVersion { string, + + /** + * Initial version supported. Later versions are supported as well. + */ `2020-11-01`: "2020-11-01", } @@ -2109,7 +2358,15 @@ union NetworkApiVersion { */ union DeleteOptions { string, + + /** + * Delete Option + */ Delete: "Delete", + + /** + * Detach Option + */ Detach: "Detach", } @@ -2119,8 +2376,20 @@ union DeleteOptions { */ union NetworkInterfaceAuxiliaryMode { string, + + /** + * None Mode + */ None: "None", + + /** + * AcceleratedConnections Mode + */ AcceleratedConnections: "AcceleratedConnections", + + /** + * Floating Mode + */ Floating: "Floating", } @@ -2130,10 +2399,30 @@ union NetworkInterfaceAuxiliaryMode { */ union NetworkInterfaceAuxiliarySku { string, + + /** + * no sku + */ None: "None", + + /** + * A1 sku + */ A1: "A1", + + /** + * A2 sku + */ A2: "A2", + + /** + * A4 sku + */ A4: "A4", + + /** + * A8 sku + */ A8: "A8", } @@ -2144,7 +2433,15 @@ union NetworkInterfaceAuxiliarySku { */ union IPVersion { string, + + /** + * IPv4 version + */ IPv4: "IPv4", + + /** + * IPv6 version + */ IPv6: "IPv6", } @@ -2156,18 +2453,42 @@ union IPVersion { */ union DomainNameLabelScopeTypes { string, + + /** + * TenantReuse type + */ TenantReuse: "TenantReuse", + + /** + * SubscriptionReuse type + */ SubscriptionReuse: "SubscriptionReuse", + + /** + * ResourceGroupReuse type + */ ResourceGroupReuse: "ResourceGroupReuse", + + /** + * NoReuse type + */ NoReuse: "NoReuse", } /** - * Specify public IP sku name + * Specify public IP sku name. */ union PublicIPAddressSkuName { string, + + /** + * Basic sku name + */ Basic: "Basic", + + /** + * Standard sku name + */ Standard: "Standard", } @@ -2176,7 +2497,15 @@ union PublicIPAddressSkuName { */ union PublicIPAddressSkuTier { string, + + /** + * Regional sku tier + */ Regional: "Regional", + + /** + * Global sku tier + */ Global: "Global", } @@ -2187,7 +2516,15 @@ union PublicIPAddressSkuTier { */ union SecurityTypes { string, + + /** + * TrustedLaunch security type + */ TrustedLaunch: "TrustedLaunch", + + /** + * ConfidentialVM security type + */ ConfidentialVM: "ConfidentialVM", } @@ -2199,15 +2536,61 @@ union SecurityTypes { */ union Mode { string, + + /** + * Audit Mode + */ Audit: "Audit", + + /** + * Enforce Mode + */ Enforce: "Enforce", } /** * The level code. */ -enum StatusLevelTypes { - Info, - Warning, - Error, +union StatusLevelTypes { + string, + + /** + * Info level + */ + Info: "Info", + + /** + * Warning level + */ + Warning: "Warning", + + /** + * Error Level + */ + Error: "Error", +} + +/** + * Specifies the disk controller type configured for the VM and + * VirtualMachineScaleSet. This property is only supported for virtual machines + * whose operating system disk and VM sku supports Generation 2 + * (https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please + * check the HyperVGenerations capability returned as part of VM sku capabilities + * in the response of Microsoft.Compute SKUs api for the region contains V2 + * (https://docs.microsoft.com/rest/api/compute/resourceskus/list). For more + * information about Disk Controller Types supported please refer to + * https://aka.ms/azure-diskcontrollertypes. + */ +union DiskControllerTypes { + string, + + /** + * SCSI disk type + */ + SCSI: "SCSI", + + /** + * NVMe disk type + */ + NVMe: "NVMe", } diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 0d2c8a2d8678..0ae40c07a83c 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -758,7 +758,7 @@ }, "CachingTypes": { "type": "string", - "description": "Specifies the caching requirements. Possible values are: **None,**\n**ReadOnly,** **ReadWrite.** The default values are: **None for Standard\nstorage. ReadOnly for Premium storage**", + "description": "Specifies the caching requirements.", "enum": [ "None", "ReadOnly", @@ -766,7 +766,24 @@ ], "x-ms-enum": { "name": "CachingTypes", - "modelAsString": false + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "'None' is default for Standard Storage" + }, + { + "name": "ReadOnly", + "value": "ReadOnly", + "description": "'ReadOnly' is default for Premium Storage" + }, + { + "name": "ReadWrite", + "value": "ReadWrite", + "description": "'ReadWrite' is default for OS Disk" + } + ] } }, "CapacityReservationProfile": { @@ -809,11 +826,13 @@ "values": [ { "name": "Delete", - "value": "Delete" + "value": "Delete", + "description": "Delete Option" }, { "name": "Detach", - "value": "Detach" + "value": "Detach", + "description": "Detach Option" } ] } @@ -840,17 +859,19 @@ "values": [ { "name": "Local", - "value": "Local" + "value": "Local", + "description": "Local Option." } ] } }, "DiffDiskPlacement": { "type": "string", - "description": "Specifies the ephemeral disk placement for operating system disk. This property\ncan be used by user in the request to choose the location i.e, cache disk or\nresource disk space for Ephemeral OS disk provisioning. For more information on\nEphemeral OS disk size requirements, please refer Ephemeral OS disk size\nrequirements for Windows VM at\nhttps://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements\nand Linux VM at\nhttps://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements", + "description": "Specifies the ephemeral disk placement for operating system disk. This property\ncan be used by user in the request to choose the location i.e, cache disk or\nresource disk space for Ephemeral OS disk provisioning. For more information on\nEphemeral OS disk size requirements, please refer Ephemeral OS disk size\nrequirements for Windows VM at\nhttps://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements\nand Linux VM at\nhttps://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements\nMinimum api-version for NvmeDisk: 2024-03-01.", "enum": [ "CacheDisk", - "ResourceDisk" + "ResourceDisk", + "NvmeDisk" ], "x-ms-enum": { "name": "DiffDiskPlacement", @@ -858,11 +879,18 @@ "values": [ { "name": "CacheDisk", - "value": "CacheDisk" + "value": "CacheDisk", + "description": "CacheDisk option." }, { "name": "ResourceDisk", - "value": "ResourceDisk" + "value": "ResourceDisk", + "description": "Resource Disk option." + }, + { + "name": "NvmeDisk", + "value": "NvmeDisk", + "description": "NvmeDisk option." } ] } @@ -881,13 +909,39 @@ } } }, + "DiskControllerTypes": { + "type": "string", + "description": "Specifies the disk controller type configured for the VM and\nVirtualMachineScaleSet. This property is only supported for virtual machines\nwhose operating system disk and VM sku supports Generation 2\n(https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please\ncheck the HyperVGenerations capability returned as part of VM sku capabilities\nin the response of Microsoft.Compute SKUs api for the region contains V2\n(https://docs.microsoft.com/rest/api/compute/resourceskus/list). For more\ninformation about Disk Controller Types supported please refer to\nhttps://aka.ms/azure-diskcontrollertypes.", + "enum": [ + "SCSI", + "NVMe" + ], + "x-ms-enum": { + "name": "DiskControllerTypes", + "modelAsString": true, + "values": [ + { + "name": "SCSI", + "value": "SCSI", + "description": "SCSI disk type" + }, + { + "name": "NVMe", + "value": "NVMe", + "description": "NVMe disk type" + } + ] + } + }, "DiskCreateOptionTypes": { "type": "string", - "description": "Specifies how the virtual machine should be created. Possible values are:\n**Attach.** This value is used when you are using a specialized disk to create\nthe virtual machine. **FromImage.** This value is used when you are using an\nimage to create the virtual machine. If you are using a platform image, you\nalso use the imageReference element described above. If you are using a\nmarketplace image, you also use the plan element previously described.", + "description": "Specifies how the virtual machine should be created.", "enum": [ "FromImage", "Empty", - "Attach" + "Attach", + "Copy", + "Restore" ], "x-ms-enum": { "name": "DiskCreateOptionTypes", @@ -895,15 +949,28 @@ "values": [ { "name": "FromImage", - "value": "FromImage" + "value": "FromImage", + "description": "This value is used when you are using an image to create the virtual machine.\nIf you are using a platform image, you also use the imageReference element \ndescribed above. If you are using a marketplace image, you also use the \nplan element previously described." }, { "name": "Empty", - "value": "Empty" + "value": "Empty", + "description": "This value is used when creating an empty data disk." }, { "name": "Attach", - "value": "Attach" + "value": "Attach", + "description": "This value is used when you are using a specialized disk to create the virtual machine." + }, + { + "name": "Copy", + "value": "Copy", + "description": "This value is used to create a data disk from a snapshot or another disk." + }, + { + "name": "Restore", + "value": "Restore", + "description": "This value is used to create a data disk from a disk restore point." } ] } @@ -921,11 +988,13 @@ "values": [ { "name": "Delete", - "value": "Delete" + "value": "Delete", + "description": "If this value is used, the managed disk is deleted when VM gets deleted." }, { "name": "Detach", - "value": "Detach" + "value": "Detach", + "description": "If this value is used, the managed disk is retained after VM gets deleted." } ] } @@ -955,19 +1024,23 @@ "values": [ { "name": "TenantReuse", - "value": "TenantReuse" + "value": "TenantReuse", + "description": "TenantReuse type" }, { "name": "SubscriptionReuse", - "value": "SubscriptionReuse" + "value": "SubscriptionReuse", + "description": "SubscriptionReuse type" }, { "name": "ResourceGroupReuse", - "value": "ResourceGroupReuse" + "value": "ResourceGroupReuse", + "description": "ResourceGroupReuse type" }, { "name": "NoReuse", - "value": "NoReuse" + "value": "NoReuse", + "description": "NoReuse type" } ] } @@ -1131,11 +1204,13 @@ "values": [ { "name": "IPv4", - "value": "IPv4" + "value": "IPv4", + "description": "IPv4 version" }, { "name": "IPv6", - "value": "IPv6" + "value": "IPv6", + "description": "IPv6 version" } ] } @@ -1162,7 +1237,7 @@ }, "version": { "type": "string", - "description": "Specifies the version of the platform image or marketplace image used to create\nthe virtual machine. The allowed formats are Major.Minor.Build or 'latest'.\nMajor, Minor, and Build are decimal numbers. Specify 'latest' to use the latest\nversion of an image available at deploy time. Even if you use 'latest', the VM\nimage will not automatically update after deploy time even if a new version\nbecomes available. Please do not use field 'version' for gallery image\ndeployment, gallery image should always use 'id' field for deployment, to use 'latest'\nversion of gallery image, just set \n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'\nin the 'id' field without version input." + "description": "Specifies the version of the platform image or marketplace image used to create\nthe virtual machine. The allowed formats are Major.Minor.Build or 'latest'.\nMajor, Minor, and Build are decimal numbers. Specify 'latest' to use the latest\nversion of an image available at deploy time. Even if you use 'latest', the VM\nimage will not automatically update after deploy time even if a new version\nbecomes available. Please do not use field 'version' for gallery image\ndeployment, gallery image should always use 'id' field for deployment, to use 'latest'\nversion of gallery image, just set\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'\nin the 'id' field without version input." }, "exactVersion": { "type": "string", @@ -1277,11 +1352,13 @@ "values": [ { "name": "ImageDefault", - "value": "ImageDefault" + "value": "ImageDefault", + "description": "You control the timing of patch assessments on a virtual machine." }, { "name": "AutomaticByPlatform", - "value": "AutomaticByPlatform" + "value": "AutomaticByPlatform", + "description": "The platform will trigger periodic patch assessments.The property provisionVMAgent must be true." } ] } @@ -1319,19 +1396,23 @@ "values": [ { "name": "Unknown", - "value": "Unknown" + "value": "Unknown", + "description": "Unknown Reboot setting" }, { "name": "IfRequired", - "value": "IfRequired" + "value": "IfRequired", + "description": "IfRequired Reboot setting" }, { "name": "Never", - "value": "Never" + "value": "Never", + "description": "Never Reboot setting" }, { "name": "Always", - "value": "Always" + "value": "Always", + "description": "Always Reboot setting" } ] } @@ -1352,7 +1433,7 @@ }, "LinuxVMGuestPatchMode": { "type": "string", - "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**ImageDefault** - The\nvirtual machine's default patching configuration is used.

\n**AutomaticByPlatform** - The virtual machine will be automatically updated by\nthe platform. The property provisionVMAgent must be true", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.", "enum": [ "ImageDefault", "AutomaticByPlatform" @@ -1363,11 +1444,13 @@ "values": [ { "name": "ImageDefault", - "value": "ImageDefault" + "value": "ImageDefault", + "description": "The virtual machine's default patching configuration is used." }, { "name": "AutomaticByPlatform", - "value": "AutomaticByPlatform" + "value": "AutomaticByPlatform", + "description": "The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true." } ] } @@ -1403,11 +1486,13 @@ "values": [ { "name": "Audit", - "value": "Audit" + "value": "Audit", + "description": "Audit Mode" }, { "name": "Enforce", - "value": "Enforce" + "value": "Enforce", + "description": "Enforce Mode" } ] } @@ -1424,7 +1509,8 @@ "values": [ { "name": "2020-11-01", - "value": "2020-11-01" + "value": "2020-11-01", + "description": "Initial version supported. Later versions are supported as well." } ] } @@ -1443,15 +1529,18 @@ "values": [ { "name": "None", - "value": "None" + "value": "None", + "description": "None Mode" }, { "name": "AcceleratedConnections", - "value": "AcceleratedConnections" + "value": "AcceleratedConnections", + "description": "AcceleratedConnections Mode" }, { "name": "Floating", - "value": "Floating" + "value": "Floating", + "description": "Floating Mode" } ] } @@ -1472,29 +1561,35 @@ "values": [ { "name": "None", - "value": "None" + "value": "None", + "description": "no sku" }, { "name": "A1", - "value": "A1" + "value": "A1", + "description": "A1 sku" }, { "name": "A2", - "value": "A2" + "value": "A2", + "description": "A2 sku" }, { "name": "A4", - "value": "A4" + "value": "A4", + "description": "A4 sku" }, { "name": "A8", - "value": "A8" + "value": "A8", + "description": "A8 sku" } ] } }, "OSImageNotificationProfile": { "type": "object", + "description": "Specifies OS Image Scheduled Event related configurations.", "properties": { "notBeforeTimeout": { "type": "string", @@ -1515,7 +1610,19 @@ ], "x-ms-enum": { "name": "OperatingSystemTypes", - "modelAsString": false + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows", + "description": "Windows OS type" + }, + { + "name": "Linux", + "value": "Linux", + "description": "Linux OS type" + } + ] } }, "PatchSettings": { @@ -1549,7 +1656,19 @@ ], "x-ms-enum": { "name": "ProtocolTypes", - "modelAsString": false + "modelAsString": true, + "values": [ + { + "name": "Http", + "value": "Http", + "description": "Http protocol" + }, + { + "name": "Https", + "value": "Https", + "description": "Https protocol" + } + ] } }, "ProvisioningState": { @@ -1642,7 +1761,7 @@ }, "PublicIPAddressSkuName": { "type": "string", - "description": "Specify public IP sku name", + "description": "Specify public IP sku name.", "enum": [ "Basic", "Standard" @@ -1653,11 +1772,13 @@ "values": [ { "name": "Basic", - "value": "Basic" + "value": "Basic", + "description": "Basic sku name" }, { "name": "Standard", - "value": "Standard" + "value": "Standard", + "description": "Standard sku name" } ] } @@ -1675,11 +1796,13 @@ "values": [ { "name": "Regional", - "value": "Regional" + "value": "Regional", + "description": "Regional sku tier" }, { "name": "Global", - "value": "Global" + "value": "Global", + "description": "Global sku tier" } ] } @@ -1784,6 +1907,7 @@ }, "ScheduledEventsProfile": { "type": "object", + "description": "Specifies Scheduled Event related configurations.", "properties": { "terminateNotificationProfile": { "$ref": "#/definitions/TerminateNotificationProfile", @@ -1797,7 +1921,7 @@ }, "SecurityEncryptionTypes": { "type": "string", - "description": "Specifies the EncryptionType of the managed disk. It is set to\nDiskWithVMGuestState for encryption of the managed disk along with VMGuestState\nblob, VMGuestStateOnly for encryption of just the VMGuestState blob, and\nNonPersistedTPM for not persisting firmware state in the VMGuestState blob..\n**Note:** It can be set for only Confidential VMs.", + "description": "Specifies the EncryptionType of the managed disk.\n**Note:** It can be set for only Confidential VMs.", "enum": [ "VMGuestStateOnly", "DiskWithVMGuestState", @@ -1809,15 +1933,18 @@ "values": [ { "name": "VMGuestStateOnly", - "value": "VMGuestStateOnly" + "value": "VMGuestStateOnly", + "description": "EncryptionType of the managed disk is set to VMGuestStateOnly for encryption\nof just the VMGuestState blob." }, { "name": "DiskWithVMGuestState", - "value": "DiskWithVMGuestState" + "value": "DiskWithVMGuestState", + "description": "EncryptionType of the managed disk is set to DiskWithVMGuestState for encryption\nof the managed disk along with VMGuestState blob." }, { "name": "NonPersistedTPM", - "value": "NonPersistedTPM" + "value": "NonPersistedTPM", + "description": "EncryptionType of the managed disk is set to NonPersistedTPM for not persisting\nfirmware state in the VMGuestState blob." } ] } @@ -1878,11 +2005,13 @@ "values": [ { "name": "TrustedLaunch", - "value": "TrustedLaunch" + "value": "TrustedLaunch", + "description": "TrustedLaunch security type" }, { "name": "ConfidentialVM", - "value": "ConfidentialVM" + "value": "ConfidentialVM", + "description": "ConfidentialVM security type" } ] } @@ -1906,7 +2035,19 @@ ], "x-ms-enum": { "name": "SettingNames", - "modelAsString": false + "modelAsString": true, + "values": [ + { + "name": "AutoLogon", + "value": "AutoLogon", + "description": "AutoLogon setting" + }, + { + "name": "FirstLogonCommands", + "value": "FirstLogonCommands", + "description": "FirstLogonCommands setting" + } + ] } }, "SpotAllocationStrategy": { @@ -2010,7 +2151,24 @@ ], "x-ms-enum": { "name": "StatusLevelTypes", - "modelAsString": false + "modelAsString": true, + "values": [ + { + "name": "Info", + "value": "Info", + "description": "Info level" + }, + { + "name": "Warning", + "value": "Warning", + "description": "Warning level" + }, + { + "name": "Error", + "value": "Error", + "description": "Error Level" + } + ] } }, "StorageAccountTypes": { @@ -2031,37 +2189,45 @@ "values": [ { "name": "Standard_LRS", - "value": "Standard_LRS" + "value": "Standard_LRS", + "description": "Standard_LRS option." }, { "name": "Premium_LRS", - "value": "Premium_LRS" + "value": "Premium_LRS", + "description": "Premium_LRS option." }, { "name": "StandardSSD_LRS", - "value": "StandardSSD_LRS" + "value": "StandardSSD_LRS", + "description": "StandardSSD_LRS option." }, { "name": "UltraSSD_LRS", - "value": "UltraSSD_LRS" + "value": "UltraSSD_LRS", + "description": "UltraSSD_LRS option." }, { "name": "Premium_ZRS", - "value": "Premium_ZRS" + "value": "Premium_ZRS", + "description": "Premium_ZRS option." }, { "name": "StandardSSD_ZRS", - "value": "StandardSSD_ZRS" + "value": "StandardSSD_ZRS", + "description": "StandardSSD_ZRS option." }, { "name": "PremiumV2_LRS", - "value": "PremiumV2_LRS" + "value": "PremiumV2_LRS", + "description": "PremiumV2_LRS option." } ] } }, "SubResource": { "type": "object", + "description": "Describes SubResource", "properties": { "id": { "type": "string", @@ -2071,6 +2237,7 @@ }, "SubResourceReadOnly": { "type": "object", + "description": "Describes a Readonly subresource.", "properties": { "id": { "type": "string", @@ -2081,6 +2248,7 @@ }, "TerminateNotificationProfile": { "type": "object", + "description": "Specifies Terminate Scheduled Event related configurations.", "properties": { "notBeforeTimeout": { "type": "string", @@ -2227,11 +2395,13 @@ "values": [ { "name": "Deallocate", - "value": "Deallocate" + "value": "Deallocate", + "description": "Deallocate Eviction Policy" }, { "name": "Delete", - "value": "Delete" + "value": "Delete", + "description": "Delete Eviction Policy" } ] } @@ -2384,15 +2554,18 @@ "values": [ { "name": "Regular", - "value": "Regular" + "value": "Regular", + "description": "Regular Priority" }, { "name": "Low", - "value": "Low" + "value": "Low", + "description": "Low Priority. 'Low' enum will be deprecated in the future,\nplease use 'Spot' as the enum to deploy Azure Spot VM/VMSS." }, { "name": "Spot", - "value": "Spot" + "value": "Spot", + "description": "Spot Priority" } ] } @@ -3027,7 +3200,8 @@ ] }, "diskControllerType": { - "type": "string" + "$ref": "#/definitions/DiskControllerTypes", + "description": "Specifies the disk controller type configured for the virtual machines in the scale set. Minimum api-version: 2022-08-01" } } }, @@ -3112,7 +3286,7 @@ }, "WindowsPatchAssessmentMode": { "type": "string", - "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true.", + "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.", "enum": [ "ImageDefault", "AutomaticByPlatform" @@ -3123,18 +3297,20 @@ "values": [ { "name": "ImageDefault", - "value": "ImageDefault" + "value": "ImageDefault", + "description": "You control the timing of patch assessments on a virtual machine." }, { "name": "AutomaticByPlatform", - "value": "AutomaticByPlatform" + "value": "AutomaticByPlatform", + "description": "The platform will trigger periodic patch assessments. The property provisionVMAgent must be true." } ] } }, "WindowsVMGuestPatchAutomaticByPlatformRebootSetting": { "type": "string", - "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations.", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.", "enum": [ "Unknown", "IfRequired", @@ -3147,19 +3323,23 @@ "values": [ { "name": "Unknown", - "value": "Unknown" + "value": "Unknown", + "description": "Unknown Reboot setting" }, { "name": "IfRequired", - "value": "IfRequired" + "value": "IfRequired", + "description": "IfRequired Reboot setting" }, { "name": "Never", - "value": "Never" + "value": "Never", + "description": "Never Reboot setting" }, { "name": "Always", - "value": "Always" + "value": "Always", + "description": "Always Reboot setting" } ] } @@ -3180,7 +3360,7 @@ }, "WindowsVMGuestPatchMode": { "type": "string", - "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**Manual** - You\ncontrol the application of patches to a virtual machine. You do this by\napplying patches manually inside the VM. In this mode, automatic updates are\ndisabled; the property WindowsConfiguration.enableAutomaticUpdates must be\nfalse

**AutomaticByOS** - The virtual machine will automatically be\nupdated by the OS. The property WindowsConfiguration.enableAutomaticUpdates\nmust be true.

**AutomaticByPlatform** - the virtual machine will\nautomatically updated by the platform. The properties provisionVMAgent and\nWindowsConfiguration.enableAutomaticUpdates must be true", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.", "enum": [ "Manual", "AutomaticByOS", @@ -3192,15 +3372,18 @@ "values": [ { "name": "Manual", - "value": "Manual" + "value": "Manual", + "description": "You control the application of patches to a virtual machine.\nYou do this by applying patches manually inside the VM. In this mode,\nautomatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates\nmust be false" }, { "name": "AutomaticByOS", - "value": "AutomaticByOS" + "value": "AutomaticByOS", + "description": "The virtual machine will automatically be updated by the OS.\nThe property WindowsConfiguration.enableAutomaticUpdates must be true." }, { "name": "AutomaticByPlatform", - "value": "AutomaticByPlatform" + "value": "AutomaticByPlatform", + "description": "The virtual machine will automatically updated by the platform. The properties \nprovisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true." } ] } diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index 56bd4b5deb42..dc12f71647d6 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -737,7 +737,7 @@ }, "CachingTypes": { "type": "string", - "description": "Specifies the caching requirements. Possible values are: **None,**\n**ReadOnly,** **ReadWrite.** The default values are: **None for Standard\nstorage. ReadOnly for Premium storage**", + "description": "Specifies the caching requirements.", "enum": [ "None", "ReadOnly", @@ -745,7 +745,24 @@ ], "x-ms-enum": { "name": "CachingTypes", - "modelAsString": false + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "'None' is default for Standard Storage" + }, + { + "name": "ReadOnly", + "value": "ReadOnly", + "description": "'ReadOnly' is default for Premium Storage" + }, + { + "name": "ReadWrite", + "value": "ReadWrite", + "description": "'ReadWrite' is default for OS Disk" + } + ] } }, "CapacityReservationProfile": { @@ -793,11 +810,13 @@ "values": [ { "name": "Delete", - "value": "Delete" + "value": "Delete", + "description": "Delete Option" }, { "name": "Detach", - "value": "Detach" + "value": "Detach", + "description": "Detach Option" } ] } @@ -824,17 +843,19 @@ "values": [ { "name": "Local", - "value": "Local" + "value": "Local", + "description": "Local Option." } ] } }, "DiffDiskPlacement": { "type": "string", - "description": "Specifies the ephemeral disk placement for operating system disk. This property\ncan be used by user in the request to choose the location i.e, cache disk or\nresource disk space for Ephemeral OS disk provisioning. For more information on\nEphemeral OS disk size requirements, please refer Ephemeral OS disk size\nrequirements for Windows VM at\nhttps://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements\nand Linux VM at\nhttps://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements", + "description": "Specifies the ephemeral disk placement for operating system disk. This property\ncan be used by user in the request to choose the location i.e, cache disk or\nresource disk space for Ephemeral OS disk provisioning. For more information on\nEphemeral OS disk size requirements, please refer Ephemeral OS disk size\nrequirements for Windows VM at\nhttps://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements\nand Linux VM at\nhttps://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements\nMinimum api-version for NvmeDisk: 2024-03-01.", "enum": [ "CacheDisk", - "ResourceDisk" + "ResourceDisk", + "NvmeDisk" ], "x-ms-enum": { "name": "DiffDiskPlacement", @@ -842,11 +863,18 @@ "values": [ { "name": "CacheDisk", - "value": "CacheDisk" + "value": "CacheDisk", + "description": "CacheDisk option." }, { "name": "ResourceDisk", - "value": "ResourceDisk" + "value": "ResourceDisk", + "description": "Resource Disk option." + }, + { + "name": "NvmeDisk", + "value": "NvmeDisk", + "description": "NvmeDisk option." } ] } @@ -865,13 +893,39 @@ } } }, + "DiskControllerTypes": { + "type": "string", + "description": "Specifies the disk controller type configured for the VM and\nVirtualMachineScaleSet. This property is only supported for virtual machines\nwhose operating system disk and VM sku supports Generation 2\n(https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please\ncheck the HyperVGenerations capability returned as part of VM sku capabilities\nin the response of Microsoft.Compute SKUs api for the region contains V2\n(https://docs.microsoft.com/rest/api/compute/resourceskus/list). For more\ninformation about Disk Controller Types supported please refer to\nhttps://aka.ms/azure-diskcontrollertypes.", + "enum": [ + "SCSI", + "NVMe" + ], + "x-ms-enum": { + "name": "DiskControllerTypes", + "modelAsString": true, + "values": [ + { + "name": "SCSI", + "value": "SCSI", + "description": "SCSI disk type" + }, + { + "name": "NVMe", + "value": "NVMe", + "description": "NVMe disk type" + } + ] + } + }, "DiskCreateOptionTypes": { "type": "string", - "description": "Specifies how the virtual machine should be created. Possible values are:\n**Attach.** This value is used when you are using a specialized disk to create\nthe virtual machine. **FromImage.** This value is used when you are using an\nimage to create the virtual machine. If you are using a platform image, you\nalso use the imageReference element described above. If you are using a\nmarketplace image, you also use the plan element previously described.", + "description": "Specifies how the virtual machine should be created.", "enum": [ "FromImage", "Empty", - "Attach" + "Attach", + "Copy", + "Restore" ], "x-ms-enum": { "name": "DiskCreateOptionTypes", @@ -879,15 +933,28 @@ "values": [ { "name": "FromImage", - "value": "FromImage" + "value": "FromImage", + "description": "This value is used when you are using an image to create the virtual machine.\nIf you are using a platform image, you also use the imageReference element \ndescribed above. If you are using a marketplace image, you also use the \nplan element previously described." }, { "name": "Empty", - "value": "Empty" + "value": "Empty", + "description": "This value is used when creating an empty data disk." }, { "name": "Attach", - "value": "Attach" + "value": "Attach", + "description": "This value is used when you are using a specialized disk to create the virtual machine." + }, + { + "name": "Copy", + "value": "Copy", + "description": "This value is used to create a data disk from a snapshot or another disk." + }, + { + "name": "Restore", + "value": "Restore", + "description": "This value is used to create a data disk from a disk restore point." } ] } @@ -905,11 +972,13 @@ "values": [ { "name": "Delete", - "value": "Delete" + "value": "Delete", + "description": "If this value is used, the managed disk is deleted when VM gets deleted." }, { "name": "Detach", - "value": "Detach" + "value": "Detach", + "description": "If this value is used, the managed disk is retained after VM gets deleted." } ] } @@ -939,19 +1008,23 @@ "values": [ { "name": "TenantReuse", - "value": "TenantReuse" + "value": "TenantReuse", + "description": "TenantReuse type" }, { "name": "SubscriptionReuse", - "value": "SubscriptionReuse" + "value": "SubscriptionReuse", + "description": "SubscriptionReuse type" }, { "name": "ResourceGroupReuse", - "value": "ResourceGroupReuse" + "value": "ResourceGroupReuse", + "description": "ResourceGroupReuse type" }, { "name": "NoReuse", - "value": "NoReuse" + "value": "NoReuse", + "description": "NoReuse type" } ] } @@ -1115,11 +1188,13 @@ "values": [ { "name": "IPv4", - "value": "IPv4" + "value": "IPv4", + "description": "IPv4 version" }, { "name": "IPv6", - "value": "IPv6" + "value": "IPv6", + "description": "IPv6 version" } ] } @@ -1146,7 +1221,7 @@ }, "version": { "type": "string", - "description": "Specifies the version of the platform image or marketplace image used to create\nthe virtual machine. The allowed formats are Major.Minor.Build or 'latest'.\nMajor, Minor, and Build are decimal numbers. Specify 'latest' to use the latest\nversion of an image available at deploy time. Even if you use 'latest', the VM\nimage will not automatically update after deploy time even if a new version\nbecomes available. Please do not use field 'version' for gallery image\ndeployment, gallery image should always use 'id' field for deployment, to use 'latest'\nversion of gallery image, just set \n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'\nin the 'id' field without version input." + "description": "Specifies the version of the platform image or marketplace image used to create\nthe virtual machine. The allowed formats are Major.Minor.Build or 'latest'.\nMajor, Minor, and Build are decimal numbers. Specify 'latest' to use the latest\nversion of an image available at deploy time. Even if you use 'latest', the VM\nimage will not automatically update after deploy time even if a new version\nbecomes available. Please do not use field 'version' for gallery image\ndeployment, gallery image should always use 'id' field for deployment, to use 'latest'\nversion of gallery image, just set\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'\nin the 'id' field without version input." }, "exactVersion": { "type": "string", @@ -1261,11 +1336,13 @@ "values": [ { "name": "ImageDefault", - "value": "ImageDefault" + "value": "ImageDefault", + "description": "You control the timing of patch assessments on a virtual machine." }, { "name": "AutomaticByPlatform", - "value": "AutomaticByPlatform" + "value": "AutomaticByPlatform", + "description": "The platform will trigger periodic patch assessments.The property provisionVMAgent must be true." } ] } @@ -1303,19 +1380,23 @@ "values": [ { "name": "Unknown", - "value": "Unknown" + "value": "Unknown", + "description": "Unknown Reboot setting" }, { "name": "IfRequired", - "value": "IfRequired" + "value": "IfRequired", + "description": "IfRequired Reboot setting" }, { "name": "Never", - "value": "Never" + "value": "Never", + "description": "Never Reboot setting" }, { "name": "Always", - "value": "Always" + "value": "Always", + "description": "Always Reboot setting" } ] } @@ -1336,7 +1417,7 @@ }, "LinuxVMGuestPatchMode": { "type": "string", - "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**ImageDefault** - The\nvirtual machine's default patching configuration is used.

\n**AutomaticByPlatform** - The virtual machine will be automatically updated by\nthe platform. The property provisionVMAgent must be true", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.", "enum": [ "ImageDefault", "AutomaticByPlatform" @@ -1347,11 +1428,13 @@ "values": [ { "name": "ImageDefault", - "value": "ImageDefault" + "value": "ImageDefault", + "description": "The virtual machine's default patching configuration is used." }, { "name": "AutomaticByPlatform", - "value": "AutomaticByPlatform" + "value": "AutomaticByPlatform", + "description": "The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true." } ] } @@ -1387,11 +1470,13 @@ "values": [ { "name": "Audit", - "value": "Audit" + "value": "Audit", + "description": "Audit Mode" }, { "name": "Enforce", - "value": "Enforce" + "value": "Enforce", + "description": "Enforce Mode" } ] } @@ -1408,7 +1493,8 @@ "values": [ { "name": "2020-11-01", - "value": "2020-11-01" + "value": "2020-11-01", + "description": "Initial version supported. Later versions are supported as well." } ] } @@ -1427,15 +1513,18 @@ "values": [ { "name": "None", - "value": "None" + "value": "None", + "description": "None Mode" }, { "name": "AcceleratedConnections", - "value": "AcceleratedConnections" + "value": "AcceleratedConnections", + "description": "AcceleratedConnections Mode" }, { "name": "Floating", - "value": "Floating" + "value": "Floating", + "description": "Floating Mode" } ] } @@ -1456,29 +1545,35 @@ "values": [ { "name": "None", - "value": "None" + "value": "None", + "description": "no sku" }, { "name": "A1", - "value": "A1" + "value": "A1", + "description": "A1 sku" }, { "name": "A2", - "value": "A2" + "value": "A2", + "description": "A2 sku" }, { "name": "A4", - "value": "A4" + "value": "A4", + "description": "A4 sku" }, { "name": "A8", - "value": "A8" + "value": "A8", + "description": "A8 sku" } ] } }, "OSImageNotificationProfile": { "type": "object", + "description": "Specifies OS Image Scheduled Event related configurations.", "properties": { "notBeforeTimeout": { "type": "string", @@ -1499,7 +1594,19 @@ ], "x-ms-enum": { "name": "OperatingSystemTypes", - "modelAsString": false + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows", + "description": "Windows OS type" + }, + { + "name": "Linux", + "value": "Linux", + "description": "Linux OS type" + } + ] } }, "PatchSettings": { @@ -1533,7 +1640,19 @@ ], "x-ms-enum": { "name": "ProtocolTypes", - "modelAsString": false + "modelAsString": true, + "values": [ + { + "name": "Http", + "value": "Http", + "description": "Http protocol" + }, + { + "name": "Https", + "value": "Https", + "description": "Https protocol" + } + ] } }, "ProvisioningState": { @@ -1626,7 +1745,7 @@ }, "PublicIPAddressSkuName": { "type": "string", - "description": "Specify public IP sku name", + "description": "Specify public IP sku name.", "enum": [ "Basic", "Standard" @@ -1637,11 +1756,13 @@ "values": [ { "name": "Basic", - "value": "Basic" + "value": "Basic", + "description": "Basic sku name" }, { "name": "Standard", - "value": "Standard" + "value": "Standard", + "description": "Standard sku name" } ] } @@ -1659,11 +1780,13 @@ "values": [ { "name": "Regional", - "value": "Regional" + "value": "Regional", + "description": "Regional sku tier" }, { "name": "Global", - "value": "Global" + "value": "Global", + "description": "Global sku tier" } ] } @@ -1774,6 +1897,7 @@ }, "ScheduledEventsProfile": { "type": "object", + "description": "Specifies Scheduled Event related configurations.", "properties": { "terminateNotificationProfile": { "$ref": "#/definitions/TerminateNotificationProfile", @@ -1787,7 +1911,7 @@ }, "SecurityEncryptionTypes": { "type": "string", - "description": "Specifies the EncryptionType of the managed disk. It is set to\nDiskWithVMGuestState for encryption of the managed disk along with VMGuestState\nblob, VMGuestStateOnly for encryption of just the VMGuestState blob, and\nNonPersistedTPM for not persisting firmware state in the VMGuestState blob..\n**Note:** It can be set for only Confidential VMs.", + "description": "Specifies the EncryptionType of the managed disk.\n**Note:** It can be set for only Confidential VMs.", "enum": [ "VMGuestStateOnly", "DiskWithVMGuestState", @@ -1799,15 +1923,18 @@ "values": [ { "name": "VMGuestStateOnly", - "value": "VMGuestStateOnly" + "value": "VMGuestStateOnly", + "description": "EncryptionType of the managed disk is set to VMGuestStateOnly for encryption\nof just the VMGuestState blob." }, { "name": "DiskWithVMGuestState", - "value": "DiskWithVMGuestState" + "value": "DiskWithVMGuestState", + "description": "EncryptionType of the managed disk is set to DiskWithVMGuestState for encryption\nof the managed disk along with VMGuestState blob." }, { "name": "NonPersistedTPM", - "value": "NonPersistedTPM" + "value": "NonPersistedTPM", + "description": "EncryptionType of the managed disk is set to NonPersistedTPM for not persisting\nfirmware state in the VMGuestState blob." } ] } @@ -1868,11 +1995,13 @@ "values": [ { "name": "TrustedLaunch", - "value": "TrustedLaunch" + "value": "TrustedLaunch", + "description": "TrustedLaunch security type" }, { "name": "ConfidentialVM", - "value": "ConfidentialVM" + "value": "ConfidentialVM", + "description": "ConfidentialVM security type" } ] } @@ -1896,7 +2025,19 @@ ], "x-ms-enum": { "name": "SettingNames", - "modelAsString": false + "modelAsString": true, + "values": [ + { + "name": "AutoLogon", + "value": "AutoLogon", + "description": "AutoLogon setting" + }, + { + "name": "FirstLogonCommands", + "value": "FirstLogonCommands", + "description": "FirstLogonCommands setting" + } + ] } }, "SpotAllocationStrategy": { @@ -2004,7 +2145,24 @@ ], "x-ms-enum": { "name": "StatusLevelTypes", - "modelAsString": false + "modelAsString": true, + "values": [ + { + "name": "Info", + "value": "Info", + "description": "Info level" + }, + { + "name": "Warning", + "value": "Warning", + "description": "Warning level" + }, + { + "name": "Error", + "value": "Error", + "description": "Error Level" + } + ] } }, "StorageAccountTypes": { @@ -2025,37 +2183,45 @@ "values": [ { "name": "Standard_LRS", - "value": "Standard_LRS" + "value": "Standard_LRS", + "description": "Standard_LRS option." }, { "name": "Premium_LRS", - "value": "Premium_LRS" + "value": "Premium_LRS", + "description": "Premium_LRS option." }, { "name": "StandardSSD_LRS", - "value": "StandardSSD_LRS" + "value": "StandardSSD_LRS", + "description": "StandardSSD_LRS option." }, { "name": "UltraSSD_LRS", - "value": "UltraSSD_LRS" + "value": "UltraSSD_LRS", + "description": "UltraSSD_LRS option." }, { "name": "Premium_ZRS", - "value": "Premium_ZRS" + "value": "Premium_ZRS", + "description": "Premium_ZRS option." }, { "name": "StandardSSD_ZRS", - "value": "StandardSSD_ZRS" + "value": "StandardSSD_ZRS", + "description": "StandardSSD_ZRS option." }, { "name": "PremiumV2_LRS", - "value": "PremiumV2_LRS" + "value": "PremiumV2_LRS", + "description": "PremiumV2_LRS option." } ] } }, "SubResource": { "type": "object", + "description": "Describes SubResource", "properties": { "id": { "type": "string", @@ -2065,6 +2231,7 @@ }, "SubResourceReadOnly": { "type": "object", + "description": "Describes a Readonly subresource.", "properties": { "id": { "type": "string", @@ -2075,6 +2242,7 @@ }, "TerminateNotificationProfile": { "type": "object", + "description": "Specifies Terminate Scheduled Event related configurations.", "properties": { "notBeforeTimeout": { "type": "string", @@ -2221,11 +2389,13 @@ "values": [ { "name": "Deallocate", - "value": "Deallocate" + "value": "Deallocate", + "description": "Deallocate Eviction Policy" }, { "name": "Delete", - "value": "Delete" + "value": "Delete", + "description": "Delete Eviction Policy" } ] } @@ -2378,15 +2548,18 @@ "values": [ { "name": "Regular", - "value": "Regular" + "value": "Regular", + "description": "Regular Priority" }, { "name": "Low", - "value": "Low" + "value": "Low", + "description": "Low Priority. 'Low' enum will be deprecated in the future,\nplease use 'Spot' as the enum to deploy Azure Spot VM/VMSS." }, { "name": "Spot", - "value": "Spot" + "value": "Spot", + "description": "Spot Priority" } ] } @@ -3026,7 +3199,8 @@ ] }, "diskControllerType": { - "type": "string" + "$ref": "#/definitions/DiskControllerTypes", + "description": "Specifies the disk controller type configured for the virtual machines in the scale set. Minimum api-version: 2022-08-01" } } }, @@ -3118,7 +3292,7 @@ }, "WindowsPatchAssessmentMode": { "type": "string", - "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true.", + "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.", "enum": [ "ImageDefault", "AutomaticByPlatform" @@ -3129,18 +3303,20 @@ "values": [ { "name": "ImageDefault", - "value": "ImageDefault" + "value": "ImageDefault", + "description": "You control the timing of patch assessments on a virtual machine." }, { "name": "AutomaticByPlatform", - "value": "AutomaticByPlatform" + "value": "AutomaticByPlatform", + "description": "The platform will trigger periodic patch assessments. The property provisionVMAgent must be true." } ] } }, "WindowsVMGuestPatchAutomaticByPlatformRebootSetting": { "type": "string", - "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations.", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.", "enum": [ "Unknown", "IfRequired", @@ -3153,19 +3329,23 @@ "values": [ { "name": "Unknown", - "value": "Unknown" + "value": "Unknown", + "description": "Unknown Reboot setting" }, { "name": "IfRequired", - "value": "IfRequired" + "value": "IfRequired", + "description": "IfRequired Reboot setting" }, { "name": "Never", - "value": "Never" + "value": "Never", + "description": "Never Reboot setting" }, { "name": "Always", - "value": "Always" + "value": "Always", + "description": "Always Reboot setting" } ] } @@ -3186,7 +3366,7 @@ }, "WindowsVMGuestPatchMode": { "type": "string", - "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**Manual** - You\ncontrol the application of patches to a virtual machine. You do this by\napplying patches manually inside the VM. In this mode, automatic updates are\ndisabled; the property WindowsConfiguration.enableAutomaticUpdates must be\nfalse

**AutomaticByOS** - The virtual machine will automatically be\nupdated by the OS. The property WindowsConfiguration.enableAutomaticUpdates\nmust be true.

**AutomaticByPlatform** - the virtual machine will\nautomatically updated by the platform. The properties provisionVMAgent and\nWindowsConfiguration.enableAutomaticUpdates must be true", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.", "enum": [ "Manual", "AutomaticByOS", @@ -3198,15 +3378,18 @@ "values": [ { "name": "Manual", - "value": "Manual" + "value": "Manual", + "description": "You control the application of patches to a virtual machine.\nYou do this by applying patches manually inside the VM. In this mode,\nautomatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates\nmust be false" }, { "name": "AutomaticByOS", - "value": "AutomaticByOS" + "value": "AutomaticByOS", + "description": "The virtual machine will automatically be updated by the OS.\nThe property WindowsConfiguration.enableAutomaticUpdates must be true." }, { "name": "AutomaticByPlatform", - "value": "AutomaticByPlatform" + "value": "AutomaticByPlatform", + "description": "The virtual machine will automatically updated by the platform. The properties \nprovisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true." } ] } From 27ad78139edc3b31d7f3e32a21d02aadfd57ae74 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Thu, 20 Jun 2024 00:18:00 -0700 Subject: [PATCH 05/27] suppress casing errors --- .../AzureFleet.Management/baseVirtualMachineProfile.tsp | 7 ++++++- .../preview/2023-11-01-preview/azurefleet.json | 7 +++---- .../preview/2024-05-01-preview/azurefleet.json | 7 +++---- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index 4af01782eccf..3ac1dd7797f2 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -895,13 +895,14 @@ model VirtualMachineScaleSetDataDisk { */ managedDisk?: VirtualMachineScaleSetManagedDiskParameters; + #suppress "@azure-tools/typespec-azure-core/casing-style" "" /** * Specifies the Read-Write IOPS for the managed disk. Should be used only when * StorageAccountType is UltraSSD_LRS. If not specified, a default value would be * assigned based on diskSizeGB. */ @encodedName("application/json", "diskIOPSReadWrite") - diskIopsReadWrite?: int64; + diskIOPSReadWrite?: int64; /** * Specifies the bandwidth in MB per second for the managed disk. Should be used @@ -1446,11 +1447,13 @@ model VirtualMachineScaleSetExtensionProperties { */ enableAutomaticUpgrade?: boolean; + #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" /** * Json formatted public settings for the extension. */ settings?: Record; + #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" /** * The extension can contain either protectedSettings or * protectedSettingsFromKeyVault or no protected settings at all. @@ -1765,11 +1768,13 @@ model VirtualMachineExtensionProperties { */ enableAutomaticUpgrade?: boolean; + #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json#L2095C1-L2102C11" /** * Json formatted public settings for the extension. */ settings?: Record; + #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json#L2095C1-L2102C11" /** * The extension can contain either protectedSettings or * protectedSettingsFromKeyVault or no protected settings at all. diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 0ae40c07a83c..02d5c5aa66d0 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -950,7 +950,7 @@ { "name": "FromImage", "value": "FromImage", - "description": "This value is used when you are using an image to create the virtual machine.\nIf you are using a platform image, you also use the imageReference element \ndescribed above. If you are using a marketplace image, you also use the \nplan element previously described." + "description": "This value is used when you are using an image to create the virtual machine.\nIf you are using a platform image, you also use the imageReference element\ndescribed above. If you are using a marketplace image, you also use the\nplan element previously described." }, { "name": "Empty", @@ -2638,8 +2638,7 @@ "diskIOPSReadWrite": { "type": "integer", "format": "int64", - "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when\nStorageAccountType is UltraSSD_LRS. If not specified, a default value would be\nassigned based on diskSizeGB.", - "x-ms-client-name": "diskIopsReadWrite" + "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when\nStorageAccountType is UltraSSD_LRS. If not specified, a default value would be\nassigned based on diskSizeGB." }, "diskMBpsReadWrite": { "type": "integer", @@ -3383,7 +3382,7 @@ { "name": "AutomaticByPlatform", "value": "AutomaticByPlatform", - "description": "The virtual machine will automatically updated by the platform. The properties \nprovisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true." + "description": "The virtual machine will automatically updated by the platform. The properties\nprovisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true." } ] } diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index dc12f71647d6..52fef166e175 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -934,7 +934,7 @@ { "name": "FromImage", "value": "FromImage", - "description": "This value is used when you are using an image to create the virtual machine.\nIf you are using a platform image, you also use the imageReference element \ndescribed above. If you are using a marketplace image, you also use the \nplan element previously described." + "description": "This value is used when you are using an image to create the virtual machine.\nIf you are using a platform image, you also use the imageReference element\ndescribed above. If you are using a marketplace image, you also use the\nplan element previously described." }, { "name": "Empty", @@ -2637,8 +2637,7 @@ "diskIOPSReadWrite": { "type": "integer", "format": "int64", - "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when\nStorageAccountType is UltraSSD_LRS. If not specified, a default value would be\nassigned based on diskSizeGB.", - "x-ms-client-name": "diskIopsReadWrite" + "description": "Specifies the Read-Write IOPS for the managed disk. Should be used only when\nStorageAccountType is UltraSSD_LRS. If not specified, a default value would be\nassigned based on diskSizeGB." }, "diskMBpsReadWrite": { "type": "integer", @@ -3389,7 +3388,7 @@ { "name": "AutomaticByPlatform", "value": "AutomaticByPlatform", - "description": "The virtual machine will automatically updated by the platform. The properties \nprovisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true." + "description": "The virtual machine will automatically updated by the platform. The properties\nprovisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true." } ] } From 29c1092faf1a2c8d09c75891cfae22616ca65113 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Thu, 20 Jun 2024 00:22:27 -0700 Subject: [PATCH 06/27] Fix formatting --- .../baseVirtualMachineProfile.tsp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index 3ac1dd7797f2..609d872ef57e 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -895,12 +895,12 @@ model VirtualMachineScaleSetDataDisk { */ managedDisk?: VirtualMachineScaleSetManagedDiskParameters; - #suppress "@azure-tools/typespec-azure-core/casing-style" "" /** * Specifies the Read-Write IOPS for the managed disk. Should be used only when * StorageAccountType is UltraSSD_LRS. If not specified, a default value would be * assigned based on diskSizeGB. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "" @encodedName("application/json", "diskIOPSReadWrite") diskIOPSReadWrite?: int64; @@ -1447,17 +1447,17 @@ model VirtualMachineScaleSetExtensionProperties { */ enableAutomaticUpgrade?: boolean; - #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" /** * Json formatted public settings for the extension. */ + #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" settings?: Record; - #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" /** * The extension can contain either protectedSettings or * protectedSettingsFromKeyVault or no protected settings at all. */ + #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" protectedSettings?: Record; /** @@ -1768,17 +1768,17 @@ model VirtualMachineExtensionProperties { */ enableAutomaticUpgrade?: boolean; - #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json#L2095C1-L2102C11" /** * Json formatted public settings for the extension. */ + #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json#L2095C1-L2102C11" settings?: Record; - #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json#L2095C1-L2102C11" /** * The extension can contain either protectedSettings or * protectedSettingsFromKeyVault or no protected settings at all. */ + #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json#L2095C1-L2102C11" protectedSettings?: Record; /** From 401e5667c17da0dc7431d38ed343efdb53486f76 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Thu, 20 Jun 2024 00:28:46 -0700 Subject: [PATCH 07/27] Refactor --- .../AzureFleet.Management/baseVirtualMachineProfile.tsp | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index 609d872ef57e..50a42326d7d2 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -901,7 +901,6 @@ model VirtualMachineScaleSetDataDisk { * assigned based on diskSizeGB. */ #suppress "@azure-tools/typespec-azure-core/casing-style" "" - @encodedName("application/json", "diskIOPSReadWrite") diskIOPSReadWrite?: int64; /** From 43cf0f4f1e9d4cece858253ee2d205f8dea6a43e Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Thu, 20 Jun 2024 00:35:30 -0700 Subject: [PATCH 08/27] Remove Fleet Forbidden values --- .../baseVirtualMachineProfile.tsp | 85 ------------------- .../2024-05-01-preview/Fleets_Get.json | 5 -- .../2023-11-01-preview/azurefleet.json | 77 ----------------- .../2024-05-01-preview/azurefleet.json | 77 ----------------- .../examples/Fleets_Get.json | 5 -- 5 files changed, 249 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index 50a42326d7d2..6618ffb2d80e 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -59,27 +59,6 @@ model BaseVirtualMachineProfile { */ licenseType?: string; - /** - * Specifies the priority for the virtual machines in the scale set. Minimum - * api-version: 2017-10-30-preview. - */ - priority?: VirtualMachinePriorityTypes; - - /** - * Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot - * scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are - * supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, - * both 'Deallocate' and 'Delete' are supported and the minimum api-version is - * 2017-10-30-preview. - */ - evictionPolicy?: VirtualMachineEvictionPolicyTypes; - - /** - * Specifies the billing related details of a Azure Spot VMSS. Minimum - * api-version: 2019-03-01. - */ - billingProfile?: BillingProfile; - /** * Specifies Scheduled Event related configurations. */ @@ -1511,28 +1490,6 @@ model SubResourceReadOnly { id?: string; } -/** - * Specifies the billing related details of a Azure Spot VM or VMSS. Minimum - * api-version: 2019-03-01. - */ -model BillingProfile { - /** - * Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. - * This price is in US Dollars.

This price will be compared with the - * current Azure Spot price for the VM size. Also, the prices are compared at the - * time of create/update of Azure Spot VM/VMSS and the operation will only succeed - * if the maxPrice is greater than the current Azure Spot price.

The - * maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current - * Azure Spot price goes beyond the maxPrice after creation of VM/VMSS.

- * Possible values are:

- Any decimal value greater than zero. Example: - * 0.01538

-1 – indicates default price to be up-to on-demand.

- * You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should - * not be evicted for price reasons. Also, the default max price is -1 if it is - * not provided by you.

Minimum api-version: 2019-03-01. - */ - maxPrice?: float64; -} - /** * Specifies Scheduled Event related configurations. */ @@ -1907,48 +1864,6 @@ model ResourceWithOptionalLocation { tags?: Record; } -/** - * Specifies the priority for a standalone virtual machine or the virtual machines - * in the scale set. 'Low' enum will be deprecated in the future, please use 'Spot' - * as the enum to deploy Azure Spot VM/VMSS. - */ -union VirtualMachinePriorityTypes { - string, - - /** - * Regular Priority - */ - Regular: "Regular", - - /** - * Low Priority. 'Low' enum will be deprecated in the future, - * please use 'Spot' as the enum to deploy Azure Spot VM/VMSS. - */ - Low: "Low", - - /** - * Spot Priority - */ - Spot: "Spot", -} - -/** - * Specifies the eviction policy for the Azure Spot VM/VMSS - */ -union VirtualMachineEvictionPolicyTypes { - string, - - /** - * Deallocate Eviction Policy - */ - Deallocate: "Deallocate", - - /** - * Delete Eviction Policy - */ - Delete: "Delete", -} - /** * Specifies the name of the setting to which the content applies. Possible values * are: FirstLogonCommands and AutoLogon. diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json index 94a05d95228b..2cc5f4f383b5 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json @@ -314,11 +314,6 @@ "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" }, "licenseType": "v", - "priority": "Regular", - "evictionPolicy": "Deallocate", - "billingProfile": { - "maxPrice": 2 - }, "scheduledEventsProfile": { "terminateNotificationProfile": { "notBeforeTimeout": "iljppmmw", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 02d5c5aa66d0..52bd1604c5dc 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -683,18 +683,6 @@ "type": "string", "description": "Specifies that the image or disk that is being used was licensed on-premises.\n

Possible values for Windows Server operating system are:

\nWindows_Client

Windows_Server

Possible values for Linux\nServer operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS\n(for SUSE)

For more information, see [Azure Hybrid Use Benefit for\nWindows\nServer](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)\n

[Azure Hybrid Use Benefit for Linux\nServer](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)\n

Minimum api-version: 2015-06-15" }, - "priority": { - "$ref": "#/definitions/VirtualMachinePriorityTypes", - "description": "Specifies the priority for the virtual machines in the scale set. Minimum\napi-version: 2017-10-30-preview." - }, - "evictionPolicy": { - "$ref": "#/definitions/VirtualMachineEvictionPolicyTypes", - "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot\nscale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are\nsupported and the minimum api-version is 2019-03-01. For Azure Spot scale sets,\nboth 'Deallocate' and 'Delete' are supported and the minimum api-version is\n2017-10-30-preview." - }, - "billingProfile": { - "$ref": "#/definitions/BillingProfile", - "description": "Specifies the billing related details of a Azure Spot VMSS. Minimum\napi-version: 2019-03-01." - }, "scheduledEventsProfile": { "$ref": "#/definitions/ScheduledEventsProfile", "description": "Specifies Scheduled Event related configurations." @@ -731,17 +719,6 @@ } } }, - "BillingProfile": { - "type": "object", - "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum\napi-version: 2019-03-01.", - "properties": { - "maxPrice": { - "type": "number", - "format": "double", - "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS.\nThis price is in US Dollars.

This price will be compared with the\ncurrent Azure Spot price for the VM size. Also, the prices are compared at the\ntime of create/update of Azure Spot VM/VMSS and the operation will only succeed\nif the maxPrice is greater than the current Azure Spot price.

The\nmaxPrice will also be used for evicting a Azure Spot VM/VMSS if the current\nAzure Spot price goes beyond the maxPrice after creation of VM/VMSS.

\nPossible values are:

- Any decimal value greater than zero. Example:\n0.01538

-1 – indicates default price to be up-to on-demand.

\nYou can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should\nnot be evicted for price reasons. Also, the default max price is -1 if it is\nnot provided by you.

Minimum api-version: 2019-03-01." - } - } - }, "BootDiagnostics": { "type": "object", "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output\nand Screenshot to diagnose VM status. You can easily view the output of your\nconsole log. Azure also enables you to see a screenshot of the VM from the\nhypervisor.", @@ -2382,30 +2359,6 @@ } } }, - "VirtualMachineEvictionPolicyTypes": { - "type": "string", - "description": "Specifies the eviction policy for the Azure Spot VM/VMSS", - "enum": [ - "Deallocate", - "Delete" - ], - "x-ms-enum": { - "name": "VirtualMachineEvictionPolicyTypes", - "modelAsString": true, - "values": [ - { - "name": "Deallocate", - "value": "Deallocate", - "description": "Deallocate Eviction Policy" - }, - { - "name": "Delete", - "value": "Delete", - "description": "Delete Eviction Policy" - } - ] - } - }, "VirtualMachineExtension": { "type": "object", "description": "Describes a Virtual Machine Extension.", @@ -2540,36 +2493,6 @@ } } }, - "VirtualMachinePriorityTypes": { - "type": "string", - "description": "Specifies the priority for a standalone virtual machine or the virtual machines\nin the scale set. 'Low' enum will be deprecated in the future, please use 'Spot'\nas the enum to deploy Azure Spot VM/VMSS.", - "enum": [ - "Regular", - "Low", - "Spot" - ], - "x-ms-enum": { - "name": "VirtualMachinePriorityTypes", - "modelAsString": true, - "values": [ - { - "name": "Regular", - "value": "Regular", - "description": "Regular Priority" - }, - { - "name": "Low", - "value": "Low", - "description": "Low Priority. 'Low' enum will be deprecated in the future,\nplease use 'Spot' as the enum to deploy Azure Spot VM/VMSS." - }, - { - "name": "Spot", - "value": "Spot", - "description": "Spot Priority" - } - ] - } - }, "VirtualMachineScaleSet": { "type": "object", "description": "An AzureFleet's virtualMachineScaleSet", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index 52fef166e175..4ab8074f142b 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -662,18 +662,6 @@ "type": "string", "description": "Specifies that the image or disk that is being used was licensed on-premises.\n

Possible values for Windows Server operating system are:

\nWindows_Client

Windows_Server

Possible values for Linux\nServer operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS\n(for SUSE)

For more information, see [Azure Hybrid Use Benefit for\nWindows\nServer](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)\n

[Azure Hybrid Use Benefit for Linux\nServer](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)\n

Minimum api-version: 2015-06-15" }, - "priority": { - "$ref": "#/definitions/VirtualMachinePriorityTypes", - "description": "Specifies the priority for the virtual machines in the scale set. Minimum\napi-version: 2017-10-30-preview." - }, - "evictionPolicy": { - "$ref": "#/definitions/VirtualMachineEvictionPolicyTypes", - "description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot\nscale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are\nsupported and the minimum api-version is 2019-03-01. For Azure Spot scale sets,\nboth 'Deallocate' and 'Delete' are supported and the minimum api-version is\n2017-10-30-preview." - }, - "billingProfile": { - "$ref": "#/definitions/BillingProfile", - "description": "Specifies the billing related details of a Azure Spot VMSS. Minimum\napi-version: 2019-03-01." - }, "scheduledEventsProfile": { "$ref": "#/definitions/ScheduledEventsProfile", "description": "Specifies Scheduled Event related configurations." @@ -710,17 +698,6 @@ } } }, - "BillingProfile": { - "type": "object", - "description": "Specifies the billing related details of a Azure Spot VM or VMSS. Minimum\napi-version: 2019-03-01.", - "properties": { - "maxPrice": { - "type": "number", - "format": "double", - "description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS.\nThis price is in US Dollars.

This price will be compared with the\ncurrent Azure Spot price for the VM size. Also, the prices are compared at the\ntime of create/update of Azure Spot VM/VMSS and the operation will only succeed\nif the maxPrice is greater than the current Azure Spot price.

The\nmaxPrice will also be used for evicting a Azure Spot VM/VMSS if the current\nAzure Spot price goes beyond the maxPrice after creation of VM/VMSS.

\nPossible values are:

- Any decimal value greater than zero. Example:\n0.01538

-1 – indicates default price to be up-to on-demand.

\nYou can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should\nnot be evicted for price reasons. Also, the default max price is -1 if it is\nnot provided by you.

Minimum api-version: 2019-03-01." - } - } - }, "BootDiagnostics": { "type": "object", "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output\nand Screenshot to diagnose VM status. You can easily view the output of your\nconsole log. Azure also enables you to see a screenshot of the VM from the\nhypervisor.", @@ -2376,30 +2353,6 @@ } } }, - "VirtualMachineEvictionPolicyTypes": { - "type": "string", - "description": "Specifies the eviction policy for the Azure Spot VM/VMSS", - "enum": [ - "Deallocate", - "Delete" - ], - "x-ms-enum": { - "name": "VirtualMachineEvictionPolicyTypes", - "modelAsString": true, - "values": [ - { - "name": "Deallocate", - "value": "Deallocate", - "description": "Deallocate Eviction Policy" - }, - { - "name": "Delete", - "value": "Delete", - "description": "Delete Eviction Policy" - } - ] - } - }, "VirtualMachineExtension": { "type": "object", "description": "Describes a Virtual Machine Extension.", @@ -2534,36 +2487,6 @@ } } }, - "VirtualMachinePriorityTypes": { - "type": "string", - "description": "Specifies the priority for a standalone virtual machine or the virtual machines\nin the scale set. 'Low' enum will be deprecated in the future, please use 'Spot'\nas the enum to deploy Azure Spot VM/VMSS.", - "enum": [ - "Regular", - "Low", - "Spot" - ], - "x-ms-enum": { - "name": "VirtualMachinePriorityTypes", - "modelAsString": true, - "values": [ - { - "name": "Regular", - "value": "Regular", - "description": "Regular Priority" - }, - { - "name": "Low", - "value": "Low", - "description": "Low Priority. 'Low' enum will be deprecated in the future,\nplease use 'Spot' as the enum to deploy Azure Spot VM/VMSS." - }, - { - "name": "Spot", - "value": "Spot", - "description": "Spot Priority" - } - ] - } - }, "VirtualMachineScaleSet": { "type": "object", "description": "An AzureFleet's virtualMachineScaleSet", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json index 94a05d95228b..2cc5f4f383b5 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json @@ -314,11 +314,6 @@ "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" }, "licenseType": "v", - "priority": "Regular", - "evictionPolicy": "Deallocate", - "billingProfile": { - "maxPrice": 2 - }, "scheduledEventsProfile": { "terminateNotificationProfile": { "notBeforeTimeout": "iljppmmw", From 84d61571bfe5d626b8558e719b67ca44acc26b56 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Thu, 20 Jun 2024 12:48:10 -0700 Subject: [PATCH 09/27] Add additional property suppression. --- .../azurefleet/resource-manager/readme.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/specification/azurefleet/resource-manager/readme.md b/specification/azurefleet/resource-manager/readme.md index d3f91ed2ee8c..8bc0954039a1 100644 --- a/specification/azurefleet/resource-manager/readme.md +++ b/specification/azurefleet/resource-manager/readme.md @@ -33,6 +33,22 @@ suppressions: reason: Suppress Patch rule as properties are defined by Compute RP and cannot be changed in AzureFleet. ``` +## Suppression + +``` yaml +directive: + - suppress: AvoidAdditionalProperties + reason: Property "settings" and "protectedSettings" for + VirtualMachineExtension and VirtualMachineScaleSetExtensionProperties + were previously defined like an empty object. + from: azurefleet.json + where: + - $.definitions.VirtualMachineExtensionProperties.properties.protectedSettings + - $.definitions.VirtualMachineExtensionProperties.properties.settings + - $.definitions.VirtualMachineScaleSetExtensionProperties.properties.protectedSettings + - $.definitions.VirtualMachineScaleSetExtensionProperties.properties.settings +``` + ### Tag: package-preview-2023-11 These settings apply only when `--tag=package-preview-2023-11` is specified on the command line. From ce2786d00b75b9b753d19152a20ef128755eff37 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Thu, 20 Jun 2024 13:05:59 -0700 Subject: [PATCH 10/27] edit suppressions --- .../azurefleet/resource-manager/readme.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/specification/azurefleet/resource-manager/readme.md b/specification/azurefleet/resource-manager/readme.md index 8bc0954039a1..3719177361f9 100644 --- a/specification/azurefleet/resource-manager/readme.md +++ b/specification/azurefleet/resource-manager/readme.md @@ -31,22 +31,15 @@ suppressions: - code: PatchBodyParametersSchema from: azurefleet.json reason: Suppress Patch rule as properties are defined by Compute RP and cannot be changed in AzureFleet. -``` - -## Suppression - -``` yaml -directive: - - suppress: AvoidAdditionalProperties - reason: Property "settings" and "protectedSettings" for - VirtualMachineExtension and VirtualMachineScaleSetExtensionProperties - were previously defined like an empty object. + - code: AvoidAdditionalProperties from: azurefleet.json where: - $.definitions.VirtualMachineExtensionProperties.properties.protectedSettings - $.definitions.VirtualMachineExtensionProperties.properties.settings - $.definitions.VirtualMachineScaleSetExtensionProperties.properties.protectedSettings - $.definitions.VirtualMachineScaleSetExtensionProperties.properties.settings + reason: Property "settings" and "protectedSettings" for VirtualMachineExtension + and VirtualMachineScaleSetExtensionProperties were previously defined like an empty object. ``` ### Tag: package-preview-2023-11 @@ -87,6 +80,7 @@ swagger-to-sdk: - repo: azure-cli-extensions - repo: azure-powershell ``` + ## Az See configuration in [readme.az.md](./readme.az.md) From f55750241673c2fbc3e7fdec4058c1568dafb9cf Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Thu, 20 Jun 2024 15:35:13 -0700 Subject: [PATCH 11/27] Add Suppression for camel casing --- specification/azurefleet/resource-manager/readme.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/azurefleet/resource-manager/readme.md b/specification/azurefleet/resource-manager/readme.md index 3719177361f9..d6726ce99f11 100644 --- a/specification/azurefleet/resource-manager/readme.md +++ b/specification/azurefleet/resource-manager/readme.md @@ -40,6 +40,12 @@ suppressions: - $.definitions.VirtualMachineScaleSetExtensionProperties.properties.settings reason: Property "settings" and "protectedSettings" for VirtualMachineExtension and VirtualMachineScaleSetExtensionProperties were previously defined like an empty object. + - code: DefinitionsPropertiesNamesCamelCase + from: azurefleet.json + where: + - $.definitions.VirtualMachineScaleSetDataDisk.properties.diskIOPSReadWrite + reason: Property "diskIOPSReadWrite" does not follow Camel Case and can't be changed as it is being + defined previously in Microsoft.Compute like this. ``` ### Tag: package-preview-2023-11 From f7ffca0d587fc1705a3342047ba78e20b6d4238f Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Tue, 25 Jun 2024 23:23:24 -0700 Subject: [PATCH 12/27] Make confidential fields to have create and update visibility only. --- .../baseVirtualMachineProfile.tsp | 3 +++ .../2024-05-01-preview/Fleets_Get.json | 4 +--- .../Fleets_ListByResourceGroup.json | 4 +--- .../Fleets_ListBySubscription.json | 4 +--- .../preview/2023-11-01-preview/azurefleet.json | 18 +++++++++++++++--- .../preview/2024-05-01-preview/azurefleet.json | 18 +++++++++++++++--- .../examples/Fleets_Get.json | 4 +--- .../examples/Fleets_ListByResourceGroup.json | 4 +--- .../examples/Fleets_ListBySubscription.json | 4 +--- 9 files changed, 39 insertions(+), 24 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index 6618ffb2d80e..2fc1920ca2e2 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -151,6 +151,7 @@ model VirtualMachineScaleSetOSProfile { repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) """) + @visibility("create", "update") adminPassword?: string; /** @@ -160,6 +161,7 @@ model VirtualMachineScaleSetOSProfile { * your VM, see [Using cloud-init to customize a Linux VM during * creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init) */ + @visibility("create", "update") customData?: string; /** @@ -283,6 +285,7 @@ model AdditionalUnattendContent { * the specified path and component. The XML must be less than 4KB and must * include the root element for the setting or feature that is being inserted. */ + @visibility("create", "update") content?: string; } diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json index 2cc5f4f383b5..539a280dffbf 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json @@ -36,7 +36,6 @@ "osProfile": { "computerNamePrefix": "o", "adminUsername": "nrgzqciiaaxjrqldbmjbqkyhntp", - "customData": "xjjib", "windowsConfiguration": { "provisionVMAgent": true, "enableAutomaticUpdates": true, @@ -45,8 +44,7 @@ { "passName": "OobeSystem", "componentName": "Microsoft-Windows-Shell-Setup", - "settingName": "AutoLogon", - "content": "bubmqbxjkj" + "settingName": "AutoLogon" } ], "patchSettings": { diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json index ad7bc37f6910..c96964a05d36 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json @@ -37,7 +37,6 @@ "osProfile": { "computerNamePrefix": "o", "adminUsername": "nrgzqciiaaxjrqldbmjbqkyhntp", - "customData": "xjjib", "windowsConfiguration": { "provisionVMAgent": true, "enableAutomaticUpdates": true, @@ -46,8 +45,7 @@ { "passName": "OobeSystem", "componentName": "Microsoft-Windows-Shell-Setup", - "settingName": "AutoLogon", - "content": "bubmqbxjkj" + "settingName": "AutoLogon" } ], "patchSettings": { diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json index 0c9de85a88ba..a5da959d24a3 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json @@ -36,7 +36,6 @@ "osProfile": { "computerNamePrefix": "o", "adminUsername": "nrgzqciiaaxjrqldbmjbqkyhntp", - "customData": "xjjib", "windowsConfiguration": { "provisionVMAgent": true, "enableAutomaticUpdates": true, @@ -45,8 +44,7 @@ { "passName": "OobeSystem", "componentName": "Microsoft-Windows-Shell-Setup", - "settingName": "AutoLogon", - "content": "bubmqbxjkj" + "settingName": "AutoLogon" } ], "patchSettings": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 52bd1604c5dc..6bcba626d13e 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -516,7 +516,11 @@ }, "content": { "type": "string", - "description": "Specifies the XML formatted content that is added to the unattend.xml file for\nthe specified path and component. The XML must be less than 4KB and must\ninclude the root element for the setting or feature that is being inserted." + "description": "Specifies the XML formatted content that is added to the unattend.xml file for\nthe specified path and component. The XML must be less than 4KB and must\ninclude the root element for the setting or feature that is being inserted.", + "x-ms-mutability": [ + "update", + "create" + ] } } }, @@ -2991,11 +2995,19 @@ }, "adminPassword": { "type": "string", - "description": "Specifies the password of the administrator account.

**Minimum-length\n(Windows):** 8 characters

**Minimum-length (Linux):** 6 characters\n

**Max-length (Windows):** 123 characters

**Max-length\n(Linux):** 72 characters

**Complexity requirements:** 3 out of 4\nconditions below need to be fulfilled
Has lower characters
Has upper\ncharacters
Has a digit
Has a special character (Regex match [\\W_])\n

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\",\n\"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\",\n\"Password22\", \"iloveyou!\"

For resetting the password, see [How to\nreset the Remote Desktop service or its login password in a Windows\nVM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)\n

For resetting root password, see [Manage users, SSH, and check or\nrepair disks on Azure Linux VMs using the VMAccess\nExtension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)" + "description": "Specifies the password of the administrator account.

**Minimum-length\n(Windows):** 8 characters

**Minimum-length (Linux):** 6 characters\n

**Max-length (Windows):** 123 characters

**Max-length\n(Linux):** 72 characters

**Complexity requirements:** 3 out of 4\nconditions below need to be fulfilled
Has lower characters
Has upper\ncharacters
Has a digit
Has a special character (Regex match [\\W_])\n

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\",\n\"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\",\n\"Password22\", \"iloveyou!\"

For resetting the password, see [How to\nreset the Remote Desktop service or its login password in a Windows\nVM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)\n

For resetting root password, see [Manage users, SSH, and check or\nrepair disks on Azure Linux VMs using the VMAccess\nExtension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)", + "x-ms-mutability": [ + "update", + "create" + ] }, "customData": { "type": "string", - "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string\nis decoded to a binary array that is saved as a file on the Virtual Machine.\nThe maximum length of the binary array is 65535 bytes. For using cloud-init for\nyour VM, see [Using cloud-init to customize a Linux VM during\ncreation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)" + "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string\nis decoded to a binary array that is saved as a file on the Virtual Machine.\nThe maximum length of the binary array is 65535 bytes. For using cloud-init for\nyour VM, see [Using cloud-init to customize a Linux VM during\ncreation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)", + "x-ms-mutability": [ + "update", + "create" + ] }, "windowsConfiguration": { "$ref": "#/definitions/WindowsConfiguration", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index 4ab8074f142b..9a12e90c9b83 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -495,7 +495,11 @@ }, "content": { "type": "string", - "description": "Specifies the XML formatted content that is added to the unattend.xml file for\nthe specified path and component. The XML must be less than 4KB and must\ninclude the root element for the setting or feature that is being inserted." + "description": "Specifies the XML formatted content that is added to the unattend.xml file for\nthe specified path and component. The XML must be less than 4KB and must\ninclude the root element for the setting or feature that is being inserted.", + "x-ms-mutability": [ + "update", + "create" + ] } } }, @@ -2990,11 +2994,19 @@ }, "adminPassword": { "type": "string", - "description": "Specifies the password of the administrator account.

**Minimum-length\n(Windows):** 8 characters

**Minimum-length (Linux):** 6 characters\n

**Max-length (Windows):** 123 characters

**Max-length\n(Linux):** 72 characters

**Complexity requirements:** 3 out of 4\nconditions below need to be fulfilled
Has lower characters
Has upper\ncharacters
Has a digit
Has a special character (Regex match [\\W_])\n

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\",\n\"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\",\n\"Password22\", \"iloveyou!\"

For resetting the password, see [How to\nreset the Remote Desktop service or its login password in a Windows\nVM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)\n

For resetting root password, see [Manage users, SSH, and check or\nrepair disks on Azure Linux VMs using the VMAccess\nExtension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)" + "description": "Specifies the password of the administrator account.

**Minimum-length\n(Windows):** 8 characters

**Minimum-length (Linux):** 6 characters\n

**Max-length (Windows):** 123 characters

**Max-length\n(Linux):** 72 characters

**Complexity requirements:** 3 out of 4\nconditions below need to be fulfilled
Has lower characters
Has upper\ncharacters
Has a digit
Has a special character (Regex match [\\W_])\n

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\",\n\"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\",\n\"Password22\", \"iloveyou!\"

For resetting the password, see [How to\nreset the Remote Desktop service or its login password in a Windows\nVM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)\n

For resetting root password, see [Manage users, SSH, and check or\nrepair disks on Azure Linux VMs using the VMAccess\nExtension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)", + "x-ms-mutability": [ + "update", + "create" + ] }, "customData": { "type": "string", - "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string\nis decoded to a binary array that is saved as a file on the Virtual Machine.\nThe maximum length of the binary array is 65535 bytes. For using cloud-init for\nyour VM, see [Using cloud-init to customize a Linux VM during\ncreation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)" + "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string\nis decoded to a binary array that is saved as a file on the Virtual Machine.\nThe maximum length of the binary array is 65535 bytes. For using cloud-init for\nyour VM, see [Using cloud-init to customize a Linux VM during\ncreation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)", + "x-ms-mutability": [ + "update", + "create" + ] }, "windowsConfiguration": { "$ref": "#/definitions/WindowsConfiguration", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json index 2cc5f4f383b5..539a280dffbf 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json @@ -36,7 +36,6 @@ "osProfile": { "computerNamePrefix": "o", "adminUsername": "nrgzqciiaaxjrqldbmjbqkyhntp", - "customData": "xjjib", "windowsConfiguration": { "provisionVMAgent": true, "enableAutomaticUpdates": true, @@ -45,8 +44,7 @@ { "passName": "OobeSystem", "componentName": "Microsoft-Windows-Shell-Setup", - "settingName": "AutoLogon", - "content": "bubmqbxjkj" + "settingName": "AutoLogon" } ], "patchSettings": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json index ad7bc37f6910..c96964a05d36 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json @@ -37,7 +37,6 @@ "osProfile": { "computerNamePrefix": "o", "adminUsername": "nrgzqciiaaxjrqldbmjbqkyhntp", - "customData": "xjjib", "windowsConfiguration": { "provisionVMAgent": true, "enableAutomaticUpdates": true, @@ -46,8 +45,7 @@ { "passName": "OobeSystem", "componentName": "Microsoft-Windows-Shell-Setup", - "settingName": "AutoLogon", - "content": "bubmqbxjkj" + "settingName": "AutoLogon" } ], "patchSettings": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json index 0c9de85a88ba..a5da959d24a3 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json @@ -36,7 +36,6 @@ "osProfile": { "computerNamePrefix": "o", "adminUsername": "nrgzqciiaaxjrqldbmjbqkyhntp", - "customData": "xjjib", "windowsConfiguration": { "provisionVMAgent": true, "enableAutomaticUpdates": true, @@ -45,8 +44,7 @@ { "passName": "OobeSystem", "componentName": "Microsoft-Windows-Shell-Setup", - "settingName": "AutoLogon", - "content": "bubmqbxjkj" + "settingName": "AutoLogon" } ], "patchSettings": { From 1f08689a7788621369274df0fd864693be9b2234 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Mon, 1 Jul 2024 21:11:17 -0700 Subject: [PATCH 13/27] update docs --- .../AzureFleet.Management/baseVirtualMachineProfile.tsp | 2 +- .../preview/2023-11-01-preview/azurefleet.json | 2 +- .../preview/2024-05-01-preview/azurefleet.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index 2fc1920ca2e2..15ea4c1ee272 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -1535,7 +1535,7 @@ model OSImageNotificationProfile { * Length of time a Virtual Machine being reimaged or having its OS upgraded will * have to potentially approve the OS Image Scheduled Event before the event is * auto approved (timed out). The configuration is specified in ISO 8601 format, - * and the value must be 15 minutes (PT15M) + * and the value must not exceed 15 minutes (PT15M) */ notBeforeTimeout?: string; diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 6bcba626d13e..78357ae2a821 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -1574,7 +1574,7 @@ "properties": { "notBeforeTimeout": { "type": "string", - "description": "Length of time a Virtual Machine being reimaged or having its OS upgraded will\nhave to potentially approve the OS Image Scheduled Event before the event is\nauto approved (timed out). The configuration is specified in ISO 8601 format,\nand the value must be 15 minutes (PT15M)" + "description": "Length of time a Virtual Machine being reimaged or having its OS upgraded will\nhave to potentially approve the OS Image Scheduled Event before the event is\nauto approved (timed out). The configuration is specified in ISO 8601 format,\nand the value must not exceed 15 minutes (PT15M)" }, "enable": { "type": "boolean", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index 9a12e90c9b83..e25dbf57b2eb 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -1558,7 +1558,7 @@ "properties": { "notBeforeTimeout": { "type": "string", - "description": "Length of time a Virtual Machine being reimaged or having its OS upgraded will\nhave to potentially approve the OS Image Scheduled Event before the event is\nauto approved (timed out). The configuration is specified in ISO 8601 format,\nand the value must be 15 minutes (PT15M)" + "description": "Length of time a Virtual Machine being reimaged or having its OS upgraded will\nhave to potentially approve the OS Image Scheduled Event before the event is\nauto approved (timed out). The configuration is specified in ISO 8601 format,\nand the value must not exceed 15 minutes (PT15M)" }, "enable": { "type": "boolean", From 68839508ebc94d5e569feb2167ab7faf83e1bfbd Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Mon, 1 Jul 2024 21:29:19 -0700 Subject: [PATCH 14/27] remove format decorator and use url type --- .../AzureFleet.Management/virtualMachineScaleSet.tsp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/virtualMachineScaleSet.tsp b/specification/azurefleet/AzureFleet.Management/virtualMachineScaleSet.tsp index 63d3fd5f8011..5c8a0c31ae33 100644 --- a/specification/azurefleet/AzureFleet.Management/virtualMachineScaleSet.tsp +++ b/specification/azurefleet/AzureFleet.Management/virtualMachineScaleSet.tsp @@ -53,8 +53,6 @@ model VirtualMachineScaleSetListResult { @doc("The VirtualMachineScaleSet items on this page") value: Array; - #suppress "@azure-tools/typespec-azure-core/no-format" "NextLink is of uri format and need to be defined." @doc("The link to the next page of items") - @format("uri") - nextLink?: string; + nextLink?: url; } From c1cfc0853ab5550ab995e869fedf4adc5819a933 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Mon, 8 Jul 2024 17:01:44 -0700 Subject: [PATCH 15/27] Address comments --- .../baseVirtualMachineProfile.tsp | 11 +++- .../AzureFleet.Management/common.tsp | 6 +-- .../Fleets_CreateOrUpdate_MaximumSet.json | 10 ---- .../Fleets_Get_MaximumSet.json | 5 -- ...Fleets_ListByResourceGroup_MaximumSet.json | 5 -- .../Fleets_ListBySubscription_MaximumSet.json | 5 -- .../Fleets_Update_MaximumSet.json | 5 -- .../Fleets_CreateOrUpdate.json | 10 ---- .../2024-05-01-preview/Fleets_Get.json | 5 -- .../Fleets_ListByResourceGroup.json | 5 -- .../Fleets_ListBySubscription.json | 5 -- .../2024-05-01-preview/Fleets_Update.json | 5 -- .../2023-11-01-preview/azurefleet.json | 50 +++++++++++++++---- .../Fleets_CreateOrUpdate_MaximumSet.json | 10 ---- .../examples/Fleets_Get_MaximumSet.json | 5 -- ...Fleets_ListByResourceGroup_MaximumSet.json | 5 -- .../Fleets_ListBySubscription_MaximumSet.json | 5 -- .../examples/Fleets_Update_MaximumSet.json | 5 -- .../2024-05-01-preview/azurefleet.json | 50 +++++++++++++++---- .../examples/Fleets_CreateOrUpdate.json | 10 ---- .../examples/Fleets_Get.json | 5 -- .../examples/Fleets_ListByResourceGroup.json | 5 -- .../examples/Fleets_ListBySubscription.json | 5 -- .../examples/Fleets_Update.json | 5 -- 24 files changed, 90 insertions(+), 147 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index 15ea4c1ee272..e96015dc483e 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -108,7 +108,6 @@ model BaseVirtualMachineProfile { * with minimum api-version 2023-09-01. */ @visibility("read") - // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. timeCreated?: utcDateTime; } @@ -152,6 +151,7 @@ model VirtualMachineScaleSetOSProfile { Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) """) @visibility("create", "update") + @secret adminPassword?: string; /** @@ -162,6 +162,7 @@ model VirtualMachineScaleSetOSProfile { * creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init) */ @visibility("create", "update") + @secret customData?: string; /** @@ -286,6 +287,7 @@ model AdditionalUnattendContent { * include the root element for the setting or feature that is being inserted. */ @visibility("create", "update") + @secret content?: string; } @@ -1432,6 +1434,7 @@ model VirtualMachineScaleSetExtensionProperties { * Json formatted public settings for the extension. */ #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" + @visibility("create", "update") settings?: Record; /** @@ -1439,6 +1442,7 @@ model VirtualMachineScaleSetExtensionProperties { * protectedSettingsFromKeyVault or no protected settings at all. */ #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" + @visibility("create", "update") protectedSettings?: Record; /** @@ -1596,6 +1600,8 @@ model VMGalleryApplication { * Optional, Specifies the uri to an azure blob that will replace the default * configuration for the package if provided */ + @visibility("create", "update") + @secret configurationReference?: string; /** @@ -1731,6 +1737,7 @@ model VirtualMachineExtensionProperties { * Json formatted public settings for the extension. */ #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json#L2095C1-L2102C11" + @visibility("create", "update") settings?: Record; /** @@ -1738,6 +1745,7 @@ model VirtualMachineExtensionProperties { * protectedSettingsFromKeyVault or no protected settings at all. */ #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json#L2095C1-L2102C11" + @visibility("create", "update") protectedSettings?: Record; /** @@ -1830,7 +1838,6 @@ model InstanceViewStatus { /** * The time of the status. */ - // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. time?: utcDateTime; } diff --git a/specification/azurefleet/AzureFleet.Management/common.tsp b/specification/azurefleet/AzureFleet.Management/common.tsp index 815e6fae265d..42650bba1b2b 100644 --- a/specification/azurefleet/AzureFleet.Management/common.tsp +++ b/specification/azurefleet/AzureFleet.Management/common.tsp @@ -15,14 +15,14 @@ namespace Microsoft.AzureFleet; @doc("ApiError for Fleet") model ApiError is ApiErrorBase { @extension("x-ms-identifiers", ["message", "target"]) - @doc("The Api error details") + @doc("The API error details") details?: Array; - @doc("The Api inner error") + @doc("The API inner error") innererror?: InnerError; } -@doc("Api error base.") +@doc("API error base.") model ApiErrorBase { @doc("The error code.") code?: string; diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json index 58e8fcb80aed..43a7f123a399 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json @@ -696,8 +696,6 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -738,7 +736,6 @@ "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, "packageReferenceId": "aabkcborasmyowocjceldewmkci", - "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -764,8 +761,6 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", @@ -1131,8 +1126,6 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -1173,7 +1166,6 @@ "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, "packageReferenceId": "aabkcborasmyowocjceldewmkci", - "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -1199,8 +1191,6 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json index b080f05cdc68..db7c4e05b467 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json @@ -289,8 +289,6 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -331,7 +329,6 @@ "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, "packageReferenceId": "aabkcborasmyowocjceldewmkci", - "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -357,8 +354,6 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json index 1ddb67117d37..416711c8d505 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json @@ -291,8 +291,6 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -333,7 +331,6 @@ "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, "packageReferenceId": "aabkcborasmyowocjceldewmkci", - "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -359,8 +356,6 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json index 55fea7dae063..ef08c54118ef 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json @@ -290,8 +290,6 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -332,7 +330,6 @@ "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, "packageReferenceId": "aabkcborasmyowocjceldewmkci", - "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -358,8 +355,6 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json index 43cbb9db43e1..e21440b00264 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json @@ -693,8 +693,6 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" ], @@ -736,7 +734,6 @@ "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, "packageReferenceId": "aabkcborasmyowocjceldewmkci", - "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -762,8 +759,6 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json index f90d8d57e529..cb6872b3f904 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json @@ -704,8 +704,6 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -746,7 +744,6 @@ "tags": "eyrqjbib", "order": 5, "packageReferenceId": "lfxqiadouhmbovcd", - "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -772,8 +769,6 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", @@ -1144,8 +1139,6 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -1186,7 +1179,6 @@ "tags": "eyrqjbib", "order": 5, "packageReferenceId": "lfxqiadouhmbovcd", - "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -1212,8 +1204,6 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json index 539a280dffbf..46f1992742bb 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json @@ -292,8 +292,6 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -334,7 +332,6 @@ "tags": "eyrqjbib", "order": 5, "packageReferenceId": "lfxqiadouhmbovcd", - "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -360,8 +357,6 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json index c96964a05d36..63eb1adc4cca 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json @@ -293,8 +293,6 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -335,7 +333,6 @@ "tags": "eyrqjbib", "order": 5, "packageReferenceId": "lfxqiadouhmbovcd", - "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -361,8 +358,6 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json index a5da959d24a3..fc29141ff87a 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json @@ -292,8 +292,6 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -334,7 +332,6 @@ "tags": "eyrqjbib", "order": 5, "packageReferenceId": "lfxqiadouhmbovcd", - "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -360,8 +357,6 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json index 621ccf96f741..9caff1926ba6 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json @@ -698,8 +698,6 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" ], @@ -741,7 +739,6 @@ "tags": "eyrqjbib", "order": 5, "packageReferenceId": "lfxqiadouhmbovcd", - "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -767,8 +764,6 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 78357ae2a821..79b3d6ba53e7 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -516,11 +516,13 @@ }, "content": { "type": "string", + "format": "password", "description": "Specifies the XML formatted content that is added to the unattend.xml file for\nthe specified path and component. The XML must be less than 4KB and must\ninclude the root element for the setting or feature that is being inserted.", "x-ms-mutability": [ "update", "create" - ] + ], + "x-ms-secret": true } } }, @@ -552,7 +554,7 @@ }, "details": { "type": "array", - "description": "The Api error details", + "description": "The API error details", "items": { "$ref": "#/definitions/ApiErrorBase" }, @@ -563,13 +565,13 @@ }, "innererror": { "$ref": "#/definitions/InnerError", - "description": "The Api inner error" + "description": "The API inner error" } } }, "ApiErrorBase": { "type": "object", - "description": "Api error base.", + "description": "API error base.", "properties": { "code": { "type": "string", @@ -2288,7 +2290,13 @@ }, "configurationReference": { "type": "string", - "description": "Optional, Specifies the uri to an azure blob that will replace the default\nconfiguration for the package if provided" + "format": "password", + "description": "Optional, Specifies the uri to an azure blob that will replace the default\nconfiguration for the package if provided", + "x-ms-mutability": [ + "update", + "create" + ], + "x-ms-secret": true }, "treatFailureAsDeploymentFailure": { "type": "boolean", @@ -2464,12 +2472,20 @@ "settings": { "type": "object", "description": "Json formatted public settings for the extension.", - "additionalProperties": {} + "additionalProperties": {}, + "x-ms-mutability": [ + "update", + "create" + ] }, "protectedSettings": { "type": "object", "description": "The extension can contain either protectedSettings or\nprotectedSettingsFromKeyVault or no protected settings at all.", - "additionalProperties": {} + "additionalProperties": {}, + "x-ms-mutability": [ + "update", + "create" + ] }, "provisioningState": { "type": "string", @@ -2654,12 +2670,20 @@ "settings": { "type": "object", "description": "Json formatted public settings for the extension.", - "additionalProperties": {} + "additionalProperties": {}, + "x-ms-mutability": [ + "update", + "create" + ] }, "protectedSettings": { "type": "object", "description": "The extension can contain either protectedSettings or\nprotectedSettingsFromKeyVault or no protected settings at all.", - "additionalProperties": {} + "additionalProperties": {}, + "x-ms-mutability": [ + "update", + "create" + ] }, "provisioningState": { "type": "string", @@ -2995,19 +3019,23 @@ }, "adminPassword": { "type": "string", + "format": "password", "description": "Specifies the password of the administrator account.

**Minimum-length\n(Windows):** 8 characters

**Minimum-length (Linux):** 6 characters\n

**Max-length (Windows):** 123 characters

**Max-length\n(Linux):** 72 characters

**Complexity requirements:** 3 out of 4\nconditions below need to be fulfilled
Has lower characters
Has upper\ncharacters
Has a digit
Has a special character (Regex match [\\W_])\n

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\",\n\"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\",\n\"Password22\", \"iloveyou!\"

For resetting the password, see [How to\nreset the Remote Desktop service or its login password in a Windows\nVM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)\n

For resetting root password, see [Manage users, SSH, and check or\nrepair disks on Azure Linux VMs using the VMAccess\nExtension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)", "x-ms-mutability": [ "update", "create" - ] + ], + "x-ms-secret": true }, "customData": { "type": "string", + "format": "password", "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string\nis decoded to a binary array that is saved as a file on the Virtual Machine.\nThe maximum length of the binary array is 65535 bytes. For using cloud-init for\nyour VM, see [Using cloud-init to customize a Linux VM during\ncreation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)", "x-ms-mutability": [ "update", "create" - ] + ], + "x-ms-secret": true }, "windowsConfiguration": { "$ref": "#/definitions/WindowsConfiguration", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json index 58e8fcb80aed..43a7f123a399 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json @@ -696,8 +696,6 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -738,7 +736,6 @@ "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, "packageReferenceId": "aabkcborasmyowocjceldewmkci", - "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -764,8 +761,6 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", @@ -1131,8 +1126,6 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -1173,7 +1166,6 @@ "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, "packageReferenceId": "aabkcborasmyowocjceldewmkci", - "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -1199,8 +1191,6 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json index b080f05cdc68..db7c4e05b467 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json @@ -289,8 +289,6 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -331,7 +329,6 @@ "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, "packageReferenceId": "aabkcborasmyowocjceldewmkci", - "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -357,8 +354,6 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json index 1ddb67117d37..416711c8d505 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json @@ -291,8 +291,6 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -333,7 +331,6 @@ "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, "packageReferenceId": "aabkcborasmyowocjceldewmkci", - "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -359,8 +356,6 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json index 55fea7dae063..ef08c54118ef 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json @@ -290,8 +290,6 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -332,7 +330,6 @@ "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, "packageReferenceId": "aabkcborasmyowocjceldewmkci", - "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -358,8 +355,6 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json index 43cbb9db43e1..e21440b00264 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json @@ -693,8 +693,6 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" ], @@ -736,7 +734,6 @@ "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, "packageReferenceId": "aabkcborasmyowocjceldewmkci", - "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -762,8 +759,6 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index e25dbf57b2eb..5245cf81330f 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -495,11 +495,13 @@ }, "content": { "type": "string", + "format": "password", "description": "Specifies the XML formatted content that is added to the unattend.xml file for\nthe specified path and component. The XML must be less than 4KB and must\ninclude the root element for the setting or feature that is being inserted.", "x-ms-mutability": [ "update", "create" - ] + ], + "x-ms-secret": true } } }, @@ -531,7 +533,7 @@ }, "details": { "type": "array", - "description": "The Api error details", + "description": "The API error details", "items": { "$ref": "#/definitions/ApiErrorBase" }, @@ -542,13 +544,13 @@ }, "innererror": { "$ref": "#/definitions/InnerError", - "description": "The Api inner error" + "description": "The API inner error" } } }, "ApiErrorBase": { "type": "object", - "description": "Api error base.", + "description": "API error base.", "properties": { "code": { "type": "string", @@ -2282,7 +2284,13 @@ }, "configurationReference": { "type": "string", - "description": "Optional, Specifies the uri to an azure blob that will replace the default\nconfiguration for the package if provided" + "format": "password", + "description": "Optional, Specifies the uri to an azure blob that will replace the default\nconfiguration for the package if provided", + "x-ms-mutability": [ + "update", + "create" + ], + "x-ms-secret": true }, "treatFailureAsDeploymentFailure": { "type": "boolean", @@ -2458,12 +2466,20 @@ "settings": { "type": "object", "description": "Json formatted public settings for the extension.", - "additionalProperties": {} + "additionalProperties": {}, + "x-ms-mutability": [ + "update", + "create" + ] }, "protectedSettings": { "type": "object", "description": "The extension can contain either protectedSettings or\nprotectedSettingsFromKeyVault or no protected settings at all.", - "additionalProperties": {} + "additionalProperties": {}, + "x-ms-mutability": [ + "update", + "create" + ] }, "provisioningState": { "type": "string", @@ -2653,12 +2669,20 @@ "settings": { "type": "object", "description": "Json formatted public settings for the extension.", - "additionalProperties": {} + "additionalProperties": {}, + "x-ms-mutability": [ + "update", + "create" + ] }, "protectedSettings": { "type": "object", "description": "The extension can contain either protectedSettings or\nprotectedSettingsFromKeyVault or no protected settings at all.", - "additionalProperties": {} + "additionalProperties": {}, + "x-ms-mutability": [ + "update", + "create" + ] }, "provisioningState": { "type": "string", @@ -2994,19 +3018,23 @@ }, "adminPassword": { "type": "string", + "format": "password", "description": "Specifies the password of the administrator account.

**Minimum-length\n(Windows):** 8 characters

**Minimum-length (Linux):** 6 characters\n

**Max-length (Windows):** 123 characters

**Max-length\n(Linux):** 72 characters

**Complexity requirements:** 3 out of 4\nconditions below need to be fulfilled
Has lower characters
Has upper\ncharacters
Has a digit
Has a special character (Regex match [\\W_])\n

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\",\n\"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\",\n\"Password22\", \"iloveyou!\"

For resetting the password, see [How to\nreset the Remote Desktop service or its login password in a Windows\nVM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)\n

For resetting root password, see [Manage users, SSH, and check or\nrepair disks on Azure Linux VMs using the VMAccess\nExtension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)", "x-ms-mutability": [ "update", "create" - ] + ], + "x-ms-secret": true }, "customData": { "type": "string", + "format": "password", "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string\nis decoded to a binary array that is saved as a file on the Virtual Machine.\nThe maximum length of the binary array is 65535 bytes. For using cloud-init for\nyour VM, see [Using cloud-init to customize a Linux VM during\ncreation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)", "x-ms-mutability": [ "update", "create" - ] + ], + "x-ms-secret": true }, "windowsConfiguration": { "$ref": "#/definitions/WindowsConfiguration", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json index f90d8d57e529..cb6872b3f904 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json @@ -704,8 +704,6 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -746,7 +744,6 @@ "tags": "eyrqjbib", "order": 5, "packageReferenceId": "lfxqiadouhmbovcd", - "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -772,8 +769,6 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", @@ -1144,8 +1139,6 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -1186,7 +1179,6 @@ "tags": "eyrqjbib", "order": 5, "packageReferenceId": "lfxqiadouhmbovcd", - "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -1212,8 +1204,6 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json index 539a280dffbf..46f1992742bb 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json @@ -292,8 +292,6 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -334,7 +332,6 @@ "tags": "eyrqjbib", "order": 5, "packageReferenceId": "lfxqiadouhmbovcd", - "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -360,8 +357,6 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json index c96964a05d36..63eb1adc4cca 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json @@ -293,8 +293,6 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -335,7 +333,6 @@ "tags": "eyrqjbib", "order": 5, "packageReferenceId": "lfxqiadouhmbovcd", - "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -361,8 +358,6 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json index a5da959d24a3..fc29141ff87a 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json @@ -292,8 +292,6 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -334,7 +332,6 @@ "tags": "eyrqjbib", "order": 5, "packageReferenceId": "lfxqiadouhmbovcd", - "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -360,8 +357,6 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json index 621ccf96f741..9caff1926ba6 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json @@ -698,8 +698,6 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" ], @@ -741,7 +739,6 @@ "tags": "eyrqjbib", "order": 5, "packageReferenceId": "lfxqiadouhmbovcd", - "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -767,8 +764,6 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", From 81f8c12c9fb20ae56bafd320c3a7a40e9022eccd Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Tue, 9 Jul 2024 00:29:06 -0700 Subject: [PATCH 16/27] revert settings change as it is visible. --- .../baseVirtualMachineProfile.tsp | 2 -- .../Fleets_CreateOrUpdate_MaximumSet.json | 3 +++ .../2023-11-01-preview/Fleets_Get_MaximumSet.json | 2 ++ .../Fleets_ListByResourceGroup_MaximumSet.json | 2 ++ .../Fleets_ListBySubscription_MaximumSet.json | 1 + .../2023-11-01-preview/Fleets_Update_MaximumSet.json | 1 + .../2024-05-01-preview/Fleets_CreateOrUpdate.json | 4 ++++ .../examples/2024-05-01-preview/Fleets_Get.json | 2 ++ .../Fleets_ListByResourceGroup.json | 2 ++ .../Fleets_ListBySubscription.json | 2 ++ .../examples/2024-05-01-preview/Fleets_Update.json | 2 ++ .../preview/2023-11-01-preview/azurefleet.json | 12 ++---------- .../examples/Fleets_CreateOrUpdate_MaximumSet.json | 3 +++ .../examples/Fleets_Get_MaximumSet.json | 2 ++ .../Fleets_ListByResourceGroup_MaximumSet.json | 2 ++ .../Fleets_ListBySubscription_MaximumSet.json | 1 + .../examples/Fleets_Update_MaximumSet.json | 1 + .../preview/2024-05-01-preview/azurefleet.json | 12 ++---------- .../examples/Fleets_CreateOrUpdate.json | 4 ++++ .../2024-05-01-preview/examples/Fleets_Get.json | 2 ++ .../examples/Fleets_ListByResourceGroup.json | 2 ++ .../examples/Fleets_ListBySubscription.json | 2 ++ .../2024-05-01-preview/examples/Fleets_Update.json | 2 ++ 23 files changed, 46 insertions(+), 22 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index e96015dc483e..0d921328be0f 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -1434,7 +1434,6 @@ model VirtualMachineScaleSetExtensionProperties { * Json formatted public settings for the extension. */ #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" - @visibility("create", "update") settings?: Record; /** @@ -1737,7 +1736,6 @@ model VirtualMachineExtensionProperties { * Json formatted public settings for the extension. */ #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json#L2095C1-L2102C11" - @visibility("create", "update") settings?: Record; /** diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json index 43a7f123a399..143b2f8b7f63 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json @@ -696,6 +696,7 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -761,6 +762,7 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", @@ -1126,6 +1128,7 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json index db7c4e05b467..855001dc9d1b 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json @@ -289,6 +289,7 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -354,6 +355,7 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json index 416711c8d505..23e2790986e2 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json @@ -291,6 +291,7 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -356,6 +357,7 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json index ef08c54118ef..3ee334703795 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json @@ -290,6 +290,7 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json index e21440b00264..d8f585c21799 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json @@ -759,6 +759,7 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json index cb6872b3f904..2b99fb5eb73d 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json @@ -704,6 +704,7 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -769,6 +770,7 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", @@ -1139,6 +1141,7 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings":{}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -1204,6 +1207,7 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json index 46f1992742bb..5dfd3e9724e7 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json @@ -292,6 +292,7 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -357,6 +358,7 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json index 63eb1adc4cca..396c3c4d99e5 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json @@ -293,6 +293,7 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -358,6 +359,7 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json index fc29141ff87a..90d4103f23ba 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json @@ -292,6 +292,7 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -357,6 +358,7 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json index 9caff1926ba6..a88ddf06aa37 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json @@ -708,6 +708,7 @@ "id": "groxwd" } }, + "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe" }, "type": "cmeam", @@ -764,6 +765,7 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 79b3d6ba53e7..6dc80ceea06a 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -2472,11 +2472,7 @@ "settings": { "type": "object", "description": "Json formatted public settings for the extension.", - "additionalProperties": {}, - "x-ms-mutability": [ - "update", - "create" - ] + "additionalProperties": {} }, "protectedSettings": { "type": "object", @@ -2670,11 +2666,7 @@ "settings": { "type": "object", "description": "Json formatted public settings for the extension.", - "additionalProperties": {}, - "x-ms-mutability": [ - "update", - "create" - ] + "additionalProperties": {} }, "protectedSettings": { "type": "object", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json index 43a7f123a399..143b2f8b7f63 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json @@ -696,6 +696,7 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -761,6 +762,7 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", @@ -1126,6 +1128,7 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json index db7c4e05b467..855001dc9d1b 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json @@ -289,6 +289,7 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -354,6 +355,7 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json index 416711c8d505..23e2790986e2 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json @@ -291,6 +291,7 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" @@ -356,6 +357,7 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "rmhlppcusvaiepeqafd", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json index ef08c54118ef..3ee334703795 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json @@ -290,6 +290,7 @@ "typeHandlerVersion": "vqrkrrankheuqbcopc", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "kauilerjryyvizdqoazz", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json index e21440b00264..d8f585c21799 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json @@ -759,6 +759,7 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index 5245cf81330f..594a5a2bc314 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -2466,11 +2466,7 @@ "settings": { "type": "object", "description": "Json formatted public settings for the extension.", - "additionalProperties": {}, - "x-ms-mutability": [ - "update", - "create" - ] + "additionalProperties": {} }, "protectedSettings": { "type": "object", @@ -2669,11 +2665,7 @@ "settings": { "type": "object", "description": "Json formatted public settings for the extension.", - "additionalProperties": {}, - "x-ms-mutability": [ - "update", - "create" - ] + "additionalProperties": {} }, "protectedSettings": { "type": "object", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json index cb6872b3f904..2b99fb5eb73d 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json @@ -704,6 +704,7 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -769,6 +770,7 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", @@ -1139,6 +1141,7 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings":{}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -1204,6 +1207,7 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json index 46f1992742bb..5dfd3e9724e7 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json @@ -292,6 +292,7 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -357,6 +358,7 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json index 63eb1adc4cca..396c3c4d99e5 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json @@ -293,6 +293,7 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -358,6 +359,7 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json index fc29141ff87a..90d4103f23ba 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json @@ -292,6 +292,7 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" @@ -357,6 +358,7 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "provisioningState": "tzbaituagn", "instanceView": { "name": "ip", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json index 9caff1926ba6..a88ddf06aa37 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json @@ -708,6 +708,7 @@ "id": "groxwd" } }, + "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe" }, "type": "cmeam", @@ -764,6 +765,7 @@ "typeHandlerVersion": "bvzbiibps", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, + "settings": {}, "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", From d3ecaad6fededdd775fb1927db71c01bc10acfdf Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Tue, 9 Jul 2024 09:51:05 -0700 Subject: [PATCH 17/27] Address comments --- .../AzureFleet.Management/baseVirtualMachineProfile.tsp | 2 ++ .../examples/2024-05-01-preview/Fleets_CreateOrUpdate.json | 2 +- .../preview/2023-11-01-preview/azurefleet.json | 6 ++++-- .../preview/2024-05-01-preview/azurefleet.json | 6 ++++-- .../2024-05-01-preview/examples/Fleets_CreateOrUpdate.json | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index 0d921328be0f..5403fcff6267 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -1442,6 +1442,7 @@ model VirtualMachineScaleSetExtensionProperties { */ #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" @visibility("create", "update") + @OpenAPI.extension("x-ms-secret", true) protectedSettings?: Record; /** @@ -1744,6 +1745,7 @@ model VirtualMachineExtensionProperties { */ #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json#L2095C1-L2102C11" @visibility("create", "update") + @OpenAPI.extension("x-ms-secret", true) protectedSettings?: Record; /** diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json index 2b99fb5eb73d..8bd1a25a404f 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json @@ -1141,7 +1141,7 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings":{}, + "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 6dc80ceea06a..64ab9ea7e211 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -2481,7 +2481,8 @@ "x-ms-mutability": [ "update", "create" - ] + ], + "x-ms-secret": true }, "provisioningState": { "type": "string", @@ -2675,7 +2676,8 @@ "x-ms-mutability": [ "update", "create" - ] + ], + "x-ms-secret": true }, "provisioningState": { "type": "string", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index 594a5a2bc314..b8cdee8c871a 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -2475,7 +2475,8 @@ "x-ms-mutability": [ "update", "create" - ] + ], + "x-ms-secret": true }, "provisioningState": { "type": "string", @@ -2674,7 +2675,8 @@ "x-ms-mutability": [ "update", "create" - ] + ], + "x-ms-secret": true }, "provisioningState": { "type": "string", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json index 2b99fb5eb73d..8bd1a25a404f 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json @@ -1141,7 +1141,7 @@ "typeHandlerVersion": "zevivcoilxmbwlrihhhibq", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "settings":{}, + "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" From b6a0f63f09815f3e53bbbe163e7902116c40a273 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Tue, 9 Jul 2024 12:23:28 -0700 Subject: [PATCH 18/27] configReference is visible in response. --- .../AzureFleet.Management/baseVirtualMachineProfile.tsp | 2 -- .../preview/2023-11-01-preview/azurefleet.json | 8 +------- .../preview/2024-05-01-preview/azurefleet.json | 8 +------- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index 5403fcff6267..61c1b19a36e0 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -1600,8 +1600,6 @@ model VMGalleryApplication { * Optional, Specifies the uri to an azure blob that will replace the default * configuration for the package if provided */ - @visibility("create", "update") - @secret configurationReference?: string; /** diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 64ab9ea7e211..3393ed530d25 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -2290,13 +2290,7 @@ }, "configurationReference": { "type": "string", - "format": "password", - "description": "Optional, Specifies the uri to an azure blob that will replace the default\nconfiguration for the package if provided", - "x-ms-mutability": [ - "update", - "create" - ], - "x-ms-secret": true + "description": "Optional, Specifies the uri to an azure blob that will replace the default\nconfiguration for the package if provided" }, "treatFailureAsDeploymentFailure": { "type": "boolean", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index b8cdee8c871a..3f49b8781245 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -2284,13 +2284,7 @@ }, "configurationReference": { "type": "string", - "format": "password", - "description": "Optional, Specifies the uri to an azure blob that will replace the default\nconfiguration for the package if provided", - "x-ms-mutability": [ - "update", - "create" - ], - "x-ms-secret": true + "description": "Optional, Specifies the uri to an azure blob that will replace the default\nconfiguration for the package if provided" }, "treatFailureAsDeploymentFailure": { "type": "boolean", From c35779f9b45b287e2763e803e9692dbb5627f671 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Wed, 10 Jul 2024 18:31:51 -0700 Subject: [PATCH 19/27] Add arm-id format to resource ids --- .../baseVirtualMachineProfile.tsp | 15 +- .../Fleets_CreateOrUpdate_MaximumSet.json | 134 +++++++++--------- .../Fleets_Get_MaximumSet.json | 46 +++--- ...Fleets_ListByResourceGroup_MaximumSet.json | 46 +++--- .../Fleets_ListBySubscription_MaximumSet.json | 46 +++--- .../Fleets_Update_MaximumSet.json | 88 ++++++------ .../Fleets_CreateOrUpdate.json | 134 +++++++++--------- .../2024-05-01-preview/Fleets_Get.json | 44 +++--- .../Fleets_ListByResourceGroup.json | 44 +++--- .../Fleets_ListBySubscription.json | 44 +++--- .../2024-05-01-preview/Fleets_Update.json | 88 ++++++------ .../azurefleet/AzureFleet.Management/main.tsp | 2 + .../2023-11-01-preview/azurefleet.json | 11 ++ .../Fleets_CreateOrUpdate_MaximumSet.json | 134 +++++++++--------- .../examples/Fleets_Get_MaximumSet.json | 46 +++--- ...Fleets_ListByResourceGroup_MaximumSet.json | 46 +++--- .../Fleets_ListBySubscription_MaximumSet.json | 46 +++--- .../examples/Fleets_Update_MaximumSet.json | 88 ++++++------ .../2024-05-01-preview/azurefleet.json | 11 ++ .../examples/Fleets_CreateOrUpdate.json | 134 +++++++++--------- .../examples/Fleets_Get.json | 44 +++--- .../examples/Fleets_ListByResourceGroup.json | 44 +++--- .../examples/Fleets_ListBySubscription.json | 44 +++--- .../examples/Fleets_Update.json | 88 ++++++------ 24 files changed, 746 insertions(+), 721 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index 61c1b19a36e0..33adee05365b 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -4,6 +4,7 @@ import "@azure-tools/typespec-azure-core"; using TypeSpec.Rest; using TypeSpec.Http; +using Azure.Core; namespace Microsoft.AzureFleet; @@ -534,7 +535,7 @@ model SubResource { /** * Resource Id */ - id?: string; + id?: armResourceIdentifier; } /** @@ -939,7 +940,7 @@ model ApiEntityReference { * The ARM resource id in the form of * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/... */ - id?: string; + id?: armResourceIdentifier; } /** @@ -1289,7 +1290,7 @@ model EncryptionIdentity { /** * Specifies ARM Resource ID of one of the user identities associated with the VM. */ - userAssignedIdentityResourceId?: string; + userAssignedIdentityResourceId?: armResourceIdentifier; } /** @@ -1494,7 +1495,7 @@ model SubResourceReadOnly { * Resource Id */ @visibility("read") - id?: string; + id?: armResourceIdentifier; } /** @@ -1594,7 +1595,7 @@ model VMGalleryApplication { * Specifies the GalleryApplicationVersion resource id on the form of * /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version} */ - packageReferenceId: string; + packageReferenceId: armResourceIdentifier; /** * Optional, Specifies the uri to an azure blob that will replace the default @@ -1662,7 +1663,7 @@ model ServiceArtifactReference { * The service artifact reference id in the form of * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName} */ - id?: string; + id?: armResourceIdentifier; } /** @@ -1852,7 +1853,7 @@ model ResourceWithOptionalLocation { * Resource Id */ @visibility("read") - id?: string; + id?: armResourceIdentifier; /** * Resource name diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json index 143b2f8b7f63..5c9a64126131 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json @@ -87,7 +87,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -108,7 +108,7 @@ "version": "nhzyxfc", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -130,12 +130,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -152,12 +152,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -170,7 +170,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -181,7 +181,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -193,7 +193,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -211,7 +211,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -224,22 +224,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -262,7 +262,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -296,7 +296,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } } @@ -318,7 +318,7 @@ "userData": "jhlyuc", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -326,7 +326,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true @@ -340,10 +340,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -382,7 +382,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -494,7 +494,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -516,7 +516,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -538,12 +538,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -560,12 +560,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -578,7 +578,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -589,7 +589,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -601,7 +601,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -619,7 +619,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -632,22 +632,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -670,7 +670,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -705,11 +705,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "qx" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "srvemetinivyy" @@ -728,7 +728,7 @@ "userData": "jhlyuc", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -736,7 +736,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -749,10 +749,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -791,7 +791,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -799,7 +799,7 @@ ] }, "location": "jzecxhirbtegqxpyk", - "id": "vlgmhpmsbktwfzbioynslximoohfc", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", "tags": { @@ -926,7 +926,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -948,7 +948,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -970,12 +970,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -992,12 +992,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -1010,7 +1010,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -1021,7 +1021,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -1033,7 +1033,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -1051,7 +1051,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -1064,22 +1064,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -1102,7 +1102,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -1137,11 +1137,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "qx" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "srvemetinivyy" @@ -1160,7 +1160,7 @@ "userData": "jhlyuc", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -1168,7 +1168,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -1181,10 +1181,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -1222,7 +1222,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -1230,7 +1230,7 @@ ] }, "location": "jzecxhirbtegqxpyk", - "id": "vlgmhpmsbktwfzbioynslximoohfc", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", "tags": { diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json index 855001dc9d1b..77f11c9662af 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json @@ -87,7 +87,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -109,7 +109,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -131,12 +131,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -153,12 +153,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -171,7 +171,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -182,7 +182,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -194,7 +194,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -212,7 +212,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -225,22 +225,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -263,7 +263,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -298,11 +298,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "qx" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "srvemetinivyy" @@ -321,7 +321,7 @@ "userData": "jhlyuc", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -329,7 +329,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -342,10 +342,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -384,7 +384,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -392,7 +392,7 @@ ] }, "location": "jzecxhirbtegqxpyk", - "id": "vlgmhpmsbktwfzbioynslximoohfc", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", "tags": { diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json index 23e2790986e2..6e1b26d429a9 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json @@ -89,7 +89,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -111,7 +111,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -133,12 +133,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -155,12 +155,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -173,7 +173,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -184,7 +184,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -196,7 +196,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -214,7 +214,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -227,22 +227,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -265,7 +265,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -300,11 +300,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "qx" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "srvemetinivyy" @@ -323,7 +323,7 @@ "userData": "nwrklspknozvftyi", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -331,7 +331,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -344,10 +344,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -386,7 +386,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -394,7 +394,7 @@ ] }, "location": "jzecxhirbtegqxpyk", - "id": "vlgmhpmsbktwfzbioynslximoohfc", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", "tags": { diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json index 3ee334703795..e483b5f067ca 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json @@ -88,7 +88,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -110,7 +110,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -132,12 +132,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -154,12 +154,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -172,7 +172,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -183,7 +183,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -195,7 +195,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -213,7 +213,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -226,22 +226,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -264,7 +264,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -299,11 +299,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "qx" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "srvemetinivyy" @@ -322,7 +322,7 @@ "userData": "nwrklspknozvftyi", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -330,7 +330,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -343,10 +343,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -384,7 +384,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -392,7 +392,7 @@ ] }, "location": "jzecxhirbtegqxpyk", - "id": "vlgmhpmsbktwfzbioynslximoohfc", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", "tags": { diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json index d8f585c21799..a8c9ffa85575 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json @@ -88,7 +88,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -109,7 +109,7 @@ "version": "nhzyxfc", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -131,12 +131,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -153,12 +153,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -171,7 +171,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -182,7 +182,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -194,7 +194,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -212,7 +212,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -225,22 +225,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -263,7 +263,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -297,7 +297,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } } @@ -319,7 +319,7 @@ "userData": "jgdmsclzzknsevdsh", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -327,7 +327,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true @@ -341,10 +341,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -383,7 +383,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -492,7 +492,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -513,7 +513,7 @@ "version": "nhzyxfc", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1", "exactVersion": "hfph" }, "osDisk": { @@ -536,12 +536,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -558,12 +558,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -576,7 +576,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -587,7 +587,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -599,7 +599,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -617,7 +617,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -630,22 +630,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -668,7 +668,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -700,13 +700,13 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisioningState": "kauilerjryyvizdqoazz" }, "type": "rhmnomookzqyld", - "id": "qx" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "srvemetinivyy" @@ -725,7 +725,7 @@ "userData": "jgdmsclzzknsevdsh", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -733,7 +733,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -746,10 +746,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -787,7 +787,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -797,7 +797,7 @@ }, "location": "jzecxhirbtegqxpyk", "tags": {}, - "id": "vlgmhpmsbktwfzbioynslximoohfc", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww" } diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json index 8bd1a25a404f..9d44a5e35a67 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json @@ -89,7 +89,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -110,7 +110,7 @@ "version": "wvpcqefgtmqdgltiuz", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -132,12 +132,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -154,12 +154,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -172,7 +172,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -183,7 +183,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -195,7 +195,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -213,7 +213,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -226,22 +226,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -264,7 +264,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -298,7 +298,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } } @@ -320,7 +320,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -328,7 +328,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true @@ -342,10 +342,10 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "mubredelfbshboaxrsxiajihahaa", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -384,7 +384,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -502,7 +502,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -524,7 +524,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -546,12 +546,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -568,12 +568,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -586,7 +586,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -597,7 +597,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -609,7 +609,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -627,7 +627,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -640,22 +640,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -678,7 +678,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -713,11 +713,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "fmheufuaqonfvirwrpd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" @@ -736,7 +736,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -744,7 +744,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -757,10 +757,10 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "mubredelfbshboaxrsxiajihahaa", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -799,7 +799,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -807,7 +807,7 @@ ] }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", - "id": "ovmtxndtfwvcxnw", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", "tags": { @@ -939,7 +939,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -961,7 +961,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -983,12 +983,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -1005,12 +1005,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -1023,7 +1023,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -1034,7 +1034,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -1046,7 +1046,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -1064,7 +1064,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -1077,22 +1077,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -1115,7 +1115,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -1150,11 +1150,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "fmheufuaqonfvirwrpd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" @@ -1173,7 +1173,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -1181,7 +1181,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -1194,10 +1194,10 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "mubredelfbshboaxrsxiajihahaa", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -1236,7 +1236,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -1244,7 +1244,7 @@ ] }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", - "id": "ovmtxndtfwvcxnw", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", "tags": { diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json index 5dfd3e9724e7..5827c96e1c78 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json @@ -90,7 +90,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -112,7 +112,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -134,12 +134,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -156,12 +156,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -174,7 +174,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -185,7 +185,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -197,7 +197,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -215,7 +215,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -228,22 +228,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -266,7 +266,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -301,11 +301,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "fmheufuaqonfvirwrpd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" @@ -324,7 +324,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -332,7 +332,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -345,7 +345,7 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { "id": "mubredelfbshboaxrsxiajihahaa", @@ -387,7 +387,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -395,7 +395,7 @@ ] }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", - "id": "ovmtxndtfwvcxnw", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", "tags": { diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json index 396c3c4d99e5..e207daf9b2a4 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json @@ -91,7 +91,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -113,7 +113,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -135,12 +135,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -157,12 +157,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -175,7 +175,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -186,7 +186,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -198,7 +198,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -216,7 +216,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -229,22 +229,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -267,7 +267,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -302,11 +302,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "fmheufuaqonfvirwrpd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" @@ -325,7 +325,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -333,7 +333,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -346,7 +346,7 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { "id": "mubredelfbshboaxrsxiajihahaa", @@ -388,7 +388,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -396,7 +396,7 @@ ] }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", - "id": "ovmtxndtfwvcxnw", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", "tags": { diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json index 90d4103f23ba..ebb80b809f23 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json @@ -90,7 +90,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -112,7 +112,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -134,12 +134,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -156,12 +156,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -174,7 +174,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -185,7 +185,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -197,7 +197,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -215,7 +215,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -228,22 +228,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -266,7 +266,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -301,11 +301,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "fmheufuaqonfvirwrpd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" @@ -324,7 +324,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -332,7 +332,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -345,7 +345,7 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { "id": "mubredelfbshboaxrsxiajihahaa", @@ -387,7 +387,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -395,7 +395,7 @@ ] }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", - "id": "ovmtxndtfwvcxnw", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", "tags": { diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json index a88ddf06aa37..bc07a535d774 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json @@ -94,7 +94,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -115,7 +115,7 @@ "version": "wvpcqefgtmqdgltiuz", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -137,12 +137,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -159,12 +159,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -177,7 +177,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -188,7 +188,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -200,7 +200,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -218,7 +218,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -231,22 +231,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -269,7 +269,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -303,7 +303,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } } @@ -325,7 +325,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -333,7 +333,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true @@ -347,10 +347,10 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "mubredelfbshboaxrsxiajihahaa", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -389,7 +389,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -497,7 +497,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -518,7 +518,7 @@ "version": "wvpcqefgtmqdgltiuz", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1", "exactVersion": "zjbntmiskjexlr" }, "osDisk": { @@ -541,12 +541,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -563,12 +563,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -581,7 +581,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -592,7 +592,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -604,7 +604,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -622,7 +622,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -635,22 +635,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -673,7 +673,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -705,14 +705,14 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe" }, "type": "cmeam", - "id": "fmheufuaqonfvirwrpd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" @@ -731,7 +731,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -739,7 +739,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -752,10 +752,10 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "mubredelfbshboaxrsxiajihahaa", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -793,7 +793,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -803,7 +803,7 @@ }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", "tags": {}, - "id": "ovmtxndtfwvcxnw", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku" } diff --git a/specification/azurefleet/AzureFleet.Management/main.tsp b/specification/azurefleet/AzureFleet.Management/main.tsp index cee8a045de2e..a29951f7985a 100644 --- a/specification/azurefleet/AzureFleet.Management/main.tsp +++ b/specification/azurefleet/AzureFleet.Management/main.tsp @@ -23,11 +23,13 @@ namespace Microsoft.AzureFleet; /** Api versions */ enum Versions { @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_2) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) @doc("Private Preview Api version") v2023_11_01_preview: "2023-11-01-preview", @useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @useDependency(Azure.Core.Versions.v1_0_Preview_2) @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) @doc("Public Preview Api version") v2024_05_01_preview: "2024-05-01-preview", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 3393ed530d25..5cf4bfa328e1 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -532,6 +532,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "The ARM resource id in the form of\n/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." } } @@ -988,6 +989,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "Resource Id" } } @@ -1034,6 +1036,7 @@ "properties": { "userAssignedIdentityResourceId": { "type": "string", + "format": "arm-id", "description": "Specifies ARM Resource ID of one of the user identities associated with the VM." } } @@ -1204,6 +1207,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "Resource Id" }, "publisher": { @@ -1866,6 +1870,7 @@ }, "id": { "type": "string", + "format": "arm-id", "description": "Resource Id", "readOnly": true }, @@ -2005,6 +2010,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "The service artifact reference id in the form of\n/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}" } } @@ -2214,6 +2220,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "Resource Id" } } @@ -2224,6 +2231,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "Resource Id", "readOnly": true } @@ -2286,6 +2294,7 @@ }, "packageReferenceId": { "type": "string", + "format": "arm-id", "description": "Specifies the GalleryApplicationVersion resource id on the form of\n/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}" }, "configurationReference": { @@ -2375,6 +2384,7 @@ }, "id": { "type": "string", + "format": "arm-id", "description": "Resource Id", "readOnly": true }, @@ -2595,6 +2605,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "Resource Id", "readOnly": true }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json index 143b2f8b7f63..5c9a64126131 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json @@ -87,7 +87,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -108,7 +108,7 @@ "version": "nhzyxfc", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -130,12 +130,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -152,12 +152,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -170,7 +170,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -181,7 +181,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -193,7 +193,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -211,7 +211,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -224,22 +224,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -262,7 +262,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -296,7 +296,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } } @@ -318,7 +318,7 @@ "userData": "jhlyuc", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -326,7 +326,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true @@ -340,10 +340,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -382,7 +382,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -494,7 +494,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -516,7 +516,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -538,12 +538,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -560,12 +560,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -578,7 +578,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -589,7 +589,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -601,7 +601,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -619,7 +619,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -632,22 +632,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -670,7 +670,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -705,11 +705,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "qx" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "srvemetinivyy" @@ -728,7 +728,7 @@ "userData": "jhlyuc", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -736,7 +736,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -749,10 +749,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -791,7 +791,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -799,7 +799,7 @@ ] }, "location": "jzecxhirbtegqxpyk", - "id": "vlgmhpmsbktwfzbioynslximoohfc", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", "tags": { @@ -926,7 +926,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -948,7 +948,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -970,12 +970,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -992,12 +992,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -1010,7 +1010,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -1021,7 +1021,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -1033,7 +1033,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -1051,7 +1051,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -1064,22 +1064,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -1102,7 +1102,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -1137,11 +1137,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "qx" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "srvemetinivyy" @@ -1160,7 +1160,7 @@ "userData": "jhlyuc", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -1168,7 +1168,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -1181,10 +1181,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -1222,7 +1222,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -1230,7 +1230,7 @@ ] }, "location": "jzecxhirbtegqxpyk", - "id": "vlgmhpmsbktwfzbioynslximoohfc", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", "tags": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json index 855001dc9d1b..77f11c9662af 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json @@ -87,7 +87,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -109,7 +109,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -131,12 +131,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -153,12 +153,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -171,7 +171,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -182,7 +182,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -194,7 +194,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -212,7 +212,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -225,22 +225,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -263,7 +263,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -298,11 +298,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "qx" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "srvemetinivyy" @@ -321,7 +321,7 @@ "userData": "jhlyuc", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -329,7 +329,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -342,10 +342,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -384,7 +384,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -392,7 +392,7 @@ ] }, "location": "jzecxhirbtegqxpyk", - "id": "vlgmhpmsbktwfzbioynslximoohfc", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", "tags": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json index 23e2790986e2..6e1b26d429a9 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json @@ -89,7 +89,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -111,7 +111,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -133,12 +133,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -155,12 +155,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -173,7 +173,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -184,7 +184,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -196,7 +196,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -214,7 +214,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -227,22 +227,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -265,7 +265,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -300,11 +300,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "qx" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "srvemetinivyy" @@ -323,7 +323,7 @@ "userData": "nwrklspknozvftyi", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -331,7 +331,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -344,10 +344,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -386,7 +386,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -394,7 +394,7 @@ ] }, "location": "jzecxhirbtegqxpyk", - "id": "vlgmhpmsbktwfzbioynslximoohfc", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", "tags": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json index 3ee334703795..e483b5f067ca 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json @@ -88,7 +88,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -110,7 +110,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -132,12 +132,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -154,12 +154,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -172,7 +172,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -183,7 +183,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -195,7 +195,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -213,7 +213,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -226,22 +226,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -264,7 +264,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -299,11 +299,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "qx" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "srvemetinivyy" @@ -322,7 +322,7 @@ "userData": "nwrklspknozvftyi", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -330,7 +330,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -343,10 +343,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -384,7 +384,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -392,7 +392,7 @@ ] }, "location": "jzecxhirbtegqxpyk", - "id": "vlgmhpmsbktwfzbioynslximoohfc", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", "tags": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json index d8f585c21799..a8c9ffa85575 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json @@ -88,7 +88,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -109,7 +109,7 @@ "version": "nhzyxfc", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "qzchzeaaxupl", @@ -131,12 +131,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -153,12 +153,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -171,7 +171,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -182,7 +182,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -194,7 +194,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -212,7 +212,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -225,22 +225,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -263,7 +263,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -297,7 +297,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } } @@ -319,7 +319,7 @@ "userData": "jgdmsclzzknsevdsh", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -327,7 +327,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "configurationReference": "auikpeahpgodbqdih", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true @@ -341,10 +341,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -383,7 +383,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -492,7 +492,7 @@ "secrets": [ { "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -513,7 +513,7 @@ "version": "nhzyxfc", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "eouuvblwiuykzebjh", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1", "exactVersion": "hfph" }, "osDisk": { @@ -536,12 +536,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -558,12 +558,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "hinhonboozgfbrfwyy" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -576,7 +576,7 @@ }, "networkProfile": { "healthProbe": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -587,7 +587,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -599,7 +599,7 @@ "name": "et", "properties": { "subnet": { - "id": "puulsdoecyaooqmhz" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -617,7 +617,7 @@ } ], "publicIPPrefix": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -630,22 +630,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -668,7 +668,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "ymhqsov" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -700,13 +700,13 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisioningState": "kauilerjryyvizdqoazz" }, "type": "rhmnomookzqyld", - "id": "qx" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "srvemetinivyy" @@ -725,7 +725,7 @@ "userData": "jgdmsclzzknsevdsh", "capacityReservation": { "capacityReservationGroup": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -733,7 +733,7 @@ { "tags": "bevijlsuchspoihzlfjczuqttaqz", "order": 4, - "packageReferenceId": "aabkcborasmyowocjceldewmkci", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -746,10 +746,10 @@ } }, "serviceArtifactReference": { - "id": "qqqxnjehbgcepcfldzifjkwlzusn" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "zwtxjdjwedxmhpcoii", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -787,7 +787,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "qmjoynsytvnjzutetnkog", "sourceVault": { - "id": "ihxrocoahkxxjrbmbhmaahzi" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -797,7 +797,7 @@ }, "location": "jzecxhirbtegqxpyk", "tags": {}, - "id": "vlgmhpmsbktwfzbioynslximoohfc", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww" } diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index 3f49b8781245..da64c676e815 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -511,6 +511,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "The ARM resource id in the form of\n/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." } } @@ -972,6 +973,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "Resource Id" } } @@ -1018,6 +1020,7 @@ "properties": { "userAssignedIdentityResourceId": { "type": "string", + "format": "arm-id", "description": "Specifies ARM Resource ID of one of the user identities associated with the VM." } } @@ -1188,6 +1191,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "Resource Id" }, "publisher": { @@ -1856,6 +1860,7 @@ }, "id": { "type": "string", + "format": "arm-id", "description": "Resource Id", "readOnly": true }, @@ -1995,6 +2000,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "The service artifact reference id in the form of\n/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}" } } @@ -2208,6 +2214,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "Resource Id" } } @@ -2218,6 +2225,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "Resource Id", "readOnly": true } @@ -2280,6 +2288,7 @@ }, "packageReferenceId": { "type": "string", + "format": "arm-id", "description": "Specifies the GalleryApplicationVersion resource id on the form of\n/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}" }, "configurationReference": { @@ -2369,6 +2378,7 @@ }, "id": { "type": "string", + "format": "arm-id", "description": "Resource Id", "readOnly": true }, @@ -2594,6 +2604,7 @@ "properties": { "id": { "type": "string", + "format": "arm-id", "description": "Resource Id", "readOnly": true }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json index 8bd1a25a404f..9d44a5e35a67 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json @@ -89,7 +89,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -110,7 +110,7 @@ "version": "wvpcqefgtmqdgltiuz", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -132,12 +132,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -154,12 +154,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -172,7 +172,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -183,7 +183,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -195,7 +195,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -213,7 +213,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -226,22 +226,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -264,7 +264,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -298,7 +298,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } } @@ -320,7 +320,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -328,7 +328,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true @@ -342,10 +342,10 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "mubredelfbshboaxrsxiajihahaa", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -384,7 +384,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -502,7 +502,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -524,7 +524,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -546,12 +546,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -568,12 +568,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -586,7 +586,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -597,7 +597,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -609,7 +609,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -627,7 +627,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -640,22 +640,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -678,7 +678,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -713,11 +713,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "fmheufuaqonfvirwrpd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" @@ -736,7 +736,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -744,7 +744,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -757,10 +757,10 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "mubredelfbshboaxrsxiajihahaa", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -799,7 +799,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -807,7 +807,7 @@ ] }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", - "id": "ovmtxndtfwvcxnw", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", "tags": { @@ -939,7 +939,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -961,7 +961,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -983,12 +983,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -1005,12 +1005,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -1023,7 +1023,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -1034,7 +1034,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -1046,7 +1046,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -1064,7 +1064,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -1077,22 +1077,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -1115,7 +1115,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -1150,11 +1150,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "fmheufuaqonfvirwrpd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" @@ -1173,7 +1173,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -1181,7 +1181,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -1194,10 +1194,10 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "mubredelfbshboaxrsxiajihahaa", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -1236,7 +1236,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -1244,7 +1244,7 @@ ] }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", - "id": "ovmtxndtfwvcxnw", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", "tags": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json index 5dfd3e9724e7..5827c96e1c78 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json @@ -90,7 +90,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -112,7 +112,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -134,12 +134,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -156,12 +156,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -174,7 +174,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -185,7 +185,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -197,7 +197,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -215,7 +215,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -228,22 +228,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -266,7 +266,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -301,11 +301,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "fmheufuaqonfvirwrpd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" @@ -324,7 +324,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -332,7 +332,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -345,7 +345,7 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { "id": "mubredelfbshboaxrsxiajihahaa", @@ -387,7 +387,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -395,7 +395,7 @@ ] }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", - "id": "ovmtxndtfwvcxnw", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", "tags": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json index 396c3c4d99e5..e207daf9b2a4 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json @@ -91,7 +91,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -113,7 +113,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -135,12 +135,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -157,12 +157,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -175,7 +175,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -186,7 +186,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -198,7 +198,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -216,7 +216,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -229,22 +229,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -267,7 +267,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -302,11 +302,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "fmheufuaqonfvirwrpd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" @@ -325,7 +325,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -333,7 +333,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -346,7 +346,7 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { "id": "mubredelfbshboaxrsxiajihahaa", @@ -388,7 +388,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -396,7 +396,7 @@ ] }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", - "id": "ovmtxndtfwvcxnw", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", "tags": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json index 90d4103f23ba..ebb80b809f23 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json @@ -90,7 +90,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -112,7 +112,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -134,12 +134,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -156,12 +156,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -174,7 +174,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -185,7 +185,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -197,7 +197,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -215,7 +215,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -228,22 +228,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -266,7 +266,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -301,11 +301,11 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } }, - "id": "fmheufuaqonfvirwrpd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" @@ -324,7 +324,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -332,7 +332,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -345,7 +345,7 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { "id": "mubredelfbshboaxrsxiajihahaa", @@ -387,7 +387,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -395,7 +395,7 @@ ] }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", - "id": "ovmtxndtfwvcxnw", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", "tags": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json index a88ddf06aa37..bc07a535d774 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json @@ -94,7 +94,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -115,7 +115,7 @@ "version": "wvpcqefgtmqdgltiuz", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" }, "osDisk": { "name": "wfttw", @@ -137,12 +137,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -159,12 +159,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -177,7 +177,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -188,7 +188,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -200,7 +200,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -218,7 +218,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -231,22 +231,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -269,7 +269,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -303,7 +303,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } } } @@ -325,7 +325,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -333,7 +333,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "configurationReference": "ulztmiavpojpbpbddgnuuiimxcpau", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true @@ -347,10 +347,10 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "mubredelfbshboaxrsxiajihahaa", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -389,7 +389,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -497,7 +497,7 @@ "secrets": [ { "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" }, "vaultCertificates": [ { @@ -518,7 +518,7 @@ "version": "wvpcqefgtmqdgltiuz", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "aiunknwgksu", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1", "exactVersion": "zjbntmiskjexlr" }, "osDisk": { @@ -541,12 +541,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -563,12 +563,12 @@ "managedDisk": { "storageAccountType": "Standard_LRS", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" }, "securityProfile": { "securityEncryptionType": "VMGuestStateOnly", "diskEncryptionSet": { - "id": "vmatqblzjalbatdepyzqmnd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" } } }, @@ -581,7 +581,7 @@ }, "networkProfile": { "healthProbe": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" }, "networkInterfaceConfigurations": [ { @@ -592,7 +592,7 @@ "disableTcpStateTracking": true, "enableFpga": true, "networkSecurityGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" }, "dnsSettings": { "dnsServers": [ @@ -604,7 +604,7 @@ "name": "oezqhkidfhyywlfzwuotilrpbqnjg", "properties": { "subnet": { - "id": "cmkfcjhmrwxwqtac" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" }, "primary": true, "publicIPAddressConfiguration": { @@ -622,7 +622,7 @@ } ], "publicIPPrefix": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" }, "publicIPAddressVersion": "IPv4", "deleteOption": "Delete" @@ -635,22 +635,22 @@ "privateIPAddressVersion": "IPv4", "applicationGatewayBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" } ], "applicationSecurityGroups": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" } ], "loadBalancerBackendAddressPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" } ], "loadBalancerInboundNatPools": [ { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" } ] } @@ -673,7 +673,7 @@ "encryptionAtHost": true, "securityType": "TrustedLaunch", "encryptionIdentity": { - "userAssignedIdentityResourceId": "qoersmt" + "userAssignedIdentityResourceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" }, "proxyAgentSettings": { "enabled": true, @@ -705,14 +705,14 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "settings": {}, "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe" }, "type": "cmeam", - "id": "fmheufuaqonfvirwrpd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" } ], "extensionsTimeBudget": "mbhjahtdygwgyszdwjtvlvtgchdwil" @@ -731,7 +731,7 @@ "userData": "s", "capacityReservation": { "capacityReservationGroup": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" } }, "applicationProfile": { @@ -739,7 +739,7 @@ { "tags": "eyrqjbib", "order": 5, - "packageReferenceId": "lfxqiadouhmbovcd", + "packageReferenceId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}", "treatFailureAsDeploymentFailure": true, "enableAutomaticUpgrade": true } @@ -752,10 +752,10 @@ } }, "serviceArtifactReference": { - "id": "qlkeeyskyr" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" }, "securityPostureReference": { - "id": "mubredelfbshboaxrsxiajihahaa", + "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ { "properties": { @@ -793,7 +793,7 @@ "protectedSettingsFromKeyVault": { "secretUrl": "vyhzfkqsqanacgzjthpjoe", "sourceVault": { - "id": "groxwd" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, "provisionAfterExtensions": [ @@ -803,7 +803,7 @@ }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", "tags": {}, - "id": "ovmtxndtfwvcxnw", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku" } From 52f6c72defaf1e6faed4341b824128be3cedc0bd Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Thu, 11 Jul 2024 15:59:46 -0700 Subject: [PATCH 20/27] Address comments --- .../AzureFleet.Management/baseVirtualMachineProfile.tsp | 4 ++-- .../preview/2023-11-01-preview/azurefleet.json | 4 ++-- .../preview/2024-05-01-preview/azurefleet.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index 33adee05365b..c8a1e5de5425 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -36,7 +36,7 @@ model BaseVirtualMachineProfile { securityProfile?: SecurityProfile; /** - * Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15. + * Specifies the boot diagnostic settings state. */ diagnosticsProfile?: DiagnosticsProfile; @@ -106,7 +106,7 @@ model BaseVirtualMachineProfile { * Specifies the time in which this VM profile for the Virtual Machine Scale Set * was created. Minimum API version for this property is 2023-09-01. This value * will be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile - * with minimum api-version 2023-09-01. + * with minimum api-version 2023-09-01. Examples: "2024-07-01T00:00:01.1234567+00:00" */ @visibility("read") timeCreated?: utcDateTime; diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 5cf4bfa328e1..7bd9d4cdd9db 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -680,7 +680,7 @@ }, "diagnosticsProfile": { "$ref": "#/definitions/DiagnosticsProfile", - "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." + "description": "Specifies the boot diagnostic settings state." }, "extensionProfile": { "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile", @@ -721,7 +721,7 @@ "timeCreated": { "type": "string", "format": "date-time", - "description": "Specifies the time in which this VM profile for the Virtual Machine Scale Set\nwas created. Minimum API version for this property is 2023-09-01. This value\nwill be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile\nwith minimum api-version 2023-09-01.", + "description": "Specifies the time in which this VM profile for the Virtual Machine Scale Set\nwas created. Minimum API version for this property is 2023-09-01. This value\nwill be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile\nwith minimum api-version 2023-09-01. Examples: \"2024-07-01T00:00:01.1234567+00:00\"", "readOnly": true } } diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index da64c676e815..3a9f12c89970 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -659,7 +659,7 @@ }, "diagnosticsProfile": { "$ref": "#/definitions/DiagnosticsProfile", - "description": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15." + "description": "Specifies the boot diagnostic settings state." }, "extensionProfile": { "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile", @@ -700,7 +700,7 @@ "timeCreated": { "type": "string", "format": "date-time", - "description": "Specifies the time in which this VM profile for the Virtual Machine Scale Set\nwas created. Minimum API version for this property is 2023-09-01. This value\nwill be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile\nwith minimum api-version 2023-09-01.", + "description": "Specifies the time in which this VM profile for the Virtual Machine Scale Set\nwas created. Minimum API version for this property is 2023-09-01. This value\nwill be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile\nwith minimum api-version 2023-09-01. Examples: \"2024-07-01T00:00:01.1234567+00:00\"", "readOnly": true } } From 372ee030be0ba64b19805611aa8751e89353678f Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Thu, 11 Jul 2024 16:43:49 -0700 Subject: [PATCH 21/27] update provisioningState in examples --- .../Fleets_CreateOrUpdate_MaximumSet.json | 8 ++++---- .../2023-11-01-preview/Fleets_Get_MaximumSet.json | 4 ++-- .../Fleets_ListByResourceGroup_MaximumSet.json | 4 ++-- .../Fleets_ListBySubscription_MaximumSet.json | 4 ++-- .../2023-11-01-preview/Fleets_Update_MaximumSet.json | 4 ++-- .../2024-05-01-preview/Fleets_CreateOrUpdate.json | 8 ++++---- .../examples/2024-05-01-preview/Fleets_Get.json | 4 ++-- .../2024-05-01-preview/Fleets_ListByResourceGroup.json | 4 ++-- .../2024-05-01-preview/Fleets_ListBySubscription.json | 4 ++-- .../examples/2024-05-01-preview/Fleets_Update.json | 4 ++-- .../examples/Fleets_CreateOrUpdate_MaximumSet.json | 8 ++++---- .../examples/Fleets_Get_MaximumSet.json | 4 ++-- .../examples/Fleets_ListByResourceGroup_MaximumSet.json | 4 ++-- .../examples/Fleets_ListBySubscription_MaximumSet.json | 4 ++-- .../examples/Fleets_Update_MaximumSet.json | 4 ++-- .../examples/Fleets_CreateOrUpdate.json | 8 ++++---- .../preview/2024-05-01-preview/examples/Fleets_Get.json | 4 ++-- .../examples/Fleets_ListByResourceGroup.json | 4 ++-- .../examples/Fleets_ListBySubscription.json | 4 ++-- .../2024-05-01-preview/examples/Fleets_Update.json | 4 ++-- 20 files changed, 48 insertions(+), 48 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json index 5c9a64126131..8a0ccb9ddc54 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json @@ -697,7 +697,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "kauilerjryyvizdqoazz", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" ], @@ -763,7 +763,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "rmhlppcusvaiepeqafd", + "provisioningState": "Succeeded", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", @@ -1129,7 +1129,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "kauilerjryyvizdqoazz", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" ], @@ -1194,7 +1194,7 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "provisioningState": "rmhlppcusvaiepeqafd", + "provisioningState": "Succeeded", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json index 77f11c9662af..b6985d8d9115 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json @@ -290,7 +290,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "kauilerjryyvizdqoazz", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" ], @@ -356,7 +356,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "rmhlppcusvaiepeqafd", + "provisioningState": "Succeeded", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json index 6e1b26d429a9..73fdfa288e3d 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json @@ -292,7 +292,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "kauilerjryyvizdqoazz", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" ], @@ -358,7 +358,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "rmhlppcusvaiepeqafd", + "provisioningState": "Succeeded", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json index e483b5f067ca..6edf1a9bc1cb 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json @@ -291,7 +291,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "kauilerjryyvizdqoazz", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" ], @@ -356,7 +356,7 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "provisioningState": "rmhlppcusvaiepeqafd", + "provisioningState": "Succeeded", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json index a8c9ffa85575..290544cd7717 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json @@ -703,7 +703,7 @@ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, - "provisioningState": "kauilerjryyvizdqoazz" + "provisioningState": "Succeeded" }, "type": "rhmnomookzqyld", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" @@ -793,7 +793,7 @@ "provisionAfterExtensions": [ "aysdon" ], - "provisioningState": "rmhlppcusvaiepeqafd" + "provisioningState": "Succeeded" }, "location": "jzecxhirbtegqxpyk", "tags": {}, diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json index 9d44a5e35a67..1215e2b5761b 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json @@ -705,7 +705,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" ], @@ -771,7 +771,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "tzbaituagn", + "provisioningState": "Succeeded", "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", @@ -1142,7 +1142,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" ], @@ -1208,7 +1208,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "tzbaituagn", + "provisioningState": "Succeeded", "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json index 5827c96e1c78..457457ed7a51 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json @@ -293,7 +293,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" ], @@ -359,7 +359,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "tzbaituagn", + "provisioningState": "Succeeded", "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json index e207daf9b2a4..a9975b93b12c 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json @@ -294,7 +294,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" ], @@ -360,7 +360,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "tzbaituagn", + "provisioningState": "Succeeded", "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json index ebb80b809f23..236458597d11 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json @@ -293,7 +293,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" ], @@ -359,7 +359,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "tzbaituagn", + "provisioningState": "Succeeded", "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json index bc07a535d774..77b0122d91e4 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json @@ -709,7 +709,7 @@ } }, "settings": {}, - "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe" + "provisioningState": "Succeeded" }, "type": "cmeam", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" @@ -799,7 +799,7 @@ "provisionAfterExtensions": [ "lwsfavklrgzuwmyxscskt" ], - "provisioningState": "tzbaituagn" + "provisioningState": "Succeeded" }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", "tags": {}, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json index 5c9a64126131..8a0ccb9ddc54 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json @@ -697,7 +697,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "kauilerjryyvizdqoazz", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" ], @@ -763,7 +763,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "rmhlppcusvaiepeqafd", + "provisioningState": "Succeeded", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", @@ -1129,7 +1129,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "kauilerjryyvizdqoazz", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" ], @@ -1194,7 +1194,7 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "provisioningState": "rmhlppcusvaiepeqafd", + "provisioningState": "Succeeded", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json index 77f11c9662af..b6985d8d9115 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json @@ -290,7 +290,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "kauilerjryyvizdqoazz", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" ], @@ -356,7 +356,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "rmhlppcusvaiepeqafd", + "provisioningState": "Succeeded", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json index 6e1b26d429a9..73fdfa288e3d 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json @@ -292,7 +292,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "kauilerjryyvizdqoazz", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" ], @@ -358,7 +358,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "rmhlppcusvaiepeqafd", + "provisioningState": "Succeeded", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json index e483b5f067ca..6edf1a9bc1cb 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json @@ -291,7 +291,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "kauilerjryyvizdqoazz", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "babgtjyllusylxsnfvepitrkmkcx" ], @@ -356,7 +356,7 @@ "typeHandlerVersion": "hyyj", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, - "provisioningState": "rmhlppcusvaiepeqafd", + "provisioningState": "Succeeded", "instanceView": { "name": "xxnjefzqotctmujsqpmyleaie", "type": "cycepellfcdujniys", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json index a8c9ffa85575..290544cd7717 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json @@ -703,7 +703,7 @@ "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" } }, - "provisioningState": "kauilerjryyvizdqoazz" + "provisioningState": "Succeeded" }, "type": "rhmnomookzqyld", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" @@ -793,7 +793,7 @@ "provisionAfterExtensions": [ "aysdon" ], - "provisioningState": "rmhlppcusvaiepeqafd" + "provisioningState": "Succeeded" }, "location": "jzecxhirbtegqxpyk", "tags": {}, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json index 9d44a5e35a67..1215e2b5761b 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json @@ -705,7 +705,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" ], @@ -771,7 +771,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "tzbaituagn", + "provisioningState": "Succeeded", "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", @@ -1142,7 +1142,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" ], @@ -1208,7 +1208,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "tzbaituagn", + "provisioningState": "Succeeded", "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json index 5827c96e1c78..457457ed7a51 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json @@ -293,7 +293,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" ], @@ -359,7 +359,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "tzbaituagn", + "provisioningState": "Succeeded", "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json index e207daf9b2a4..a9975b93b12c 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json @@ -294,7 +294,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" ], @@ -360,7 +360,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "tzbaituagn", + "provisioningState": "Succeeded", "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json index ebb80b809f23..236458597d11 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json @@ -293,7 +293,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe", + "provisioningState": "Succeeded", "provisionAfterExtensions": [ "nftzosroolbcwmpupujzqwqe" ], @@ -359,7 +359,7 @@ "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": true, "settings": {}, - "provisioningState": "tzbaituagn", + "provisioningState": "Succeeded", "instanceView": { "name": "ip", "type": "woadxvobquacooaujyg", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json index bc07a535d774..77b0122d91e4 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json @@ -709,7 +709,7 @@ } }, "settings": {}, - "provisioningState": "jquzzuhvarugybjwdooovfrgqtpe" + "provisioningState": "Succeeded" }, "type": "cmeam", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" @@ -799,7 +799,7 @@ "provisionAfterExtensions": [ "lwsfavklrgzuwmyxscskt" ], - "provisioningState": "tzbaituagn" + "provisioningState": "Succeeded" }, "location": "wrqxhbqaebwkzmcdmngyqmhogc", "tags": {}, From 97043813edfc7ed3f4343ece7b4d970bb7d6fcb2 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Fri, 12 Jul 2024 14:19:13 -0700 Subject: [PATCH 22/27] update examples --- .../Fleets_CreateOrUpdate_MaximumSet.json | 27 +++++++++++++++-- .../Fleets_Get_MaximumSet.json | 9 +++++- ...Fleets_ListByResourceGroup_MaximumSet.json | 9 +++++- .../Fleets_ListBySubscription_MaximumSet.json | 9 +++++- .../Fleets_Update_MaximumSet.json | 4 +-- .../Fleets_CreateOrUpdate.json | 29 ++++++++++++++++--- .../2024-05-01-preview/Fleets_Get.json | 9 +++++- .../Fleets_ListByResourceGroup.json | 9 +++++- .../Fleets_ListBySubscription.json | 9 +++++- .../2024-05-01-preview/Fleets_Update.json | 4 +-- .../Fleets_CreateOrUpdate_MaximumSet.json | 27 +++++++++++++++-- .../examples/Fleets_Get_MaximumSet.json | 9 +++++- ...Fleets_ListByResourceGroup_MaximumSet.json | 9 +++++- .../Fleets_ListBySubscription_MaximumSet.json | 9 +++++- .../examples/Fleets_Update_MaximumSet.json | 4 +-- .../examples/Fleets_CreateOrUpdate.json | 29 ++++++++++++++++--- .../examples/Fleets_Get.json | 9 +++++- .../examples/Fleets_ListByResourceGroup.json | 9 +++++- .../examples/Fleets_ListBySubscription.json | 9 +++++- .../examples/Fleets_Update.json | 4 +-- 20 files changed, 202 insertions(+), 34 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json index 8a0ccb9ddc54..8403157bc6f9 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json @@ -108,7 +108,7 @@ "version": "nhzyxfc", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -411,6 +411,13 @@ "userAssignedIdentities": { "identityUrl": {} } + }, + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" } } }, @@ -516,7 +523,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -818,6 +825,13 @@ "zone1", "zone2" ], + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "tags": {}, "location": "westus", "identity": { @@ -948,7 +962,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -1251,6 +1265,13 @@ ], "tags": {}, "location": "westus", + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "identity": { "principalId": "4d508e5b-374b-4382-9a1c-01fb8b6cb37c", "tenantId": "5d508e5b-374b-4382-9a1c-01fb8b6cb37c", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json index b6985d8d9115..4deffcb21f3a 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json @@ -109,7 +109,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -413,6 +413,13 @@ ], "tags": {}, "location": "westus", + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "identity": { "principalId": "4d508e5b-374b-4382-9a1c-01fb8b6cb37c", "tenantId": "5d508e5b-374b-4382-9a1c-01fb8b6cb37c", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json index 73fdfa288e3d..102690f1e70e 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json @@ -111,7 +111,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -414,6 +414,13 @@ ], "tags": {}, "location": "westus", + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "identity": { "principalId": "4d508e5b-374b-4382-9a1c-01fb8b6cb37c", "tenantId": "5d508e5b-374b-4382-9a1c-01fb8b6cb37c", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json index 6edf1a9bc1cb..1207d9f1448d 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json @@ -110,7 +110,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -410,6 +410,13 @@ "zone1", "zone2" ], + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "tags": {}, "location": "westus", "id": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json index 290544cd7717..9944bbbc35c2 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json @@ -109,7 +109,7 @@ "version": "nhzyxfc", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -513,7 +513,7 @@ "version": "nhzyxfc", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}", "exactVersion": "hfph" }, "osDisk": { diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json index 1215e2b5761b..1298e12ec5b3 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json @@ -110,7 +110,7 @@ "version": "wvpcqefgtmqdgltiuz", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -416,7 +416,14 @@ "tags": { "key3518": "luvrnuvsgdpbuofdskkcoqhfh" }, - "location": "westus" + "location": "westus", + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + } } }, "responses": { @@ -524,7 +531,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -837,6 +844,13 @@ } } }, + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "tags": { "key3518": "luvrnuvsgdpbuofdskkcoqhfh" }, @@ -961,7 +975,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -1277,6 +1291,13 @@ "tags": { "key3518": "luvrnuvsgdpbuofdskkcoqhfh" }, + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "location": "westus", "id": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet", "name": "testFleet", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json index 457457ed7a51..a0614d2e9258 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json @@ -112,7 +112,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -428,6 +428,13 @@ "tags": { "key3518": "luvrnuvsgdpbuofdskkcoqhfh" }, + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "location": "westus", "id": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet", "name": "testFleet", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json index a9975b93b12c..41e751f73226 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json @@ -113,7 +113,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -426,6 +426,13 @@ } } }, + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "tags": { "key3518": "luvrnuvsgdpbuofdskkcoqhfh" }, diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json index 236458597d11..f055ef2480f4 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json @@ -112,7 +112,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -425,6 +425,13 @@ } } }, + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "tags": { "key3518": "luvrnuvsgdpbuofdskkcoqhfh" }, diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json index 77b0122d91e4..8266d656b706 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json @@ -115,7 +115,7 @@ "version": "wvpcqefgtmqdgltiuz", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -518,7 +518,7 @@ "version": "wvpcqefgtmqdgltiuz", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}", "exactVersion": "zjbntmiskjexlr" }, "osDisk": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json index 8a0ccb9ddc54..8403157bc6f9 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json @@ -108,7 +108,7 @@ "version": "nhzyxfc", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -411,6 +411,13 @@ "userAssignedIdentities": { "identityUrl": {} } + }, + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" } } }, @@ -516,7 +523,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -818,6 +825,13 @@ "zone1", "zone2" ], + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "tags": {}, "location": "westus", "identity": { @@ -948,7 +962,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -1251,6 +1265,13 @@ ], "tags": {}, "location": "westus", + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "identity": { "principalId": "4d508e5b-374b-4382-9a1c-01fb8b6cb37c", "tenantId": "5d508e5b-374b-4382-9a1c-01fb8b6cb37c", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json index b6985d8d9115..4deffcb21f3a 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json @@ -109,7 +109,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -413,6 +413,13 @@ ], "tags": {}, "location": "westus", + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "identity": { "principalId": "4d508e5b-374b-4382-9a1c-01fb8b6cb37c", "tenantId": "5d508e5b-374b-4382-9a1c-01fb8b6cb37c", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json index 73fdfa288e3d..102690f1e70e 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json @@ -111,7 +111,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -414,6 +414,13 @@ ], "tags": {}, "location": "westus", + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "identity": { "principalId": "4d508e5b-374b-4382-9a1c-01fb8b6cb37c", "tenantId": "5d508e5b-374b-4382-9a1c-01fb8b6cb37c", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json index 6edf1a9bc1cb..1207d9f1448d 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json @@ -110,7 +110,7 @@ "exactVersion": "hfph", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -410,6 +410,13 @@ "zone1", "zone2" ], + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "tags": {}, "location": "westus", "id": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json index 290544cd7717..9944bbbc35c2 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json @@ -109,7 +109,7 @@ "version": "nhzyxfc", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "qzchzeaaxupl", @@ -513,7 +513,7 @@ "version": "nhzyxfc", "sharedGalleryImageId": "mkfpnxoxmkyrwpab", "communityGalleryImageId": "ujhxcd", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}", "exactVersion": "hfph" }, "osDisk": { diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json index 1215e2b5761b..1298e12ec5b3 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json @@ -110,7 +110,7 @@ "version": "wvpcqefgtmqdgltiuz", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -416,7 +416,14 @@ "tags": { "key3518": "luvrnuvsgdpbuofdskkcoqhfh" }, - "location": "westus" + "location": "westus", + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + } } }, "responses": { @@ -524,7 +531,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -837,6 +844,13 @@ } } }, + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "tags": { "key3518": "luvrnuvsgdpbuofdskkcoqhfh" }, @@ -961,7 +975,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -1277,6 +1291,13 @@ "tags": { "key3518": "luvrnuvsgdpbuofdskkcoqhfh" }, + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "location": "westus", "id": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet", "name": "testFleet", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json index 457457ed7a51..a0614d2e9258 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json @@ -112,7 +112,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -428,6 +428,13 @@ "tags": { "key3518": "luvrnuvsgdpbuofdskkcoqhfh" }, + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "location": "westus", "id": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet", "name": "testFleet", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json index a9975b93b12c..41e751f73226 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json @@ -113,7 +113,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -426,6 +426,13 @@ } } }, + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "tags": { "key3518": "luvrnuvsgdpbuofdskkcoqhfh" }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json index 236458597d11..f055ef2480f4 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json @@ -112,7 +112,7 @@ "exactVersion": "zjbntmiskjexlr", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -425,6 +425,13 @@ } } }, + "plan": { + "name": "jwgrcrnrtfoxn", + "publisher": "iozjbiqqckqm", + "product": "cgopbyvdyqikahwyxfpzwaqk", + "promotionCode": "naglezezplcaruqogtxnuizslqnnbr", + "version": "wa" + }, "tags": { "key3518": "luvrnuvsgdpbuofdskkcoqhfh" }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json index 77b0122d91e4..8266d656b706 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json @@ -115,7 +115,7 @@ "version": "wvpcqefgtmqdgltiuz", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1" + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" }, "osDisk": { "name": "wfttw", @@ -518,7 +518,7 @@ "version": "wvpcqefgtmqdgltiuz", "sharedGalleryImageId": "kmkgihoxwlawuuhcinfirktdwkmx", "communityGalleryImageId": "vlqe", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/ubuntu-18.04/versions/0.0.1", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}", "exactVersion": "zjbntmiskjexlr" }, "osDisk": { From 4ac7e1ff5ec6bb7bc19a24557548b2d54dfd5287 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Mon, 15 Jul 2024 16:59:22 -0700 Subject: [PATCH 23/27] Update location in examples --- .../Fleets_CreateOrUpdate_MaximumSet.json | 6 +++--- .../examples/2023-11-01-preview/Fleets_Get_MaximumSet.json | 2 +- .../Fleets_ListByResourceGroup_MaximumSet.json | 2 +- .../Fleets_ListBySubscription_MaximumSet.json | 2 +- .../examples/2024-05-01-preview/Fleets_CreateOrUpdate.json | 6 +++--- .../examples/2024-05-01-preview/Fleets_Get.json | 2 +- .../2024-05-01-preview/Fleets_ListByResourceGroup.json | 2 +- .../2024-05-01-preview/Fleets_ListBySubscription.json | 2 +- .../examples/2024-05-01-preview/Fleets_Update.json | 4 ++-- .../examples/Fleets_CreateOrUpdate_MaximumSet.json | 6 +++--- .../2023-11-01-preview/examples/Fleets_Get_MaximumSet.json | 2 +- .../examples/Fleets_ListByResourceGroup_MaximumSet.json | 2 +- .../examples/Fleets_ListBySubscription_MaximumSet.json | 2 +- .../2024-05-01-preview/examples/Fleets_CreateOrUpdate.json | 6 +++--- .../preview/2024-05-01-preview/examples/Fleets_Get.json | 2 +- .../examples/Fleets_ListByResourceGroup.json | 2 +- .../examples/Fleets_ListBySubscription.json | 2 +- .../preview/2024-05-01-preview/examples/Fleets_Update.json | 4 ++-- 18 files changed, 28 insertions(+), 28 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json index 8403157bc6f9..f6327ff6dec9 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json @@ -389,7 +389,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "tags": { "key4849": "hqnzzgyumfzflmyjxklwslb" } @@ -805,7 +805,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", @@ -1243,7 +1243,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json index 4deffcb21f3a..e8afdb44a9ce 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json @@ -391,7 +391,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json index 102690f1e70e..cdc5e4dfca63 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json @@ -393,7 +393,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json index 1207d9f1448d..4335bc27747d 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json @@ -391,7 +391,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json index 1298e12ec5b3..f21131e9c895 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json @@ -391,7 +391,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "tags": { "key7356": "apuftleiygpnemfzryiop" } @@ -813,7 +813,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", @@ -1257,7 +1257,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json index a0614d2e9258..742264ef02e9 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json @@ -394,7 +394,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json index 41e751f73226..4b17563a48b8 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json @@ -395,7 +395,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json index f055ef2480f4..79dd9bdb0943 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json @@ -394,7 +394,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json index 8266d656b706..78ce193a0172 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json @@ -396,7 +396,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "tags": {} } ] @@ -801,7 +801,7 @@ ], "provisioningState": "Succeeded" }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "tags": {}, "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json index 8403157bc6f9..f6327ff6dec9 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json @@ -389,7 +389,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "tags": { "key4849": "hqnzzgyumfzflmyjxklwslb" } @@ -805,7 +805,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", @@ -1243,7 +1243,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json index 4deffcb21f3a..e8afdb44a9ce 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json @@ -391,7 +391,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json index 102690f1e70e..cdc5e4dfca63 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json @@ -393,7 +393,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json index 1207d9f1448d..4335bc27747d 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json @@ -391,7 +391,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", "type": "shqqxyvbipxzaxjbsesymzgrfybww", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json index 1298e12ec5b3..f21131e9c895 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json @@ -391,7 +391,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "tags": { "key7356": "apuftleiygpnemfzryiop" } @@ -813,7 +813,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", @@ -1257,7 +1257,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json index a0614d2e9258..742264ef02e9 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json @@ -394,7 +394,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json index 41e751f73226..4b17563a48b8 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json @@ -395,7 +395,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json index f055ef2480f4..79dd9bdb0943 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json @@ -394,7 +394,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", "type": "lpnynhnniohtotmkznxku", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json index 8266d656b706..78ce193a0172 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json @@ -396,7 +396,7 @@ "lwsfavklrgzuwmyxscskt" ] }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "tags": {} } ] @@ -801,7 +801,7 @@ ], "provisioningState": "Succeeded" }, - "location": "wrqxhbqaebwkzmcdmngyqmhogc", + "location": "westus", "tags": {}, "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "zudiuxzkgqhxaam", From 12a9609361d21154a0fb141dd682ba3f2a437d7f Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Mon, 15 Jul 2024 23:30:31 -0700 Subject: [PATCH 24/27] Update example --- .../examples/2023-11-01-preview/Fleets_Update_MaximumSet.json | 4 ++-- .../2023-11-01-preview/examples/Fleets_Update_MaximumSet.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json index 9944bbbc35c2..9b7b35092b90 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json @@ -390,7 +390,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "tags": {} } ] @@ -795,7 +795,7 @@ ], "provisioningState": "Succeeded" }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "tags": {}, "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json index 9944bbbc35c2..9b7b35092b90 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json @@ -390,7 +390,7 @@ "aysdon" ] }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "tags": {} } ] @@ -795,7 +795,7 @@ ], "provisioningState": "Succeeded" }, - "location": "jzecxhirbtegqxpyk", + "location": "westus", "tags": {}, "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", "name": "qchtvtoulax", From 8066c157eecbcaff425b0cc34b526995cfb29e18 Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Tue, 16 Jul 2024 14:03:57 -0700 Subject: [PATCH 25/27] Update security posture reference to the latest compute api version. --- .../baseVirtualMachineProfile.tsp | 194 +--------------- .../Fleets_CreateOrUpdate_MaximumSet.json | 164 +------------- .../Fleets_Get_MaximumSet.json | 56 +---- ...Fleets_ListByResourceGroup_MaximumSet.json | 56 +---- .../Fleets_ListBySubscription_MaximumSet.json | 55 +---- .../Fleets_Update_MaximumSet.json | 105 +-------- .../Fleets_CreateOrUpdate.json | 165 +------------- .../2024-05-01-preview/Fleets_Get.json | 56 +---- .../Fleets_ListByResourceGroup.json | 56 +---- .../Fleets_ListBySubscription.json | 56 +---- .../2024-05-01-preview/Fleets_Update.json | 105 +-------- .../2023-11-01-preview/azurefleet.json | 208 +----------------- .../Fleets_CreateOrUpdate_MaximumSet.json | 164 +------------- .../examples/Fleets_Get_MaximumSet.json | 56 +---- ...Fleets_ListByResourceGroup_MaximumSet.json | 56 +---- .../Fleets_ListBySubscription_MaximumSet.json | 55 +---- .../examples/Fleets_Update_MaximumSet.json | 105 +-------- .../2024-05-01-preview/azurefleet.json | 208 +----------------- .../examples/Fleets_CreateOrUpdate.json | 165 +------------- .../examples/Fleets_Get.json | 56 +---- .../examples/Fleets_ListByResourceGroup.json | 56 +---- .../examples/Fleets_ListBySubscription.json | 56 +---- .../examples/Fleets_Update.json | 105 +-------- 23 files changed, 113 insertions(+), 2245 deletions(-) diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index c8a1e5de5425..5fa1f2d6c591 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -1678,199 +1678,15 @@ model SecurityPostureReference { id?: string; /** - * List of virtual machine extensions to exclude when applying the Security - * Posture. + * List of virtual machine extension names to exclude when applying the security + * posture. */ - excludeExtensions?: VirtualMachineExtension[]; -} - -/** - * Describes a Virtual Machine Extension. - */ -model VirtualMachineExtension is ResourceWithOptionalLocation { - /** - * Describes the properties of a Virtual Machine Extension. - */ - properties?: VirtualMachineExtensionProperties; -} - -/** - * Describes the properties of a Virtual Machine Extension. - */ -model VirtualMachineExtensionProperties { - /** - * How the extension handler should be forced to update even if the extension - * configuration has not changed. - */ - forceUpdateTag?: string; - - /** - * The name of the extension handler publisher. - */ - publisher?: string; - - /** - * Specifies the type of the extension; an example is "CustomScriptExtension". - */ - type?: string; - - /** - * Specifies the version of the script handler. - */ - typeHandlerVersion?: string; - - /** - * Indicates whether the extension should use a newer minor version if one is - * available at deployment time. Once deployed, however, the extension will not - * upgrade minor versions unless redeployed, even with this property set to true. - */ - autoUpgradeMinorVersion?: boolean; - - /** - * Indicates whether the extension should be automatically upgraded by the - * platform if there is a newer version of the extension available. - */ - enableAutomaticUpgrade?: boolean; - - /** - * Json formatted public settings for the extension. - */ - #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json#L2095C1-L2102C11" - settings?: Record; - - /** - * The extension can contain either protectedSettings or - * protectedSettingsFromKeyVault or no protected settings at all. - */ - #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachine.json#L2095C1-L2102C11" - @visibility("create", "update") - @OpenAPI.extension("x-ms-secret", true) - protectedSettings?: Record; - - /** - * The provisioning state, which only appears in the response. - */ - @visibility("read") - provisioningState?: string; - - /** - * The virtual machine extension instance view. - */ - instanceView?: VirtualMachineExtensionInstanceView; - - /** - * Indicates whether failures stemming from the extension will be suppressed - * (Operational failures such as not connecting to the VM will not be suppressed - * regardless of this value). The default is false. - */ - suppressFailures?: boolean; - - /** - * The extensions protected settings that are passed by reference, and consumed - * from key vault - */ - protectedSettingsFromKeyVault?: KeyVaultSecretReference; - - /** - * Collection of extension names after which this extension needs to be - * provisioned. - */ - provisionAfterExtensions?: string[]; -} - -/** - * The instance view of a virtual machine extension. - */ -model VirtualMachineExtensionInstanceView { - /** - * The virtual machine extension name. - */ - name?: string; - - /** - * Specifies the type of the extension; an example is "CustomScriptExtension". - */ - type?: string; - - /** - * Specifies the version of the script handler. - */ - typeHandlerVersion?: string; - - /** - * The resource status information. - */ - @OpenAPI.extension("x-ms-identifiers", []) - substatuses?: InstanceViewStatus[]; - - /** - * The resource status information. - */ - @OpenAPI.extension("x-ms-identifiers", []) - statuses?: InstanceViewStatus[]; -} - -/** - * Instance view status. - */ -model InstanceViewStatus { - /** - * The status code. - */ - code?: string; - - /** - * The level code. - */ - level?: StatusLevelTypes; - - /** - * The short localizable label for the status. - */ - displayStatus?: string; - - /** - * The detailed status message, including for alerts and error messages. - */ - message?: string; - - /** - * The time of the status. - */ - time?: utcDateTime; -} - -/** - * The Resource model definition with location property as optional. - */ -model ResourceWithOptionalLocation { - /** - * Resource location - */ - location?: string; - - /** - * Resource Id - */ - @visibility("read") - id?: armResourceIdentifier; - - /** - * Resource name - */ - @visibility("read") - name?: string; - - /** - * Resource type - */ - @visibility("read") - type?: string; + excludeExtensions?: string[]; /** - * Resource tags + * Whether the security posture can be overridden by the user. */ - tags?: Record; + isOverridable?: boolean; } /** diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json index f6327ff6dec9..8fc1dacc6457 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json @@ -345,56 +345,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "tags": { - "key4849": "hqnzzgyumfzflmyjxklwslb" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true } }, "computeApiVersion": "2023-07-01" @@ -761,59 +714,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "qchtvtoulax", - "type": "shqqxyvbipxzaxjbsesymzgrfybww", - "tags": { - "key4849": "hqnzzgyumfzflmyjxklwslb" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-01-28T09:08:15.995Z" }, @@ -1200,58 +1103,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "provisioningState": "Succeeded", - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "qchtvtoulax", - "type": "shqqxyvbipxzaxjbsesymzgrfybww", - "tags": { - "key4849": "hqnzzgyumfzflmyjxklwslb" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-01-28T09:08:15.995Z" }, diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json index e8afdb44a9ce..d86c6359cb09 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json @@ -347,59 +347,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "qchtvtoulax", - "type": "shqqxyvbipxzaxjbsesymzgrfybww", - "tags": { - "key4849": "hqnzzgyumfzflmyjxklwslb" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-01-28T09:08:15.995Z" }, diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json index cdc5e4dfca63..a7f218661c7f 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json @@ -349,59 +349,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "qchtvtoulax", - "type": "shqqxyvbipxzaxjbsesymzgrfybww", - "tags": { - "key4849": "hqnzzgyumfzflmyjxklwslb" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-01-28T09:08:15.992Z" }, diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json index 4335bc27747d..4f4c6bf1cabd 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json @@ -348,58 +348,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "provisioningState": "Succeeded", - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "qchtvtoulax", - "type": "shqqxyvbipxzaxjbsesymzgrfybww", - "tags": { - "key4849": "hqnzzgyumfzflmyjxklwslb" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-01-28T09:08:15.992Z" }, diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json index 9b7b35092b90..c9cf7a61a461 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json @@ -346,54 +346,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "tags": {} - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true } }, "computeApiVersion": "2023-07-01" @@ -751,57 +706,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ], - "provisioningState": "Succeeded" - }, - "location": "westus", - "tags": {}, - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "qchtvtoulax", - "type": "shqqxyvbipxzaxjbsesymzgrfybww" - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-01-28T09:08:15.992Z" }, diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json index f21131e9c895..0694697a19a5 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json @@ -347,56 +347,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "tags": { - "key7356": "apuftleiygpnemfzryiop" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true } }, "computeApiVersion": "2023-07-01", @@ -769,59 +722,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "zudiuxzkgqhxaam", - "type": "lpnynhnniohtotmkznxku", - "tags": { - "key7356": "apuftleiygpnemfzryiop" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-04-29T21:51:44.043Z" }, @@ -1213,59 +1116,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "zudiuxzkgqhxaam", - "type": "lpnynhnniohtotmkznxku", - "tags": { - "key7356": "apuftleiygpnemfzryiop" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-04-29T21:51:44.043Z" }, diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json index 742264ef02e9..2369f63d48fd 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json @@ -350,59 +350,9 @@ "securityPostureReference": { "id": "mubredelfbshboaxrsxiajihahaa", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "zudiuxzkgqhxaam", - "type": "lpnynhnniohtotmkznxku", - "tags": { - "key7356": "apuftleiygpnemfzryiop" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-04-29T21:51:44.043Z" }, diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json index 4b17563a48b8..7c3716e64d3d 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json @@ -351,59 +351,9 @@ "securityPostureReference": { "id": "mubredelfbshboaxrsxiajihahaa", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "zudiuxzkgqhxaam", - "type": "lpnynhnniohtotmkznxku", - "tags": { - "key7356": "apuftleiygpnemfzryiop" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-04-29T21:51:44.043Z" }, diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json index 79dd9bdb0943..8cb8c10d5716 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json @@ -350,59 +350,9 @@ "securityPostureReference": { "id": "mubredelfbshboaxrsxiajihahaa", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "zudiuxzkgqhxaam", - "type": "lpnynhnniohtotmkznxku", - "tags": { - "key7356": "apuftleiygpnemfzryiop" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-04-29T21:51:44.043Z" }, diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json index 78ce193a0172..352d4c42f9fe 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json @@ -352,54 +352,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "tags": {} - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true } }, "computeApiVersion": "2023-07-01", @@ -757,57 +712,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ], - "provisioningState": "Succeeded" - }, - "location": "westus", - "tags": {}, - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "zudiuxzkgqhxaam", - "type": "lpnynhnniohtotmkznxku" - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-04-29T21:51:44.043Z" }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 7bd9d4cdd9db..cc0f69df27f7 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -1255,33 +1255,6 @@ } } }, - "InstanceViewStatus": { - "type": "object", - "description": "Instance view status.", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "level": { - "$ref": "#/definitions/StatusLevelTypes", - "description": "The level code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - } - }, "KeyVaultSecretReference": { "type": "object", "description": "Describes a reference to Key Vault Secret", @@ -1860,39 +1833,6 @@ } } }, - "ResourceWithOptionalLocation": { - "type": "object", - "description": "The Resource model definition with location property as optional.", - "properties": { - "location": { - "type": "string", - "description": "Resource location" - }, - "id": { - "type": "string", - "format": "arm-id", - "description": "Resource Id", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Resource name", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Resource type", - "readOnly": true - }, - "tags": { - "type": "object", - "description": "Resource tags", - "additionalProperties": { - "type": "string" - } - } - } - }, "ScheduledEventsProfile": { "type": "object", "description": "Specifies Scheduled Event related configurations.", @@ -1947,10 +1887,14 @@ }, "excludeExtensions": { "type": "array", - "description": "List of virtual machine extensions to exclude when applying the Security\nPosture.", + "description": "List of virtual machine extension names to exclude when applying the security\nposture.", "items": { - "$ref": "#/definitions/VirtualMachineExtension" + "type": "string" } + }, + "isOverridable": { + "type": "boolean", + "description": "Whether the security posture can be overridden by the user." } } }, @@ -2374,146 +2318,6 @@ } } }, - "VirtualMachineExtension": { - "type": "object", - "description": "Describes a Virtual Machine Extension.", - "properties": { - "location": { - "type": "string", - "description": "Resource location" - }, - "id": { - "type": "string", - "format": "arm-id", - "description": "Resource Id", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Resource name", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Resource type", - "readOnly": true - }, - "tags": { - "type": "object", - "description": "Resource tags", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/VirtualMachineExtensionProperties", - "description": "Describes the properties of a Virtual Machine Extension." - } - } - }, - "VirtualMachineExtensionInstanceView": { - "type": "object", - "description": "The instance view of a virtual machine extension.", - "properties": { - "name": { - "type": "string", - "description": "The virtual machine extension name." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - }, - "substatuses": { - "type": "array", - "description": "The resource status information.", - "items": { - "$ref": "#/definitions/InstanceViewStatus" - }, - "x-ms-identifiers": [] - }, - "statuses": { - "type": "array", - "description": "The resource status information.", - "items": { - "$ref": "#/definitions/InstanceViewStatus" - }, - "x-ms-identifiers": [] - } - } - }, - "VirtualMachineExtensionProperties": { - "type": "object", - "description": "Describes the properties of a Virtual Machine Extension.", - "properties": { - "forceUpdateTag": { - "type": "string", - "description": "How the extension handler should be forced to update even if the extension\nconfiguration has not changed." - }, - "publisher": { - "type": "string", - "description": "The name of the extension handler publisher." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - }, - "autoUpgradeMinorVersion": { - "type": "boolean", - "description": "Indicates whether the extension should use a newer minor version if one is\navailable at deployment time. Once deployed, however, the extension will not\nupgrade minor versions unless redeployed, even with this property set to true." - }, - "enableAutomaticUpgrade": { - "type": "boolean", - "description": "Indicates whether the extension should be automatically upgraded by the\nplatform if there is a newer version of the extension available." - }, - "settings": { - "type": "object", - "description": "Json formatted public settings for the extension.", - "additionalProperties": {} - }, - "protectedSettings": { - "type": "object", - "description": "The extension can contain either protectedSettings or\nprotectedSettingsFromKeyVault or no protected settings at all.", - "additionalProperties": {}, - "x-ms-mutability": [ - "update", - "create" - ], - "x-ms-secret": true - }, - "provisioningState": { - "type": "string", - "description": "The provisioning state, which only appears in the response.", - "readOnly": true - }, - "instanceView": { - "$ref": "#/definitions/VirtualMachineExtensionInstanceView", - "description": "The virtual machine extension instance view." - }, - "suppressFailures": { - "type": "boolean", - "description": "Indicates whether failures stemming from the extension will be suppressed\n(Operational failures such as not connecting to the VM will not be suppressed\nregardless of this value). The default is false." - }, - "protectedSettingsFromKeyVault": { - "$ref": "#/definitions/KeyVaultSecretReference", - "description": "The extensions protected settings that are passed by reference, and consumed\nfrom key vault" - }, - "provisionAfterExtensions": { - "type": "array", - "description": "Collection of extension names after which this extension needs to be\nprovisioned.", - "items": { - "type": "string" - } - } - } - }, "VirtualMachineScaleSet": { "type": "object", "description": "An AzureFleet's virtualMachineScaleSet", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json index f6327ff6dec9..8fc1dacc6457 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json @@ -345,56 +345,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "tags": { - "key4849": "hqnzzgyumfzflmyjxklwslb" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true } }, "computeApiVersion": "2023-07-01" @@ -761,59 +714,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "qchtvtoulax", - "type": "shqqxyvbipxzaxjbsesymzgrfybww", - "tags": { - "key4849": "hqnzzgyumfzflmyjxklwslb" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-01-28T09:08:15.995Z" }, @@ -1200,58 +1103,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "provisioningState": "Succeeded", - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "qchtvtoulax", - "type": "shqqxyvbipxzaxjbsesymzgrfybww", - "tags": { - "key4849": "hqnzzgyumfzflmyjxklwslb" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-01-28T09:08:15.995Z" }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json index e8afdb44a9ce..d86c6359cb09 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json @@ -347,59 +347,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "qchtvtoulax", - "type": "shqqxyvbipxzaxjbsesymzgrfybww", - "tags": { - "key4849": "hqnzzgyumfzflmyjxklwslb" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-01-28T09:08:15.995Z" }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json index cdc5e4dfca63..a7f218661c7f 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json @@ -349,59 +349,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "qchtvtoulax", - "type": "shqqxyvbipxzaxjbsesymzgrfybww", - "tags": { - "key4849": "hqnzzgyumfzflmyjxklwslb" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-01-28T09:08:15.992Z" }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json index 4335bc27747d..4f4c6bf1cabd 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json @@ -348,58 +348,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "provisioningState": "Succeeded", - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "qchtvtoulax", - "type": "shqqxyvbipxzaxjbsesymzgrfybww", - "tags": { - "key4849": "hqnzzgyumfzflmyjxklwslb" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-01-28T09:08:15.992Z" }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json index 9b7b35092b90..c9cf7a61a461 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json @@ -346,54 +346,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ] - }, - "location": "westus", - "tags": {} - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true } }, "computeApiVersion": "2023-07-01" @@ -751,57 +706,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "eleagpulycjgvscuulb", - "publisher": "rwaucnzfffywlsaoqltkmsynni", - "type": "rgnq", - "typeHandlerVersion": "hyyj", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "instanceView": { - "name": "xxnjefzqotctmujsqpmyleaie", - "type": "cycepellfcdujniys", - "typeHandlerVersion": "jefntwzzgxsbzncchhefqiqbs", - "substatuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ], - "statuses": [ - { - "code": "cbzjpwcbfodkqjnd", - "level": "Info", - "displayStatus": "oxhrtqv", - "message": "uldcsnhprfe", - "time": "2024-01-28T09:08:15.992Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "qmjoynsytvnjzutetnkog", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "aysdon" - ], - "provisioningState": "Succeeded" - }, - "location": "westus", - "tags": {}, - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "qchtvtoulax", - "type": "shqqxyvbipxzaxjbsesymzgrfybww" - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-01-28T09:08:15.992Z" }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index 3a9f12c89970..5610bc770863 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -1239,33 +1239,6 @@ } } }, - "InstanceViewStatus": { - "type": "object", - "description": "Instance view status.", - "properties": { - "code": { - "type": "string", - "description": "The status code." - }, - "level": { - "$ref": "#/definitions/StatusLevelTypes", - "description": "The level code." - }, - "displayStatus": { - "type": "string", - "description": "The short localizable label for the status." - }, - "message": { - "type": "string", - "description": "The detailed status message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "The time of the status." - } - } - }, "KeyVaultSecretReference": { "type": "object", "description": "Describes a reference to Key Vault Secret", @@ -1850,39 +1823,6 @@ } } }, - "ResourceWithOptionalLocation": { - "type": "object", - "description": "The Resource model definition with location property as optional.", - "properties": { - "location": { - "type": "string", - "description": "Resource location" - }, - "id": { - "type": "string", - "format": "arm-id", - "description": "Resource Id", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Resource name", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Resource type", - "readOnly": true - }, - "tags": { - "type": "object", - "description": "Resource tags", - "additionalProperties": { - "type": "string" - } - } - } - }, "ScheduledEventsProfile": { "type": "object", "description": "Specifies Scheduled Event related configurations.", @@ -1937,10 +1877,14 @@ }, "excludeExtensions": { "type": "array", - "description": "List of virtual machine extensions to exclude when applying the Security\nPosture.", + "description": "List of virtual machine extension names to exclude when applying the security\nposture.", "items": { - "$ref": "#/definitions/VirtualMachineExtension" + "type": "string" } + }, + "isOverridable": { + "type": "boolean", + "description": "Whether the security posture can be overridden by the user." } } }, @@ -2368,146 +2312,6 @@ } } }, - "VirtualMachineExtension": { - "type": "object", - "description": "Describes a Virtual Machine Extension.", - "properties": { - "location": { - "type": "string", - "description": "Resource location" - }, - "id": { - "type": "string", - "format": "arm-id", - "description": "Resource Id", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Resource name", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Resource type", - "readOnly": true - }, - "tags": { - "type": "object", - "description": "Resource tags", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "$ref": "#/definitions/VirtualMachineExtensionProperties", - "description": "Describes the properties of a Virtual Machine Extension." - } - } - }, - "VirtualMachineExtensionInstanceView": { - "type": "object", - "description": "The instance view of a virtual machine extension.", - "properties": { - "name": { - "type": "string", - "description": "The virtual machine extension name." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - }, - "substatuses": { - "type": "array", - "description": "The resource status information.", - "items": { - "$ref": "#/definitions/InstanceViewStatus" - }, - "x-ms-identifiers": [] - }, - "statuses": { - "type": "array", - "description": "The resource status information.", - "items": { - "$ref": "#/definitions/InstanceViewStatus" - }, - "x-ms-identifiers": [] - } - } - }, - "VirtualMachineExtensionProperties": { - "type": "object", - "description": "Describes the properties of a Virtual Machine Extension.", - "properties": { - "forceUpdateTag": { - "type": "string", - "description": "How the extension handler should be forced to update even if the extension\nconfiguration has not changed." - }, - "publisher": { - "type": "string", - "description": "The name of the extension handler publisher." - }, - "type": { - "type": "string", - "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." - }, - "typeHandlerVersion": { - "type": "string", - "description": "Specifies the version of the script handler." - }, - "autoUpgradeMinorVersion": { - "type": "boolean", - "description": "Indicates whether the extension should use a newer minor version if one is\navailable at deployment time. Once deployed, however, the extension will not\nupgrade minor versions unless redeployed, even with this property set to true." - }, - "enableAutomaticUpgrade": { - "type": "boolean", - "description": "Indicates whether the extension should be automatically upgraded by the\nplatform if there is a newer version of the extension available." - }, - "settings": { - "type": "object", - "description": "Json formatted public settings for the extension.", - "additionalProperties": {} - }, - "protectedSettings": { - "type": "object", - "description": "The extension can contain either protectedSettings or\nprotectedSettingsFromKeyVault or no protected settings at all.", - "additionalProperties": {}, - "x-ms-mutability": [ - "update", - "create" - ], - "x-ms-secret": true - }, - "provisioningState": { - "type": "string", - "description": "The provisioning state, which only appears in the response.", - "readOnly": true - }, - "instanceView": { - "$ref": "#/definitions/VirtualMachineExtensionInstanceView", - "description": "The virtual machine extension instance view." - }, - "suppressFailures": { - "type": "boolean", - "description": "Indicates whether failures stemming from the extension will be suppressed\n(Operational failures such as not connecting to the VM will not be suppressed\nregardless of this value). The default is false." - }, - "protectedSettingsFromKeyVault": { - "$ref": "#/definitions/KeyVaultSecretReference", - "description": "The extensions protected settings that are passed by reference, and consumed\nfrom key vault" - }, - "provisionAfterExtensions": { - "type": "array", - "description": "Collection of extension names after which this extension needs to be\nprovisioned.", - "items": { - "type": "string" - } - } - } - }, "VirtualMachineScaleSet": { "type": "object", "description": "An AzureFleet's virtualMachineScaleSet", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json index f21131e9c895..0694697a19a5 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json @@ -347,56 +347,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "tags": { - "key7356": "apuftleiygpnemfzryiop" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true } }, "computeApiVersion": "2023-07-01", @@ -769,59 +722,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "zudiuxzkgqhxaam", - "type": "lpnynhnniohtotmkznxku", - "tags": { - "key7356": "apuftleiygpnemfzryiop" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-04-29T21:51:44.043Z" }, @@ -1213,59 +1116,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "zudiuxzkgqhxaam", - "type": "lpnynhnniohtotmkznxku", - "tags": { - "key7356": "apuftleiygpnemfzryiop" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-04-29T21:51:44.043Z" }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json index 742264ef02e9..2369f63d48fd 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json @@ -350,59 +350,9 @@ "securityPostureReference": { "id": "mubredelfbshboaxrsxiajihahaa", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "zudiuxzkgqhxaam", - "type": "lpnynhnniohtotmkznxku", - "tags": { - "key7356": "apuftleiygpnemfzryiop" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-04-29T21:51:44.043Z" }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json index 4b17563a48b8..7c3716e64d3d 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json @@ -351,59 +351,9 @@ "securityPostureReference": { "id": "mubredelfbshboaxrsxiajihahaa", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "zudiuxzkgqhxaam", - "type": "lpnynhnniohtotmkznxku", - "tags": { - "key7356": "apuftleiygpnemfzryiop" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-04-29T21:51:44.043Z" }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json index 79dd9bdb0943..8cb8c10d5716 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json @@ -350,59 +350,9 @@ "securityPostureReference": { "id": "mubredelfbshboaxrsxiajihahaa", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "provisioningState": "Succeeded", - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "zudiuxzkgqhxaam", - "type": "lpnynhnniohtotmkznxku", - "tags": { - "key7356": "apuftleiygpnemfzryiop" - } - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-04-29T21:51:44.043Z" }, diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json index 78ce193a0172..352d4c42f9fe 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json @@ -352,54 +352,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "protectedSettings": {}, - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ] - }, - "location": "westus", - "tags": {} - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true } }, "computeApiVersion": "2023-07-01", @@ -757,57 +712,9 @@ "securityPostureReference": { "id": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", "excludeExtensions": [ - { - "properties": { - "forceUpdateTag": "oriasdwawveilgusfrn", - "publisher": "rxoajzb", - "type": "vhrtgbaqdkbrrqxsdiiaqxksmqukl", - "typeHandlerVersion": "bvzbiibps", - "autoUpgradeMinorVersion": true, - "enableAutomaticUpgrade": true, - "settings": {}, - "instanceView": { - "name": "ip", - "type": "woadxvobquacooaujyg", - "typeHandlerVersion": "ftkkqxdqiofgsusvxekdcpua", - "substatuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ], - "statuses": [ - { - "code": "kuehuahsdozupmjrtp", - "level": "Info", - "displayStatus": "pomenhgqjoelbxvsqwxxexqxv", - "message": "jxjjmlwbjylzvrislyyflhnmizhiu", - "time": "2024-04-29T21:51:44.042Z" - } - ] - }, - "suppressFailures": true, - "protectedSettingsFromKeyVault": { - "secretUrl": "vyhzfkqsqanacgzjthpjoe", - "sourceVault": { - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" - } - }, - "provisionAfterExtensions": [ - "lwsfavklrgzuwmyxscskt" - ], - "provisioningState": "Succeeded" - }, - "location": "westus", - "tags": {}, - "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}", - "name": "zudiuxzkgqhxaam", - "type": "lpnynhnniohtotmkznxku" - } - ] + "{securityPostureVMExtensionName}" + ], + "isOverridable": true }, "timeCreated": "2024-04-29T21:51:44.043Z" }, From 3e52d4752be6f521fb746118ceb12625eff24e8a Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Wed, 17 Jul 2024 16:56:14 -0700 Subject: [PATCH 26/27] Fix merge conflicts --- .../2023-11-01-preview/azurefleet.json | 36 ------------------- .../2024-05-01-preview/azurefleet.json | 36 ------------------- 2 files changed, 72 deletions(-) diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index 783d08ec5476..b2da6b7e5281 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -604,42 +604,6 @@ } } }, - "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType": { - "type": "string", - "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": true, - "values": [ - { - "name": "None", - "value": "None", - "description": "No managed identity." - }, - { - "name": "SystemAssigned", - "value": "SystemAssigned", - "description": "System assigned managed identity." - }, - { - "name": "UserAssigned", - "value": "UserAssigned", - "description": "User assigned managed identity." - }, - { - "name": "SystemAndUserAssigned", - "value": "SystemAssigned,UserAssigned", - "description": "System and user assigned managed identity." - } - ] - } - }, "BasePriorityProfile": { "type": "object", "description": "Contains common properties that are applicable to both Spot and Regular.", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index 9f3f6f0f0cbf..419babaa4762 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -583,42 +583,6 @@ } } }, - "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType": { - "type": "string", - "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned" - ], - "x-ms-enum": { - "name": "ManagedServiceIdentityType", - "modelAsString": true, - "values": [ - { - "name": "None", - "value": "None", - "description": "No managed identity." - }, - { - "name": "SystemAssigned", - "value": "SystemAssigned", - "description": "System assigned managed identity." - }, - { - "name": "UserAssigned", - "value": "UserAssigned", - "description": "User assigned managed identity." - }, - { - "name": "SystemAndUserAssigned", - "value": "SystemAssigned,UserAssigned", - "description": "System and user assigned managed identity." - } - ] - } - }, "BasePriorityProfile": { "type": "object", "description": "Contains common properties that are applicable to both Spot and Regular.", From c73bd4801819ec5c7327de68cb2d791c180eba2d Mon Sep 17 00:00:00 2001 From: Sahil Arora Date: Thu, 18 Jul 2024 18:45:44 -0700 Subject: [PATCH 27/27] Update and add more examples --- .../Fleets_CreateOrUpdate_MaximumSet.json | 8 +- .../Fleets_Get_MaximumSet.json | 4 +- ...Fleets_ListByResourceGroup_MaximumSet.json | 4 +- .../Fleets_ListBySubscription_MaximumSet.json | 4 +- .../Fleets_Update_MaximumSet.json | 4 +- .../Fleets_CreateOrUpdate.json | 8 +- .../Fleets_CreateOrUpdate_MinimumSet.json | 299 ++++++++++++++++++ .../2024-05-01-preview/Fleets_Get.json | 4 +- .../Fleets_ListByResourceGroup.json | 4 +- .../Fleets_ListBySubscription.json | 4 +- .../2024-05-01-preview/Fleets_Update.json | 4 +- .../AzureFleet.Management/fleet.tsp | 8 + .../2023-11-01-preview/azurefleet.json | 11 + .../Fleets_CreateOrUpdate_MaximumSet.json | 8 +- .../examples/Fleets_Get_MaximumSet.json | 4 +- ...Fleets_ListByResourceGroup_MaximumSet.json | 4 +- .../Fleets_ListBySubscription_MaximumSet.json | 4 +- .../examples/Fleets_Update_MaximumSet.json | 4 +- .../2024-05-01-preview/azurefleet.json | 14 + .../examples/Fleets_CreateOrUpdate.json | 8 +- .../Fleets_CreateOrUpdate_MinimumSet.json | 299 ++++++++++++++++++ .../examples/Fleets_Get.json | 4 +- .../examples/Fleets_ListByResourceGroup.json | 4 +- .../examples/Fleets_ListBySubscription.json | 4 +- .../examples/Fleets_Update.json | 4 +- 25 files changed, 703 insertions(+), 24 deletions(-) create mode 100644 specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate_MinimumSet.json create mode 100644 specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate_MinimumSet.json diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json index 8fc1dacc6457..a6ecbf71369b 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json @@ -722,7 +722,9 @@ }, "computeApiVersion": "2023-07-01" }, - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", @@ -1111,7 +1113,9 @@ }, "computeApiVersion": "2023-07-01" }, - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json index d86c6359cb09..a52280192c0a 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Get_MaximumSet.json @@ -355,7 +355,9 @@ }, "computeApiVersion": "2023-07-01" }, - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json index a7f218661c7f..873082abde6e 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListByResourceGroup_MaximumSet.json @@ -356,7 +356,9 @@ "timeCreated": "2024-01-28T09:08:15.992Z" }, "computeApiVersion": "2023-07-01" - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json index 4f4c6bf1cabd..56f0a254dfcb 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_ListBySubscription_MaximumSet.json @@ -355,7 +355,9 @@ "timeCreated": "2024-01-28T09:08:15.992Z" }, "computeApiVersion": "2023-07-01" - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json index c9cf7a61a461..a1e029f4c91b 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2023-11-01-preview/Fleets_Update_MaximumSet.json @@ -714,7 +714,9 @@ }, "computeApiVersion": "2023-07-01" }, - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json index 0694697a19a5..0aee59f3b1e0 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate.json @@ -730,7 +730,9 @@ }, "computeApiVersion": "2023-07-01", "platformFaultDomainCount": 1 - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", @@ -1124,7 +1126,9 @@ }, "computeApiVersion": "2023-07-01", "platformFaultDomainCount": 1 - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate_MinimumSet.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate_MinimumSet.json new file mode 100644 index 000000000000..8d9bd1338335 --- /dev/null +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_CreateOrUpdate_MinimumSet.json @@ -0,0 +1,299 @@ +{ + "title": "Fleets_CreateOrUpdate_MinimumSet", + "operationId": "Fleets_CreateOrUpdate", + "parameters": { + "api-version": "2024-05-01-preview", + "subscriptionId": "1DC2F28C-A625-4B0E-9748-9885A3C9E9EB", + "resourceGroupName": "rgazurefleet", + "fleetName": "testFleet", + "resource": { + "properties": { + "spotPriorityProfile": { + "capacity": 2, + "minCapacity": 1, + "evictionPolicy": "Delete", + "allocationStrategy": "PriceCapacityOptimized", + "maintain": true + }, + "regularPriorityProfile": { + "capacity": 2, + "minCapacity": 1, + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "Standard_D2s_v3" + }, + { + "name": "Standard_D4s_v3" + }, + { + "name": "Standard_E2s_v3" + } + ], + "computeProfile": { + "baseVirtualMachineProfile": { + "storageProfile": { + "imageReference": { + "publisher": "canonical", + "offer": "0001-com-ubuntu-server-focal", + "sku": "20_04-lts-gen2", + "version": "latest" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "osType": "Linux", + "managedDisk": { + "storageAccountType": "Standard_LRS" + } + } + }, + "osProfile": { + "computerNamePrefix": "prefix", + "adminUsername": "azureuser", + "adminPassword": "TestPassword$0", + "linuxConfiguration": { + "disablePasswordAuthentication": false + } + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "vmNameTest", + "properties": { + "primary": true, + "enableAcceleratedNetworking": false, + "ipConfigurations": [ + { + "name": "vmNameTest", + "properties": { + "subnet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + }, + "primary": true, + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + ] + } + } + ], + "enableIPForwarding": true + } + } + ], + "networkApiVersion": "2022-07-01" + } + }, + "computeApiVersion": "2023-09-01", + "platformFaultDomainCount": 1 + } + }, + "tags": { + "key": "fleets-test" + }, + "location": "eastus2euap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Creating", + "spotPriorityProfile": { + "capacity": 2, + "minCapacity": 1, + "evictionPolicy": "Delete", + "allocationStrategy": "PriceCapacityOptimized", + "maintain": true + }, + "regularPriorityProfile": { + "capacity": 2, + "minCapacity": 1, + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "Standard_D2s_v3" + }, + { + "name": "Standard_D4s_v3" + }, + { + "name": "Standard_E2s_v3" + } + ], + "computeProfile": { + "baseVirtualMachineProfile": { + "storageProfile": { + "imageReference": { + "publisher": "canonical", + "offer": "0001-com-ubuntu-server-focal", + "sku": "20_04-lts-gen2", + "version": "latest" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "osType": "Linux", + "managedDisk": { + "storageAccountType": "Standard_LRS" + } + } + }, + "osProfile": { + "computerNamePrefix": "prefix", + "adminUsername": "azureuser", + "linuxConfiguration": { + "disablePasswordAuthentication": false + } + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "vmNameTest", + "properties": { + "primary": true, + "enableAcceleratedNetworking": false, + "ipConfigurations": [ + { + "name": "vmNameTest", + "properties": { + "subnet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + }, + "primary": true, + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + ] + } + } + ], + "enableIPForwarding": true + } + } + ], + "networkApiVersion": "2022-07-01" + } + }, + "computeApiVersion": "2023-09-01", + "platformFaultDomainCount": 1 + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" + }, + "tags": { + "key": "fleets-test" + }, + "location": "eastus2euap", + "id": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet", + "name": "testFleet", + "type": "Microsoft.AzureFleet/fleets" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Creating", + "spotPriorityProfile": { + "capacity": 2, + "minCapacity": 1, + "evictionPolicy": "Delete", + "allocationStrategy": "PriceCapacityOptimized", + "maintain": true + }, + "regularPriorityProfile": { + "capacity": 2, + "minCapacity": 1, + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "Standard_D2s_v3" + }, + { + "name": "Standard_D4s_v3" + }, + { + "name": "Standard_E2s_v3" + } + ], + "computeProfile": { + "baseVirtualMachineProfile": { + "storageProfile": { + "imageReference": { + "publisher": "canonical", + "offer": "0001-com-ubuntu-server-focal", + "sku": "20_04-lts-gen2", + "version": "latest" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "osType": "Linux", + "managedDisk": { + "storageAccountType": "Standard_LRS" + } + } + }, + "osProfile": { + "computerNamePrefix": "prefix", + "adminUsername": "azureuser", + "linuxConfiguration": { + "disablePasswordAuthentication": false + } + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "vmNameTest", + "properties": { + "primary": true, + "enableAcceleratedNetworking": false, + "ipConfigurations": [ + { + "name": "vmNameTest", + "properties": { + "subnet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + }, + "primary": true, + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + ] + } + } + ], + "enableIPForwarding": true + } + } + ], + "networkApiVersion": "2022-07-01" + } + }, + "computeApiVersion": "2023-09-01", + "platformFaultDomainCount": 1 + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" + }, + "tags": { + "key": "fleets-test" + }, + "location": "eastus2euap", + "id": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet", + "name": "testFleet", + "type": "Microsoft.AzureFleet/fleets" + } + } + } +} diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json index 2369f63d48fd..aad43edb4459 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Get.json @@ -358,7 +358,9 @@ }, "computeApiVersion": "2023-07-01", "platformFaultDomainCount": 1 - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json index 7c3716e64d3d..e94357690c84 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListByResourceGroup.json @@ -359,7 +359,9 @@ }, "computeApiVersion": "2023-07-01", "platformFaultDomainCount": 1 - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json index 8cb8c10d5716..a708351de4b3 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_ListBySubscription.json @@ -358,7 +358,9 @@ }, "computeApiVersion": "2023-07-01", "platformFaultDomainCount": 1 - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json index 352d4c42f9fe..c987029fbeb5 100644 --- a/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json +++ b/specification/azurefleet/AzureFleet.Management/examples/2024-05-01-preview/Fleets_Update.json @@ -721,7 +721,9 @@ "computeApiVersion": "2023-07-01", "platformFaultDomainCount": 1 }, - "provisioningState": "Creating" + "provisioningState": "Creating", + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/AzureFleet.Management/fleet.tsp b/specification/azurefleet/AzureFleet.Management/fleet.tsp index f627c02727df..f4ec39d5a429 100644 --- a/specification/azurefleet/AzureFleet.Management/fleet.tsp +++ b/specification/azurefleet/AzureFleet.Management/fleet.tsp @@ -86,6 +86,14 @@ model FleetProperties { @doc("Compute Profile to use for running user's workloads.") computeProfile: ComputeProfile; + + @doc("Specifies the time at which the Compute Fleet is created.") + @visibility("read") + timeCreated?: utcDateTime; + + @doc("Specifies the ID which uniquely identifies a Compute Fleet.") + @visibility("read") + uniqueId?: string; } @doc("Compute Profile to use for running user's workloads.") diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json index b2da6b7e5281..37ca8c777804 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json @@ -1109,6 +1109,17 @@ "computeProfile": { "$ref": "#/definitions/ComputeProfile", "description": "Compute Profile to use for running user's workloads." + }, + "timeCreated": { + "type": "string", + "format": "date-time", + "description": "Specifies the time at which the Compute Fleet is created.", + "readOnly": true + }, + "uniqueId": { + "type": "string", + "description": "Specifies the ID which uniquely identifies a Compute Fleet.", + "readOnly": true } }, "required": [ diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json index 8fc1dacc6457..a6ecbf71369b 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_CreateOrUpdate_MaximumSet.json @@ -722,7 +722,9 @@ }, "computeApiVersion": "2023-07-01" }, - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", @@ -1111,7 +1113,9 @@ }, "computeApiVersion": "2023-07-01" }, - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json index d86c6359cb09..a52280192c0a 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Get_MaximumSet.json @@ -355,7 +355,9 @@ }, "computeApiVersion": "2023-07-01" }, - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json index a7f218661c7f..873082abde6e 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListByResourceGroup_MaximumSet.json @@ -356,7 +356,9 @@ "timeCreated": "2024-01-28T09:08:15.992Z" }, "computeApiVersion": "2023-07-01" - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json index 4f4c6bf1cabd..56f0a254dfcb 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_ListBySubscription_MaximumSet.json @@ -355,7 +355,9 @@ "timeCreated": "2024-01-28T09:08:15.992Z" }, "computeApiVersion": "2023-07-01" - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json index c9cf7a61a461..a1e029f4c91b 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/examples/Fleets_Update_MaximumSet.json @@ -714,7 +714,9 @@ }, "computeApiVersion": "2023-07-01" }, - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json index 419babaa4762..9057878868d3 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json @@ -273,6 +273,9 @@ "x-ms-examples": { "Fleets_CreateOrUpdate": { "$ref": "./examples/Fleets_CreateOrUpdate.json" + }, + "Fleets_CreateOrUpdate_MinimumSet": { + "$ref": "./examples/Fleets_CreateOrUpdate_MinimumSet.json" } }, "x-ms-long-running-operation-options": { @@ -1093,6 +1096,17 @@ "computeProfile": { "$ref": "#/definitions/ComputeProfile", "description": "Compute Profile to use for running user's workloads." + }, + "timeCreated": { + "type": "string", + "format": "date-time", + "description": "Specifies the time at which the Compute Fleet is created.", + "readOnly": true + }, + "uniqueId": { + "type": "string", + "description": "Specifies the ID which uniquely identifies a Compute Fleet.", + "readOnly": true } }, "required": [ diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json index 0694697a19a5..0aee59f3b1e0 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate.json @@ -730,7 +730,9 @@ }, "computeApiVersion": "2023-07-01", "platformFaultDomainCount": 1 - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", @@ -1124,7 +1126,9 @@ }, "computeApiVersion": "2023-07-01", "platformFaultDomainCount": 1 - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate_MinimumSet.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate_MinimumSet.json new file mode 100644 index 000000000000..8d9bd1338335 --- /dev/null +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_CreateOrUpdate_MinimumSet.json @@ -0,0 +1,299 @@ +{ + "title": "Fleets_CreateOrUpdate_MinimumSet", + "operationId": "Fleets_CreateOrUpdate", + "parameters": { + "api-version": "2024-05-01-preview", + "subscriptionId": "1DC2F28C-A625-4B0E-9748-9885A3C9E9EB", + "resourceGroupName": "rgazurefleet", + "fleetName": "testFleet", + "resource": { + "properties": { + "spotPriorityProfile": { + "capacity": 2, + "minCapacity": 1, + "evictionPolicy": "Delete", + "allocationStrategy": "PriceCapacityOptimized", + "maintain": true + }, + "regularPriorityProfile": { + "capacity": 2, + "minCapacity": 1, + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "Standard_D2s_v3" + }, + { + "name": "Standard_D4s_v3" + }, + { + "name": "Standard_E2s_v3" + } + ], + "computeProfile": { + "baseVirtualMachineProfile": { + "storageProfile": { + "imageReference": { + "publisher": "canonical", + "offer": "0001-com-ubuntu-server-focal", + "sku": "20_04-lts-gen2", + "version": "latest" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "osType": "Linux", + "managedDisk": { + "storageAccountType": "Standard_LRS" + } + } + }, + "osProfile": { + "computerNamePrefix": "prefix", + "adminUsername": "azureuser", + "adminPassword": "TestPassword$0", + "linuxConfiguration": { + "disablePasswordAuthentication": false + } + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "vmNameTest", + "properties": { + "primary": true, + "enableAcceleratedNetworking": false, + "ipConfigurations": [ + { + "name": "vmNameTest", + "properties": { + "subnet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + }, + "primary": true, + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + ] + } + } + ], + "enableIPForwarding": true + } + } + ], + "networkApiVersion": "2022-07-01" + } + }, + "computeApiVersion": "2023-09-01", + "platformFaultDomainCount": 1 + } + }, + "tags": { + "key": "fleets-test" + }, + "location": "eastus2euap" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Creating", + "spotPriorityProfile": { + "capacity": 2, + "minCapacity": 1, + "evictionPolicy": "Delete", + "allocationStrategy": "PriceCapacityOptimized", + "maintain": true + }, + "regularPriorityProfile": { + "capacity": 2, + "minCapacity": 1, + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "Standard_D2s_v3" + }, + { + "name": "Standard_D4s_v3" + }, + { + "name": "Standard_E2s_v3" + } + ], + "computeProfile": { + "baseVirtualMachineProfile": { + "storageProfile": { + "imageReference": { + "publisher": "canonical", + "offer": "0001-com-ubuntu-server-focal", + "sku": "20_04-lts-gen2", + "version": "latest" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "osType": "Linux", + "managedDisk": { + "storageAccountType": "Standard_LRS" + } + } + }, + "osProfile": { + "computerNamePrefix": "prefix", + "adminUsername": "azureuser", + "linuxConfiguration": { + "disablePasswordAuthentication": false + } + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "vmNameTest", + "properties": { + "primary": true, + "enableAcceleratedNetworking": false, + "ipConfigurations": [ + { + "name": "vmNameTest", + "properties": { + "subnet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + }, + "primary": true, + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + ] + } + } + ], + "enableIPForwarding": true + } + } + ], + "networkApiVersion": "2022-07-01" + } + }, + "computeApiVersion": "2023-09-01", + "platformFaultDomainCount": 1 + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" + }, + "tags": { + "key": "fleets-test" + }, + "location": "eastus2euap", + "id": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet", + "name": "testFleet", + "type": "Microsoft.AzureFleet/fleets" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Creating", + "spotPriorityProfile": { + "capacity": 2, + "minCapacity": 1, + "evictionPolicy": "Delete", + "allocationStrategy": "PriceCapacityOptimized", + "maintain": true + }, + "regularPriorityProfile": { + "capacity": 2, + "minCapacity": 1, + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "Standard_D2s_v3" + }, + { + "name": "Standard_D4s_v3" + }, + { + "name": "Standard_E2s_v3" + } + ], + "computeProfile": { + "baseVirtualMachineProfile": { + "storageProfile": { + "imageReference": { + "publisher": "canonical", + "offer": "0001-com-ubuntu-server-focal", + "sku": "20_04-lts-gen2", + "version": "latest" + }, + "osDisk": { + "caching": "ReadWrite", + "createOption": "FromImage", + "osType": "Linux", + "managedDisk": { + "storageAccountType": "Standard_LRS" + } + } + }, + "osProfile": { + "computerNamePrefix": "prefix", + "adminUsername": "azureuser", + "linuxConfiguration": { + "disablePasswordAuthentication": false + } + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "vmNameTest", + "properties": { + "primary": true, + "enableAcceleratedNetworking": false, + "ipConfigurations": [ + { + "name": "vmNameTest", + "properties": { + "subnet": { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + }, + "primary": true, + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + ] + } + } + ], + "enableIPForwarding": true + } + } + ], + "networkApiVersion": "2022-07-01" + } + }, + "computeApiVersion": "2023-09-01", + "platformFaultDomainCount": 1 + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" + }, + "tags": { + "key": "fleets-test" + }, + "location": "eastus2euap", + "id": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet", + "name": "testFleet", + "type": "Microsoft.AzureFleet/fleets" + } + } + } +} diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json index 2369f63d48fd..aad43edb4459 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Get.json @@ -358,7 +358,9 @@ }, "computeApiVersion": "2023-07-01", "platformFaultDomainCount": 1 - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json index 7c3716e64d3d..e94357690c84 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListByResourceGroup.json @@ -359,7 +359,9 @@ }, "computeApiVersion": "2023-07-01", "platformFaultDomainCount": 1 - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json index 8cb8c10d5716..a708351de4b3 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_ListBySubscription.json @@ -358,7 +358,9 @@ }, "computeApiVersion": "2023-07-01", "platformFaultDomainCount": 1 - } + }, + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1", diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json index 352d4c42f9fe..c987029fbeb5 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/examples/Fleets_Update.json @@ -721,7 +721,9 @@ "computeApiVersion": "2023-07-01", "platformFaultDomainCount": 1 }, - "provisioningState": "Creating" + "provisioningState": "Creating", + "timeCreated": "2024-07-10T00:16:34.8590555+00:00", + "uniqueId": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" }, "zones": [ "zone1",