# Schedule

> **Package : spaceone.api.cost\_analysis.v1**

\
\


## Schedule

**Schedule Methods:**

| Method                                                                                                                     | Request                                                                                                                                            | Response                                                                                                                           |
| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| [**create**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#create)   | [CreateScheduleRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#createschedulerequest) | [ScheduleInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#scheduleinfo)   |
| [**update**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#update)   | [UpdateScheduleRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#updateschedulerequest) | [ScheduleInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#scheduleinfo)   |
| [**enable**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#enable)   | [ScheduleRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#schedulerequest)             | [ScheduleInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#scheduleinfo)   |
| [**disable**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#disable) | [ScheduleRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#schedulerequest)             | [ScheduleInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#scheduleinfo)   |
| [**delete**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#delete)   | [ScheduleRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#schedulerequest)             | [Empty](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#empty)                 |
| [**get**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#get)         | [GetScheduleRequest](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#getschedulerequest)       | [ScheduleInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#scheduleinfo)   |
| [**list**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#list)       | [ScheduleQuery](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#schedulequery)                 | [SchedulesInfo](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#schedulesinfo) |
| [**stat**](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#stat)       | [ScheduleStatQuery](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#schedulestatquery)         | [Struct](https://github.com/cloudforet-io/api-doc/blob/master/content/en/cost_analysis/v1/Schedule/README.md#struct)               |

\


### create

> **POST** /cost-analysis/v1/schedule/create

\


### update

> **POST** /cost-analysis/v1/schedule/update

\


### enable

> **POST** /cost-analysis/v1/schedule/enable

\


### disable

> **POST** /cost-analysis/v1/schedule/disable

\


### delete

> **POST** /cost-analysis/v1/schedule/delete

\


### get

> **POST** /cost-analysis/v1/schedule/get

\


### list

> **POST** /cost-analysis/v1/schedule/list

\


### stat

> **POST** /cost-analysis/v1/schedule/stat

\
\


## Message

### CreateScheduleRequest

* **schedule** (Scheduled) `Required`
* **data\_source\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **name** (string)
* **options** (Struct)
*   **tags** (Struct)

    \


### GetScheduleRequest

* **schedule\_id** (string) `Required`
* **domain\_id** (string) `Required`
*   **only** (string) `Repeated`

    \


### ScheduleInfo

* **schedule\_id** (string) `Required`
* **name** (string) `Required`
* **state** (State) `Required`
* **schedule** (Scheduled) `Required`
* **options** (Struct) `Required`
* **tags** (Struct) `Required`
* **data\_source\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **created\_at** (string) `Required`
*   **last\_scheduled\_at** (string) `Required`

    \


### ScheduleQuery

* **domain\_id** (string) `Required`
* **query** (Query)
* **schedule\_id** (string)
* **name** (string)
* **state** (string)
*   **data\_source\_id** (string)

    \


### ScheduleRequest

* **schedule\_id** (string) `Required`
*   **domain\_id** (string) `Required`

    \


### ScheduleStatQuery

* **query** (StatisticsQuery) `Required`
*   **domain\_id** (string) `Required`

    \


### Scheduled

* **cron** (string) `Required`
* **interval** (int32) `Required`
* **minutes** (int32) `Repeated` `Required`
*   **hours** (int32) `Repeated` `Required`

    \


### SchedulesInfo

* **results** (ScheduleInfo) `Repeated` `Required`
*   **total\_count** (int32) `Required`

    \


### UpdateScheduleRequest

* **schedule\_id** (string) `Required`
* **domain\_id** (string) `Required`
* **name** (string)
* **schedule** (Scheduled)
* **options** (Struct)
*   **tags** (Struct)

    \
