{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:azure-arm-serialconsole/list-operations":{"get":{"operationId":"cloud_azure_arm_serialconsole_list_operations","summary":"Gets a list of Serial Console API operations.","description":"GET /providers/Microsoft.SerialConsole/operations","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2024-07-01","description":"The API version to use for this operation."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-serialconsole/get-console-status":{"get":{"operationId":"cloud_azure_arm_serialconsole_get_console_status","summary":"Get the disabled status for a subscription","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2024-07-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription. The value must be an UUID.","schema":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."}},{"name":"default","in":"query","required":true,"description":"Default parameter. Leave the value as \"default\".","schema":{"type":"string","description":"Default parameter. Leave the value as \"default\"."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-serialconsole/disable-console":{"post":{"operationId":"cloud_azure_arm_serialconsole_disable_console","summary":"Disable Serial Console for a subscription","description":"POST /subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}/disableConsole","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","default"],"properties":{"api-version":{"type":"string","default":"2024-07-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."},"default":{"type":"string","description":"Default parameter. Leave the value as \"default\"."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-serialconsole/enable-console":{"post":{"operationId":"cloud_azure_arm_serialconsole_enable_console","summary":"Enable Serial Console for a subscription","description":"POST /subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/consoleServices/{default}/enableConsole","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","default"],"properties":{"api-version":{"type":"string","default":"2024-07-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."},"default":{"type":"string","description":"Default parameter. Leave the value as \"default\"."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-serialconsole/serial-ports-list-by-subscriptions":{"get":{"operationId":"cloud_azure_arm_serialconsole_serial_ports_list_by_subscriptions","summary":"Handles requests to list all SerialPort resources in a subscription.","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.SerialConsole/serialPorts","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2024-07-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription. The value must be an UUID.","schema":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-serialconsole/serial-ports-list":{"get":{"operationId":"cloud_azure_arm_serialconsole_serial_ports_list","summary":"Lists all of the configured serial ports for a parent resource","description":"GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2024-07-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription. The value must be an UUID.","schema":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group.","schema":{"type":"string","description":"The name of the resource group."}},{"name":"resourceProviderNamespace","in":"query","required":true,"description":"The resource provider namespace of the parent resource.","schema":{"type":"string","description":"The resource provider namespace of the parent resource."}},{"name":"parentResourceType","in":"query","required":true,"description":"The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'","schema":{"type":"string","description":"The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'"}},{"name":"parentResource","in":"query","required":true,"description":"The name of the parent resource.","schema":{"type":"string","description":"The name of the parent resource."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-serialconsole/serial-ports-get":{"get":{"operationId":"cloud_azure_arm_serialconsole_serial_ports_get","summary":"Gets the configured settings for a serial port","description":"GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts/{serialPort}","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2024-07-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription. The value must be an UUID.","schema":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group.","schema":{"type":"string","description":"The name of the resource group."}},{"name":"resourceProviderNamespace","in":"query","required":true,"description":"The resource provider namespace of the parent resource.","schema":{"type":"string","description":"The resource provider namespace of the parent resource."}},{"name":"parentResourceType","in":"query","required":true,"description":"The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'","schema":{"type":"string","description":"The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'"}},{"name":"parentResource","in":"query","required":true,"description":"The name of the parent resource.","schema":{"type":"string","description":"The name of the parent resource."}},{"name":"serialPort","in":"query","required":true,"description":"The name of the serial port to connect to.","schema":{"type":"string","description":"The name of the serial port to connect to."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-serialconsole/serial-ports-create":{"post":{"operationId":"cloud_azure_arm_serialconsole_serial_ports_create","summary":"Creates or updates a serial port","description":"PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts/{serialPort}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","resourceProviderNamespace","parentResourceType","parentResource","serialPort","body"],"properties":{"api-version":{"type":"string","default":"2024-07-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."},"resourceGroupName":{"type":"string","description":"The name of the resource group."},"resourceProviderNamespace":{"type":"string","description":"The resource provider namespace of the parent resource."},"parentResourceType":{"type":"string","description":"The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'"},"parentResource":{"type":"string","description":"The name of the parent resource."},"serialPort":{"type":"string","description":"The name of the serial port to connect to."},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/cloud:azure-arm-serialconsole/serial-ports-connect":{"post":{"operationId":"cloud_azure_arm_serialconsole_serial_ports_connect","summary":"Connect to serial port of the target resource","description":"POST /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourceType}/{parentResource}/providers/Microsoft.SerialConsole/serialPorts/{serialPort}/connect","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","resourceProviderNamespace","parentResourceType","parentResource","serialPort"],"properties":{"api-version":{"type":"string","default":"2024-07-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."},"resourceGroupName":{"type":"string","description":"The name of the resource group."},"resourceProviderNamespace":{"type":"string","description":"The resource provider namespace of the parent resource."},"parentResourceType":{"type":"string","description":"The resource type of the parent resource. For example: 'virtualMachines' or 'virtualMachineScaleSets'"},"parentResource":{"type":"string","description":"The name of the parent resource."},"serialPort":{"type":"string","description":"The name of the serial port to connect to."}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}