diff --git a/Commands/network/bastion/_create.md b/Commands/network/bastion/_create.md index 630a857c2..eb6bac619 100644 --- a/Commands/network/bastion/_create.md +++ b/Commands/network/bastion/_create.md @@ -30,3 +30,13 @@ Create the specified Bastion Host. ```bash network bastion create --location westus2 --name MyBastionHost --public-ip-address MyPublicIpAddress --resource-group MyResourceGroup --vnet-name MyVnet --zones 1 2 3 --sku Premium --session-recording ``` + +- Create Developer SKU Bastion + ```bash + network bastion create --name MyBastion --resource-group MyResourceGroup --sku Developer --vnet-name MyVnet + ``` + +- Create Developer SKU Bastion with Network ACLs IP rules + ```bash + network bastion create --name MyBastion --resource-group MyResourceGroup --sku Developer --vnet-name MyVnet --network-acls-ips "1.1.1.1/16 100.64.0.0/10" + ``` diff --git a/Commands/tree.json b/Commands/tree.json index 9a834111a..1ae0f850b 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -107640,6 +107640,18 @@ "network bastion create --location westus2 --name MyBastionHost --public-ip-address MyPublicIpAddress --resource-group MyResourceGroup --vnet-name MyVnet --zones 1 2 3 --sku Premium --session-recording" ], "name": "Create Bastion Host with Session Recording." + }, + { + "commands": [ + "network bastion create --name MyBastion --resource-group MyResourceGroup --sku Developer --vnet-name MyVnet" + ], + "name": "Create Developer SKU Bastion" + }, + { + "commands": [ + "network bastion create --name MyBastion --resource-group MyResourceGroup --sku Developer --vnet-name MyVnet --network-acls-ips \"1.1.1.1/16 100.64.0.0/10\"" + ], + "name": "Create Developer SKU Bastion with Network ACLs IP rules" } ], "name": "2024-01-01", diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Jhc3Rpb25ob3N0cy97fQ==/2024-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Jhc3Rpb25ob3N0cy97fQ==/2024-01-01.json index e8fa7efdc..d127450da 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Jhc3Rpb25ob3N0cy97fQ==/2024-01-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Jhc3Rpb25ob3N0cy97fQ==/2024-01-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/bastionhosts/{}", "version": "2024-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9iYXN0aW9uSG9zdHMve2Jhc3Rpb25Ib3N0TmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "network bastion", "commands": [{"name": "show", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/bastionhosts/{}", "version": "2024-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9iYXN0aW9uSG9zdHMve2Jhc3Rpb25Ib3N0TmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.bastionHostName", "options": ["n", "name", "bastion-host-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Bastion Host."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Resource group name of the Bastion Host."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription Id where the Bastion host is present."}}]}], "operations": [{"operationId": "BastionHosts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "bastionHostName", "arg": "$Path.bastionHostName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "disableCopyPaste"}, {"type": "string", "name": "dnsName"}, {"default": {"value": false}, "type": "boolean", "name": "enableFileCopy"}, {"default": {"value": false}, "type": "boolean", "name": "enableIpConnect"}, {"default": {"value": false}, "type": "boolean", "name": "enableKerberos"}, {"default": {"value": false}, "type": "boolean", "name": "enableSessionRecording"}, {"default": {"value": false}, "type": "boolean", "name": "enableShareableLink"}, {"default": {"value": false}, "type": "boolean", "name": "enableTunneling"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress", "required": true}, {"type": "object", "name": "subnet", "required": true, "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "object", "name": "networkAcls", "props": [{"type": "array", "name": "ipRules", "item": {"type": "object", "props": [{"type": "string", "name": "addressPrefix"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "integer32", "name": "scaleUnits", "format": {"maximum": 50, "minimum": 2}}, {"type": "@SubResource_read", "name": "virtualNetwork"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"default": {"value": "Standard"}, "type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "Developer"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/bastionhosts/{}", "version": "2024-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9iYXN0aW9uSG9zdHMve2Jhc3Rpb25Ib3N0TmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.bastionHostName", "options": ["n", "name", "bastion-host-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Bastion Host."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Resource group name of the Bastion Host."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription Id where the Bastion host is present."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "BastionHosts_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "bastionHostName", "arg": "$Path.bastionHostName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/bastionhosts/{}", "version": "2024-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9iYXN0aW9uSG9zdHMve2Jhc3Rpb25Ib3N0TmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.bastionHostName", "options": ["n", "name", "bastion-host-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Bastion Host."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Resource group name of the Bastion Host."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription Id where the Bastion host is present."}}]}, {"name": "Parameters", "args": [{"type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location."}}, {"type": "object", "var": "$parameters.sku", "options": ["sku"], "group": "Parameters", "help": {"short": "The sku of this Bastion Host."}, "args": [{"type": "string", "var": "$parameters.sku.name", "options": ["name"], "help": {"short": "The name of the sku of this Bastion Host."}, "default": {"value": "Standard"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Developer", "value": "Developer"}, {"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}]}}]}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "var": "$parameters.zones", "options": ["zones"], "group": "Parameters", "help": {"short": "A list of availability zones denoting where the resource needs to come from."}, "item": {"type": "string"}}]}, {"name": "Properties", "args": [{"type": "boolean", "var": "$parameters.properties.disableCopyPaste", "options": ["disable-copy-paste"], "group": "Properties", "help": {"short": "Enable/Disable Copy/Paste feature of the Bastion Host resource."}, "default": {"value": false}}, {"type": "string", "var": "$parameters.properties.dnsName", "options": ["dns-name"], "hide": true, "group": "Properties", "help": {"short": "FQDN for the endpoint on which bastion host is accessible."}}, {"type": "boolean", "var": "$parameters.properties.enableFileCopy", "options": ["file-copy"], "group": "Properties", "help": {"short": "Enable/Disable File Copy feature of the Bastion Host resource."}, "default": {"value": false}}, {"type": "boolean", "var": "$parameters.properties.enableIpConnect", "options": ["enable-ip-connect"], "group": "Properties", "help": {"short": "Enable/Disable IP Connect feature of the Bastion Host resource."}, "default": {"value": false}}, {"type": "boolean", "var": "$parameters.properties.enableKerberos", "options": ["kerberos"], "group": "Properties", "help": {"short": "Enable/Disable Kerberos feature of the Bastion Host resource."}, "default": {"value": false}}, {"type": "boolean", "var": "$parameters.properties.enableSessionRecording", "options": ["session-recording"], "group": "Properties", "help": {"short": "Enable/Disable Session Recording feature of the Bastion Host resource."}, "default": {"value": false}}, {"type": "boolean", "var": "$parameters.properties.enableShareableLink", "options": ["shareable-link"], "group": "Properties", "help": {"short": "Enable/Disable Shareable Link of the Bastion Host resource."}, "default": {"value": false}}, {"type": "boolean", "var": "$parameters.properties.enableTunneling", "options": ["enable-tunneling"], "group": "Properties", "help": {"short": "Enable/Disable Tunneling feature of the Bastion Host resource."}, "default": {"value": false}}, {"type": "array", "var": "$parameters.properties.ipConfigurations", "options": ["ip-configurations"], "group": "Properties", "help": {"short": "IP configuration of the Bastion Host resource."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.ipConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.ipConfigurations[].name", "options": ["name"], "help": {"short": "Name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "options": ["private-ip-allocation-method"], "group": "Properties", "help": {"short": "Private IP allocation method."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}, {"type": "@SubResource_create", "var": "$parameters.properties.ipConfigurations[].properties.publicIPAddress", "options": ["public-ip-address"], "group": "Properties", "help": {"short": "Reference of the PublicIP resource."}}, {"type": "object", "var": "$parameters.properties.ipConfigurations[].properties.subnet", "options": ["subnet"], "group": "Properties", "help": {"short": "Reference of the subnet resource."}, "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_create"}]}}, {"type": "object", "var": "$parameters.properties.networkAcls", "options": ["network-acls"], "hide": true, "group": "Properties", "help": {"short": "ACL rules for Developer Bastion Host."}, "args": [{"type": "array", "var": "$parameters.properties.networkAcls.ipRules", "options": ["ip-rules"], "help": {"short": "Sets the IP ACL rules for Developer Bastion Host."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.networkAcls.ipRules[].addressPrefix", "options": ["address-prefix"], "help": {"short": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed."}}]}}]}, {"type": "integer32", "var": "$parameters.properties.scaleUnits", "options": ["scale-units"], "group": "Properties", "help": {"short": "The scale units for the Bastion Host resource."}, "format": {"maximum": 50, "minimum": 2}}, {"type": "@SubResource_create", "var": "$parameters.properties.virtualNetwork", "options": ["virtual-network"], "group": "Properties", "help": {"short": "Reference to an existing virtual network required for Developer Bastion Host only."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BastionHosts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "bastionHostName", "arg": "$Path.bastionHostName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "disableCopyPaste", "arg": "$parameters.properties.disableCopyPaste"}, {"type": "string", "name": "dnsName", "arg": "$parameters.properties.dnsName"}, {"default": {"value": false}, "type": "boolean", "name": "enableFileCopy", "arg": "$parameters.properties.enableFileCopy"}, {"default": {"value": false}, "type": "boolean", "name": "enableIpConnect", "arg": "$parameters.properties.enableIpConnect"}, {"default": {"value": false}, "type": "boolean", "name": "enableKerberos", "arg": "$parameters.properties.enableKerberos"}, {"default": {"value": false}, "type": "boolean", "name": "enableSessionRecording", "arg": "$parameters.properties.enableSessionRecording"}, {"default": {"value": false}, "type": "boolean", "name": "enableShareableLink", "arg": "$parameters.properties.enableShareableLink"}, {"default": {"value": false}, "type": "boolean", "name": "enableTunneling", "arg": "$parameters.properties.enableTunneling"}, {"type": "array", "name": "ipConfigurations", "arg": "$parameters.properties.ipConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.ipConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "arg": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"type": "@SubResource_create", "name": "publicIPAddress", "arg": "$parameters.properties.ipConfigurations[].properties.publicIPAddress", "required": true}, {"type": "object", "name": "subnet", "arg": "$parameters.properties.ipConfigurations[].properties.subnet", "required": true, "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}], "clientFlatten": true}]}}, {"type": "object", "name": "networkAcls", "arg": "$parameters.properties.networkAcls", "props": [{"type": "array", "name": "ipRules", "arg": "$parameters.properties.networkAcls.ipRules", "item": {"type": "object", "props": [{"type": "string", "name": "addressPrefix", "arg": "$parameters.properties.networkAcls.ipRules[].addressPrefix"}]}}]}, {"type": "integer32", "name": "scaleUnits", "arg": "$parameters.properties.scaleUnits", "format": {"maximum": 50, "minimum": 2}}, {"type": "@SubResource_create", "name": "virtualNetwork", "arg": "$parameters.properties.virtualNetwork"}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$parameters.sku", "props": [{"default": {"value": "Standard"}, "type": "string", "name": "name", "arg": "$parameters.sku.name", "enum": {"items": [{"value": "Basic"}, {"value": "Developer"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "zones", "arg": "$parameters.zones", "item": {"type": "string"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "disableCopyPaste"}, {"type": "string", "name": "dnsName"}, {"default": {"value": false}, "type": "boolean", "name": "enableFileCopy"}, {"default": {"value": false}, "type": "boolean", "name": "enableIpConnect"}, {"default": {"value": false}, "type": "boolean", "name": "enableKerberos"}, {"default": {"value": false}, "type": "boolean", "name": "enableSessionRecording"}, {"default": {"value": false}, "type": "boolean", "name": "enableShareableLink"}, {"default": {"value": false}, "type": "boolean", "name": "enableTunneling"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress", "required": true}, {"type": "object", "name": "subnet", "required": true, "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "object", "name": "networkAcls", "props": [{"type": "array", "name": "ipRules", "item": {"type": "object", "props": [{"type": "string", "name": "addressPrefix"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "integer32", "name": "scaleUnits", "format": {"maximum": 50, "minimum": 2}}, {"type": "@SubResource_read", "name": "virtualNetwork"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"default": {"value": "Standard"}, "type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "Developer"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/bastionhosts/{}", "version": "2024-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9iYXN0aW9uSG9zdHMve2Jhc3Rpb25Ib3N0TmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.bastionHostName", "options": ["n", "name", "bastion-host-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Bastion Host."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Resource group name of the Bastion Host."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription Id where the Bastion host is present."}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"nullable": true, "type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location."}}, {"nullable": true, "type": "object", "var": "$parameters.sku", "options": ["sku"], "group": "Parameters", "help": {"short": "The sku of this Bastion Host."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.sku.name", "options": ["name"], "help": {"short": "The name of the sku of this Bastion Host."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Developer", "value": "Developer"}, {"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}]}}]}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}, {"nullable": true, "type": "array", "var": "$parameters.zones", "options": ["zones"], "group": "Parameters", "help": {"short": "A list of availability zones denoting where the resource needs to come from."}, "item": {"nullable": true, "type": "string"}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.disableCopyPaste", "options": ["disable-copy-paste"], "group": "Properties", "help": {"short": "Enable/Disable Copy/Paste feature of the Bastion Host resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dnsName", "options": ["dns-name"], "hide": true, "group": "Properties", "help": {"short": "FQDN for the endpoint on which bastion host is accessible."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableFileCopy", "options": ["file-copy"], "group": "Properties", "help": {"short": "Enable/Disable File Copy feature of the Bastion Host resource."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableIpConnect", "options": ["enable-ip-connect"], "group": "Properties", "help": {"short": "Enable/Disable IP Connect feature of the Bastion Host resource."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableKerberos", "options": ["kerberos"], "group": "Properties", "help": {"short": "Enable/Disable Kerberos feature of the Bastion Host resource."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableSessionRecording", "options": ["session-recording"], "group": "Properties", "help": {"short": "Enable/Disable Session Recording feature of the Bastion Host resource."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableShareableLink", "options": ["shareable-link"], "group": "Properties", "help": {"short": "Enable/Disable Shareable Link of the Bastion Host resource."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableTunneling", "options": ["enable-tunneling"], "group": "Properties", "help": {"short": "Enable/Disable Tunneling feature of the Bastion Host resource."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.ipConfigurations", "options": ["ip-configurations"], "group": "Properties", "help": {"short": "IP configuration of the Bastion Host resource."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].name", "options": ["name"], "help": {"short": "Name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "options": ["private-ip-allocation-method"], "group": "Properties", "help": {"short": "Private IP allocation method."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}, {"type": "@SubResource_update", "var": "$parameters.properties.ipConfigurations[].properties.publicIPAddress", "options": ["public-ip-address"], "group": "Properties", "help": {"short": "Reference of the PublicIP resource."}}, {"type": "object", "var": "$parameters.properties.ipConfigurations[].properties.subnet", "options": ["subnet"], "group": "Properties", "help": {"short": "Reference of the subnet resource."}, "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.networkAcls", "options": ["network-acls"], "hide": true, "group": "Properties", "help": {"short": "ACL rules for Developer Bastion Host."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.networkAcls.ipRules", "options": ["ip-rules"], "help": {"short": "Sets the IP ACL rules for Developer Bastion Host."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.networkAcls.ipRules[].addressPrefix", "options": ["address-prefix"], "help": {"short": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed."}}]}}]}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.scaleUnits", "options": ["scale-units"], "group": "Properties", "help": {"short": "The scale units for the Bastion Host resource."}, "format": {"maximum": 50, "minimum": 2}}, {"nullable": true, "type": "@SubResource_update", "var": "$parameters.properties.virtualNetwork", "options": ["virtual-network"], "hide": true, "group": "Properties", "help": {"short": "Reference to an existing virtual network required for Developer Bastion Host only."}}]}], "operations": [{"operationId": "BastionHosts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "bastionHostName", "arg": "$Path.bastionHostName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "disableCopyPaste"}, {"type": "string", "name": "dnsName"}, {"default": {"value": false}, "type": "boolean", "name": "enableFileCopy"}, {"default": {"value": false}, "type": "boolean", "name": "enableIpConnect"}, {"default": {"value": false}, "type": "boolean", "name": "enableKerberos"}, {"default": {"value": false}, "type": "boolean", "name": "enableSessionRecording"}, {"default": {"value": false}, "type": "boolean", "name": "enableShareableLink"}, {"default": {"value": false}, "type": "boolean", "name": "enableTunneling"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress", "required": true}, {"type": "object", "name": "subnet", "required": true, "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "object", "name": "networkAcls", "props": [{"type": "array", "name": "ipRules", "item": {"type": "object", "props": [{"type": "string", "name": "addressPrefix"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "integer32", "name": "scaleUnits", "format": {"maximum": 50, "minimum": 2}}, {"type": "@SubResource_read", "name": "virtualNetwork"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"default": {"value": "Standard"}, "type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "Developer"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}, {"type": "array", "name": "zones", "item": {"type": "string"}}], "cls": "BastionHost_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "disableCopyPaste", "arg": "$parameters.properties.disableCopyPaste"}, {"type": "string", "name": "dnsName", "arg": "$parameters.properties.dnsName"}, {"default": {"value": false}, "type": "boolean", "name": "enableFileCopy", "arg": "$parameters.properties.enableFileCopy"}, {"default": {"value": false}, "type": "boolean", "name": "enableIpConnect", "arg": "$parameters.properties.enableIpConnect"}, {"default": {"value": false}, "type": "boolean", "name": "enableKerberos", "arg": "$parameters.properties.enableKerberos"}, {"default": {"value": false}, "type": "boolean", "name": "enableSessionRecording", "arg": "$parameters.properties.enableSessionRecording"}, {"default": {"value": false}, "type": "boolean", "name": "enableShareableLink", "arg": "$parameters.properties.enableShareableLink"}, {"default": {"value": false}, "type": "boolean", "name": "enableTunneling", "arg": "$parameters.properties.enableTunneling"}, {"type": "array", "name": "ipConfigurations", "arg": "$parameters.properties.ipConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.ipConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "arg": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"type": "@SubResource_update", "name": "publicIPAddress", "arg": "$parameters.properties.ipConfigurations[].properties.publicIPAddress", "required": true}, {"type": "object", "name": "subnet", "arg": "$parameters.properties.ipConfigurations[].properties.subnet", "required": true, "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}], "clientFlatten": true}]}}, {"type": "object", "name": "networkAcls", "arg": "$parameters.properties.networkAcls", "props": [{"type": "array", "name": "ipRules", "arg": "$parameters.properties.networkAcls.ipRules", "item": {"type": "object", "props": [{"type": "string", "name": "addressPrefix", "arg": "$parameters.properties.networkAcls.ipRules[].addressPrefix"}]}}]}, {"type": "integer32", "name": "scaleUnits", "arg": "$parameters.properties.scaleUnits", "format": {"maximum": 50, "minimum": 2}}, {"type": "@SubResource_update", "name": "virtualNetwork", "arg": "$parameters.properties.virtualNetwork"}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$parameters.sku", "props": [{"default": {"value": "Standard"}, "type": "string", "name": "name", "arg": "$parameters.sku.name", "enum": {"items": [{"value": "Basic"}, {"value": "Developer"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "zones", "arg": "$parameters.zones", "item": {"type": "string"}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BastionHosts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "bastionHostName", "arg": "$Path.bastionHostName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@BastionHost_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/bastionhosts/{}", "version": "2024-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9iYXN0aW9uSG9zdHMve2Jhc3Rpb25Ib3N0TmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "commandGroups": [{"name": "network bastion", "commands": [{"name": "show", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/bastionhosts/{}", "version": "2024-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9iYXN0aW9uSG9zdHMve2Jhc3Rpb25Ib3N0TmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.bastionHostName", "options": ["n", "name", "bastion-host-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Bastion Host."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Resource group name of the Bastion Host."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription Id where the Bastion host is present."}}]}], "operations": [{"operationId": "BastionHosts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "bastionHostName", "arg": "$Path.bastionHostName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "disableCopyPaste"}, {"type": "string", "name": "dnsName"}, {"default": {"value": false}, "type": "boolean", "name": "enableFileCopy"}, {"default": {"value": false}, "type": "boolean", "name": "enableIpConnect"}, {"default": {"value": false}, "type": "boolean", "name": "enableKerberos"}, {"default": {"value": false}, "type": "boolean", "name": "enableSessionRecording"}, {"default": {"value": false}, "type": "boolean", "name": "enableShareableLink"}, {"default": {"value": false}, "type": "boolean", "name": "enableTunneling"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress", "required": true}, {"type": "object", "name": "subnet", "required": true, "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "object", "name": "networkAcls", "props": [{"type": "array", "name": "ipRules", "item": {"type": "object", "props": [{"type": "string", "name": "addressPrefix"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "integer32", "name": "scaleUnits", "format": {"maximum": 50, "minimum": 2}}, {"type": "@SubResource_read", "name": "virtualNetwork"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"default": {"value": "Standard"}, "type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "Developer"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/bastionhosts/{}", "version": "2024-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9iYXN0aW9uSG9zdHMve2Jhc3Rpb25Ib3N0TmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.bastionHostName", "options": ["n", "name", "bastion-host-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Bastion Host."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Resource group name of the Bastion Host."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription Id where the Bastion host is present."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "BastionHosts_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "bastionHostName", "arg": "$Path.bastionHostName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/bastionhosts/{}", "version": "2024-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9iYXN0aW9uSG9zdHMve2Jhc3Rpb25Ib3N0TmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.bastionHostName", "options": ["n", "name", "bastion-host-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Bastion Host."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Resource group name of the Bastion Host."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription Id where the Bastion host is present."}}, {"type": "string", "var": "$parameters.sku.name", "options": ["sku"], "group": "", "help": {"short": "The name of the sku of this Bastion Host."}, "default": {"value": "Standard"}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Developer", "value": "Developer"}, {"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}]}}]}, {"name": "Parameters", "args": [{"type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location."}}, {"type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "default": {"value": {}}, "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "var": "$parameters.zones", "options": ["zones"], "group": "Parameters", "help": {"short": "A list of availability zones denoting where the resource needs to come from."}, "item": {"type": "string"}}]}, {"name": "Properties", "args": [{"type": "boolean", "var": "$parameters.properties.disableCopyPaste", "options": ["disable-copy-paste"], "group": "Properties", "help": {"short": "Enable/Disable Copy/Paste feature of the Bastion Host resource."}, "default": {"value": false}}, {"type": "string", "var": "$parameters.properties.dnsName", "options": ["dns-name"], "hide": true, "group": "Properties", "help": {"short": "FQDN for the endpoint on which bastion host is accessible."}}, {"type": "boolean", "var": "$parameters.properties.enableFileCopy", "options": ["file-copy"], "group": "Properties", "help": {"short": "Enable/Disable File Copy feature of the Bastion Host resource."}, "default": {"value": false}}, {"type": "boolean", "var": "$parameters.properties.enableIpConnect", "options": ["enable-ip-connect"], "group": "Properties", "help": {"short": "Enable/Disable IP Connect feature of the Bastion Host resource."}, "default": {"value": false}}, {"type": "boolean", "var": "$parameters.properties.enableKerberos", "options": ["kerberos"], "group": "Properties", "help": {"short": "Enable/Disable Kerberos feature of the Bastion Host resource."}, "default": {"value": false}}, {"type": "boolean", "var": "$parameters.properties.enableSessionRecording", "options": ["session-recording"], "group": "Properties", "help": {"short": "Enable/Disable Session Recording feature of the Bastion Host resource."}, "default": {"value": false}}, {"type": "boolean", "var": "$parameters.properties.enableShareableLink", "options": ["shareable-link"], "group": "Properties", "help": {"short": "Enable/Disable Shareable Link of the Bastion Host resource."}, "default": {"value": false}}, {"type": "boolean", "var": "$parameters.properties.enableTunneling", "options": ["enable-tunneling"], "group": "Properties", "help": {"short": "Enable/Disable Tunneling feature of the Bastion Host resource."}, "default": {"value": false}}, {"type": "array", "var": "$parameters.properties.ipConfigurations", "options": ["ip-configurations"], "group": "Properties", "help": {"short": "IP configuration of the Bastion Host resource."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.ipConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"type": "string", "var": "$parameters.properties.ipConfigurations[].name", "options": ["name"], "help": {"short": "Name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "string", "var": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "options": ["private-ip-allocation-method"], "group": "Properties", "help": {"short": "Private IP allocation method."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}, {"type": "@SubResource_create", "var": "$parameters.properties.ipConfigurations[].properties.publicIPAddress", "options": ["public-ip-address"], "group": "Properties", "help": {"short": "Reference of the PublicIP resource."}}, {"type": "object", "var": "$parameters.properties.ipConfigurations[].properties.subnet", "options": ["subnet"], "group": "Properties", "help": {"short": "Reference of the subnet resource."}, "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_create"}]}}, {"type": "array", "var": "$parameters.properties.networkAcls.ipRules", "options": ["network-acls"], "group": "Properties", "help": {"short": "[Supported in Developer SKU only] The Network ACLs IP rules."}, "item": {"type": "object", "args": [{"type": "string", "var": "$parameters.properties.networkAcls.ipRules[].addressPrefix", "options": ["address-prefix"], "help": {"short": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed."}}]}}, {"type": "integer32", "var": "$parameters.properties.scaleUnits", "options": ["scale-units"], "group": "Properties", "help": {"short": "The scale units for the Bastion Host resource."}, "default": {"value": 2}, "format": {"maximum": 50, "minimum": 2}}, {"type": "@SubResource_create", "var": "$parameters.properties.virtualNetwork", "options": ["virtual-network"], "group": "Properties", "help": {"short": "Reference to an existing virtual network required for Developer Bastion Host only."}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BastionHosts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "bastionHostName", "arg": "$Path.bastionHostName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "disableCopyPaste", "arg": "$parameters.properties.disableCopyPaste"}, {"type": "string", "name": "dnsName", "arg": "$parameters.properties.dnsName"}, {"default": {"value": false}, "type": "boolean", "name": "enableFileCopy", "arg": "$parameters.properties.enableFileCopy"}, {"default": {"value": false}, "type": "boolean", "name": "enableIpConnect", "arg": "$parameters.properties.enableIpConnect"}, {"default": {"value": false}, "type": "boolean", "name": "enableKerberos", "arg": "$parameters.properties.enableKerberos"}, {"default": {"value": false}, "type": "boolean", "name": "enableSessionRecording", "arg": "$parameters.properties.enableSessionRecording"}, {"default": {"value": false}, "type": "boolean", "name": "enableShareableLink", "arg": "$parameters.properties.enableShareableLink"}, {"default": {"value": false}, "type": "boolean", "name": "enableTunneling", "arg": "$parameters.properties.enableTunneling"}, {"type": "array", "name": "ipConfigurations", "arg": "$parameters.properties.ipConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.ipConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "arg": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"type": "@SubResource_create", "name": "publicIPAddress", "arg": "$parameters.properties.ipConfigurations[].properties.publicIPAddress", "required": true}, {"type": "object", "name": "subnet", "arg": "$parameters.properties.ipConfigurations[].properties.subnet", "required": true, "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}], "clientFlatten": true}]}}, {"type": "object", "name": "networkAcls", "props": [{"type": "array", "name": "ipRules", "arg": "$parameters.properties.networkAcls.ipRules", "item": {"type": "object", "props": [{"type": "string", "name": "addressPrefix", "arg": "$parameters.properties.networkAcls.ipRules[].addressPrefix"}]}}]}, {"type": "integer32", "name": "scaleUnits", "arg": "$parameters.properties.scaleUnits", "format": {"maximum": 50, "minimum": 2}}, {"type": "@SubResource_create", "name": "virtualNetwork", "arg": "$parameters.properties.virtualNetwork"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"default": {"value": "Standard"}, "type": "string", "name": "name", "arg": "$parameters.sku.name", "enum": {"items": [{"value": "Basic"}, {"value": "Developer"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "zones", "arg": "$parameters.zones", "item": {"type": "string"}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "disableCopyPaste"}, {"type": "string", "name": "dnsName"}, {"default": {"value": false}, "type": "boolean", "name": "enableFileCopy"}, {"default": {"value": false}, "type": "boolean", "name": "enableIpConnect"}, {"default": {"value": false}, "type": "boolean", "name": "enableKerberos"}, {"default": {"value": false}, "type": "boolean", "name": "enableSessionRecording"}, {"default": {"value": false}, "type": "boolean", "name": "enableShareableLink"}, {"default": {"value": false}, "type": "boolean", "name": "enableTunneling"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress", "required": true}, {"type": "object", "name": "subnet", "required": true, "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "object", "name": "networkAcls", "props": [{"type": "array", "name": "ipRules", "item": {"type": "object", "props": [{"type": "string", "name": "addressPrefix"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "integer32", "name": "scaleUnits", "format": {"maximum": 50, "minimum": 2}}, {"type": "@SubResource_read", "name": "virtualNetwork"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"default": {"value": "Standard"}, "type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "Developer"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}, {"type": "array", "name": "zones", "item": {"type": "string"}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "update", "version": "2024-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/bastionhosts/{}", "version": "2024-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9iYXN0aW9uSG9zdHMve2Jhc3Rpb25Ib3N0TmFtZX0=/V/MjAyNC0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.bastionHostName", "options": ["n", "name", "bastion-host-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Bastion Host."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "group": "", "idPart": "resource_group", "help": {"short": "Resource group name of the Bastion Host."}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "group": "", "idPart": "subscription", "help": {"short": "Subscription Id where the Bastion host is present."}}]}, {"name": "Parameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$parameters.id", "options": ["id"], "hide": true, "group": "Parameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"nullable": true, "type": "ResourceLocation", "var": "$parameters.location", "options": ["l", "location"], "group": "Parameters", "help": {"short": "Resource location."}}, {"nullable": true, "type": "object", "var": "$parameters.sku", "options": ["sku"], "group": "Parameters", "help": {"short": "The sku of this Bastion Host."}, "args": [{"nullable": true, "type": "string", "var": "$parameters.sku.name", "options": ["name"], "help": {"short": "The name of the sku of this Bastion Host."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Developer", "value": "Developer"}, {"name": "Premium", "value": "Premium"}, {"name": "Standard", "value": "Standard"}]}}]}, {"nullable": true, "type": "object", "var": "$parameters.tags", "options": ["tags"], "group": "Parameters", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}, {"nullable": true, "type": "array", "var": "$parameters.zones", "options": ["zones"], "group": "Parameters", "help": {"short": "A list of availability zones denoting where the resource needs to come from."}, "item": {"nullable": true, "type": "string"}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "boolean", "var": "$parameters.properties.disableCopyPaste", "options": ["disable-copy-paste"], "group": "Properties", "help": {"short": "Enable/Disable Copy/Paste feature of the Bastion Host resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.dnsName", "options": ["dns-name"], "hide": true, "group": "Properties", "help": {"short": "FQDN for the endpoint on which bastion host is accessible."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableFileCopy", "options": ["file-copy"], "group": "Properties", "help": {"short": "Enable/Disable File Copy feature of the Bastion Host resource."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableIpConnect", "options": ["enable-ip-connect"], "group": "Properties", "help": {"short": "Enable/Disable IP Connect feature of the Bastion Host resource."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableKerberos", "options": ["kerberos"], "group": "Properties", "help": {"short": "Enable/Disable Kerberos feature of the Bastion Host resource."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableSessionRecording", "options": ["session-recording"], "group": "Properties", "help": {"short": "Enable/Disable Session Recording feature of the Bastion Host resource."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableShareableLink", "options": ["shareable-link"], "group": "Properties", "help": {"short": "Enable/Disable Shareable Link of the Bastion Host resource."}}, {"nullable": true, "type": "boolean", "var": "$parameters.properties.enableTunneling", "options": ["enable-tunneling"], "group": "Properties", "help": {"short": "Enable/Disable Tunneling feature of the Bastion Host resource."}}, {"nullable": true, "type": "array", "var": "$parameters.properties.ipConfigurations", "options": ["ip-configurations"], "group": "Properties", "help": {"short": "IP configuration of the Bastion Host resource."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].id", "options": ["id"], "help": {"short": "Resource ID."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].name", "options": ["name"], "help": {"short": "Name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "string", "var": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "options": ["private-ip-allocation-method"], "group": "Properties", "help": {"short": "Private IP allocation method."}, "enum": {"items": [{"name": "Dynamic", "value": "Dynamic"}, {"name": "Static", "value": "Static"}]}}, {"type": "@SubResource_update", "var": "$parameters.properties.ipConfigurations[].properties.publicIPAddress", "options": ["public-ip-address"], "group": "Properties", "help": {"short": "Reference of the PublicIP resource."}}, {"type": "object", "var": "$parameters.properties.ipConfigurations[].properties.subnet", "options": ["subnet"], "group": "Properties", "help": {"short": "Reference of the subnet resource."}, "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}]}}, {"nullable": true, "type": "object", "var": "$parameters.properties.networkAcls", "options": ["network-acls"], "hide": true, "group": "Properties", "help": {"short": "ACL rules for Developer Bastion Host."}, "args": [{"nullable": true, "type": "array", "var": "$parameters.properties.networkAcls.ipRules", "options": ["ip-rules"], "help": {"short": "Sets the IP ACL rules for Developer Bastion Host."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$parameters.properties.networkAcls.ipRules[].addressPrefix", "options": ["address-prefix"], "help": {"short": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed."}}]}}]}, {"nullable": true, "type": "integer32", "var": "$parameters.properties.scaleUnits", "options": ["scale-units"], "group": "Properties", "help": {"short": "The scale units for the Bastion Host resource."}, "format": {"maximum": 50, "minimum": 2}}, {"nullable": true, "type": "@SubResource_update", "var": "$parameters.properties.virtualNetwork", "options": ["virtual-network"], "hide": true, "group": "Properties", "help": {"short": "Reference to an existing virtual network required for Developer Bastion Host only."}}]}], "operations": [{"operationId": "BastionHosts_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "bastionHostName", "arg": "$Path.bastionHostName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"type": "ResourceLocation", "name": "location"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "disableCopyPaste"}, {"type": "string", "name": "dnsName"}, {"default": {"value": false}, "type": "boolean", "name": "enableFileCopy"}, {"default": {"value": false}, "type": "boolean", "name": "enableIpConnect"}, {"default": {"value": false}, "type": "boolean", "name": "enableKerberos"}, {"default": {"value": false}, "type": "boolean", "name": "enableSessionRecording"}, {"default": {"value": false}, "type": "boolean", "name": "enableShareableLink"}, {"default": {"value": false}, "type": "boolean", "name": "enableTunneling"}, {"type": "array", "name": "ipConfigurations", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "string", "name": "id"}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "@SubResource_read", "name": "publicIPAddress", "required": true}, {"type": "object", "name": "subnet", "required": true, "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}, {"type": "object", "name": "networkAcls", "props": [{"type": "array", "name": "ipRules", "item": {"type": "object", "props": [{"type": "string", "name": "addressPrefix"}]}}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "integer32", "name": "scaleUnits", "format": {"maximum": 50, "minimum": 2}}, {"type": "@SubResource_read", "name": "virtualNetwork"}], "clientFlatten": true}, {"type": "object", "name": "sku", "props": [{"default": {"value": "Standard"}, "type": "string", "name": "name", "enum": {"items": [{"value": "Basic"}, {"value": "Developer"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}, {"type": "array", "name": "zones", "item": {"type": "string"}}], "cls": "BastionHost_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$parameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/bastionHosts/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$parameters.location"}, {"type": "object", "name": "properties", "props": [{"default": {"value": false}, "type": "boolean", "name": "disableCopyPaste", "arg": "$parameters.properties.disableCopyPaste"}, {"type": "string", "name": "dnsName", "arg": "$parameters.properties.dnsName"}, {"default": {"value": false}, "type": "boolean", "name": "enableFileCopy", "arg": "$parameters.properties.enableFileCopy"}, {"default": {"value": false}, "type": "boolean", "name": "enableIpConnect", "arg": "$parameters.properties.enableIpConnect"}, {"default": {"value": false}, "type": "boolean", "name": "enableKerberos", "arg": "$parameters.properties.enableKerberos"}, {"default": {"value": false}, "type": "boolean", "name": "enableSessionRecording", "arg": "$parameters.properties.enableSessionRecording"}, {"default": {"value": false}, "type": "boolean", "name": "enableShareableLink", "arg": "$parameters.properties.enableShareableLink"}, {"default": {"value": false}, "type": "boolean", "name": "enableTunneling", "arg": "$parameters.properties.enableTunneling"}, {"type": "array", "name": "ipConfigurations", "arg": "$parameters.properties.ipConfigurations", "item": {"type": "object", "props": [{"type": "string", "name": "id", "arg": "$parameters.properties.ipConfigurations[].id"}, {"type": "string", "name": "name", "arg": "$parameters.properties.ipConfigurations[].name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "privateIPAllocationMethod", "arg": "$parameters.properties.ipConfigurations[].properties.privateIPAllocationMethod", "enum": {"items": [{"value": "Dynamic"}, {"value": "Static"}]}}, {"type": "@SubResource_update", "name": "publicIPAddress", "arg": "$parameters.properties.ipConfigurations[].properties.publicIPAddress", "required": true}, {"type": "object", "name": "subnet", "arg": "$parameters.properties.ipConfigurations[].properties.subnet", "required": true, "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}], "clientFlatten": true}]}}, {"type": "object", "name": "networkAcls", "arg": "$parameters.properties.networkAcls", "props": [{"type": "array", "name": "ipRules", "arg": "$parameters.properties.networkAcls.ipRules", "item": {"type": "object", "props": [{"type": "string", "name": "addressPrefix", "arg": "$parameters.properties.networkAcls.ipRules[].addressPrefix"}]}}]}, {"type": "integer32", "name": "scaleUnits", "arg": "$parameters.properties.scaleUnits", "format": {"maximum": 50, "minimum": 2}}, {"type": "@SubResource_update", "name": "virtualNetwork", "arg": "$parameters.properties.virtualNetwork"}], "clientFlatten": true}, {"type": "object", "name": "sku", "arg": "$parameters.sku", "props": [{"default": {"value": "Standard"}, "type": "string", "name": "name", "arg": "$parameters.sku.name", "enum": {"items": [{"value": "Basic"}, {"value": "Developer"}, {"value": "Premium"}, {"value": "Standard"}]}}]}, {"type": "object", "name": "tags", "arg": "$parameters.tags", "additionalProps": {"item": {"type": "string"}}}, {"type": "array", "name": "zones", "arg": "$parameters.zones", "item": {"type": "string"}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "BastionHosts_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "bastionHostName", "arg": "$Path.bastionHostName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@BastionHost_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Jhc3Rpb25ob3N0cy97fQ==/2024-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Jhc3Rpb25ob3N0cy97fQ==/2024-01-01.xml index a11bd7579..b18a7e686 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Jhc3Rpb25ob3N0cy97fQ==/2024-01-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL2Jhc3Rpb25ob3N0cy97fQ==/2024-01-01.xml @@ -186,7 +186,7 @@ - + @@ -198,6 +198,16 @@ + + + + + + + + + + @@ -207,21 +217,9 @@ - - - - - - - - - - - - - + @@ -290,19 +288,17 @@ - - - - - - - - - - + + + + + + + + @@ -371,7 +367,7 @@ - + @@ -383,7 +379,7 @@ - +