Describe schedule policy

Endpoint URL


HTTP Method

GET


Path Parameters

cidr_id (string, required):

A unique identifier representing the Schedule policy or customer view. This ID is used to retrieve detailed view information.


Request Headers

Content-Type: application/json

Authorization: Bearer <your_access_token>


Request Example


Success Response (200 OK)

This response provides detailed view information for a Schedule policy, including policy details, region settings, instances, dates, disaster recovery events, and pricing.

{
    "cidrId": "sc_086724571165",
    "policyName": "Ggfg",
    "cspAccountName": "Volod personal",
    "policyStatus": "READY_FOR_PURCHASE",
    "policyOperatingState": "IDLE",
    "policyInstance": {
        "instanceType": "m6i.xlarge",
        "platformCode": "Linux/UNIX",
        "tenancyCode": "DEDICATED",
        "vcpu": 4,
        "memory": 16,
        "qty": 1
    },
    "cspRegion": {
        "regionCode": "us-east-1",
        "regionType": "PRIMARY",
        "availabilityZoneId": "use1-az1"
    },
    "launchDateTime": "2025-03-06T03:45:00Z",
    "endDateTime": "2025-03-08T04:45:00Z",
    "createdDate": "2025-03-03T18:35:21.326674Z",
    "pricing": {
        "ourPrice": 22.470273,
        "cspProviderPrice": 35.6671,
        "savings": 13.196827,
        "savingsPercentage"


Error Responses


Not Found (404 Not Found)

This error indicates that the specified cidr_id does not correspond to any existing schedule policy view

{     "error": {         
                  "code": "404",         
                  "message": "Not Found",         
                  "details": {             
                                "timestamp": "2025-03-04T17:15:55",         
                                "description": "Cidr 123 not found"       
                             }    
               } 
}


Unauthorized (401 Unauthorized)

{     "error": {         
                  "code": "401",         
                  "message": "Unauthorized",         
                  "details": {             
                                "timestamp": "2025-03-04T17:01:01",          
                                "description": "Unable to process access token"         
                             }     
               } 
}


Internal Server Error (500 Internal Server Error)

{     "error": {         
                  "code": "500",         
                  "message": "Internal Server Error",         
                  "details": {             
                                "timestamp": "2025-03-04T17:17:08",       
                                "description": "Unexpected error. Our team is working on it"         
                             }     
               } 
}



logo-footer

Solutions that drive success and propel your business forward

Copyright © 2025 Cloudidr. All Rights Reserved