CopyBackup Java Example
import com.chilkatsoft.*;
public class ChilkatExample {
static {
try {
System.loadLibrary("chilkat");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load.\n" + e);
System.exit(1);
}
}
public static void main(String argv[])
{
// This example requires the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
CkRest rest = new CkRest();
boolean success;
CkAuthAws authAws = new CkAuthAws();
authAws.put_AccessKey("AWS_ACCESS_KEY");
authAws.put_SecretKey("AWS_SECRET_KEY");
// Don't forget to change the region to your particular region. (Also make the same change in the call to Connect below.)
authAws.put_Region("us-west-2");
authAws.put_ServiceName("fsx");
// SetAuthAws causes Chilkat to automatically add the following headers: Authorization, X-Amz-Date
rest.SetAuthAws(authAws);
// URL: https://fsx.us-west-2.amazonaws.com/
// Use the same region as specified above.
success = rest.Connect("fsx.us-west-2.amazonaws.com",443,true,true);
if (success != true) {
System.out.println("ConnectFailReason: " + rest.get_ConnectFailReason());
System.out.println(rest.lastErrorText());
return;
}
// The following code creates the JSON request body.
// The JSON created by this code is shown below.
// Use this online tool to generate code from sample JSON:
// Generate Code to Create JSON
CkJsonObject json = new CkJsonObject();
json.UpdateString("ClientRequestToken","string");
json.UpdateInt("CopyTags",123);
json.UpdateString("KmsKeyId","string");
json.UpdateString("SourceBackupId","string");
json.UpdateString("SourceRegion","string");
json.UpdateString("Tags[0].Key","string");
json.UpdateString("Tags[0].Value","string");
// The JSON request body created by the above code:
// {
// "ClientRequestToken": "string",
// "CopyTags": boolean,
// "KmsKeyId": "string",
// "SourceBackupId": "string",
// "SourceRegion": "string",
// "Tags": [
// {
// "Key": "string",
// "Value": "string"
// }
// ]
// }
rest.AddHeader("Content-Type","application/x-amz-json-1.1");
rest.AddHeader("X-Amz-Target","AWSSimbaAPIService_v20180301.CopyBackup");
CkStringBuilder sbRequestBody = new CkStringBuilder();
json.EmitSb(sbRequestBody);
CkStringBuilder sbResponseBody = new CkStringBuilder();
success = rest.FullRequestSb("POST","/",sbRequestBody,sbResponseBody);
if (success != true) {
System.out.println(rest.lastErrorText());
return;
}
int respStatusCode = rest.get_ResponseStatusCode();
System.out.println("response status code = " + respStatusCode);
if (respStatusCode != 200) {
System.out.println("Response Header:");
System.out.println(rest.responseHeader());
System.out.println("Response Body:");
System.out.println(sbResponseBody.getAsString());
return;
}
CkJsonObject jResp = new CkJsonObject();
jResp.LoadSb(sbResponseBody);
// The following code parses the JSON response.
// A sample JSON response is shown below the sample code.
// Use this online tool to generate parsing code from sample JSON:
// Generate Parsing Code from JSON
String AdministrativeActionType;
int RequestTime;
String Status;
String TargetFileSystemValues;
int TargetSnapshotValuesCreationTime;
String TargetSnapshotValuesLifecycle;
String TargetSnapshotValuesName;
String TargetSnapshotValuesResourceARN;
String SnapshotId;
String TargetSnapshotValuesVolumeId;
int TargetVolumeValuesCreationTime;
String TargetVolumeValuesFileSystemId;
String TargetVolumeValuesLifecycle;
String TargetVolumeValuesName;
String OntapConfigurationFlexCacheEndpointType;
String OntapConfigurationJunctionPath;
String OntapConfigurationOntapVolumeType;
String OntapConfigurationSecurityStyle;
int OntapConfigurationSizeInMegabytes;
int OntapConfigurationStorageEfficiencyEnabled;
String OntapConfigurationStorageVirtualMachineId;
int OntapConfigurationStorageVirtualMachineRoot;
int TieringPolicyCoolingPeriod;
String OntapConfigurationUUID;
int OpenZFSConfigurationCopyTagsToSnapshots;
String OriginSnapshotCopyStrategy;
String OriginSnapshotSnapshotARN;
String OpenZFSConfigurationParentVolumeId;
int OpenZFSConfigurationReadOnly;
int OpenZFSConfigurationRecordSizeKiB;
int OpenZFSConfigurationStorageCapacityQuotaGiB;
int OpenZFSConfigurationStorageCapacityReservationGiB;
String OpenZFSConfigurationVolumePath;
String TargetVolumeValuesResourceARN;
String TargetVolumeValuesVolumeId;
String TargetVolumeValuesVolumeType;
int j;
int count_j;
String strVal;
String Key;
String Value;
int k;
int count_k;
String Clients;
CkJsonObject json1;
int i1;
int count_i1;
int Id;
int TargetFileSystemValuesCreationTime;
String TargetFileSystemValuesDNSName;
String TargetFileSystemValuesFileSystemId;
String TargetFileSystemValuesFileSystemType;
String TargetFileSystemValuesFileSystemTypeVersion;
String TargetFileSystemValuesKmsKeyId;
String TargetFileSystemValuesLifecycle;
int LustreConfigurationAutomaticBackupRetentionDays;
int LustreConfigurationCopyTagsToBackups;
String LustreConfigurationDailyAutomaticBackupStartTime;
String LustreConfigurationDataCompressionType;
String DataRepositoryConfigurationAutoImportPolicy;
String DataRepositoryConfigurationExportPath;
int DataRepositoryConfigurationImportedFileChunkSize;
String DataRepositoryConfigurationImportPath;
String LustreConfigurationDeploymentType;
String LustreConfigurationDriveCacheType;
String LogConfigurationDestination;
String LogConfigurationLevel;
String LustreConfigurationMountName;
int LustreConfigurationPerUnitStorageThroughput;
String LustreConfigurationWeeklyMaintenanceStartTime;
String OntapConfigurationEndpointIpAddressRange;
String OntapConfigurationPreferredSubnetId;
int OntapConfigurationThroughputCapacity;
int OpenZFSConfigurationCopyTagsToVolumes;
String OpenZFSConfigurationRootVolumeId;
String TargetFileSystemValuesOwnerId;
String TargetFileSystemValuesResourceARN;
int TargetFileSystemValuesStorageCapacity;
String TargetFileSystemValuesStorageType;
String TargetFileSystemValuesVpcId;
String AuditLogConfigurationAuditLogDestination;
String AuditLogConfigurationFileAccessAuditLogLevel;
String AuditLogConfigurationFileShareAccessAuditLogLevel;
String WindowsConfigurationPreferredFileServerIp;
String WindowsConfigurationRemoteAdministrationEndpoint;
String SelfManagedActiveDirectoryConfigurationFileSystemAdministratorsGroup;
String SelfManagedActiveDirectoryConfigurationOrganizationalUnitDistinguishedName;
String SelfManagedActiveDirectoryConfigurationUserName;
String TargetSnapshotValuesSnapshotId;
String TargetVolumeValues;
String BackupId = jResp.stringOf("Backup.BackupId");
int CreationTime = jResp.IntOf("Backup.CreationTime");
String ActiveDirectoryId = jResp.stringOf("Backup.DirectoryInformation.ActiveDirectoryId");
String DomainName = jResp.stringOf("Backup.DirectoryInformation.DomainName");
String ResourceARN = jResp.stringOf("Backup.DirectoryInformation.ResourceARN");
String Message = jResp.stringOf("Backup.FailureDetails.Message");
int FileSystemCreationTime = jResp.IntOf("Backup.FileSystem.CreationTime");
String DNSName = jResp.stringOf("Backup.FileSystem.DNSName");
String FailureDetailsMessage = jResp.stringOf("Backup.FileSystem.FailureDetails.Message");
String FileSystemId = jResp.stringOf("Backup.FileSystem.FileSystemId");
String FileSystemType = jResp.stringOf("Backup.FileSystem.FileSystemType");
String FileSystemTypeVersion = jResp.stringOf("Backup.FileSystem.FileSystemTypeVersion");
String KmsKeyId = jResp.stringOf("Backup.FileSystem.KmsKeyId");
String Lifecycle = jResp.stringOf("Backup.FileSystem.Lifecycle");
int AutomaticBackupRetentionDays = jResp.IntOf("Backup.FileSystem.LustreConfiguration.AutomaticBackupRetentionDays");
int CopyTagsToBackups = jResp.IntOf("Backup.FileSystem.LustreConfiguration.CopyTagsToBackups");
String DailyAutomaticBackupStartTime = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DailyAutomaticBackupStartTime");
String DataCompressionType = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DataCompressionType");
String AutoImportPolicy = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.AutoImportPolicy");
String ExportPath = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.ExportPath");
FailureDetailsMessage = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.FailureDetails.Message");
int ImportedFileChunkSize = jResp.IntOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportedFileChunkSize");
String ImportPath = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportPath");
String DataRepositoryConfigurationLifecycle = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.Lifecycle");
String DeploymentType = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DeploymentType");
String DriveCacheType = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DriveCacheType");
String Destination = jResp.stringOf("Backup.FileSystem.LustreConfiguration.LogConfiguration.Destination");
String Level = jResp.stringOf("Backup.FileSystem.LustreConfiguration.LogConfiguration.Level");
String MountName = jResp.stringOf("Backup.FileSystem.LustreConfiguration.MountName");
int PerUnitStorageThroughput = jResp.IntOf("Backup.FileSystem.LustreConfiguration.PerUnitStorageThroughput");
String WeeklyMaintenanceStartTime = jResp.stringOf("Backup.FileSystem.LustreConfiguration.WeeklyMaintenanceStartTime");
int OntapConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backup.FileSystem.OntapConfiguration.AutomaticBackupRetentionDays");
String OntapConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backup.FileSystem.OntapConfiguration.DailyAutomaticBackupStartTime");
String OntapConfigurationDeploymentType = jResp.stringOf("Backup.FileSystem.OntapConfiguration.DeploymentType");
int Iops = jResp.IntOf("Backup.FileSystem.OntapConfiguration.DiskIopsConfiguration.Iops");
String Mode = jResp.stringOf("Backup.FileSystem.OntapConfiguration.DiskIopsConfiguration.Mode");
String EndpointIpAddressRange = jResp.stringOf("Backup.FileSystem.OntapConfiguration.EndpointIpAddressRange");
String InterclusterDNSName = jResp.stringOf("Backup.FileSystem.OntapConfiguration.Endpoints.Intercluster.DNSName");
String ManagementDNSName = jResp.stringOf("Backup.FileSystem.OntapConfiguration.Endpoints.Management.DNSName");
String PreferredSubnetId = jResp.stringOf("Backup.FileSystem.OntapConfiguration.PreferredSubnetId");
int ThroughputCapacity = jResp.IntOf("Backup.FileSystem.OntapConfiguration.ThroughputCapacity");
String OntapConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backup.FileSystem.OntapConfiguration.WeeklyMaintenanceStartTime");
int OpenZFSConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backup.FileSystem.OpenZFSConfiguration.AutomaticBackupRetentionDays");
int OpenZFSConfigurationCopyTagsToBackups = jResp.IntOf("Backup.FileSystem.OpenZFSConfiguration.CopyTagsToBackups");
int CopyTagsToVolumes = jResp.IntOf("Backup.FileSystem.OpenZFSConfiguration.CopyTagsToVolumes");
String OpenZFSConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backup.FileSystem.OpenZFSConfiguration.DailyAutomaticBackupStartTime");
String OpenZFSConfigurationDeploymentType = jResp.stringOf("Backup.FileSystem.OpenZFSConfiguration.DeploymentType");
int DiskIopsConfigurationIops = jResp.IntOf("Backup.FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Iops");
String DiskIopsConfigurationMode = jResp.stringOf("Backup.FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Mode");
String RootVolumeId = jResp.stringOf("Backup.FileSystem.OpenZFSConfiguration.RootVolumeId");
int OpenZFSConfigurationThroughputCapacity = jResp.IntOf("Backup.FileSystem.OpenZFSConfiguration.ThroughputCapacity");
String OpenZFSConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backup.FileSystem.OpenZFSConfiguration.WeeklyMaintenanceStartTime");
String OwnerId = jResp.stringOf("Backup.FileSystem.OwnerId");
String FileSystemResourceARN = jResp.stringOf("Backup.FileSystem.ResourceARN");
int StorageCapacity = jResp.IntOf("Backup.FileSystem.StorageCapacity");
String StorageType = jResp.stringOf("Backup.FileSystem.StorageType");
String VpcId = jResp.stringOf("Backup.FileSystem.VpcId");
String WindowsConfigurationActiveDirectoryId = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.ActiveDirectoryId");
String AuditLogDestination = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.AuditLogConfiguration.AuditLogDestination");
String FileAccessAuditLogLevel = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel");
String FileShareAccessAuditLogLevel = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel");
int WindowsConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backup.FileSystem.WindowsConfiguration.AutomaticBackupRetentionDays");
int WindowsConfigurationCopyTagsToBackups = jResp.IntOf("Backup.FileSystem.WindowsConfiguration.CopyTagsToBackups");
String WindowsConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.DailyAutomaticBackupStartTime");
String WindowsConfigurationDeploymentType = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.DeploymentType");
String PreferredFileServerIp = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.PreferredFileServerIp");
String WindowsConfigurationPreferredSubnetId = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.PreferredSubnetId");
String RemoteAdministrationEndpoint = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.RemoteAdministrationEndpoint");
String SelfManagedActiveDirectoryConfigurationDomainName = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName");
String FileSystemAdministratorsGroup = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup");
String OrganizationalUnitDistinguishedName = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName");
String UserName = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName");
int WindowsConfigurationThroughputCapacity = jResp.IntOf("Backup.FileSystem.WindowsConfiguration.ThroughputCapacity");
String WindowsConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.WeeklyMaintenanceStartTime");
String BackupKmsKeyId = jResp.stringOf("Backup.KmsKeyId");
String BackupLifecycle = jResp.stringOf("Backup.Lifecycle");
String BackupOwnerId = jResp.stringOf("Backup.OwnerId");
int ProgressPercent = jResp.IntOf("Backup.ProgressPercent");
String BackupResourceARN = jResp.stringOf("Backup.ResourceARN");
String ResourceType = jResp.stringOf("Backup.ResourceType");
String SourceBackupId = jResp.stringOf("Backup.SourceBackupId");
String SourceBackupRegion = jResp.stringOf("Backup.SourceBackupRegion");
String v_Type = jResp.stringOf("Backup.Type");
int VolumeCreationTime = jResp.IntOf("Backup.Volume.CreationTime");
String VolumeFileSystemId = jResp.stringOf("Backup.Volume.FileSystemId");
String VolumeLifecycle = jResp.stringOf("Backup.Volume.Lifecycle");
String LifecycleTransitionReasonMessage = jResp.stringOf("Backup.Volume.LifecycleTransitionReason.Message");
String Name = jResp.stringOf("Backup.Volume.Name");
String FlexCacheEndpointType = jResp.stringOf("Backup.Volume.OntapConfiguration.FlexCacheEndpointType");
String JunctionPath = jResp.stringOf("Backup.Volume.OntapConfiguration.JunctionPath");
String OntapVolumeType = jResp.stringOf("Backup.Volume.OntapConfiguration.OntapVolumeType");
String SecurityStyle = jResp.stringOf("Backup.Volume.OntapConfiguration.SecurityStyle");
int SizeInMegabytes = jResp.IntOf("Backup.Volume.OntapConfiguration.SizeInMegabytes");
int StorageEfficiencyEnabled = jResp.IntOf("Backup.Volume.OntapConfiguration.StorageEfficiencyEnabled");
String StorageVirtualMachineId = jResp.stringOf("Backup.Volume.OntapConfiguration.StorageVirtualMachineId");
int StorageVirtualMachineRoot = jResp.IntOf("Backup.Volume.OntapConfiguration.StorageVirtualMachineRoot");
int CoolingPeriod = jResp.IntOf("Backup.Volume.OntapConfiguration.TieringPolicy.CoolingPeriod");
String TieringPolicyName = jResp.stringOf("Backup.Volume.OntapConfiguration.TieringPolicy.Name");
String UUID = jResp.stringOf("Backup.Volume.OntapConfiguration.UUID");
int CopyTagsToSnapshots = jResp.IntOf("Backup.Volume.OpenZFSConfiguration.CopyTagsToSnapshots");
String OpenZFSConfigurationDataCompressionType = jResp.stringOf("Backup.Volume.OpenZFSConfiguration.DataCompressionType");
String CopyStrategy = jResp.stringOf("Backup.Volume.OpenZFSConfiguration.OriginSnapshot.CopyStrategy");
String SnapshotARN = jResp.stringOf("Backup.Volume.OpenZFSConfiguration.OriginSnapshot.SnapshotARN");
String ParentVolumeId = jResp.stringOf("Backup.Volume.OpenZFSConfiguration.ParentVolumeId");
int ReadOnly = jResp.IntOf("Backup.Volume.OpenZFSConfiguration.ReadOnly");
int RecordSizeKiB = jResp.IntOf("Backup.Volume.OpenZFSConfiguration.RecordSizeKiB");
int StorageCapacityQuotaGiB = jResp.IntOf("Backup.Volume.OpenZFSConfiguration.StorageCapacityQuotaGiB");
int StorageCapacityReservationGiB = jResp.IntOf("Backup.Volume.OpenZFSConfiguration.StorageCapacityReservationGiB");
String VolumePath = jResp.stringOf("Backup.Volume.OpenZFSConfiguration.VolumePath");
String VolumeResourceARN = jResp.stringOf("Backup.Volume.ResourceARN");
String VolumeId = jResp.stringOf("Backup.Volume.VolumeId");
String VolumeType = jResp.stringOf("Backup.Volume.VolumeType");
int i = 0;
int count_i = jResp.SizeOfArray("Backup.FileSystem.AdministrativeActions");
while (i < count_i) {
jResp.put_I(i);
AdministrativeActionType = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].AdministrativeActionType");
FailureDetailsMessage = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].FailureDetails.Message");
ProgressPercent = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].ProgressPercent");
RequestTime = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].RequestTime");
Status = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].Status");
TargetFileSystemValues = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetFileSystemValues");
TargetSnapshotValuesCreationTime = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.CreationTime");
TargetSnapshotValuesLifecycle = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.Lifecycle");
LifecycleTransitionReasonMessage = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.LifecycleTransitionReason.Message");
TargetSnapshotValuesName = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.Name");
TargetSnapshotValuesResourceARN = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.ResourceARN");
SnapshotId = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.SnapshotId");
TargetSnapshotValuesVolumeId = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.VolumeId");
TargetVolumeValuesCreationTime = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.CreationTime");
TargetVolumeValuesFileSystemId = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.FileSystemId");
TargetVolumeValuesLifecycle = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.Lifecycle");
LifecycleTransitionReasonMessage = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.LifecycleTransitionReason.Message");
TargetVolumeValuesName = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.Name");
OntapConfigurationFlexCacheEndpointType = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.FlexCacheEndpointType");
OntapConfigurationJunctionPath = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.JunctionPath");
OntapConfigurationOntapVolumeType = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.OntapVolumeType");
OntapConfigurationSecurityStyle = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.SecurityStyle");
OntapConfigurationSizeInMegabytes = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.SizeInMegabytes");
OntapConfigurationStorageEfficiencyEnabled = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.StorageEfficiencyEnabled");
OntapConfigurationStorageVirtualMachineId = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.StorageVirtualMachineId");
OntapConfigurationStorageVirtualMachineRoot = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.StorageVirtualMachineRoot");
TieringPolicyCoolingPeriod = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.TieringPolicy.CoolingPeriod");
TieringPolicyName = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.TieringPolicy.Name");
OntapConfigurationUUID = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.UUID");
OpenZFSConfigurationCopyTagsToSnapshots = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.CopyTagsToSnapshots");
OpenZFSConfigurationDataCompressionType = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.DataCompressionType");
OriginSnapshotCopyStrategy = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.OriginSnapshot.CopyStrategy");
OriginSnapshotSnapshotARN = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.OriginSnapshot.SnapshotARN");
OpenZFSConfigurationParentVolumeId = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.ParentVolumeId");
OpenZFSConfigurationReadOnly = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.ReadOnly");
OpenZFSConfigurationRecordSizeKiB = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.RecordSizeKiB");
OpenZFSConfigurationStorageCapacityQuotaGiB = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.StorageCapacityQuotaGiB");
OpenZFSConfigurationStorageCapacityReservationGiB = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.StorageCapacityReservationGiB");
OpenZFSConfigurationVolumePath = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.VolumePath");
TargetVolumeValuesResourceARN = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.ResourceARN");
TargetVolumeValuesVolumeId = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.VolumeId");
TargetVolumeValuesVolumeType = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.VolumeType");
j = 0;
count_j = jResp.SizeOfArray("Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions");
while (j < count_j) {
jResp.put_J(j);
strVal = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions[j]");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.Tags");
while (j < count_j) {
jResp.put_J(j);
Key = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Key");
Value = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Value");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.AdministrativeActions");
while (j < count_j) {
jResp.put_J(j);
strVal = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.AdministrativeActions[j]");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports");
while (j < count_j) {
jResp.put_J(j);
k = 0;
count_k = jResp.SizeOfArray("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports[j].ClientConfigurations");
while (k < count_k) {
jResp.put_K(k);
Clients = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports[j].ClientConfigurations[k].Clients");
json1 = jResp.ObjectOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports[j].ClientConfigurations[k]");
i1 = 0;
count_i1 = json1.SizeOfArray("Options");
while (i1 < count_i1) {
json1.put_I(i1);
strVal = json1.stringOf("Options[i]");
i1 = i1+1;
}
k = k+1;
}
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas");
while (j < count_j) {
jResp.put_J(j);
Id = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[j].Id");
StorageCapacityQuotaGiB = jResp.IntOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[j].StorageCapacityQuotaGiB");
v_Type = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[j].Type");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.Tags");
while (j < count_j) {
jResp.put_J(j);
Key = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.Tags[j].Key");
Value = jResp.stringOf("Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.Tags[j].Value");
j = j+1;
}
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.FileSystem.NetworkInterfaceIds");
while (i < count_i) {
jResp.put_I(i);
strVal = jResp.stringOf("Backup.FileSystem.NetworkInterfaceIds[i]");
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.FileSystem.OntapConfiguration.Endpoints.Intercluster.IpAddresses");
while (i < count_i) {
jResp.put_I(i);
strVal = jResp.stringOf("Backup.FileSystem.OntapConfiguration.Endpoints.Intercluster.IpAddresses[i]");
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.FileSystem.OntapConfiguration.Endpoints.Management.IpAddresses");
while (i < count_i) {
jResp.put_I(i);
strVal = jResp.stringOf("Backup.FileSystem.OntapConfiguration.Endpoints.Management.IpAddresses[i]");
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.FileSystem.OntapConfiguration.RouteTableIds");
while (i < count_i) {
jResp.put_I(i);
strVal = jResp.stringOf("Backup.FileSystem.OntapConfiguration.RouteTableIds[i]");
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.FileSystem.SubnetIds");
while (i < count_i) {
jResp.put_I(i);
strVal = jResp.stringOf("Backup.FileSystem.SubnetIds[i]");
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.FileSystem.Tags");
while (i < count_i) {
jResp.put_I(i);
Key = jResp.stringOf("Backup.FileSystem.Tags[i].Key");
Value = jResp.stringOf("Backup.FileSystem.Tags[i].Value");
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.FileSystem.WindowsConfiguration.Aliases");
while (i < count_i) {
jResp.put_I(i);
Lifecycle = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.Aliases[i].Lifecycle");
Name = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.Aliases[i].Name");
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.FileSystem.WindowsConfiguration.MaintenanceOperationsInProgress");
while (i < count_i) {
jResp.put_I(i);
strVal = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.MaintenanceOperationsInProgress[i]");
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps");
while (i < count_i) {
jResp.put_I(i);
strVal = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps[i]");
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.Tags");
while (i < count_i) {
jResp.put_I(i);
Key = jResp.stringOf("Backup.Tags[i].Key");
Value = jResp.stringOf("Backup.Tags[i].Value");
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.Volume.AdministrativeActions");
while (i < count_i) {
jResp.put_I(i);
AdministrativeActionType = jResp.stringOf("Backup.Volume.AdministrativeActions[i].AdministrativeActionType");
FailureDetailsMessage = jResp.stringOf("Backup.Volume.AdministrativeActions[i].FailureDetails.Message");
ProgressPercent = jResp.IntOf("Backup.Volume.AdministrativeActions[i].ProgressPercent");
RequestTime = jResp.IntOf("Backup.Volume.AdministrativeActions[i].RequestTime");
Status = jResp.stringOf("Backup.Volume.AdministrativeActions[i].Status");
TargetFileSystemValuesCreationTime = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.CreationTime");
TargetFileSystemValuesDNSName = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.DNSName");
FailureDetailsMessage = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.FailureDetails.Message");
TargetFileSystemValuesFileSystemId = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.FileSystemId");
TargetFileSystemValuesFileSystemType = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.FileSystemType");
TargetFileSystemValuesFileSystemTypeVersion = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.FileSystemTypeVersion");
TargetFileSystemValuesKmsKeyId = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.KmsKeyId");
TargetFileSystemValuesLifecycle = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.Lifecycle");
LustreConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.AutomaticBackupRetentionDays");
LustreConfigurationCopyTagsToBackups = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.CopyTagsToBackups");
LustreConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DailyAutomaticBackupStartTime");
LustreConfigurationDataCompressionType = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataCompressionType");
DataRepositoryConfigurationAutoImportPolicy = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.AutoImportPolicy");
DataRepositoryConfigurationExportPath = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ExportPath");
FailureDetailsMessage = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.FailureDetails.Message");
DataRepositoryConfigurationImportedFileChunkSize = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ImportedFileChunkSize");
DataRepositoryConfigurationImportPath = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ImportPath");
DataRepositoryConfigurationLifecycle = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.Lifecycle");
LustreConfigurationDeploymentType = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DeploymentType");
LustreConfigurationDriveCacheType = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DriveCacheType");
LogConfigurationDestination = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.LogConfiguration.Destination");
LogConfigurationLevel = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.LogConfiguration.Level");
LustreConfigurationMountName = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.MountName");
LustreConfigurationPerUnitStorageThroughput = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.PerUnitStorageThroughput");
LustreConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.WeeklyMaintenanceStartTime");
OntapConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.AutomaticBackupRetentionDays");
OntapConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.DailyAutomaticBackupStartTime");
OntapConfigurationDeploymentType = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.DeploymentType");
DiskIopsConfigurationIops = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.DiskIopsConfiguration.Iops");
DiskIopsConfigurationMode = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.DiskIopsConfiguration.Mode");
OntapConfigurationEndpointIpAddressRange = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.EndpointIpAddressRange");
InterclusterDNSName = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.DNSName");
ManagementDNSName = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.DNSName");
OntapConfigurationPreferredSubnetId = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.PreferredSubnetId");
OntapConfigurationThroughputCapacity = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.ThroughputCapacity");
OntapConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.WeeklyMaintenanceStartTime");
OpenZFSConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.AutomaticBackupRetentionDays");
OpenZFSConfigurationCopyTagsToBackups = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.CopyTagsToBackups");
OpenZFSConfigurationCopyTagsToVolumes = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.CopyTagsToVolumes");
OpenZFSConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.DailyAutomaticBackupStartTime");
OpenZFSConfigurationDeploymentType = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.DeploymentType");
DiskIopsConfigurationIops = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.DiskIopsConfiguration.Iops");
DiskIopsConfigurationMode = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.DiskIopsConfiguration.Mode");
OpenZFSConfigurationRootVolumeId = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.RootVolumeId");
OpenZFSConfigurationThroughputCapacity = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.ThroughputCapacity");
OpenZFSConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.WeeklyMaintenanceStartTime");
TargetFileSystemValuesOwnerId = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OwnerId");
TargetFileSystemValuesResourceARN = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.ResourceARN");
TargetFileSystemValuesStorageCapacity = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.StorageCapacity");
TargetFileSystemValuesStorageType = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.StorageType");
TargetFileSystemValuesVpcId = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.VpcId");
WindowsConfigurationActiveDirectoryId = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.ActiveDirectoryId");
AuditLogConfigurationAuditLogDestination = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.AuditLogDestination");
AuditLogConfigurationFileAccessAuditLogLevel = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel");
AuditLogConfigurationFileShareAccessAuditLogLevel = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel");
WindowsConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.AutomaticBackupRetentionDays");
WindowsConfigurationCopyTagsToBackups = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.CopyTagsToBackups");
WindowsConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.DailyAutomaticBackupStartTime");
WindowsConfigurationDeploymentType = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.DeploymentType");
WindowsConfigurationPreferredFileServerIp = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.PreferredFileServerIp");
WindowsConfigurationPreferredSubnetId = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.PreferredSubnetId");
WindowsConfigurationRemoteAdministrationEndpoint = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.RemoteAdministrationEndpoint");
SelfManagedActiveDirectoryConfigurationDomainName = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName");
SelfManagedActiveDirectoryConfigurationFileSystemAdministratorsGroup = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup");
SelfManagedActiveDirectoryConfigurationOrganizationalUnitDistinguishedName = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName");
SelfManagedActiveDirectoryConfigurationUserName = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName");
WindowsConfigurationThroughputCapacity = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.ThroughputCapacity");
WindowsConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.WeeklyMaintenanceStartTime");
TargetSnapshotValuesCreationTime = jResp.IntOf("Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.CreationTime");
TargetSnapshotValuesLifecycle = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.Lifecycle");
LifecycleTransitionReasonMessage = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.LifecycleTransitionReason.Message");
TargetSnapshotValuesName = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.Name");
TargetSnapshotValuesResourceARN = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.ResourceARN");
TargetSnapshotValuesSnapshotId = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.SnapshotId");
TargetSnapshotValuesVolumeId = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.VolumeId");
TargetVolumeValues = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetVolumeValues");
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.AdministrativeActions");
while (j < count_j) {
jResp.put_J(j);
strVal = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.AdministrativeActions[j]");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.NetworkInterfaceIds");
while (j < count_j) {
jResp.put_J(j);
strVal = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.NetworkInterfaceIds[j]");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.IpAddresses");
while (j < count_j) {
jResp.put_J(j);
strVal = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.IpAddresses[j]");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.IpAddresses");
while (j < count_j) {
jResp.put_J(j);
strVal = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.IpAddresses[j]");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.RouteTableIds");
while (j < count_j) {
jResp.put_J(j);
strVal = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.RouteTableIds[j]");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.SubnetIds");
while (j < count_j) {
jResp.put_J(j);
strVal = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.SubnetIds[j]");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.Tags");
while (j < count_j) {
jResp.put_J(j);
Key = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.Tags[j].Key");
Value = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.Tags[j].Value");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.Aliases");
while (j < count_j) {
jResp.put_J(j);
Lifecycle = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.Aliases[j].Lifecycle");
Name = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.Aliases[j].Name");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.MaintenanceOperationsInProgress");
while (j < count_j) {
jResp.put_J(j);
strVal = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.MaintenanceOperationsInProgress[j]");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps");
while (j < count_j) {
jResp.put_J(j);
strVal = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps[j]");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions");
while (j < count_j) {
jResp.put_J(j);
strVal = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions[j]");
j = j+1;
}
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.Tags");
while (j < count_j) {
jResp.put_J(j);
Key = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Key");
Value = jResp.stringOf("Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Value");
j = j+1;
}
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.Volume.OpenZFSConfiguration.NfsExports");
while (i < count_i) {
jResp.put_I(i);
j = 0;
count_j = jResp.SizeOfArray("Backup.Volume.OpenZFSConfiguration.NfsExports[i].ClientConfigurations");
while (j < count_j) {
jResp.put_J(j);
Clients = jResp.stringOf("Backup.Volume.OpenZFSConfiguration.NfsExports[i].ClientConfigurations[j].Clients");
k = 0;
count_k = jResp.SizeOfArray("Backup.Volume.OpenZFSConfiguration.NfsExports[i].ClientConfigurations[j].Options");
while (k < count_k) {
jResp.put_K(k);
strVal = jResp.stringOf("Backup.Volume.OpenZFSConfiguration.NfsExports[i].ClientConfigurations[j].Options[k]");
k = k+1;
}
j = j+1;
}
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.Volume.OpenZFSConfiguration.UserAndGroupQuotas");
while (i < count_i) {
jResp.put_I(i);
Id = jResp.IntOf("Backup.Volume.OpenZFSConfiguration.UserAndGroupQuotas[i].Id");
StorageCapacityQuotaGiB = jResp.IntOf("Backup.Volume.OpenZFSConfiguration.UserAndGroupQuotas[i].StorageCapacityQuotaGiB");
v_Type = jResp.stringOf("Backup.Volume.OpenZFSConfiguration.UserAndGroupQuotas[i].Type");
i = i+1;
}
i = 0;
count_i = jResp.SizeOfArray("Backup.Volume.Tags");
while (i < count_i) {
jResp.put_I(i);
Key = jResp.stringOf("Backup.Volume.Tags[i].Key");
Value = jResp.stringOf("Backup.Volume.Tags[i].Value");
i = i+1;
}
// A sample JSON response body parsed by the above code:
// {
// "Backup": {
// "BackupId": "string",
// "CreationTime": number,
// "DirectoryInformation": {
// "ActiveDirectoryId": "string",
// "DomainName": "string",
// "ResourceARN": "string"
// },
// "FailureDetails": {
// "Message": "string"
// },
// "FileSystem": {
// "AdministrativeActions": [
// {
// "AdministrativeActionType": "string",
// "FailureDetails": {
// "Message": "string"
// },
// "ProgressPercent": number,
// "RequestTime": number,
// "Status": "string",
// "TargetFileSystemValues": "FileSystem",
// "TargetSnapshotValues": {
// "AdministrativeActions": [
// "AdministrativeAction"
// ],
// "CreationTime": number,
// "Lifecycle": "string",
// "LifecycleTransitionReason": {
// "Message": "string"
// },
// "Name": "string",
// "ResourceARN": "string",
// "SnapshotId": "string",
// "Tags": [
// {
// "Key": "string",
// "Value": "string"
// }
// ],
// "VolumeId": "string"
// },
// "TargetVolumeValues": {
// "AdministrativeActions": [
// "AdministrativeAction"
// ],
// "CreationTime": number,
// "FileSystemId": "string",
// "Lifecycle": "string",
// "LifecycleTransitionReason": {
// "Message": "string"
// },
// "Name": "string",
// "OntapConfiguration": {
// "FlexCacheEndpointType": "string",
// "JunctionPath": "string",
// "OntapVolumeType": "string",
// "SecurityStyle": "string",
// "SizeInMegabytes": number,
// "StorageEfficiencyEnabled": boolean,
// "StorageVirtualMachineId": "string",
// "StorageVirtualMachineRoot": boolean,
// "TieringPolicy": {
// "CoolingPeriod": number,
// "Name": "string"
// },
// "UUID": "string"
// },
// "OpenZFSConfiguration": {
// "CopyTagsToSnapshots": boolean,
// "DataCompressionType": "string",
// "NfsExports": [
// {
// "ClientConfigurations": [
// {
// "Clients": "string",
// "Options": [
// "string"
// ]
// }
// ]
// }
// ],
// "OriginSnapshot": {
// "CopyStrategy": "string",
// "SnapshotARN": "string"
// },
// "ParentVolumeId": "string",
// "ReadOnly": boolean,
// "RecordSizeKiB": number,
// "StorageCapacityQuotaGiB": number,
// "StorageCapacityReservationGiB": number,
// "UserAndGroupQuotas": [
// {
// "Id": number,
// "StorageCapacityQuotaGiB": number,
// "Type": "string"
// }
// ],
// "VolumePath": "string"
// },
// "ResourceARN": "string",
// "Tags": [
// {
// "Key": "string",
// "Value": "string"
// }
// ],
// "VolumeId": "string",
// "VolumeType": "string"
// }
// }
// ],
// "CreationTime": number,
// "DNSName": "string",
// "FailureDetails": {
// "Message": "string"
// },
// "FileSystemId": "string",
// "FileSystemType": "string",
// "FileSystemTypeVersion": "string",
// "KmsKeyId": "string",
// "Lifecycle": "string",
// "LustreConfiguration": {
// "AutomaticBackupRetentionDays": number,
// "CopyTagsToBackups": boolean,
// "DailyAutomaticBackupStartTime": "string",
// "DataCompressionType": "string",
// "DataRepositoryConfiguration": {
// "AutoImportPolicy": "string",
// "ExportPath": "string",
// "FailureDetails": {
// "Message": "string"
// },
// "ImportedFileChunkSize": number,
// "ImportPath": "string",
// "Lifecycle": "string"
// },
// "DeploymentType": "string",
// "DriveCacheType": "string",
// "LogConfiguration": {
// "Destination": "string",
// "Level": "string"
// },
// "MountName": "string",
// "PerUnitStorageThroughput": number,
// "WeeklyMaintenanceStartTime": "string"
// },
// "NetworkInterfaceIds": [
// "string"
// ],
// "OntapConfiguration": {
// "AutomaticBackupRetentionDays": number,
// "DailyAutomaticBackupStartTime": "string",
// "DeploymentType": "string",
// "DiskIopsConfiguration": {
// "Iops": number,
// "Mode": "string"
// },
// "EndpointIpAddressRange": "string",
// "Endpoints": {
// "Intercluster": {
// "DNSName": "string",
// "IpAddresses": [
// "string"
// ]
// },
// "Management": {
// "DNSName": "string",
// "IpAddresses": [
// "string"
// ]
// }
// },
// "PreferredSubnetId": "string",
// "RouteTableIds": [
// "string"
// ],
// "ThroughputCapacity": number,
// "WeeklyMaintenanceStartTime": "string"
// },
// "OpenZFSConfiguration": {
// "AutomaticBackupRetentionDays": number,
// "CopyTagsToBackups": boolean,
// "CopyTagsToVolumes": boolean,
// "DailyAutomaticBackupStartTime": "string",
// "DeploymentType": "string",
// "DiskIopsConfiguration": {
// "Iops": number,
// "Mode": "string"
// },
// "RootVolumeId": "string",
// "ThroughputCapacity": number,
// "WeeklyMaintenanceStartTime": "string"
// },
// "OwnerId": "string",
// "ResourceARN": "string",
// "StorageCapacity": number,
// "StorageType": "string",
// "SubnetIds": [
// "string"
// ],
// "Tags": [
// {
// "Key": "string",
// "Value": "string"
// }
// ],
// "VpcId": "string",
// "WindowsConfiguration": {
// "ActiveDirectoryId": "string",
// "Aliases": [
// {
// "Lifecycle": "string",
// "Name": "string"
// }
// ],
// "AuditLogConfiguration": {
// "AuditLogDestination": "string",
// "FileAccessAuditLogLevel": "string",
// "FileShareAccessAuditLogLevel": "string"
// },
// "AutomaticBackupRetentionDays": number,
// "CopyTagsToBackups": boolean,
// "DailyAutomaticBackupStartTime": "string",
// "DeploymentType": "string",
// "MaintenanceOperationsInProgress": [
// "string"
// ],
// "PreferredFileServerIp": "string",
// "PreferredSubnetId": "string",
// "RemoteAdministrationEndpoint": "string",
// "SelfManagedActiveDirectoryConfiguration": {
// "DnsIps": [
// "string"
// ],
// "DomainName": "string",
// "FileSystemAdministratorsGroup": "string",
// "OrganizationalUnitDistinguishedName": "string",
// "UserName": "string"
// },
// "ThroughputCapacity": number,
// "WeeklyMaintenanceStartTime": "string"
// }
// },
// "KmsKeyId": "string",
// "Lifecycle": "string",
// "OwnerId": "string",
// "ProgressPercent": number,
// "ResourceARN": "string",
// "ResourceType": "string",
// "SourceBackupId": "string",
// "SourceBackupRegion": "string",
// "Tags": [
// {
// "Key": "string",
// "Value": "string"
// }
// ],
// "Type": "string",
// "Volume": {
// "AdministrativeActions": [
// {
// "AdministrativeActionType": "string",
// "FailureDetails": {
// "Message": "string"
// },
// "ProgressPercent": number,
// "RequestTime": number,
// "Status": "string",
// "TargetFileSystemValues": {
// "AdministrativeActions": [
// "AdministrativeAction"
// ],
// "CreationTime": number,
// "DNSName": "string",
// "FailureDetails": {
// "Message": "string"
// },
// "FileSystemId": "string",
// "FileSystemType": "string",
// "FileSystemTypeVersion": "string",
// "KmsKeyId": "string",
// "Lifecycle": "string",
// "LustreConfiguration": {
// "AutomaticBackupRetentionDays": number,
// "CopyTagsToBackups": boolean,
// "DailyAutomaticBackupStartTime": "string",
// "DataCompressionType": "string",
// "DataRepositoryConfiguration": {
// "AutoImportPolicy": "string",
// "ExportPath": "string",
// "FailureDetails": {
// "Message": "string"
// },
// "ImportedFileChunkSize": number,
// "ImportPath": "string",
// "Lifecycle": "string"
// },
// "DeploymentType": "string",
// "DriveCacheType": "string",
// "LogConfiguration": {
// "Destination": "string",
// "Level": "string"
// },
// "MountName": "string",
// "PerUnitStorageThroughput": number,
// "WeeklyMaintenanceStartTime": "string"
// },
// "NetworkInterfaceIds": [
// "string"
// ],
// "OntapConfiguration": {
// "AutomaticBackupRetentionDays": number,
// "DailyAutomaticBackupStartTime": "string",
// "DeploymentType": "string",
// "DiskIopsConfiguration": {
// "Iops": number,
// "Mode": "string"
// },
// "EndpointIpAddressRange": "string",
// "Endpoints": {
// "Intercluster": {
// "DNSName": "string",
// "IpAddresses": [
// "string"
// ]
// },
// "Management": {
// "DNSName": "string",
// "IpAddresses": [
// "string"
// ]
// }
// },
// "PreferredSubnetId": "string",
// "RouteTableIds": [
// "string"
// ],
// "ThroughputCapacity": number,
// "WeeklyMaintenanceStartTime": "string"
// },
// "OpenZFSConfiguration": {
// "AutomaticBackupRetentionDays": number,
// "CopyTagsToBackups": boolean,
// "CopyTagsToVolumes": boolean,
// "DailyAutomaticBackupStartTime": "string",
// "DeploymentType": "string",
// "DiskIopsConfiguration": {
// "Iops": number,
// "Mode": "string"
// },
// "RootVolumeId": "string",
// "ThroughputCapacity": number,
// "WeeklyMaintenanceStartTime": "string"
// },
// "OwnerId": "string",
// "ResourceARN": "string",
// "StorageCapacity": number,
// "StorageType": "string",
// "SubnetIds": [
// "string"
// ],
// "Tags": [
// {
// "Key": "string",
// "Value": "string"
// }
// ],
// "VpcId": "string",
// "WindowsConfiguration": {
// "ActiveDirectoryId": "string",
// "Aliases": [
// {
// "Lifecycle": "string",
// "Name": "string"
// }
// ],
// "AuditLogConfiguration": {
// "AuditLogDestination": "string",
// "FileAccessAuditLogLevel": "string",
// "FileShareAccessAuditLogLevel": "string"
// },
// "AutomaticBackupRetentionDays": number,
// "CopyTagsToBackups": boolean,
// "DailyAutomaticBackupStartTime": "string",
// "DeploymentType": "string",
// "MaintenanceOperationsInProgress": [
// "string"
// ],
// "PreferredFileServerIp": "string",
// "PreferredSubnetId": "string",
// "RemoteAdministrationEndpoint": "string",
// "SelfManagedActiveDirectoryConfiguration": {
// "DnsIps": [
// "string"
// ],
// "DomainName": "string",
// "FileSystemAdministratorsGroup": "string",
// "OrganizationalUnitDistinguishedName": "string",
// "UserName": "string"
// },
// "ThroughputCapacity": number,
// "WeeklyMaintenanceStartTime": "string"
// }
// },
// "TargetSnapshotValues": {
// "AdministrativeActions": [
// "AdministrativeAction"
// ],
// "CreationTime": number,
// "Lifecycle": "string",
// "LifecycleTransitionReason": {
// "Message": "string"
// },
// "Name": "string",
// "ResourceARN": "string",
// "SnapshotId": "string",
// "Tags": [
// {
// "Key": "string",
// "Value": "string"
// }
// ],
// "VolumeId": "string"
// },
// "TargetVolumeValues": "Volume"
// }
// ],
// "CreationTime": number,
// "FileSystemId": "string",
// "Lifecycle": "string",
// "LifecycleTransitionReason": {
// "Message": "string"
// },
// "Name": "string",
// "OntapConfiguration": {
// "FlexCacheEndpointType": "string",
// "JunctionPath": "string",
// "OntapVolumeType": "string",
// "SecurityStyle": "string",
// "SizeInMegabytes": number,
// "StorageEfficiencyEnabled": boolean,
// "StorageVirtualMachineId": "string",
// "StorageVirtualMachineRoot": boolean,
// "TieringPolicy": {
// "CoolingPeriod": number,
// "Name": "string"
// },
// "UUID": "string"
// },
// "OpenZFSConfiguration": {
// "CopyTagsToSnapshots": boolean,
// "DataCompressionType": "string",
// "NfsExports": [
// {
// "ClientConfigurations": [
// {
// "Clients": "string",
// "Options": [
// "string"
// ]
// }
// ]
// }
// ],
// "OriginSnapshot": {
// "CopyStrategy": "string",
// "SnapshotARN": "string"
// },
// "ParentVolumeId": "string",
// "ReadOnly": boolean,
// "RecordSizeKiB": number,
// "StorageCapacityQuotaGiB": number,
// "StorageCapacityReservationGiB": number,
// "UserAndGroupQuotas": [
// {
// "Id": number,
// "StorageCapacityQuotaGiB": number,
// "Type": "string"
// }
// ],
// "VolumePath": "string"
// },
// "ResourceARN": "string",
// "Tags": [
// {
// "Key": "string",
// "Value": "string"
// }
// ],
// "VolumeId": "string",
// "VolumeType": "string"
// }
// }
// }
}
}