From 9dc462cb5b2b6dbbd5164d059b5f877c2b5b1d39 Mon Sep 17 00:00:00 2001 From: william051200 Date: Mon, 29 Jun 2026 13:33:23 +0800 Subject: [PATCH 1/2] Export vmss lifecycle hooks API --- Commands/vmss/lifecycle-hook-event/_list.md | 16 + Commands/vmss/lifecycle-hook-event/_show.md | 16 + Commands/vmss/lifecycle-hook-event/_update.md | 16 + Commands/vmss/lifecycle-hook-event/readme.md | 14 + Commands/vmss/readme.md | 3 + .../2025-11-01.json | 1 + .../2025-11-01.xml | 129 +++++++ .../2025-11-01.json | 1 + .../2025-11-01.xml | 319 ++++++++++++++++++ 9 files changed, 515 insertions(+) create mode 100644 Commands/vmss/lifecycle-hook-event/_list.md create mode 100644 Commands/vmss/lifecycle-hook-event/_show.md create mode 100644 Commands/vmss/lifecycle-hook-event/_update.md create mode 100644 Commands/vmss/lifecycle-hook-event/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.xml diff --git a/Commands/vmss/lifecycle-hook-event/_list.md b/Commands/vmss/lifecycle-hook-event/_list.md new file mode 100644 index 000000000..54001b291 --- /dev/null +++ b/Commands/vmss/lifecycle-hook-event/_list.md @@ -0,0 +1,16 @@ +# [Command] _vmss lifecycle-hook-event list_ + +List a list of virtual machine scale set lifecycle hook events created for a virtual machine scale set resource. + +## Versions + +### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.xml) **Stable** + + + +#### examples + +- Gets a list of all lifecycle hook events in a virtual machine scale set. + ```bash + vmss lifecycle-hook-event list --resource-group RG01 --vmss-name VMSS01 + ``` diff --git a/Commands/vmss/lifecycle-hook-event/_show.md b/Commands/vmss/lifecycle-hook-event/_show.md new file mode 100644 index 000000000..0f882380c --- /dev/null +++ b/Commands/vmss/lifecycle-hook-event/_show.md @@ -0,0 +1,16 @@ +# [Command] _vmss lifecycle-hook-event show_ + +Get a virtual machine scale set lifecycle hook event. + +## Versions + +### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.xml) **Stable** + + + +#### examples + +- Get a virtual machine scale set lifecycle hook event. + ```bash + vmss lifecycle-hook-event show --resource-group RG01 --vmss-name VMSS01 --lifecycle-hook-event-name 2e2e3046-f85f-4966-8fd2-5fd7bf6ea717 + ``` diff --git a/Commands/vmss/lifecycle-hook-event/_update.md b/Commands/vmss/lifecycle-hook-event/_update.md new file mode 100644 index 000000000..d5fc029bc --- /dev/null +++ b/Commands/vmss/lifecycle-hook-event/_update.md @@ -0,0 +1,16 @@ +# [Command] _vmss lifecycle-hook-event update_ + +Update operation to update a virtual machine scale set lifecycle hook event. + +## Versions + +### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.xml) **Stable** + + + +#### examples + +- The operation to update the virtual machine scale set lifecycle hook event. + ```bash + vmss lifecycle-hook-event update --vmss-name myVmss -g myRg --name {eventGuid} --action-state Approved + ``` diff --git a/Commands/vmss/lifecycle-hook-event/readme.md b/Commands/vmss/lifecycle-hook-event/readme.md new file mode 100644 index 000000000..aded04422 --- /dev/null +++ b/Commands/vmss/lifecycle-hook-event/readme.md @@ -0,0 +1,14 @@ +# [Group] _vmss lifecycle-hook-event_ + +Manage Lifecycle Hook Event + +## Commands + +- [list](/Commands/vmss/lifecycle-hook-event/_list.md) +: List a list of virtual machine scale set lifecycle hook events created for a virtual machine scale set resource. + +- [show](/Commands/vmss/lifecycle-hook-event/_show.md) +: Get a virtual machine scale set lifecycle hook event. + +- [update](/Commands/vmss/lifecycle-hook-event/_update.md) +: Update operation to update a virtual machine scale set lifecycle hook event. diff --git a/Commands/vmss/readme.md b/Commands/vmss/readme.md index 5571309d8..ddca0b41e 100644 --- a/Commands/vmss/readme.md +++ b/Commands/vmss/readme.md @@ -13,6 +13,9 @@ Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS - [instance-view](/Commands/vmss/instance-view/readme.md) : Manage Instance View +- [lifecycle-hook-event](/Commands/vmss/lifecycle-hook-event/readme.md) +: Manage Lifecycle Hook Event + - [nic](/Commands/vmss/nic/readme.md) : Manage network interfaces of a VMSS. diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.json new file mode 100644 index 000000000..1786cac71 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/lifecyclehookevents", "version": "2025-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2xpZmVjeWNsZUhvb2tFdmVudHM=/V/MjAyNS0xMS0wMQ=="}], "commandGroups": [{"name": "vmss lifecycle-hook-event", "commands": [{"name": "list", "version": "2025-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/lifecyclehookevents", "version": "2025-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2xpZmVjeWNsZUhvb2tFdmVudHM=/V/MjAyNS0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vmScaleSetName", "options": ["vmss-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the VM scale set."}}]}], "operations": [{"operationId": "VirtualMachineScaleSetLifeCycleHookEvents_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/lifecycleHookEvents", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "vmScaleSetName", "arg": "$Path.vmScaleSetName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/virtualMachineScaleSets/{}/lifecycleHookEvents/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "additionalContext", "props": [{"type": "string", "name": "priority"}]}, {"readOnly": true, "type": "string", "name": "defaultAction", "enum": {"items": [{"value": "Approve"}, {"value": "Reject"}]}}, {"readOnly": true, "type": "string", "name": "maxWaitUntil"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Active"}, {"value": "Completed"}]}}, {"type": "array", "name": "targetResources", "item": {"type": "object", "props": [{"type": "string", "name": "actionState", "enum": {"items": [{"value": "Approved"}, {"value": "Rejected"}, {"value": "Waiting"}]}}, {"type": "object", "name": "resource", "props": [{"type": "string", "name": "id"}]}]}, "identifiers": ["resource"]}, {"readOnly": true, "type": "string", "name": "timeCreated"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "UpgradeAutoOSRollingBatchStarting"}, {"value": "UpgradeAutoOSScheduling"}]}}, {"type": "string", "name": "waitUntil"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}, "identifiers": ["id", "name"]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.xml new file mode 100644 index 000000000..4e2f6b31d --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.xml @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.json new file mode 100644 index 000000000..ee6e7100e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/lifecyclehookevents/{}", "version": "2025-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2xpZmVjeWNsZUhvb2tFdmVudHMve2xpZmVjeWNsZUhvb2tFdmVudE5hbWV9/V/MjAyNS0xMS0wMQ=="}], "commandGroups": [{"name": "vmss lifecycle-hook-event", "commands": [{"name": "show", "version": "2025-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/lifecyclehookevents/{}", "version": "2025-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2xpZmVjeWNsZUhvb2tFdmVudHMve2xpZmVjeWNsZUhvb2tFdmVudE5hbWV9/V/MjAyNS0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.lifecycleHookEventName", "options": ["n", "name", "lifecycle-hook-event-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the VMScaleSetLifecycleHookEvent"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vmScaleSetName", "options": ["vmss-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the VM scale set."}}]}], "operations": [{"operationId": "VirtualMachineScaleSetLifeCycleHookEvents_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/lifecycleHookEvents/{lifecycleHookEventName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "lifecycleHookEventName", "arg": "$Path.lifecycleHookEventName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "vmScaleSetName", "arg": "$Path.vmScaleSetName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/virtualMachineScaleSets/{}/lifecycleHookEvents/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "additionalContext", "props": [{"type": "string", "name": "priority"}]}, {"readOnly": true, "type": "string", "name": "defaultAction", "enum": {"items": [{"value": "Approve"}, {"value": "Reject"}]}}, {"readOnly": true, "type": "string", "name": "maxWaitUntil"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Active"}, {"value": "Completed"}]}}, {"type": "array", "name": "targetResources", "item": {"type": "object", "props": [{"type": "string", "name": "actionState", "enum": {"items": [{"value": "Approved"}, {"value": "Rejected"}, {"value": "Waiting"}]}}, {"type": "object", "name": "resource", "props": [{"type": "string", "name": "id"}]}]}, "identifiers": ["resource"]}, {"readOnly": true, "type": "string", "name": "timeCreated"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "UpgradeAutoOSRollingBatchStarting"}, {"value": "UpgradeAutoOSScheduling"}]}}, {"type": "string", "name": "waitUntil"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2025-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/lifecyclehookevents/{}", "version": "2025-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2xpZmVjeWNsZUhvb2tFdmVudHMve2xpZmVjeWNsZUhvb2tFdmVudE5hbWV9/V/MjAyNS0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.lifecycleHookEventName", "options": ["n", "name", "lifecycle-hook-event-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the VMScaleSetLifecycleHookEvent"}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vmScaleSetName", "options": ["vmss-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the VM scale set."}}]}, {"name": "Properties", "args": [{"type": "object", "var": "$properties.properties.additionalContext", "options": ["additional-context"], "group": "Properties", "help": {"short": "Additional key-value pairs set on the lifecycle hook event that gives customer some useful context/data. The keys in this dictionary are specific to the lifecycle hook type. Different lifecycle hook events can have different sets of keys in the additional context depending on the lifecycle hook type. For example, for a lifecycle hook event with UpgradeAutoOSScheduling type, the additional context can contain the key \"priority\" that helps customer identify the priority of the Auto OS Upgrade operation triggered on the virtual machine scale set."}, "args": [{"type": "string", "var": "$properties.properties.additionalContext.priority", "options": ["priority"], "help": {"short": "Can only be present for a lifecycle hook event of type \"UpgradeAutoOSScheduling\". Denotes the priority of the virtual machine scale set lifecycle hook event for the Auto OS Upgrade scheduled on the virtual machine scale set."}}]}, {"type": "array", "var": "$properties.properties.targetResources", "options": ["target-resources"], "group": "Properties", "help": {"short": "List of target resources which are getting processed in the virtual machine scale set lifecycle hook event."}, "item": {"type": "object", "args": [{"type": "string", "var": "$properties.properties.targetResources[].actionState", "options": ["action-state"], "help": {"short": "State of the lifecycle hook for the target resource. The customer can patch this property to move the lifecycle hook to a terminal state."}, "enum": {"items": [{"name": "Approved", "value": "Approved"}, {"name": "Rejected", "value": "Rejected"}, {"name": "Waiting", "value": "Waiting"}]}}, {"type": "object", "var": "$properties.properties.targetResources[].resource", "options": ["resource"], "help": {"short": "Specifies the target ARM resource. Currently, this can be a virtual machine scale set resource or an individual virtual machine resource within a VMScaleSet."}, "args": [{"type": "string", "var": "$properties.properties.targetResources[].resource.id", "options": ["id"], "help": {"short": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..."}}]}]}}, {"type": "string", "var": "$properties.properties.type", "options": ["type"], "group": "Properties", "help": {"short": "Defines the type or scenario for sending a virtual machine scale set lifecycle hook event to the customer."}, "enum": {"items": [{"name": "UpgradeAutoOSRollingBatchStarting", "value": "UpgradeAutoOSRollingBatchStarting"}, {"name": "UpgradeAutoOSScheduling", "value": "UpgradeAutoOSScheduling"}]}}, {"type": "string", "var": "$properties.properties.waitUntil", "options": ["wait-until"], "group": "Properties", "help": {"short": "Specifies the exact UTC timestamp in ISO 8601 format till which the event would remain in the current lifecycle state waiting for an action from the customer. Beyond this timestamp, the platform will apply the defaultAction for the event."}}]}], "operations": [{"operationId": "VirtualMachineScaleSetLifeCycleHookEvents_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/lifecycleHookEvents/{lifecycleHookEventName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "lifecycleHookEventName", "arg": "$Path.lifecycleHookEventName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "vmScaleSetName", "arg": "$Path.vmScaleSetName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "properties", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "additionalContext", "arg": "$properties.properties.additionalContext", "props": [{"type": "string", "name": "priority", "arg": "$properties.properties.additionalContext.priority"}]}, {"type": "array", "name": "targetResources", "arg": "$properties.properties.targetResources", "item": {"type": "object", "props": [{"type": "string", "name": "actionState", "arg": "$properties.properties.targetResources[].actionState", "enum": {"items": [{"value": "Approved"}, {"value": "Rejected"}, {"value": "Waiting"}]}}, {"type": "object", "name": "resource", "arg": "$properties.properties.targetResources[].resource", "props": [{"type": "string", "name": "id", "arg": "$properties.properties.targetResources[].resource.id"}]}]}, "identifiers": ["resource"]}, {"type": "string", "name": "type", "arg": "$properties.properties.type", "enum": {"items": [{"value": "UpgradeAutoOSRollingBatchStarting"}, {"value": "UpgradeAutoOSScheduling"}]}}, {"type": "string", "name": "waitUntil", "arg": "$properties.properties.waitUntil"}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/virtualMachineScaleSets/{}/lifecycleHookEvents/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "additionalContext", "props": [{"type": "string", "name": "priority"}]}, {"readOnly": true, "type": "string", "name": "defaultAction", "enum": {"items": [{"value": "Approve"}, {"value": "Reject"}]}}, {"readOnly": true, "type": "string", "name": "maxWaitUntil"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Active"}, {"value": "Completed"}]}}, {"type": "array", "name": "targetResources", "item": {"type": "object", "props": [{"type": "string", "name": "actionState", "enum": {"items": [{"value": "Approved"}, {"value": "Rejected"}, {"value": "Waiting"}]}}, {"type": "object", "name": "resource", "props": [{"type": "string", "name": "id"}]}]}, "identifiers": ["resource"]}, {"readOnly": true, "type": "string", "name": "timeCreated"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "UpgradeAutoOSRollingBatchStarting"}, {"value": "UpgradeAutoOSScheduling"}]}}, {"type": "string", "name": "waitUntil"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.xml new file mode 100644 index 000000000..3fa107c78 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.xml @@ -0,0 +1,319 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From a68e9615a7f7daa6c931a76c0d60de0020900b6a Mon Sep 17 00:00:00 2001 From: william051200 Date: Tue, 30 Jun 2026 10:55:48 +0800 Subject: [PATCH 2/2] Update command is_preview flag --- Commands/readme.md | 2 +- Commands/vmss/lifecycle-hook-event/_list.md | 2 +- Commands/vmss/lifecycle-hook-event/_show.md | 2 +- Commands/vmss/lifecycle-hook-event/_update.md | 2 +- .../2025-11-01.json | 2 +- .../2025-11-01.xml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Commands/readme.md b/Commands/readme.md index 4e0279fcf..e645e560c 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -78,7 +78,7 @@ : List changes for resources - [chaos](/Commands/chaos/readme.md) -: Manage Chaos +: Manage Azure Chaos Studio resources. - [cloud-service](/Commands/cloud-service/readme.md) : Manage cloud service diff --git a/Commands/vmss/lifecycle-hook-event/_list.md b/Commands/vmss/lifecycle-hook-event/_list.md index 54001b291..f7e084967 100644 --- a/Commands/vmss/lifecycle-hook-event/_list.md +++ b/Commands/vmss/lifecycle-hook-event/_list.md @@ -4,7 +4,7 @@ List a list of virtual machine scale set lifecycle hook events created for a vir ## Versions -### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.xml) **Stable** +### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.xml) **Preview** diff --git a/Commands/vmss/lifecycle-hook-event/_show.md b/Commands/vmss/lifecycle-hook-event/_show.md index 0f882380c..2dfc32ab1 100644 --- a/Commands/vmss/lifecycle-hook-event/_show.md +++ b/Commands/vmss/lifecycle-hook-event/_show.md @@ -4,7 +4,7 @@ Get a virtual machine scale set lifecycle hook event. ## Versions -### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.xml) **Stable** +### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.xml) **Preview** diff --git a/Commands/vmss/lifecycle-hook-event/_update.md b/Commands/vmss/lifecycle-hook-event/_update.md index d5fc029bc..d278d180a 100644 --- a/Commands/vmss/lifecycle-hook-event/_update.md +++ b/Commands/vmss/lifecycle-hook-event/_update.md @@ -4,7 +4,7 @@ Update operation to update a virtual machine scale set lifecycle hook event. ## Versions -### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.xml) **Stable** +### [2025-11-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHMve30=/2025-11-01.xml) **Preview** diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.json index 1786cac71..1467c5c00 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/lifecyclehookevents", "version": "2025-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2xpZmVjeWNsZUhvb2tFdmVudHM=/V/MjAyNS0xMS0wMQ=="}], "commandGroups": [{"name": "vmss lifecycle-hook-event", "commands": [{"name": "list", "version": "2025-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/lifecyclehookevents", "version": "2025-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2xpZmVjeWNsZUhvb2tFdmVudHM=/V/MjAyNS0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vmScaleSetName", "options": ["vmss-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the VM scale set."}}]}], "operations": [{"operationId": "VirtualMachineScaleSetLifeCycleHookEvents_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/lifecycleHookEvents", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "vmScaleSetName", "arg": "$Path.vmScaleSetName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/virtualMachineScaleSets/{}/lifecycleHookEvents/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "additionalContext", "props": [{"type": "string", "name": "priority"}]}, {"readOnly": true, "type": "string", "name": "defaultAction", "enum": {"items": [{"value": "Approve"}, {"value": "Reject"}]}}, {"readOnly": true, "type": "string", "name": "maxWaitUntil"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Active"}, {"value": "Completed"}]}}, {"type": "array", "name": "targetResources", "item": {"type": "object", "props": [{"type": "string", "name": "actionState", "enum": {"items": [{"value": "Approved"}, {"value": "Rejected"}, {"value": "Waiting"}]}}, {"type": "object", "name": "resource", "props": [{"type": "string", "name": "id"}]}]}, "identifiers": ["resource"]}, {"readOnly": true, "type": "string", "name": "timeCreated"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "UpgradeAutoOSRollingBatchStarting"}, {"value": "UpgradeAutoOSScheduling"}]}}, {"type": "string", "name": "waitUntil"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}, "identifiers": ["id", "name"]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/lifecyclehookevents", "version": "2025-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2xpZmVjeWNsZUhvb2tFdmVudHM=/V/MjAyNS0xMS0wMQ=="}], "commandGroups": [{"name": "vmss lifecycle-hook-event", "commands": [{"name": "list", "version": "2025-11-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/virtualmachinescalesets/{}/lifecyclehookevents", "version": "2025-11-01", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZVNjYWxlU2V0cy97dm1TY2FsZVNldE5hbWV9L2xpZmVjeWNsZUhvb2tFdmVudHM=/V/MjAyNS0xMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.vmScaleSetName", "options": ["vmss-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the VM scale set."}}]}], "operations": [{"operationId": "VirtualMachineScaleSetLifeCycleHookEvents_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/lifecycleHookEvents", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "vmScaleSetName", "arg": "$Path.vmScaleSetName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2025-11-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Compute/virtualMachineScaleSets/{}/lifecycleHookEvents/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "additionalContext", "props": [{"type": "string", "name": "priority"}]}, {"readOnly": true, "type": "string", "name": "defaultAction", "enum": {"items": [{"value": "Approve"}, {"value": "Reject"}]}}, {"readOnly": true, "type": "string", "name": "maxWaitUntil"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Active"}, {"value": "Completed"}]}}, {"type": "array", "name": "targetResources", "item": {"type": "object", "props": [{"type": "string", "name": "actionState", "enum": {"items": [{"value": "Approved"}, {"value": "Rejected"}, {"value": "Waiting"}]}}, {"type": "object", "name": "resource", "props": [{"type": "string", "name": "id"}]}]}, "identifiers": ["resource"]}, {"readOnly": true, "type": "string", "name": "timeCreated"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "UpgradeAutoOSRollingBatchStarting"}, {"value": "UpgradeAutoOSScheduling"}]}}, {"type": "string", "name": "waitUntil"}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}, "identifiers": ["id", "name"]}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.xml index 4e2f6b31d..c8c00debe 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL3ZpcnR1YWxtYWNoaW5lc2NhbGVzZXRzL3t9L2xpZmVjeWNsZWhvb2tldmVudHM=/2025-11-01.xml @@ -2,7 +2,7 @@ - +