CopyBackup C++ Example
#include <CkRest.h>
#include <CkAuthAws.h>
#include <CkJsonObject.h>
#include <CkStringBuilder.h>
void ChilkatSample(void)
{
// This example requires the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
CkRest rest;
bool success;
CkAuthAws authAws;
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) {
std::cout << "ConnectFailReason: " << rest.get_ConnectFailReason() << "\r\n";
std::cout << rest.lastErrorText() << "\r\n";
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;
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;
json.EmitSb(sbRequestBody);
CkStringBuilder sbResponseBody;
success = rest.FullRequestSb("POST","/",sbRequestBody,sbResponseBody);
if (success != true) {
std::cout << rest.lastErrorText() << "\r\n";
return;
}
int respStatusCode = rest.get_ResponseStatusCode();
std::cout << "response status code = " << respStatusCode << "\r\n";
if (respStatusCode != 200) {
std::cout << "Response Header:" << "\r\n";
std::cout << rest.responseHeader() << "\r\n";
std::cout << "Response Body:" << "\r\n";
std::cout << sbResponseBody.getAsString() << "\r\n";
return;
}
CkJsonObject jResp;
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
// Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.
// See this example explaining how this memory should be used: const char * functions.
const char *AdministrativeActionType = 0;
int RequestTime;
const char *Status = 0;
const char *TargetFileSystemValues = 0;
int TargetSnapshotValuesCreationTime;
const char *TargetSnapshotValuesLifecycle = 0;
const char *TargetSnapshotValuesName = 0;
const char *TargetSnapshotValuesResourceARN = 0;
const char *SnapshotId = 0;
const char *TargetSnapshotValuesVolumeId = 0;
int TargetVolumeValuesCreationTime;
const char *TargetVolumeValuesFileSystemId = 0;
const char *TargetVolumeValuesLifecycle = 0;
const char *TargetVolumeValuesName = 0;
const char *OntapConfigurationFlexCacheEndpointType = 0;
const char *OntapConfigurationJunctionPath = 0;
const char *OntapConfigurationOntapVolumeType = 0;
const char *OntapConfigurationSecurityStyle = 0;
int OntapConfigurationSizeInMegabytes;
int OntapConfigurationStorageEfficiencyEnabled;
const char *OntapConfigurationStorageVirtualMachineId = 0;
int OntapConfigurationStorageVirtualMachineRoot;
int TieringPolicyCoolingPeriod;
const char *OntapConfigurationUUID = 0;
int OpenZFSConfigurationCopyTagsToSnapshots;
const char *OriginSnapshotCopyStrategy = 0;
const char *OriginSnapshotSnapshotARN = 0;
const char *OpenZFSConfigurationParentVolumeId = 0;
int OpenZFSConfigurationReadOnly;
int OpenZFSConfigurationRecordSizeKiB;
int OpenZFSConfigurationStorageCapacityQuotaGiB;
int OpenZFSConfigurationStorageCapacityReservationGiB;
const char *OpenZFSConfigurationVolumePath = 0;
const char *TargetVolumeValuesResourceARN = 0;
const char *TargetVolumeValuesVolumeId = 0;
const char *TargetVolumeValuesVolumeType = 0;
int j;
int count_j;
const char *strVal = 0;
const char *Key = 0;
const char *Value = 0;
int k;
int count_k;
const char *Clients = 0;
CkJsonObject *json1 = 0;
int i1;
int count_i1;
int Id;
int TargetFileSystemValuesCreationTime;
const char *TargetFileSystemValuesDNSName = 0;
const char *TargetFileSystemValuesFileSystemId = 0;
const char *TargetFileSystemValuesFileSystemType = 0;
const char *TargetFileSystemValuesFileSystemTypeVersion = 0;
const char *TargetFileSystemValuesKmsKeyId = 0;
const char *TargetFileSystemValuesLifecycle = 0;
int LustreConfigurationAutomaticBackupRetentionDays;
int LustreConfigurationCopyTagsToBackups;
const char *LustreConfigurationDailyAutomaticBackupStartTime = 0;
const char *LustreConfigurationDataCompressionType = 0;
const char *DataRepositoryConfigurationAutoImportPolicy = 0;
const char *DataRepositoryConfigurationExportPath = 0;
int DataRepositoryConfigurationImportedFileChunkSize;
const char *DataRepositoryConfigurationImportPath = 0;
const char *LustreConfigurationDeploymentType = 0;
const char *LustreConfigurationDriveCacheType = 0;
const char *LogConfigurationDestination = 0;
const char *LogConfigurationLevel = 0;
const char *LustreConfigurationMountName = 0;
int LustreConfigurationPerUnitStorageThroughput;
const char *LustreConfigurationWeeklyMaintenanceStartTime = 0;
const char *OntapConfigurationEndpointIpAddressRange = 0;
const char *OntapConfigurationPreferredSubnetId = 0;
int OntapConfigurationThroughputCapacity;
int OpenZFSConfigurationCopyTagsToVolumes;
const char *OpenZFSConfigurationRootVolumeId = 0;
const char *TargetFileSystemValuesOwnerId = 0;
const char *TargetFileSystemValuesResourceARN = 0;
int TargetFileSystemValuesStorageCapacity;
const char *TargetFileSystemValuesStorageType = 0;
const char *TargetFileSystemValuesVpcId = 0;
const char *AuditLogConfigurationAuditLogDestination = 0;
const char *AuditLogConfigurationFileAccessAuditLogLevel = 0;
const char *AuditLogConfigurationFileShareAccessAuditLogLevel = 0;
const char *WindowsConfigurationPreferredFileServerIp = 0;
const char *WindowsConfigurationRemoteAdministrationEndpoint = 0;
const char *SelfManagedActiveDirectoryConfigurationFileSystemAdministratorsGroup = 0;
const char *SelfManagedActiveDirectoryConfigurationOrganizationalUnitDistinguishedName = 0;
const char *SelfManagedActiveDirectoryConfigurationUserName = 0;
const char *TargetSnapshotValuesSnapshotId = 0;
const char *TargetVolumeValues = 0;
const char *BackupId = jResp.stringOf("Backup.BackupId");
int CreationTime = jResp.IntOf("Backup.CreationTime");
const char *ActiveDirectoryId = jResp.stringOf("Backup.DirectoryInformation.ActiveDirectoryId");
const char *DomainName = jResp.stringOf("Backup.DirectoryInformation.DomainName");
const char *ResourceARN = jResp.stringOf("Backup.DirectoryInformation.ResourceARN");
const char *Message = jResp.stringOf("Backup.FailureDetails.Message");
int FileSystemCreationTime = jResp.IntOf("Backup.FileSystem.CreationTime");
const char *DNSName = jResp.stringOf("Backup.FileSystem.DNSName");
const char *FailureDetailsMessage = jResp.stringOf("Backup.FileSystem.FailureDetails.Message");
const char *FileSystemId = jResp.stringOf("Backup.FileSystem.FileSystemId");
const char *FileSystemType = jResp.stringOf("Backup.FileSystem.FileSystemType");
const char *FileSystemTypeVersion = jResp.stringOf("Backup.FileSystem.FileSystemTypeVersion");
const char *KmsKeyId = jResp.stringOf("Backup.FileSystem.KmsKeyId");
const char *Lifecycle = jResp.stringOf("Backup.FileSystem.Lifecycle");
int AutomaticBackupRetentionDays = jResp.IntOf("Backup.FileSystem.LustreConfiguration.AutomaticBackupRetentionDays");
int CopyTagsToBackups = jResp.IntOf("Backup.FileSystem.LustreConfiguration.CopyTagsToBackups");
const char *DailyAutomaticBackupStartTime = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DailyAutomaticBackupStartTime");
const char *DataCompressionType = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DataCompressionType");
const char *AutoImportPolicy = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.AutoImportPolicy");
const char *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");
const char *ImportPath = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportPath");
const char *DataRepositoryConfigurationLifecycle = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.Lifecycle");
const char *DeploymentType = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DeploymentType");
const char *DriveCacheType = jResp.stringOf("Backup.FileSystem.LustreConfiguration.DriveCacheType");
const char *Destination = jResp.stringOf("Backup.FileSystem.LustreConfiguration.LogConfiguration.Destination");
const char *Level = jResp.stringOf("Backup.FileSystem.LustreConfiguration.LogConfiguration.Level");
const char *MountName = jResp.stringOf("Backup.FileSystem.LustreConfiguration.MountName");
int PerUnitStorageThroughput = jResp.IntOf("Backup.FileSystem.LustreConfiguration.PerUnitStorageThroughput");
const char *WeeklyMaintenanceStartTime = jResp.stringOf("Backup.FileSystem.LustreConfiguration.WeeklyMaintenanceStartTime");
int OntapConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backup.FileSystem.OntapConfiguration.AutomaticBackupRetentionDays");
const char *OntapConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backup.FileSystem.OntapConfiguration.DailyAutomaticBackupStartTime");
const char *OntapConfigurationDeploymentType = jResp.stringOf("Backup.FileSystem.OntapConfiguration.DeploymentType");
int Iops = jResp.IntOf("Backup.FileSystem.OntapConfiguration.DiskIopsConfiguration.Iops");
const char *Mode = jResp.stringOf("Backup.FileSystem.OntapConfiguration.DiskIopsConfiguration.Mode");
const char *EndpointIpAddressRange = jResp.stringOf("Backup.FileSystem.OntapConfiguration.EndpointIpAddressRange");
const char *InterclusterDNSName = jResp.stringOf("Backup.FileSystem.OntapConfiguration.Endpoints.Intercluster.DNSName");
const char *ManagementDNSName = jResp.stringOf("Backup.FileSystem.OntapConfiguration.Endpoints.Management.DNSName");
const char *PreferredSubnetId = jResp.stringOf("Backup.FileSystem.OntapConfiguration.PreferredSubnetId");
int ThroughputCapacity = jResp.IntOf("Backup.FileSystem.OntapConfiguration.ThroughputCapacity");
const char *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");
const char *OpenZFSConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backup.FileSystem.OpenZFSConfiguration.DailyAutomaticBackupStartTime");
const char *OpenZFSConfigurationDeploymentType = jResp.stringOf("Backup.FileSystem.OpenZFSConfiguration.DeploymentType");
int DiskIopsConfigurationIops = jResp.IntOf("Backup.FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Iops");
const char *DiskIopsConfigurationMode = jResp.stringOf("Backup.FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Mode");
const char *RootVolumeId = jResp.stringOf("Backup.FileSystem.OpenZFSConfiguration.RootVolumeId");
int OpenZFSConfigurationThroughputCapacity = jResp.IntOf("Backup.FileSystem.OpenZFSConfiguration.ThroughputCapacity");
const char *OpenZFSConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backup.FileSystem.OpenZFSConfiguration.WeeklyMaintenanceStartTime");
const char *OwnerId = jResp.stringOf("Backup.FileSystem.OwnerId");
const char *FileSystemResourceARN = jResp.stringOf("Backup.FileSystem.ResourceARN");
int StorageCapacity = jResp.IntOf("Backup.FileSystem.StorageCapacity");
const char *StorageType = jResp.stringOf("Backup.FileSystem.StorageType");
const char *VpcId = jResp.stringOf("Backup.FileSystem.VpcId");
const char *WindowsConfigurationActiveDirectoryId = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.ActiveDirectoryId");
const char *AuditLogDestination = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.AuditLogConfiguration.AuditLogDestination");
const char *FileAccessAuditLogLevel = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel");
const char *FileShareAccessAuditLogLevel = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel");
int WindowsConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backup.FileSystem.WindowsConfiguration.AutomaticBackupRetentionDays");
int WindowsConfigurationCopyTagsToBackups = jResp.IntOf("Backup.FileSystem.WindowsConfiguration.CopyTagsToBackups");
const char *WindowsConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.DailyAutomaticBackupStartTime");
const char *WindowsConfigurationDeploymentType = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.DeploymentType");
const char *PreferredFileServerIp = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.PreferredFileServerIp");
const char *WindowsConfigurationPreferredSubnetId = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.PreferredSubnetId");
const char *RemoteAdministrationEndpoint = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.RemoteAdministrationEndpoint");
const char *SelfManagedActiveDirectoryConfigurationDomainName = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName");
const char *FileSystemAdministratorsGroup = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup");
const char *OrganizationalUnitDistinguishedName = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName");
const char *UserName = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName");
int WindowsConfigurationThroughputCapacity = jResp.IntOf("Backup.FileSystem.WindowsConfiguration.ThroughputCapacity");
const char *WindowsConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backup.FileSystem.WindowsConfiguration.WeeklyMaintenanceStartTime");
const char *BackupKmsKeyId = jResp.stringOf("Backup.KmsKeyId");
const char *BackupLifecycle = jResp.stringOf("Backup.Lifecycle");
const char *BackupOwnerId = jResp.stringOf("Backup.OwnerId");
int ProgressPercent = jResp.IntOf("Backup.ProgressPercent");
const char *BackupResourceARN = jResp.stringOf("Backup.ResourceARN");
const char *ResourceType = jResp.stringOf("Backup.ResourceType");
const char *SourceBackupId = jResp.stringOf("Backup.SourceBackupId");
const char *SourceBackupRegion = jResp.stringOf("Backup.SourceBackupRegion");
const char *v_Type = jResp.stringOf("Backup.Type");
int VolumeCreationTime = jResp.IntOf("Backup.Volume.CreationTime");
const char *VolumeFileSystemId = jResp.stringOf("Backup.Volume.FileSystemId");
const char *VolumeLifecycle = jResp.stringOf("Backup.Volume.Lifecycle");
const char *LifecycleTransitionReasonMessage = jResp.stringOf("Backup.Volume.LifecycleTransitionReason.Message");
const char *Name = jResp.stringOf("Backup.Volume.Name");
const char *FlexCacheEndpointType = jResp.stringOf("Backup.Volume.OntapConfiguration.FlexCacheEndpointType");
const char *JunctionPath = jResp.stringOf("Backup.Volume.OntapConfiguration.JunctionPath");
const char *OntapVolumeType = jResp.stringOf("Backup.Volume.OntapConfiguration.OntapVolumeType");
const char *SecurityStyle = jResp.stringOf("Backup.Volume.OntapConfiguration.SecurityStyle");
int SizeInMegabytes = jResp.IntOf("Backup.Volume.OntapConfiguration.SizeInMegabytes");
int StorageEfficiencyEnabled = jResp.IntOf("Backup.Volume.OntapConfiguration.StorageEfficiencyEnabled");
const char *StorageVirtualMachineId = jResp.stringOf("Backup.Volume.OntapConfiguration.StorageVirtualMachineId");
int StorageVirtualMachineRoot = jResp.IntOf("Backup.Volume.OntapConfiguration.StorageVirtualMachineRoot");
int CoolingPeriod = jResp.IntOf("Backup.Volume.OntapConfiguration.TieringPolicy.CoolingPeriod");
const char *TieringPolicyName = jResp.stringOf("Backup.Volume.OntapConfiguration.TieringPolicy.Name");
const char *UUID = jResp.stringOf("Backup.Volume.OntapConfiguration.UUID");
int CopyTagsToSnapshots = jResp.IntOf("Backup.Volume.OpenZFSConfiguration.CopyTagsToSnapshots");
const char *OpenZFSConfigurationDataCompressionType = jResp.stringOf("Backup.Volume.OpenZFSConfiguration.DataCompressionType");
const char *CopyStrategy = jResp.stringOf("Backup.Volume.OpenZFSConfiguration.OriginSnapshot.CopyStrategy");
const char *SnapshotARN = jResp.stringOf("Backup.Volume.OpenZFSConfiguration.OriginSnapshot.SnapshotARN");
const char *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");
const char *VolumePath = jResp.stringOf("Backup.Volume.OpenZFSConfiguration.VolumePath");
const char *VolumeResourceARN = jResp.stringOf("Backup.Volume.ResourceARN");
const char *VolumeId = jResp.stringOf("Backup.Volume.VolumeId");
const char *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;
}
delete json1;
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"
// }
// }
// }
}