/
cloud_job_create_params.go
36 lines (27 loc) · 1.06 KB
/
cloud_job_create_params.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Isilon SDK
*
* Isilon SDK - Language bindings for the OneFS API
*
* API version: 5
* Contact: sdk@isilon.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package isi_sdk_8_1_0
// A cloud job for archiving or recalling files or restoring COI
type CloudJobCreateParams struct {
// The names of accounts for COI restore
Accounts []string `json:"accounts,omitempty"`
// Directories addressed by this job
Directories []string `json:"directories,omitempty"`
// The new expiration date in seconds
ExpirationDate int32 `json:"expiration_date,omitempty"`
// The file filtering logic to find files for this job. (Only applicable for 'recall' jobs)
FileMatchingPattern *Empty `json:"file_matching_pattern,omitempty"`
// Filenames addressed by this job
Files []string `json:"files,omitempty"`
// The name of an existing cloudpool policy to apply to this job. (Only applicable for 'archive' jobs)
Policy string `json:"policy,omitempty"`
// The type of cloud action to be performed by this job.
Type_ string `json:"type"`
}