diff --git a/Commands/networkcloud/accessbridge/_update.md b/Commands/networkcloud/accessbridge/_update.md index 0d6e2e40d..9616d3358 100644 --- a/Commands/networkcloud/accessbridge/_update.md +++ b/Commands/networkcloud/accessbridge/_update.md @@ -34,5 +34,5 @@ Update properties of the provided access bridge, or update tags associated with - Patch access bridge resource ```bash - etworkcloud accessbridge update --resource-group resourceGroupName --access-bridge-name Bastion --security-rules "[{description:'Allow management plane egress',port:24562-24570,ipv4-addresses:[10.10.20.10-10.10.20.20],ipv6-addresses:['2001:db8:abcd:12::1000-2001:db8:abcd:12::1fff'],direction:Outbound}]" + networkcloud accessbridge update --resource-group resourceGroupName --access-bridge-name Bastion --security-rules "[{description:'Allow management plane egress',port:24562-24570,ipv4-addresses:[10.10.20.10-10.10.20.20],ipv6-addresses:['2001:db8:abcd:12::1000-2001:db8:abcd:12::1fff'],direction:Outbound}]" ``` diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrY2xvdWQvdmlydHVhbG1hY2hpbmVzL3t9L2NvbnNvbGVzL3t9/2026-07-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrY2xvdWQvdmlydHVhbG1hY2hpbmVzL3t9L2NvbnNvbGVzL3t9/2026-07-01.json index 1977122b5..182bd8efa 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrY2xvdWQvdmlydHVhbG1hY2hpbmVzL3t9L2NvbnNvbGVzL3t9/2026-07-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrY2xvdWQvdmlydHVhbG1hY2hpbmVzL3t9L2NvbnNvbGVzL3t9/2026-07-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/virtualmachines/{}/consoles/{}", "version": "2026-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbE1hY2hpbmVOYW1lfS9jb25zb2xlcy97Y29uc29sZU5hbWV9/V/MjAyNi0wNy0wMQ=="}], "commandGroups": [{"name": "networkcloud virtualmachine console", "commands": [{"name": "show", "version": "2026-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/virtualmachines/{}/consoles/{}", "version": "2026-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbE1hY2hpbmVOYW1lfS9jb25zb2xlcy97Y29uc29sZU5hbWV9/V/MjAyNi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.consoleName", "options": ["n", "name", "console-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine console."}, "format": {"pattern": "^default$"}}, {"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.virtualMachineName", "options": ["virtual-machine-name"], "required": true, "idPart": "name", "help": {"short": "The name of the virtual machine."}, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}], "operations": [{"operationId": "Consoles_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "consoleName", "arg": "$Path.consoleName", "required": true, "format": {"pattern": "^default$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualMachineName", "arg": "$Path.virtualMachineName", "required": true, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-07-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": "etag"}, {"type": "object", "name": "extendedLocation", "required": true, "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "CustomLocation"}, {"value": "EdgeZone"}]}}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetworkCloud/virtualMachines/{}/consoles/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "detailedStatus", "enum": {"items": [{"value": "Error"}, {"value": "Ready"}]}}, {"readOnly": true, "type": "string", "name": "detailedStatusMessage"}, {"type": "string", "name": "enabled", "required": true, "enum": {"items": [{"value": "False"}, {"value": "True"}]}}, {"type": "dateTime", "name": "expiration", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "ResourceId", "name": "privateLinkServiceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "sshPublicKey", "required": true, "props": [{"type": "string", "name": "keyData", "required": true, "format": {"minLength": 1}}]}, {"readOnly": true, "type": "string", "name": "virtualMachineAccessId"}], "clientFlatten": true}, {"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"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/virtualmachines/{}/consoles/{}", "version": "2026-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbE1hY2hpbmVOYW1lfS9jb25zb2xlcy97Y29uc29sZU5hbWV9/V/MjAyNi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "help": {"short": "The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes."}}, {"type": "string", "var": "$Header.If-None-Match", "options": ["if-none-match"], "help": {"short": "Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported."}}, {"type": "string", "var": "$Path.consoleName", "options": ["n", "name", "console-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine console."}, "format": {"pattern": "^default$"}}, {"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.virtualMachineName", "options": ["virtual-machine-name"], "required": true, "idPart": "name", "help": {"short": "The name of the virtual machine."}, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Consoles_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "consoleName", "arg": "$Path.consoleName", "required": true, "format": {"pattern": "^default$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualMachineName", "arg": "$Path.virtualMachineName", "required": true, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}, {"type": "string", "name": "If-None-Match", "arg": "$Header.If-None-Match"}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "dateTime", "name": "endTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "info", "additionalProps": {"readOnly": true, "item": {"type": "any"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "array<@ErrorDetail_read>", "name": "details", "item": {"type": "@ErrorDetail_read"}, "identifiers": ["target", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "target"}], "cls": "ErrorDetail_read"}, {"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "array<@OperationStatusResult_read>", "name": "operations", "item": {"type": "@OperationStatusResult_read"}}, {"readOnly": true, "type": "float32", "name": "percentComplete", "format": {"maximum": 100.0, "minimum": 0.0}}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "exitCode"}, {"readOnly": true, "type": "string", "name": "outputHead"}, {"readOnly": true, "type": "string", "name": "resultRef"}, {"readOnly": true, "type": "string", "name": "resultUrl"}], "clientFlatten": true}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}, {"readOnly": true, "type": "dateTime", "name": "startTime", "format": {"protocol": "iso"}}, {"type": "string", "name": "status", "required": true}], "cls": "OperationStatusResult_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": ""}, {"name": "create", "version": "2026-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/virtualmachines/{}/consoles/{}", "version": "2026-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbE1hY2hpbmVOYW1lfS9jb25zb2xlcy97Y29uc29sZU5hbWV9/V/MjAyNi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "help": {"short": "The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes."}}, {"type": "string", "var": "$Header.If-None-Match", "options": ["if-none-match"], "help": {"short": "Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported."}}, {"type": "string", "var": "$Path.consoleName", "options": ["n", "name", "console-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine console."}, "format": {"pattern": "^default$"}}, {"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.virtualMachineName", "options": ["virtual-machine-name"], "required": true, "idPart": "name", "help": {"short": "The name of the virtual machine."}, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}, {"name": "ConsoleParameters", "args": [{"type": "object", "var": "$consoleParameters.extendedLocation", "options": ["extended-location"], "required": true, "group": "ConsoleParameters", "help": {"short": "The extended location of the cluster manager associated with the cluster this virtual machine is created on."}, "args": [{"type": "string", "var": "$consoleParameters.extendedLocation.name", "options": ["name"], "required": true, "help": {"short": "The resource ID of the extended location on which the resource will be created."}}, {"type": "string", "var": "$consoleParameters.extendedLocation.type", "options": ["type"], "required": true, "help": {"short": "The extended location type, for example, CustomLocation."}, "enum": {"items": [{"name": "CustomLocation", "value": "CustomLocation"}, {"name": "EdgeZone", "value": "EdgeZone"}]}}]}, {"type": "ResourceLocation", "var": "$consoleParameters.location", "options": ["l", "location"], "required": true, "group": "ConsoleParameters", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$consoleParameters.tags", "options": ["tags"], "group": "ConsoleParameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$consoleParameters.properties.enabled", "options": ["enabled"], "required": true, "group": "Properties", "help": {"short": "The indicator of whether the console access is enabled."}, "enum": {"items": [{"name": "False", "value": "False"}, {"name": "True", "value": "True"}]}}, {"type": "dateTime", "var": "$consoleParameters.properties.expiration", "options": ["expiration"], "group": "Properties", "help": {"short": "The date and time after which the key will be disallowed access."}, "format": {"protocol": "iso"}}, {"type": "object", "var": "$consoleParameters.properties.sshPublicKey", "options": ["ssh-public-key"], "required": true, "group": "Properties", "help": {"short": "The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in."}, "args": [{"type": "string", "var": "$consoleParameters.properties.sshPublicKey.keyData", "options": ["key-data"], "required": true, "help": {"short": "The public ssh key of the user."}, "format": {"minLength": 1}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Consoles_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "consoleName", "arg": "$Path.consoleName", "required": true, "format": {"pattern": "^default$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualMachineName", "arg": "$Path.virtualMachineName", "required": true, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}, {"type": "string", "name": "If-None-Match", "arg": "$Header.If-None-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "consoleParameters", "required": true, "props": [{"type": "object", "name": "extendedLocation", "arg": "$consoleParameters.extendedLocation", "required": true, "props": [{"type": "string", "name": "name", "arg": "$consoleParameters.extendedLocation.name", "required": true}, {"type": "string", "name": "type", "arg": "$consoleParameters.extendedLocation.type", "required": true, "enum": {"items": [{"value": "CustomLocation"}, {"value": "EdgeZone"}]}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$consoleParameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "enabled", "arg": "$consoleParameters.properties.enabled", "required": true, "enum": {"items": [{"value": "False"}, {"value": "True"}]}}, {"type": "dateTime", "name": "expiration", "arg": "$consoleParameters.properties.expiration", "format": {"protocol": "iso"}}, {"type": "object", "name": "sshPublicKey", "arg": "$consoleParameters.properties.sshPublicKey", "required": true, "props": [{"type": "string", "name": "keyData", "arg": "$consoleParameters.properties.sshPublicKey.keyData", "required": true, "format": {"minLength": 1}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$consoleParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "required": true, "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "CustomLocation"}, {"value": "EdgeZone"}]}}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetworkCloud/virtualMachines/{}/consoles/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "detailedStatus", "enum": {"items": [{"value": "Error"}, {"value": "Ready"}]}}, {"readOnly": true, "type": "string", "name": "detailedStatusMessage"}, {"type": "string", "name": "enabled", "required": true, "enum": {"items": [{"value": "False"}, {"value": "True"}]}}, {"type": "dateTime", "name": "expiration", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "ResourceId", "name": "privateLinkServiceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "sshPublicKey", "required": true, "props": [{"type": "string", "name": "keyData", "required": true, "format": {"minLength": 1}}]}, {"readOnly": true, "type": "string", "name": "virtualMachineAccessId"}], "clientFlatten": true}, {"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"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/virtualmachines/{}/consoles/{}", "version": "2026-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbE1hY2hpbmVOYW1lfS9jb25zb2xlcy97Y29uc29sZU5hbWV9/V/MjAyNi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "help": {"short": "The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes."}}, {"type": "string", "var": "$Header.If-None-Match", "options": ["if-none-match"], "help": {"short": "Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported."}}, {"type": "string", "var": "$Path.consoleName", "options": ["n", "name", "console-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine console."}, "format": {"pattern": "^default$"}}, {"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.virtualMachineName", "options": ["virtual-machine-name"], "required": true, "idPart": "name", "help": {"short": "The name of the virtual machine."}, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}, {"name": "ConsoleUpdateParameters", "args": [{"type": "object", "var": "$consoleUpdateParameters.tags", "options": ["tags"], "group": "ConsoleUpdateParameters", "help": {"short": "The Azure resource tags that will replace the existing ones."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$consoleUpdateParameters.properties.enabled", "options": ["enabled"], "group": "Properties", "help": {"short": "The indicator of whether the console access is enabled."}, "enum": {"items": [{"name": "False", "value": "False"}, {"name": "True", "value": "True"}]}}, {"type": "dateTime", "var": "$consoleUpdateParameters.properties.expiration", "options": ["expiration"], "group": "Properties", "help": {"short": "The date and time after which the key will be disallowed access."}, "format": {"protocol": "iso"}}, {"type": "object", "var": "$consoleUpdateParameters.properties.sshPublicKey", "options": ["ssh-public-key"], "group": "Properties", "help": {"short": "The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in."}, "args": [{"type": "string", "var": "$consoleUpdateParameters.properties.sshPublicKey.keyData", "options": ["key-data"], "help": {"short": "The public ssh key of the user."}, "format": {"minLength": 1}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Consoles_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "consoleName", "arg": "$Path.consoleName", "required": true, "format": {"pattern": "^default$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualMachineName", "arg": "$Path.virtualMachineName", "required": true, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}, {"type": "string", "name": "If-None-Match", "arg": "$Header.If-None-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "consoleUpdateParameters", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "enabled", "arg": "$consoleUpdateParameters.properties.enabled", "enum": {"items": [{"value": "False"}, {"value": "True"}]}}, {"type": "dateTime", "name": "expiration", "arg": "$consoleUpdateParameters.properties.expiration", "format": {"protocol": "iso"}}, {"type": "object", "name": "sshPublicKey", "arg": "$consoleUpdateParameters.properties.sshPublicKey", "props": [{"type": "string", "name": "keyData", "arg": "$consoleUpdateParameters.properties.sshPublicKey.keyData", "format": {"minLength": 1}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$consoleUpdateParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "required": true, "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "CustomLocation"}, {"value": "EdgeZone"}]}}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetworkCloud/virtualMachines/{}/consoles/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "detailedStatus", "enum": {"items": [{"value": "Error"}, {"value": "Ready"}]}}, {"readOnly": true, "type": "string", "name": "detailedStatusMessage"}, {"type": "string", "name": "enabled", "required": true, "enum": {"items": [{"value": "False"}, {"value": "True"}]}}, {"type": "dateTime", "name": "expiration", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "ResourceId", "name": "privateLinkServiceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "sshPublicKey", "required": true, "props": [{"type": "string", "name": "keyData", "required": true, "format": {"minLength": 1}}]}, {"readOnly": true, "type": "string", "name": "virtualMachineAccessId"}], "clientFlatten": true}, {"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"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}}, {"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.networkcloud/virtualmachines/{}/consoles/{}", "version": "2026-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbE1hY2hpbmVOYW1lfS9jb25zb2xlcy97Y29uc29sZU5hbWV9/V/MjAyNi0wNy0wMQ=="}], "commandGroups": [{"name": "networkcloud virtualmachine console", "commands": [{"name": "show", "version": "2026-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/virtualmachines/{}/consoles/{}", "version": "2026-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbE1hY2hpbmVOYW1lfS9jb25zb2xlcy97Y29uc29sZU5hbWV9/V/MjAyNi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.consoleName", "options": ["n", "name", "console-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine console."}, "format": {"pattern": "^default$"}}, {"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.virtualMachineName", "options": ["virtual-machine-name"], "required": true, "idPart": "name", "help": {"short": "The name of the virtual machine."}, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}], "operations": [{"operationId": "Consoles_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "consoleName", "arg": "$Path.consoleName", "required": true, "format": {"pattern": "^default$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualMachineName", "arg": "$Path.virtualMachineName", "required": true, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-07-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": "etag"}, {"type": "object", "name": "extendedLocation", "required": true, "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "CustomLocation"}, {"value": "EdgeZone"}]}}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetworkCloud/virtualMachines/{}/consoles/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "detailedStatus", "enum": {"items": [{"value": "Error"}, {"value": "Ready"}]}}, {"readOnly": true, "type": "string", "name": "detailedStatusMessage"}, {"type": "string", "name": "enabled", "required": true, "enum": {"items": [{"value": "False"}, {"value": "True"}]}}, {"type": "dateTime", "name": "expiration", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "ResourceId", "name": "privateLinkServiceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "sshPublicKey", "required": true, "props": [{"type": "string", "name": "keyData", "required": true, "format": {"minLength": 1}}]}, {"readOnly": true, "type": "string", "name": "virtualMachineAccessId"}], "clientFlatten": true}, {"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"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2026-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/virtualmachines/{}/consoles/{}", "version": "2026-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbE1hY2hpbmVOYW1lfS9jb25zb2xlcy97Y29uc29sZU5hbWV9/V/MjAyNi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "help": {"short": "The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes."}}, {"type": "string", "var": "$Header.If-None-Match", "options": ["if-none-match"], "help": {"short": "Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported."}}, {"type": "string", "var": "$Path.consoleName", "options": ["n", "name", "console-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine console."}, "format": {"pattern": "^default$"}}, {"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.virtualMachineName", "options": ["virtual-machine-name"], "required": true, "idPart": "name", "help": {"short": "The name of the virtual machine."}, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Consoles_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "consoleName", "arg": "$Path.consoleName", "required": true, "format": {"pattern": "^default$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualMachineName", "arg": "$Path.virtualMachineName", "required": true, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}, {"type": "string", "name": "If-None-Match", "arg": "$Header.If-None-Match"}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "dateTime", "name": "endTime", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "object", "name": "error", "props": [{"readOnly": true, "type": "array", "name": "additionalInfo", "item": {"type": "object", "props": [{"readOnly": true, "type": "object", "name": "info", "additionalProps": {"readOnly": true, "item": {"type": "any"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"readOnly": true, "type": "string", "name": "code"}, {"readOnly": true, "type": "array<@ErrorDetail_read>", "name": "details", "item": {"type": "@ErrorDetail_read"}, "identifiers": ["target", "message"]}, {"readOnly": true, "type": "string", "name": "message"}, {"readOnly": true, "type": "string", "name": "target"}], "cls": "ErrorDetail_read"}, {"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"readOnly": true, "type": "array<@OperationStatusResult_read>", "name": "operations", "item": {"type": "@OperationStatusResult_read"}}, {"readOnly": true, "type": "float32", "name": "percentComplete", "format": {"maximum": 100.0, "minimum": 0.0}}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "exitCode"}, {"readOnly": true, "type": "string", "name": "outputHead"}, {"readOnly": true, "type": "string", "name": "resultRef"}, {"readOnly": true, "type": "string", "name": "resultUrl"}], "clientFlatten": true}, {"readOnly": true, "type": "ResourceId", "name": "resourceId"}, {"readOnly": true, "type": "dateTime", "name": "startTime", "format": {"protocol": "iso"}}, {"type": "string", "name": "status", "required": true}], "cls": "OperationStatusResult_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2026-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/virtualmachines/{}/consoles/{}", "version": "2026-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbE1hY2hpbmVOYW1lfS9jb25zb2xlcy97Y29uc29sZU5hbWV9/V/MjAyNi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "help": {"short": "The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes."}}, {"type": "string", "var": "$Header.If-None-Match", "options": ["if-none-match"], "help": {"short": "Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported."}}, {"type": "string", "var": "$Path.consoleName", "options": ["n", "name", "console-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine console."}, "format": {"pattern": "^default$"}}, {"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.virtualMachineName", "options": ["virtual-machine-name"], "required": true, "idPart": "name", "help": {"short": "The name of the virtual machine."}, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}, {"name": "ConsoleParameters", "args": [{"type": "object", "var": "$consoleParameters.extendedLocation", "options": ["extended-location"], "required": true, "group": "ConsoleParameters", "help": {"short": "The extended location of the cluster manager associated with the cluster this virtual machine is created on."}, "args": [{"type": "string", "var": "$consoleParameters.extendedLocation.name", "options": ["name"], "required": true, "help": {"short": "The resource ID of the extended location on which the resource will be created."}}, {"type": "string", "var": "$consoleParameters.extendedLocation.type", "options": ["type"], "required": true, "help": {"short": "The extended location type, for example, CustomLocation."}, "enum": {"items": [{"name": "CustomLocation", "value": "CustomLocation"}, {"name": "EdgeZone", "value": "EdgeZone"}]}}]}, {"type": "ResourceLocation", "var": "$consoleParameters.location", "options": ["l", "location"], "required": true, "group": "ConsoleParameters", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$consoleParameters.tags", "options": ["tags"], "group": "ConsoleParameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$consoleParameters.properties.enabled", "options": ["enabled"], "required": true, "group": "Properties", "help": {"short": "The indicator of whether the console access is enabled."}, "enum": {"items": [{"name": "False", "value": "False"}, {"name": "True", "value": "True"}]}}, {"type": "dateTime", "var": "$consoleParameters.properties.expiration", "options": ["expiration"], "group": "Properties", "help": {"short": "The date and time after which the key will be disallowed access."}, "format": {"protocol": "iso"}}, {"type": "object", "var": "$consoleParameters.properties.sshPublicKey", "options": ["ssh-public-key"], "required": true, "group": "Properties", "help": {"short": "The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in."}, "args": [{"type": "string", "var": "$consoleParameters.properties.sshPublicKey.keyData", "options": ["key-data"], "required": true, "help": {"short": "The public ssh key of the user."}, "format": {"minLength": 1}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Consoles_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "consoleName", "arg": "$Path.consoleName", "required": true, "format": {"pattern": "^default$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualMachineName", "arg": "$Path.virtualMachineName", "required": true, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}, {"type": "string", "name": "If-None-Match", "arg": "$Header.If-None-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "consoleParameters", "required": true, "props": [{"type": "object", "name": "extendedLocation", "arg": "$consoleParameters.extendedLocation", "required": true, "props": [{"type": "string", "name": "name", "arg": "$consoleParameters.extendedLocation.name", "required": true}, {"type": "string", "name": "type", "arg": "$consoleParameters.extendedLocation.type", "required": true, "enum": {"items": [{"value": "CustomLocation"}, {"value": "EdgeZone"}]}}]}, {"type": "ResourceLocation", "name": "location", "arg": "$consoleParameters.location", "required": true}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "string", "name": "enabled", "arg": "$consoleParameters.properties.enabled", "required": true, "enum": {"items": [{"value": "False"}, {"value": "True"}]}}, {"type": "dateTime", "name": "expiration", "arg": "$consoleParameters.properties.expiration", "format": {"protocol": "iso"}}, {"type": "object", "name": "sshPublicKey", "arg": "$consoleParameters.properties.sshPublicKey", "required": true, "props": [{"type": "string", "name": "keyData", "arg": "$consoleParameters.properties.sshPublicKey.keyData", "required": true, "format": {"minLength": 1}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$consoleParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "required": true, "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "CustomLocation"}, {"value": "EdgeZone"}]}}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetworkCloud/virtualMachines/{}/consoles/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "detailedStatus", "enum": {"items": [{"value": "Error"}, {"value": "Ready"}]}}, {"readOnly": true, "type": "string", "name": "detailedStatusMessage"}, {"type": "string", "name": "enabled", "required": true, "enum": {"items": [{"value": "False"}, {"value": "True"}]}}, {"type": "dateTime", "name": "expiration", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "ResourceId", "name": "privateLinkServiceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "sshPublicKey", "required": true, "props": [{"type": "string", "name": "keyData", "required": true, "format": {"minLength": 1}}]}, {"readOnly": true, "type": "string", "name": "virtualMachineAccessId"}], "clientFlatten": true}, {"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"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2026-07-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.networkcloud/virtualmachines/{}/consoles/{}", "version": "2026-07-01", "swagger": "mgmt-plane/networkcloud/ResourceProviders/Microsoft.NetworkCloud/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29ya0Nsb3VkL3ZpcnR1YWxNYWNoaW5lcy97dmlydHVhbE1hY2hpbmVOYW1lfS9jb25zb2xlcy97Y29uc29sZU5hbWV9/V/MjAyNi0wNy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Header.If-Match", "options": ["if-match"], "help": {"short": "The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes."}}, {"type": "string", "var": "$Header.If-None-Match", "options": ["if-none-match"], "help": {"short": "Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported."}}, {"type": "string", "var": "$Path.consoleName", "options": ["n", "name", "console-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the virtual machine console."}, "format": {"pattern": "^default$"}}, {"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.virtualMachineName", "options": ["virtual-machine-name"], "required": true, "idPart": "name", "help": {"short": "The name of the virtual machine."}, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}, {"name": "ConsoleUpdateParameters", "args": [{"type": "object", "var": "$consoleUpdateParameters.tags", "options": ["tags"], "group": "ConsoleUpdateParameters", "help": {"short": "The Azure resource tags that will replace the existing ones."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$consoleUpdateParameters.properties.enabled", "options": ["enabled"], "group": "Properties", "help": {"short": "The indicator of whether the console access is enabled."}, "enum": {"items": [{"name": "False", "value": "False"}, {"name": "True", "value": "True"}]}}, {"type": "dateTime", "var": "$consoleUpdateParameters.properties.expiration", "options": ["expiration"], "group": "Properties", "help": {"short": "The date and time after which the key will be disallowed access."}, "format": {"protocol": "iso"}}, {"type": "object", "var": "$consoleUpdateParameters.properties.sshPublicKey", "options": ["ssh-public-key"], "group": "Properties", "help": {"short": "The SSH public key that will be provisioned for user access. The user is expected to have the corresponding SSH private key for logging in."}, "args": [{"type": "string", "var": "$consoleUpdateParameters.properties.sshPublicKey.keyData", "options": ["key-data"], "help": {"short": "The public ssh key of the user."}, "format": {"minLength": 1}}]}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Consoles_Update", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkCloud/virtualMachines/{virtualMachineName}/consoles/{consoleName}", "request": {"method": "patch", "path": {"params": [{"type": "string", "name": "consoleName", "arg": "$Path.consoleName", "required": true, "format": {"pattern": "^default$"}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualMachineName", "arg": "$Path.virtualMachineName", "required": true, "format": {"pattern": "^([a-zA-Z0-9][a-zA-Z0-9]{0,62}[a-zA-Z0-9])$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-07-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "header": {"params": [{"type": "string", "name": "If-Match", "arg": "$Header.If-Match"}, {"type": "string", "name": "If-None-Match", "arg": "$Header.If-None-Match"}]}, "body": {"json": {"schema": {"type": "object", "name": "consoleUpdateParameters", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "enabled", "arg": "$consoleUpdateParameters.properties.enabled", "enum": {"items": [{"value": "False"}, {"value": "True"}]}}, {"type": "dateTime", "name": "expiration", "arg": "$consoleUpdateParameters.properties.expiration", "format": {"protocol": "iso"}}, {"type": "object", "name": "sshPublicKey", "arg": "$consoleUpdateParameters.properties.sshPublicKey", "props": [{"type": "string", "name": "keyData", "arg": "$consoleUpdateParameters.properties.sshPublicKey.keyData", "format": {"minLength": 1}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$consoleUpdateParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "object", "name": "extendedLocation", "required": true, "props": [{"type": "string", "name": "name", "required": true}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "CustomLocation"}, {"value": "EdgeZone"}]}}]}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.NetworkCloud/virtualMachines/{}/consoles/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"readOnly": true, "type": "string", "name": "detailedStatus", "enum": {"items": [{"value": "Error"}, {"value": "Ready"}]}}, {"readOnly": true, "type": "string", "name": "detailedStatusMessage"}, {"type": "string", "name": "enabled", "required": true, "enum": {"items": [{"value": "False"}, {"value": "True"}]}}, {"type": "dateTime", "name": "expiration", "format": {"protocol": "iso"}}, {"readOnly": true, "type": "ResourceId", "name": "privateLinkServiceId"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}]}}, {"type": "object", "name": "sshPublicKey", "required": true, "props": [{"type": "string", "name": "keyData", "required": true, "format": {"minLength": 1}}]}, {"readOnly": true, "type": "string", "name": "virtualMachineAccessId"}], "clientFlatten": true}, {"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"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"statusCode": [202], "header": {"items": [{"name": "Azure-AsyncOperation"}, {"name": "Location"}]}}, {"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/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrY2xvdWQvdmlydHVhbG1hY2hpbmVzL3t9L2NvbnNvbGVzL3t9/2026-07-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrY2xvdWQvdmlydHVhbG1hY2hpbmVzL3t9L2NvbnNvbGVzL3t9/2026-07-01.xml index 74fd951ce..d970f5272 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrY2xvdWQvdmlydHVhbG1hY2hpbmVzL3t9L2NvbnNvbGVzL3t9/2026-07-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrY2xvdWQvdmlydHVhbG1hY2hpbmVzL3t9L2NvbnNvbGVzL3t9/2026-07-01.xml @@ -138,7 +138,7 @@ - +