diff --git a/Commands/stack-hci/extension/_create.md b/Commands/stack-hci/extension/_create.md index bd6df2ae6..4b5866c28 100644 --- a/Commands/stack-hci/extension/_create.md +++ b/Commands/stack-hci/extension/_create.md @@ -12,5 +12,5 @@ Create extension for HCI cluster. - Create arc extension ```bash - stack-hci extension create --arc-setting-name "default" --cluster-name "myCluster" --type "MicrosoftMonitoringAgent" --protected-settings "{workspaceKey:xx}" --publisher "Microsoft.Compute" --settings "{workspaceId:xx}" --type-handler-version "1.10" --name "MicrosoftMonitoringAgent" --resource-group "test-rg" + stack-hci extension create --arc-setting-name "default" --cluster-name "myCluster" --type "MicrosoftMonitoringAgent" --protected-settings '{"workspaceId": "xx", "port": "6516"}' --publisher "Microsoft.Compute" --settings '{"workspaceKey": "xx"}' --type-handler-version "1.10" --name "MicrosoftMonitoringAgent" --resource-group "test-rg" ``` diff --git a/Commands/tree.json b/Commands/tree.json index 9ccb937d9..abc958db0 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -102410,7 +102410,7 @@ "examples": [ { "commands": [ - "stack-hci extension create --arc-setting-name \"default\" --cluster-name \"myCluster\" --type \"MicrosoftMonitoringAgent\" --protected-settings \"{workspaceKey:xx}\" --publisher \"Microsoft.Compute\" --settings \"{workspaceId:xx}\" --type-handler-version \"1.10\" --name \"MicrosoftMonitoringAgent\" --resource-group \"test-rg\"" + "stack-hci extension create --arc-setting-name \"default\" --cluster-name \"myCluster\" --type \"MicrosoftMonitoringAgent\" --protected-settings '{\"workspaceId\": \"xx\", \"port\": \"6516\"}' --publisher \"Microsoft.Compute\" --settings '{\"workspaceKey\": \"xx\"}' --type-handler-version \"1.10\" --name \"MicrosoftMonitoringAgent\" --resource-group \"test-rg\"" ], "name": "Create arc extension" } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnM=/2023-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnM=/2023-03-01.json index 25e1f3ca3..02160875b 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnM=/2023-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnM=/2023-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucw==/V/MjAyMy0wMy0wMQ=="}], "commandGroups": [{"name": "stack-hci extension", "commands": [{"name": "list", "version": "2023-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucw==/V/MjAyMy0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.arcSettingName", "options": ["arc-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the proxy resource holding details of HCI ArcSetting information."}}, {"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the cluster."}}, {"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"}]}], "operations": [{"operationId": "Extensions_ListByArcSetting", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "arcSettingName", "arg": "$Path.arcSettingName", "required": true}, {"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "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}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-03-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": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.AzureStackHCI/clusters/{}/arcSettings/{}/extensions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "aggregateState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}, {"value": "UpgradeFailedRollbackSucceeded"}]}}, {"type": "object", "name": "extensionParameters", "props": [{"type": "boolean", "name": "autoUpgradeMinorVersion"}, {"type": "boolean", "name": "enableAutomaticUpgrade"}, {"type": "string", "name": "forceUpdateTag"}, {"type": "object", "name": "protectedSettings", "secret": true, "props": [{"type": "string", "name": "workspaceKey"}]}, {"type": "string", "name": "publisher"}, {"type": "object", "name": "settings", "props": [{"type": "string", "name": "workspaceId"}]}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "managedBy", "enum": {"items": [{"value": "Azure"}, {"value": "User"}]}}, {"readOnly": true, "type": "array", "name": "perNodeExtensionDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "extension"}, {"type": "object", "name": "instanceView", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "status", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "typeHandlerVersion"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucw==/V/MjAyMy0wMy0wMQ=="}], "commandGroups": [{"name": "stack-hci extension", "commands": [{"name": "list", "version": "2023-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucw==/V/MjAyMy0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.arcSettingName", "options": ["arc-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the proxy resource holding details of HCI ArcSetting information."}}, {"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the cluster."}}, {"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"}]}], "operations": [{"operationId": "Extensions_ListByArcSetting", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "arcSettingName", "arg": "$Path.arcSettingName", "required": true}, {"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "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}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-03-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": "string", "name": "nextLink"}, {"readOnly": true, "type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.AzureStackHCI/clusters/{}/arcSettings/{}/extensions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "aggregateState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}, {"value": "UpgradeFailedRollbackSucceeded"}]}}, {"type": "object", "name": "extensionParameters", "props": [{"type": "boolean", "name": "autoUpgradeMinorVersion"}, {"type": "boolean", "name": "enableAutomaticUpgrade"}, {"type": "string", "name": "forceUpdateTag"}, {"type": "object", "name": "protectedSettings", "secret": true, "additionalProps": {"anyType": true}}, {"type": "string", "name": "publisher"}, {"type": "object", "name": "settings", "additionalProps": {"anyType": true}}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "managedBy", "enum": {"items": [{"value": "Azure"}, {"value": "User"}]}}, {"readOnly": true, "type": "array", "name": "perNodeExtensionDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "extension"}, {"type": "object", "name": "instanceView", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "status", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "typeHandlerVersion"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnM=/2023-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnM=/2023-03-01.xml index 4c62aa051..155d30f52 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnM=/2023-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnM=/2023-03-01.xml @@ -73,11 +73,11 @@ - + - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnMve30=/2023-03-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnMve30=/2023-03-01.json index eee6d2848..011cc26ff 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnMve30=/2023-03-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnMve30=/2023-03-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions/{}", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucy97ZXh0ZW5zaW9uTmFtZX0=/V/MjAyMy0wMy0wMQ=="}], "commandGroups": [{"name": "stack-hci extension", "commands": [{"name": "show", "version": "2023-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions/{}", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucy97ZXh0ZW5zaW9uTmFtZX0=/V/MjAyMy0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.arcSettingName", "options": ["arc-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the proxy resource holding details of HCI ArcSetting information."}}, {"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the cluster."}}, {"type": "string", "var": "$Path.extensionName", "options": ["n", "name", "extension-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the machine extension."}}, {"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"}]}], "operations": [{"operationId": "Extensions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "arcSettingName", "arg": "$Path.arcSettingName", "required": true}, {"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true}, {"type": "string", "name": "extensionName", "arg": "$Path.extensionName", "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}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-03-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.AzureStackHCI/clusters/{}/arcSettings/{}/extensions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "aggregateState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}, {"value": "UpgradeFailedRollbackSucceeded"}]}}, {"type": "object", "name": "extensionParameters", "props": [{"type": "boolean", "name": "autoUpgradeMinorVersion"}, {"type": "boolean", "name": "enableAutomaticUpgrade"}, {"type": "string", "name": "forceUpdateTag"}, {"type": "object", "name": "protectedSettings", "secret": true, "props": [{"type": "string", "name": "workspaceKey"}]}, {"type": "string", "name": "publisher"}, {"type": "object", "name": "settings", "props": [{"type": "string", "name": "workspaceId"}]}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "managedBy", "enum": {"items": [{"value": "Azure"}, {"value": "User"}]}}, {"readOnly": true, "type": "array", "name": "perNodeExtensionDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "extension"}, {"type": "object", "name": "instanceView", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "status", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "typeHandlerVersion"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2023-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions/{}", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucy97ZXh0ZW5zaW9uTmFtZX0=/V/MjAyMy0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.arcSettingName", "options": ["arc-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the proxy resource holding details of HCI ArcSetting information."}}, {"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the cluster."}}, {"type": "string", "var": "$Path.extensionName", "options": ["n", "name", "extension-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the machine extension."}}, {"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"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Extensions_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "arcSettingName", "arg": "$Path.arcSettingName", "required": true}, {"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true}, {"type": "string", "name": "extensionName", "arg": "$Path.extensionName", "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}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions/{}", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucy97ZXh0ZW5zaW9uTmFtZX0=/V/MjAyMy0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.arcSettingName", "options": ["arc-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the proxy resource holding details of HCI ArcSetting information."}}, {"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the cluster."}}, {"type": "string", "var": "$Path.extensionName", "options": ["n", "name", "extension-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the machine extension."}}, {"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"}]}, {"name": "ExtensionParameters", "args": [{"type": "boolean", "var": "$extension.properties.extensionParameters.autoUpgradeMinorVersion", "options": ["auto-upgrade"], "group": "ExtensionParameters", "help": {"short": "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."}}, {"type": "boolean", "var": "$extension.properties.extensionParameters.enableAutomaticUpgrade", "options": ["enable-automatic-upgrade"], "hide": true, "group": "ExtensionParameters", "help": {"short": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available."}}, {"type": "string", "var": "$extension.properties.extensionParameters.forceUpdateTag", "options": ["force-update-tag"], "group": "ExtensionParameters", "help": {"short": "How the extension handler should be forced to update even if the extension configuration has not changed."}}, {"type": "object", "var": "$extension.properties.extensionParameters.protectedSettings", "options": ["protected-settings"], "group": "ExtensionParameters", "help": {"short": "Protected settings (may contain secrets)."}, "args": [{"type": "string", "var": "$extension.properties.extensionParameters.protectedSettings.workspaceKey", "options": ["workspace-key"], "help": {"short": "Workspace Key."}}]}, {"type": "string", "var": "$extension.properties.extensionParameters.publisher", "options": ["publisher"], "group": "ExtensionParameters", "help": {"short": "The name of the extension handler publisher."}}, {"type": "object", "var": "$extension.properties.extensionParameters.settings", "options": ["settings"], "group": "ExtensionParameters", "help": {"short": "Json formatted public settings for the extension."}, "args": [{"type": "string", "var": "$extension.properties.extensionParameters.settings.workspaceId", "options": ["workspace-id"], "help": {"short": "Workspace Id."}}]}, {"type": "string", "var": "$extension.properties.extensionParameters.type", "options": ["type"], "group": "ExtensionParameters", "help": {"short": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."}}, {"type": "string", "var": "$extension.properties.extensionParameters.typeHandlerVersion", "options": ["type-handler-version"], "group": "ExtensionParameters", "help": {"short": "Specifies the version of the script handler. Latest version would be used if not specified."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Extensions_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "arcSettingName", "arg": "$Path.arcSettingName", "required": true}, {"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true}, {"type": "string", "name": "extensionName", "arg": "$Path.extensionName", "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}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "extension", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "extensionParameters", "props": [{"type": "boolean", "name": "autoUpgradeMinorVersion", "arg": "$extension.properties.extensionParameters.autoUpgradeMinorVersion"}, {"type": "boolean", "name": "enableAutomaticUpgrade", "arg": "$extension.properties.extensionParameters.enableAutomaticUpgrade"}, {"type": "string", "name": "forceUpdateTag", "arg": "$extension.properties.extensionParameters.forceUpdateTag"}, {"type": "object", "name": "protectedSettings", "arg": "$extension.properties.extensionParameters.protectedSettings", "secret": true, "props": [{"type": "string", "name": "workspaceKey", "arg": "$extension.properties.extensionParameters.protectedSettings.workspaceKey"}]}, {"type": "string", "name": "publisher", "arg": "$extension.properties.extensionParameters.publisher"}, {"type": "object", "name": "settings", "arg": "$extension.properties.extensionParameters.settings", "props": [{"type": "string", "name": "workspaceId", "arg": "$extension.properties.extensionParameters.settings.workspaceId"}]}, {"type": "string", "name": "type", "arg": "$extension.properties.extensionParameters.type"}, {"type": "string", "name": "typeHandlerVersion", "arg": "$extension.properties.extensionParameters.typeHandlerVersion"}]}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.AzureStackHCI/clusters/{}/arcSettings/{}/extensions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "aggregateState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}, {"value": "UpgradeFailedRollbackSucceeded"}]}}, {"type": "object", "name": "extensionParameters", "props": [{"type": "boolean", "name": "autoUpgradeMinorVersion"}, {"type": "boolean", "name": "enableAutomaticUpgrade"}, {"type": "string", "name": "forceUpdateTag"}, {"type": "object", "name": "protectedSettings", "secret": true, "props": [{"type": "string", "name": "workspaceKey"}]}, {"type": "string", "name": "publisher"}, {"type": "object", "name": "settings", "props": [{"type": "string", "name": "workspaceId"}]}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "managedBy", "enum": {"items": [{"value": "Azure"}, {"value": "User"}]}}, {"readOnly": true, "type": "array", "name": "perNodeExtensionDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "extension"}, {"type": "object", "name": "instanceView", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "status", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "typeHandlerVersion"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2023-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions/{}", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucy97ZXh0ZW5zaW9uTmFtZX0=/V/MjAyMy0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.arcSettingName", "options": ["arc-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the proxy resource holding details of HCI ArcSetting information."}}, {"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the cluster."}}, {"type": "string", "var": "$Path.extensionName", "options": ["n", "name", "extension-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the machine extension."}}, {"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"}]}, {"name": "ExtensionParameters", "args": [{"nullable": true, "type": "boolean", "var": "$extension.properties.extensionParameters.autoUpgradeMinorVersion", "options": ["auto-upgrade"], "group": "ExtensionParameters", "help": {"short": "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."}}, {"nullable": true, "type": "boolean", "var": "$extension.properties.extensionParameters.enableAutomaticUpgrade", "options": ["enable-automatic-upgrade"], "group": "ExtensionParameters", "help": {"short": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available."}}, {"nullable": true, "type": "string", "var": "$extension.properties.extensionParameters.forceUpdateTag", "options": ["force-update-tag"], "group": "ExtensionParameters", "help": {"short": "How the extension handler should be forced to update even if the extension configuration has not changed."}}, {"nullable": true, "type": "object", "var": "$extension.properties.extensionParameters.protectedSettings", "options": ["protected-settings"], "group": "ExtensionParameters", "help": {"short": "Protected settings (may contain secrets)."}, "args": [{"nullable": true, "type": "string", "var": "$extension.properties.extensionParameters.protectedSettings.workspaceKey", "options": ["workspace-key"], "help": {"short": "Workspace Key."}}]}, {"nullable": true, "type": "string", "var": "$extension.properties.extensionParameters.publisher", "options": ["publisher"], "group": "ExtensionParameters", "help": {"short": "The name of the extension handler publisher."}}, {"nullable": true, "type": "object", "var": "$extension.properties.extensionParameters.settings", "options": ["settings"], "group": "ExtensionParameters", "help": {"short": "Json formatted public settings for the extension."}, "args": [{"nullable": true, "type": "string", "var": "$extension.properties.extensionParameters.settings.workspaceId", "options": ["workspace-id"], "help": {"short": "Workspace Id."}}]}, {"nullable": true, "type": "string", "var": "$extension.properties.extensionParameters.type", "options": ["type"], "group": "ExtensionParameters", "help": {"short": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."}}, {"nullable": true, "type": "string", "var": "$extension.properties.extensionParameters.typeHandlerVersion", "options": ["type-handler-version"], "group": "ExtensionParameters", "help": {"short": "Specifies the version of the script handler. Latest version would be used if not specified."}}]}], "operations": [{"operationId": "Extensions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "arcSettingName", "arg": "$Path.arcSettingName", "required": true}, {"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true}, {"type": "string", "name": "extensionName", "arg": "$Path.extensionName", "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}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-03-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.AzureStackHCI/clusters/{}/arcSettings/{}/extensions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "aggregateState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}, {"value": "UpgradeFailedRollbackSucceeded"}]}}, {"type": "object", "name": "extensionParameters", "props": [{"type": "boolean", "name": "autoUpgradeMinorVersion"}, {"type": "boolean", "name": "enableAutomaticUpgrade"}, {"type": "string", "name": "forceUpdateTag"}, {"type": "object", "name": "protectedSettings", "secret": true, "props": [{"type": "string", "name": "workspaceKey"}]}, {"type": "string", "name": "publisher"}, {"type": "object", "name": "settings", "props": [{"type": "string", "name": "workspaceId"}]}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "managedBy", "enum": {"items": [{"value": "Azure"}, {"value": "User"}]}}, {"readOnly": true, "type": "array", "name": "perNodeExtensionDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "extension"}, {"type": "object", "name": "instanceView", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "status", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "typeHandlerVersion"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Extension_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "extension", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "extensionParameters", "props": [{"type": "boolean", "name": "autoUpgradeMinorVersion", "arg": "$extension.properties.extensionParameters.autoUpgradeMinorVersion"}, {"type": "boolean", "name": "enableAutomaticUpgrade", "arg": "$extension.properties.extensionParameters.enableAutomaticUpgrade"}, {"type": "string", "name": "forceUpdateTag", "arg": "$extension.properties.extensionParameters.forceUpdateTag"}, {"type": "object", "name": "protectedSettings", "arg": "$extension.properties.extensionParameters.protectedSettings", "secret": true, "props": [{"type": "string", "name": "workspaceKey", "arg": "$extension.properties.extensionParameters.protectedSettings.workspaceKey"}]}, {"type": "string", "name": "publisher", "arg": "$extension.properties.extensionParameters.publisher"}, {"type": "object", "name": "settings", "arg": "$extension.properties.extensionParameters.settings", "props": [{"type": "string", "name": "workspaceId", "arg": "$extension.properties.extensionParameters.settings.workspaceId"}]}, {"type": "string", "name": "type", "arg": "$extension.properties.extensionParameters.type"}, {"type": "string", "name": "typeHandlerVersion", "arg": "$extension.properties.extensionParameters.typeHandlerVersion"}]}], "clientFlatten": true}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Extensions_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "arcSettingName", "arg": "$Path.arcSettingName", "required": true}, {"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true}, {"type": "string", "name": "extensionName", "arg": "$Path.extensionName", "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}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Extension_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions/{}", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucy97ZXh0ZW5zaW9uTmFtZX0=/V/MjAyMy0wMy0wMQ=="}], "commandGroups": [{"name": "stack-hci extension", "commands": [{"name": "show", "version": "2023-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions/{}", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucy97ZXh0ZW5zaW9uTmFtZX0=/V/MjAyMy0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.arcSettingName", "options": ["arc-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the proxy resource holding details of HCI ArcSetting information."}}, {"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the cluster."}}, {"type": "string", "var": "$Path.extensionName", "options": ["n", "name", "extension-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the machine extension."}}, {"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"}]}], "operations": [{"operationId": "Extensions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "arcSettingName", "arg": "$Path.arcSettingName", "required": true}, {"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true}, {"type": "string", "name": "extensionName", "arg": "$Path.extensionName", "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}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-03-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.AzureStackHCI/clusters/{}/arcSettings/{}/extensions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "aggregateState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}, {"value": "UpgradeFailedRollbackSucceeded"}]}}, {"type": "object", "name": "extensionParameters", "props": [{"type": "boolean", "name": "autoUpgradeMinorVersion"}, {"type": "boolean", "name": "enableAutomaticUpgrade"}, {"type": "string", "name": "forceUpdateTag"}, {"type": "object", "name": "protectedSettings", "secret": true, "additionalProps": {"anyType": true}}, {"type": "string", "name": "publisher"}, {"type": "object", "name": "settings", "additionalProps": {"anyType": true}}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "managedBy", "enum": {"items": [{"value": "Azure"}, {"value": "User"}]}}, {"readOnly": true, "type": "array", "name": "perNodeExtensionDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "extension"}, {"type": "object", "name": "instanceView", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "status", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "typeHandlerVersion"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2023-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions/{}", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucy97ZXh0ZW5zaW9uTmFtZX0=/V/MjAyMy0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.arcSettingName", "options": ["arc-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the proxy resource holding details of HCI ArcSetting information."}}, {"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the cluster."}}, {"type": "string", "var": "$Path.extensionName", "options": ["n", "name", "extension-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the machine extension."}}, {"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"}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Extensions_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "arcSettingName", "arg": "$Path.arcSettingName", "required": true}, {"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true}, {"type": "string", "name": "extensionName", "arg": "$Path.extensionName", "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}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2023-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions/{}", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucy97ZXh0ZW5zaW9uTmFtZX0=/V/MjAyMy0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.arcSettingName", "options": ["arc-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the proxy resource holding details of HCI ArcSetting information."}}, {"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the cluster."}}, {"type": "string", "var": "$Path.extensionName", "options": ["n", "name", "extension-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the machine extension."}}, {"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"}]}, {"name": "ExtensionParameters", "args": [{"type": "boolean", "var": "$extension.properties.extensionParameters.autoUpgradeMinorVersion", "options": ["auto-upgrade"], "group": "ExtensionParameters", "help": {"short": "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."}}, {"type": "boolean", "var": "$extension.properties.extensionParameters.enableAutomaticUpgrade", "options": ["enable-automatic-upgrade"], "hide": true, "group": "ExtensionParameters", "help": {"short": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available."}}, {"type": "string", "var": "$extension.properties.extensionParameters.forceUpdateTag", "options": ["force-update-tag"], "group": "ExtensionParameters", "help": {"short": "How the extension handler should be forced to update even if the extension configuration has not changed."}}, {"type": "object", "var": "$extension.properties.extensionParameters.protectedSettings", "options": ["protected-settings"], "group": "ExtensionParameters", "help": {"short": "Protected settings (may contain secrets)."}, "additionalProps": {"anyType": true}}, {"type": "string", "var": "$extension.properties.extensionParameters.publisher", "options": ["publisher"], "group": "ExtensionParameters", "help": {"short": "The name of the extension handler publisher."}}, {"type": "object", "var": "$extension.properties.extensionParameters.settings", "options": ["settings"], "group": "ExtensionParameters", "help": {"short": "Json formatted public settings for the extension."}, "additionalProps": {"anyType": true}}, {"type": "string", "var": "$extension.properties.extensionParameters.type", "options": ["type"], "group": "ExtensionParameters", "help": {"short": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."}}, {"type": "string", "var": "$extension.properties.extensionParameters.typeHandlerVersion", "options": ["type-handler-version"], "group": "ExtensionParameters", "help": {"short": "Specifies the version of the script handler. Latest version would be used if not specified."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Extensions_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "arcSettingName", "arg": "$Path.arcSettingName", "required": true}, {"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true}, {"type": "string", "name": "extensionName", "arg": "$Path.extensionName", "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}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "extension", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "extensionParameters", "props": [{"type": "boolean", "name": "autoUpgradeMinorVersion", "arg": "$extension.properties.extensionParameters.autoUpgradeMinorVersion"}, {"type": "boolean", "name": "enableAutomaticUpgrade", "arg": "$extension.properties.extensionParameters.enableAutomaticUpgrade"}, {"type": "string", "name": "forceUpdateTag", "arg": "$extension.properties.extensionParameters.forceUpdateTag"}, {"type": "object", "name": "protectedSettings", "arg": "$extension.properties.extensionParameters.protectedSettings", "secret": true, "additionalProps": {"anyType": true}}, {"type": "string", "name": "publisher", "arg": "$extension.properties.extensionParameters.publisher"}, {"type": "object", "name": "settings", "arg": "$extension.properties.extensionParameters.settings", "additionalProps": {"anyType": true}}, {"type": "string", "name": "type", "arg": "$extension.properties.extensionParameters.type"}, {"type": "string", "name": "typeHandlerVersion", "arg": "$extension.properties.extensionParameters.typeHandlerVersion"}]}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.AzureStackHCI/clusters/{}/arcSettings/{}/extensions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "aggregateState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}, {"value": "UpgradeFailedRollbackSucceeded"}]}}, {"type": "object", "name": "extensionParameters", "props": [{"type": "boolean", "name": "autoUpgradeMinorVersion"}, {"type": "boolean", "name": "enableAutomaticUpgrade"}, {"type": "string", "name": "forceUpdateTag"}, {"type": "object", "name": "protectedSettings", "secret": true, "additionalProps": {"anyType": true}}, {"type": "string", "name": "publisher"}, {"type": "object", "name": "settings", "additionalProps": {"anyType": true}}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "managedBy", "enum": {"items": [{"value": "Azure"}, {"value": "User"}]}}, {"readOnly": true, "type": "array", "name": "perNodeExtensionDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "extension"}, {"type": "object", "name": "instanceView", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "status", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "typeHandlerVersion"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"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": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2023-03-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.azurestackhci/clusters/{}/arcsettings/{}/extensions/{}", "version": "2023-03-01", "swagger": "mgmt-plane/azurestackhci/ResourceProviders/Microsoft.AzureStackHCI/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXp1cmVTdGFja0hDSS9jbHVzdGVycy97Y2x1c3Rlck5hbWV9L2FyY1NldHRpbmdzL3thcmNTZXR0aW5nTmFtZX0vZXh0ZW5zaW9ucy97ZXh0ZW5zaW9uTmFtZX0=/V/MjAyMy0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.arcSettingName", "options": ["arc-setting-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the proxy resource holding details of HCI ArcSetting information."}}, {"type": "string", "var": "$Path.clusterName", "options": ["cluster-name"], "required": true, "idPart": "name", "help": {"short": "The name of the cluster."}}, {"type": "string", "var": "$Path.extensionName", "options": ["n", "name", "extension-name"], "required": true, "idPart": "child_name_2", "help": {"short": "The name of the machine extension."}}, {"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"}]}, {"name": "ExtensionParameters", "args": [{"nullable": true, "type": "boolean", "var": "$extension.properties.extensionParameters.autoUpgradeMinorVersion", "options": ["auto-upgrade"], "group": "ExtensionParameters", "help": {"short": "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."}}, {"nullable": true, "type": "boolean", "var": "$extension.properties.extensionParameters.enableAutomaticUpgrade", "options": ["enable-automatic-upgrade"], "group": "ExtensionParameters", "help": {"short": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available."}}, {"nullable": true, "type": "string", "var": "$extension.properties.extensionParameters.forceUpdateTag", "options": ["force-update-tag"], "group": "ExtensionParameters", "help": {"short": "How the extension handler should be forced to update even if the extension configuration has not changed."}}, {"nullable": true, "type": "object", "var": "$extension.properties.extensionParameters.protectedSettings", "options": ["protected-settings"], "group": "ExtensionParameters", "help": {"short": "Protected settings (may contain secrets)."}, "additionalProps": {"anyType": true}}, {"nullable": true, "type": "string", "var": "$extension.properties.extensionParameters.publisher", "options": ["publisher"], "group": "ExtensionParameters", "help": {"short": "The name of the extension handler publisher."}}, {"nullable": true, "type": "object", "var": "$extension.properties.extensionParameters.settings", "options": ["settings"], "group": "ExtensionParameters", "help": {"short": "Json formatted public settings for the extension."}, "additionalProps": {"anyType": true}}, {"nullable": true, "type": "string", "var": "$extension.properties.extensionParameters.type", "options": ["type"], "group": "ExtensionParameters", "help": {"short": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."}}, {"nullable": true, "type": "string", "var": "$extension.properties.extensionParameters.typeHandlerVersion", "options": ["type-handler-version"], "group": "ExtensionParameters", "help": {"short": "Specifies the version of the script handler. Latest version would be used if not specified."}}]}], "operations": [{"operationId": "Extensions_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "arcSettingName", "arg": "$Path.arcSettingName", "required": true}, {"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true}, {"type": "string", "name": "extensionName", "arg": "$Path.extensionName", "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}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-03-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.AzureStackHCI/clusters/{}/arcSettings/{}/extensions/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "aggregateState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}, {"value": "UpgradeFailedRollbackSucceeded"}]}}, {"type": "object", "name": "extensionParameters", "props": [{"type": "boolean", "name": "autoUpgradeMinorVersion"}, {"type": "boolean", "name": "enableAutomaticUpgrade"}, {"type": "string", "name": "forceUpdateTag"}, {"type": "object", "name": "protectedSettings", "secret": true, "additionalProps": {"anyType": true}}, {"type": "string", "name": "publisher"}, {"type": "object", "name": "settings", "additionalProps": {"anyType": true}}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "managedBy", "enum": {"items": [{"value": "Azure"}, {"value": "User"}]}}, {"readOnly": true, "type": "array", "name": "perNodeExtensionDetails", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "extension"}, {"type": "object", "name": "instanceView", "props": [{"type": "string", "name": "name"}, {"type": "object", "name": "status", "props": [{"type": "string", "name": "code"}, {"type": "string", "name": "displayStatus"}, {"type": "string", "name": "level", "enum": {"items": [{"value": "Error"}, {"value": "Info"}, {"value": "Warning"}]}}, {"type": "string", "name": "message"}, {"type": "dateTime", "name": "time"}]}, {"type": "string", "name": "type"}, {"type": "string", "name": "typeHandlerVersion"}]}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "state", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"readOnly": true, "type": "string", "name": "typeHandlerVersion"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Connected"}, {"value": "Creating"}, {"value": "Deleted"}, {"value": "Deleting"}, {"value": "Disconnected"}, {"value": "Error"}, {"value": "Failed"}, {"value": "InProgress"}, {"value": "Moving"}, {"value": "NotSpecified"}, {"value": "PartiallyConnected"}, {"value": "PartiallySucceeded"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Extension_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "extension", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "object", "name": "extensionParameters", "props": [{"type": "boolean", "name": "autoUpgradeMinorVersion", "arg": "$extension.properties.extensionParameters.autoUpgradeMinorVersion"}, {"type": "boolean", "name": "enableAutomaticUpgrade", "arg": "$extension.properties.extensionParameters.enableAutomaticUpgrade"}, {"type": "string", "name": "forceUpdateTag", "arg": "$extension.properties.extensionParameters.forceUpdateTag"}, {"type": "object", "name": "protectedSettings", "arg": "$extension.properties.extensionParameters.protectedSettings", "secret": true, "additionalProps": {"anyType": true}}, {"type": "string", "name": "publisher", "arg": "$extension.properties.extensionParameters.publisher"}, {"type": "object", "name": "settings", "arg": "$extension.properties.extensionParameters.settings", "additionalProps": {"anyType": true}}, {"type": "string", "name": "type", "arg": "$extension.properties.extensionParameters.type"}, {"type": "string", "name": "typeHandlerVersion", "arg": "$extension.properties.extensionParameters.typeHandlerVersion"}]}], "clientFlatten": true}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Extensions_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/extensions/{extensionName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "arcSettingName", "arg": "$Path.arcSettingName", "required": true}, {"type": "string", "name": "clusterName", "arg": "$Path.clusterName", "required": true}, {"type": "string", "name": "extensionName", "arg": "$Path.extensionName", "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}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2023-03-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Extension_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnMve30=/2023-03-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnMve30=/2023-03-01.xml index 0112a99bf..0f8ef9557 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnMve30=/2023-03-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5henVyZXN0YWNraGNpL2NsdXN0ZXJzL3t9L2FyY3NldHRpbmdzL3t9L2V4dGVuc2lvbnMve30=/2023-03-01.xml @@ -74,11 +74,11 @@ - + - + @@ -272,18 +272,14 @@ - - - + - - - + @@ -322,11 +318,11 @@ - + - + @@ -372,11 +368,11 @@ - + - + @@ -520,18 +516,14 @@ - - - + - - - + @@ -597,11 +589,11 @@ - + - + @@ -726,11 +718,11 @@ - + - +