exportLocalArchive
Exports jobs and resources locally
Returns an archive containing all jobs and resources in a virtual cluster. Optional Filters can limit what is exported.
/admin/export
Usage and SDK Samples
curl -X GET\
-H "Accept: application/octet-stream"\
"//admin/export?exportjobs=&jobfilter=&exportjobresources=&exportruns=&exportresources=&resourcefilter=&exportresourcecredentials=&exportcredentials=&credentialfilter=&exportcredentialsecrets=&exportactiveairflowpyenv=&backupname=&backupsetid=&backupsettypeversion="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AdminApi;
import java.io.File;
import java.util.*;
public class AdminApiExample {
public static void main(String[] args) {
AdminApi apiInstance = new AdminApi();
Boolean exportjobs = true; // Boolean | export all jobs in the virtual cluster
array[String] jobfilter = ; // array[String] | If exportjobs is true, only export jobs that the meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a job API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'created[gte]2020-01-01'. Multiple filters are ANDed.
Boolean exportjobresources = true; // Boolean | also export resources needed for jobs - selected resources cannot be filtered out by resourcefilter parameter
Boolean exportruns = true; // Boolean | also export runs
Boolean exportresources = true; // Boolean | export all resource in the virtual cluster
array[String] resourcefilter = ; // array[String] | If exportresources is true, only export resources that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed.
Boolean exportresourcecredentials = true; // Boolean | also export credentials needed for resources - selected credentials cannot be filtered out by credentialfilter parameter
Boolean exportcredentials = true; // Boolean | export all credential in the virtual cluster
array[String] credentialfilter = ; // array[String] | If exportcredentials is true, only export credentials that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed.
Boolean exportcredentialsecrets = true; // Boolean | also export credentials secrets
Boolean exportactiveairflowpyenv = true; // Boolean | also exports the active airflow pyenv with the associated credentials and secrets
String backupname = backupname_example; // String | Name of backup archive, if not specified archive---.zip will be used
String backupsetid = backupsetid_example; // String | specify backupset id. If not present, will use a generated ID.
String backupsettypeversion = backupsettypeversion_example; // String | indicate backup set ID version.
try {
'String' result = apiInstance.exportLocalArchive(exportjobs, jobfilter, exportjobresources, exportruns, exportresources, resourcefilter, exportresourcecredentials, exportcredentials, credentialfilter, exportcredentialsecrets, exportactiveairflowpyenv, backupname, backupsetid, backupsettypeversion);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AdminApi#exportLocalArchive");
e.printStackTrace();
}
}
}
import io.swagger.client.api.AdminApi;
public class AdminApiExample {
public static void main(String[] args) {
AdminApi apiInstance = new AdminApi();
Boolean exportjobs = true; // Boolean | export all jobs in the virtual cluster
array[String] jobfilter = ; // array[String] | If exportjobs is true, only export jobs that the meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a job API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'created[gte]2020-01-01'. Multiple filters are ANDed.
Boolean exportjobresources = true; // Boolean | also export resources needed for jobs - selected resources cannot be filtered out by resourcefilter parameter
Boolean exportruns = true; // Boolean | also export runs
Boolean exportresources = true; // Boolean | export all resource in the virtual cluster
array[String] resourcefilter = ; // array[String] | If exportresources is true, only export resources that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed.
Boolean exportresourcecredentials = true; // Boolean | also export credentials needed for resources - selected credentials cannot be filtered out by credentialfilter parameter
Boolean exportcredentials = true; // Boolean | export all credential in the virtual cluster
array[String] credentialfilter = ; // array[String] | If exportcredentials is true, only export credentials that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed.
Boolean exportcredentialsecrets = true; // Boolean | also export credentials secrets
Boolean exportactiveairflowpyenv = true; // Boolean | also exports the active airflow pyenv with the associated credentials and secrets
String backupname = backupname_example; // String | Name of backup archive, if not specified archive---.zip will be used
String backupsetid = backupsetid_example; // String | specify backupset id. If not present, will use a generated ID.
String backupsettypeversion = backupsettypeversion_example; // String | indicate backup set ID version.
try {
'String' result = apiInstance.exportLocalArchive(exportjobs, jobfilter, exportjobresources, exportruns, exportresources, resourcefilter, exportresourcecredentials, exportcredentials, credentialfilter, exportcredentialsecrets, exportactiveairflowpyenv, backupname, backupsetid, backupsettypeversion);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AdminApi#exportLocalArchive");
e.printStackTrace();
}
}
}
Boolean *exportjobs = true; // export all jobs in the virtual cluster (optional) (default to true)
array[String] *jobfilter = ; // If exportjobs is true, only export jobs that the meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a job API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'created[gte]2020-01-01'. Multiple filters are ANDed. (optional)
Boolean *exportjobresources = true; // also export resources needed for jobs - selected resources cannot be filtered out by resourcefilter parameter (optional) (default to false)
Boolean *exportruns = true; // also export runs (optional) (default to false)
Boolean *exportresources = true; // export all resource in the virtual cluster (optional) (default to false)
array[String] *resourcefilter = ; // If exportresources is true, only export resources that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed. (optional)
Boolean *exportresourcecredentials = true; // also export credentials needed for resources - selected credentials cannot be filtered out by credentialfilter parameter (optional) (default to false)
Boolean *exportcredentials = true; // export all credential in the virtual cluster (optional) (default to false)
array[String] *credentialfilter = ; // If exportcredentials is true, only export credentials that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed. (optional)
Boolean *exportcredentialsecrets = true; // also export credentials secrets (optional) (default to false)
Boolean *exportactiveairflowpyenv = true; // also exports the active airflow pyenv with the associated credentials and secrets (optional) (default to false)
String *backupname = backupname_example; // Name of backup archive, if not specified archive---.zip will be used (optional)
String *backupsetid = backupsetid_example; // specify backupset id. If not present, will use a generated ID. (optional)
String *backupsettypeversion = backupsettypeversion_example; // indicate backup set ID version. (optional)
AdminApi *apiInstance = [[AdminApi alloc] init];
// Exports jobs and resources locally
[apiInstance exportLocalArchiveWith:exportjobs
jobfilter:jobfilter
exportjobresources:exportjobresources
exportruns:exportruns
exportresources:exportresources
resourcefilter:resourcefilter
exportresourcecredentials:exportresourcecredentials
exportcredentials:exportcredentials
credentialfilter:credentialfilter
exportcredentialsecrets:exportcredentialsecrets
exportactiveairflowpyenv:exportactiveairflowpyenv
backupname:backupname
backupsetid:backupsetid
backupsettypeversion:backupsettypeversion
completionHandler: ^('String' output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var CdeJobsApi = require('cde_jobs_api');
var api = new CdeJobsApi.AdminApi()
var opts = {
'exportjobs': true, // {{Boolean}} export all jobs in the virtual cluster
'jobfilter': , // {{array[String]}} If exportjobs is true, only export jobs that the meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a job API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'created[gte]2020-01-01'. Multiple filters are ANDed.
'exportjobresources': true, // {{Boolean}} also export resources needed for jobs - selected resources cannot be filtered out by resourcefilter parameter
'exportruns': true, // {{Boolean}} also export runs
'exportresources': true, // {{Boolean}} export all resource in the virtual cluster
'resourcefilter': , // {{array[String]}} If exportresources is true, only export resources that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed.
'exportresourcecredentials': true, // {{Boolean}} also export credentials needed for resources - selected credentials cannot be filtered out by credentialfilter parameter
'exportcredentials': true, // {{Boolean}} export all credential in the virtual cluster
'credentialfilter': , // {{array[String]}} If exportcredentials is true, only export credentials that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed.
'exportcredentialsecrets': true, // {{Boolean}} also export credentials secrets
'exportactiveairflowpyenv': true, // {{Boolean}} also exports the active airflow pyenv with the associated credentials and secrets
'backupname': backupname_example, // {{String}} Name of backup archive, if not specified archive---.zip will be used
'backupsetid': backupsetid_example, // {{String}} specify backupset id. If not present, will use a generated ID.
'backupsettypeversion': backupsettypeversion_example // {{String}} indicate backup set ID version.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.exportLocalArchive(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class exportLocalArchiveExample
{
public void main()
{
var apiInstance = new AdminApi();
var exportjobs = true; // Boolean | export all jobs in the virtual cluster (optional) (default to true)
var jobfilter = new array[String](); // array[String] | If exportjobs is true, only export jobs that the meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a job API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'created[gte]2020-01-01'. Multiple filters are ANDed. (optional)
var exportjobresources = true; // Boolean | also export resources needed for jobs - selected resources cannot be filtered out by resourcefilter parameter (optional) (default to false)
var exportruns = true; // Boolean | also export runs (optional) (default to false)
var exportresources = true; // Boolean | export all resource in the virtual cluster (optional) (default to false)
var resourcefilter = new array[String](); // array[String] | If exportresources is true, only export resources that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed. (optional)
var exportresourcecredentials = true; // Boolean | also export credentials needed for resources - selected credentials cannot be filtered out by credentialfilter parameter (optional) (default to false)
var exportcredentials = true; // Boolean | export all credential in the virtual cluster (optional) (default to false)
var credentialfilter = new array[String](); // array[String] | If exportcredentials is true, only export credentials that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed. (optional)
var exportcredentialsecrets = true; // Boolean | also export credentials secrets (optional) (default to false)
var exportactiveairflowpyenv = true; // Boolean | also exports the active airflow pyenv with the associated credentials and secrets (optional) (default to false)
var backupname = backupname_example; // String | Name of backup archive, if not specified archive---.zip will be used (optional)
var backupsetid = backupsetid_example; // String | specify backupset id. If not present, will use a generated ID. (optional)
var backupsettypeversion = backupsettypeversion_example; // String | indicate backup set ID version. (optional)
try
{
// Exports jobs and resources locally
'String' result = apiInstance.exportLocalArchive(exportjobs, jobfilter, exportjobresources, exportruns, exportresources, resourcefilter, exportresourcecredentials, exportcredentials, credentialfilter, exportcredentialsecrets, exportactiveairflowpyenv, backupname, backupsetid, backupsettypeversion);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AdminApi.exportLocalArchive: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiAdminApi();
$exportjobs = true; // Boolean | export all jobs in the virtual cluster
$jobfilter = ; // array[String] | If exportjobs is true, only export jobs that the meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a job API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'created[gte]2020-01-01'. Multiple filters are ANDed.
$exportjobresources = true; // Boolean | also export resources needed for jobs - selected resources cannot be filtered out by resourcefilter parameter
$exportruns = true; // Boolean | also export runs
$exportresources = true; // Boolean | export all resource in the virtual cluster
$resourcefilter = ; // array[String] | If exportresources is true, only export resources that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed.
$exportresourcecredentials = true; // Boolean | also export credentials needed for resources - selected credentials cannot be filtered out by credentialfilter parameter
$exportcredentials = true; // Boolean | export all credential in the virtual cluster
$credentialfilter = ; // array[String] | If exportcredentials is true, only export credentials that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed.
$exportcredentialsecrets = true; // Boolean | also export credentials secrets
$exportactiveairflowpyenv = true; // Boolean | also exports the active airflow pyenv with the associated credentials and secrets
$backupname = backupname_example; // String | Name of backup archive, if not specified archive---.zip will be used
$backupsetid = backupsetid_example; // String | specify backupset id. If not present, will use a generated ID.
$backupsettypeversion = backupsettypeversion_example; // String | indicate backup set ID version.
try {
$result = $api_instance->exportLocalArchive($exportjobs, $jobfilter, $exportjobresources, $exportruns, $exportresources, $resourcefilter, $exportresourcecredentials, $exportcredentials, $credentialfilter, $exportcredentialsecrets, $exportactiveairflowpyenv, $backupname, $backupsetid, $backupsettypeversion);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AdminApi->exportLocalArchive: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::AdminApi;
my $api_instance = WWW::SwaggerClient::AdminApi->new();
my $exportjobs = true; # Boolean | export all jobs in the virtual cluster
my $jobfilter = []; # array[String] | If exportjobs is true, only export jobs that the meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a job API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'created[gte]2020-01-01'. Multiple filters are ANDed.
my $exportjobresources = true; # Boolean | also export resources needed for jobs - selected resources cannot be filtered out by resourcefilter parameter
my $exportruns = true; # Boolean | also export runs
my $exportresources = true; # Boolean | export all resource in the virtual cluster
my $resourcefilter = []; # array[String] | If exportresources is true, only export resources that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed.
my $exportresourcecredentials = true; # Boolean | also export credentials needed for resources - selected credentials cannot be filtered out by credentialfilter parameter
my $exportcredentials = true; # Boolean | export all credential in the virtual cluster
my $credentialfilter = []; # array[String] | If exportcredentials is true, only export credentials that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed.
my $exportcredentialsecrets = true; # Boolean | also export credentials secrets
my $exportactiveairflowpyenv = true; # Boolean | also exports the active airflow pyenv with the associated credentials and secrets
my $backupname = backupname_example; # String | Name of backup archive, if not specified archive---.zip will be used
my $backupsetid = backupsetid_example; # String | specify backupset id. If not present, will use a generated ID.
my $backupsettypeversion = backupsettypeversion_example; # String | indicate backup set ID version.
eval {
my $result = $api_instance->exportLocalArchive(exportjobs => $exportjobs, jobfilter => $jobfilter, exportjobresources => $exportjobresources, exportruns => $exportruns, exportresources => $exportresources, resourcefilter => $resourcefilter, exportresourcecredentials => $exportresourcecredentials, exportcredentials => $exportcredentials, credentialfilter => $credentialfilter, exportcredentialsecrets => $exportcredentialsecrets, exportactiveairflowpyenv => $exportactiveairflowpyenv, backupname => $backupname, backupsetid => $backupsetid, backupsettypeversion => $backupsettypeversion);
print Dumper($result);
};
if ($@) {
warn "Exception when calling AdminApi->exportLocalArchive: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.AdminApi()
exportjobs = true # Boolean | export all jobs in the virtual cluster (optional) (default to true)
jobfilter = # array[String] | If exportjobs is true, only export jobs that the meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a job API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'created[gte]2020-01-01'. Multiple filters are ANDed. (optional)
exportjobresources = true # Boolean | also export resources needed for jobs - selected resources cannot be filtered out by resourcefilter parameter (optional) (default to false)
exportruns = true # Boolean | also export runs (optional) (default to false)
exportresources = true # Boolean | export all resource in the virtual cluster (optional) (default to false)
resourcefilter = # array[String] | If exportresources is true, only export resources that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed. (optional)
exportresourcecredentials = true # Boolean | also export credentials needed for resources - selected credentials cannot be filtered out by credentialfilter parameter (optional) (default to false)
exportcredentials = true # Boolean | export all credential in the virtual cluster (optional) (default to false)
credentialfilter = # array[String] | If exportcredentials is true, only export credentials that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed. (optional)
exportcredentialsecrets = true # Boolean | also export credentials secrets (optional) (default to false)
exportactiveairflowpyenv = true # Boolean | also exports the active airflow pyenv with the associated credentials and secrets (optional) (default to false)
backupname = backupname_example # String | Name of backup archive, if not specified archive---.zip will be used (optional)
backupsetid = backupsetid_example # String | specify backupset id. If not present, will use a generated ID. (optional)
backupsettypeversion = backupsettypeversion_example # String | indicate backup set ID version. (optional)
try:
# Exports jobs and resources locally
api_response = api_instance.export_local_archive(exportjobs=exportjobs, jobfilter=jobfilter, exportjobresources=exportjobresources, exportruns=exportruns, exportresources=exportresources, resourcefilter=resourcefilter, exportresourcecredentials=exportresourcecredentials, exportcredentials=exportcredentials, credentialfilter=credentialfilter, exportcredentialsecrets=exportcredentialsecrets, exportactiveairflowpyenv=exportactiveairflowpyenv, backupname=backupname, backupsetid=backupsetid, backupsettypeversion=backupsettypeversion)
pprint(api_response)
except ApiException as e:
print("Exception when calling AdminApi->exportLocalArchive: %s\n" % e)
Parameters
Name | Description |
---|---|
exportjobs |
Boolean
export all jobs in the virtual cluster
|
jobfilter |
array[String]
If exportjobs is true, only export jobs that the meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a job API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'created[gte]2020-01-01'. Multiple filters are ANDed.
|
exportjobresources |
Boolean
also export resources needed for jobs - selected resources cannot be filtered out by resourcefilter parameter
|
exportruns |
Boolean
also export runs
|
exportresources |
Boolean
export all resource in the virtual cluster
|
resourcefilter |
array[String]
If exportresources is true, only export resources that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed.
|
exportresourcecredentials |
Boolean
also export credentials needed for resources - selected credentials cannot be filtered out by credentialfilter parameter
|
exportcredentials |
Boolean
export all credential in the virtual cluster
|
credentialfilter |
array[String]
If exportcredentials is true, only export credentials that meet the passed filter syntax 'fieldname[operator]argument'. 'fieldname' is the name of a resource API field. 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). For example, 'name[noteq]my-resource'. Multiple filters are ANDed.
|
exportcredentialsecrets |
Boolean
also export credentials secrets
|
exportactiveairflowpyenv |
Boolean
also exports the active airflow pyenv with the associated credentials and secrets
|
backupname |
String
Name of backup archive, if not specified archive-<clusterId>-<virtualClusterId>-<yyyy-mm-ddThh:mm:ss>.zip will be used
|
backupsetid |
String
specify backupset id. If not present, will use a generated ID.
|
backupsettypeversion |
String
indicate backup set ID version.
|