{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:azure-arm-softwareplan/software-plan-register":{"post":{"operationId":"cloud_azure_arm_softwareplan_software_plan_register","summary":"Register to Microsoft.SoftwarePlan resource provider.","description":"POST /subscriptions/{subscriptionId}/providers/Microsoft.SoftwarePlan/register","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId"],"properties":{"subscriptionId":{"type":"string","description":"The ID of the target subscription."},"api-version":{"type":"string","default":"2019-12-01","description":"The api-version to be used by the service"}}}}}},"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-softwareplan/hybrid-use-benefit-list":{"get":{"operationId":"cloud_azure_arm_softwareplan_hybrid_use_benefit_list","summary":"Get all hybrid use benefits associated with an ARM resource.","description":"GET /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits","tags":["cloud"],"parameters":[{"name":"scope","in":"query","required":true,"description":"The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts…","schema":{"type":"string","description":"The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts…"}},{"name":"api-version","in":"query","required":false,"description":"The api-version to be used by the service","schema":{"type":"string","default":"2019-12-01","description":"The api-version to be used by the service"}},{"name":"$filter","in":"query","required":false,"description":"Supports applying filter on the type of SKU","schema":{"type":"string","description":"Supports applying filter on the type of SKU"}}],"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-softwareplan/hybrid-use-benefit-get":{"get":{"operationId":"cloud_azure_arm_softwareplan_hybrid_use_benefit_get","summary":"Gets a given plan ID","description":"GET /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}","tags":["cloud"],"parameters":[{"name":"scope","in":"query","required":true,"description":"The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts…","schema":{"type":"string","description":"The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts…"}},{"name":"planId","in":"query","required":true,"description":"This is a unique identifier for a plan. Should be a guid.","schema":{"type":"string","description":"This is a unique identifier for a plan. Should be a guid."}},{"name":"api-version","in":"query","required":false,"description":"The api-version to be used by the service","schema":{"type":"string","default":"2019-12-01","description":"The api-version to be used by the service"}}],"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-softwareplan/hybrid-use-benefit-create":{"post":{"operationId":"cloud_azure_arm_softwareplan_hybrid_use_benefit_create","summary":"Create a new hybrid use benefit under a given scope","description":"PUT /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["scope","planId","body"],"properties":{"scope":{"type":"string","description":"The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts…"},"planId":{"type":"string","description":"This is a unique identifier for a plan. Should be a guid."},"api-version":{"type":"string","default":"2019-12-01","description":"The api-version to be used by the service"},"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-softwareplan/hybrid-use-benefit-update":{"post":{"operationId":"cloud_azure_arm_softwareplan_hybrid_use_benefit_update","summary":"Updates an existing hybrid use benefit","description":"PATCH /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["scope","planId","body"],"properties":{"scope":{"type":"string","description":"The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts…"},"planId":{"type":"string","description":"This is a unique identifier for a plan. Should be a guid."},"api-version":{"type":"string","default":"2019-12-01","description":"The api-version to be used by the service"},"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-softwareplan/hybrid-use-benefit-delete":{"post":{"operationId":"cloud_azure_arm_softwareplan_hybrid_use_benefit_delete","summary":"Deletes a given plan ID","description":"DELETE /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["scope","planId"],"properties":{"scope":{"type":"string","description":"The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts…"},"planId":{"type":"string","description":"This is a unique identifier for a plan. Should be a guid."},"api-version":{"type":"string","default":"2019-12-01","description":"The api-version to be used by the service"}}}}}},"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-softwareplan/hybrid-use-benefit-revision-list":{"get":{"operationId":"cloud_azure_arm_softwareplan_hybrid_use_benefit_revision_list","summary":"Gets the version history of a hybrid use benefit","description":"GET /{scope}/providers/Microsoft.SoftwarePlan/hybridUseBenefits/{planId}/revisions","tags":["cloud"],"parameters":[{"name":"scope","in":"query","required":true,"description":"The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts…","schema":{"type":"string","description":"The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts…"}},{"name":"planId","in":"query","required":true,"description":"This is a unique identifier for a plan. Should be a guid.","schema":{"type":"string","description":"This is a unique identifier for a plan. Should be a guid."}},{"name":"api-version","in":"query","required":false,"description":"The api-version to be used by the service","schema":{"type":"string","default":"2019-12-01","description":"The api-version to be used by the service"}}],"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-softwareplan/operations-list":{"get":{"operationId":"cloud_azure_arm_softwareplan_operations_list","summary":"Get operations.","description":"GET /{scope}/providers/Microsoft.SoftwarePlan/operations","tags":["cloud"],"parameters":[{"name":"scope","in":"query","required":true,"description":"The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts…","schema":{"type":"string","description":"The scope at which the operation is performed. This is limited to Microsoft.Compute/virtualMachines and Microsoft.Compute/hostGroups/hosts…"}},{"name":"api-version","in":"query","required":false,"description":"The api-version to be used by the service","schema":{"type":"string","default":"2019-12-01","description":"The api-version to be used by the service"}}],"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"}}},"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"}}}}}}}