Chilkat Online Tools

CreateBackup Perl Example

Amazon FSx

use chilkat();

# This example requires the Chilkat API to have been previously unlocked.
# See Global Unlock Sample for sample code.

$rest = chilkat::CkRest->new();

$authAws = chilkat::CkAuthAws->new();
$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,1,1);
if ($success != 1) {
    print "ConnectFailReason: " . $rest->get_ConnectFailReason() . "\r\n";
    print $rest->lastErrorText() . "\r\n";
    exit;
}

# 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

$json = chilkat::CkJsonObject->new();
$json->UpdateString("ClientRequestToken","string");
$json->UpdateString("FileSystemId","string");
$json->UpdateString("Tags[0].Key","string");
$json->UpdateString("Tags[0].Value","string");
$json->UpdateString("VolumeId","string");

# The JSON request body created by the above code:

# {
#   "ClientRequestToken": "string",
#   "FileSystemId": "string",
#   "Tags": [
#     {
#       "Key": "string",
#       "Value": "string"
#     }
#   ],
#   "VolumeId": "string"
# }

$rest->AddHeader("Content-Type","application/x-amz-json-1.1");
$rest->AddHeader("X-Amz-Target","AWSSimbaAPIService_v20180301.CreateBackup");

$sbRequestBody = chilkat::CkStringBuilder->new();
$json->EmitSb($sbRequestBody);
$sbResponseBody = chilkat::CkStringBuilder->new();
$success = $rest->FullRequestSb("POST","/",$sbRequestBody,$sbResponseBody);
if ($success != 1) {
    print $rest->lastErrorText() . "\r\n";
    exit;
}

$respStatusCode = $rest->get_ResponseStatusCode();
print "response status code = " . $respStatusCode . "\r\n";
if ($respStatusCode != 200) {
    print "Response Header:" . "\r\n";
    print $rest->responseHeader() . "\r\n";
    print "Response Body:" . "\r\n";
    print $sbResponseBody->getAsString() . "\r\n";
    exit;
}

$jResp = chilkat::CkJsonObject->new();
$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

$BackupId = $jResp->stringOf("Backup.BackupId");
$CreationTime = $jResp->IntOf("Backup.CreationTime");
$ActiveDirectoryId = $jResp->stringOf("Backup.DirectoryInformation.ActiveDirectoryId");
$DomainName = $jResp->stringOf("Backup.DirectoryInformation.DomainName");
$ResourceARN = $jResp->stringOf("Backup.DirectoryInformation.ResourceARN");
$Message = $jResp->stringOf("Backup.FailureDetails.Message");
$FileSystemCreationTime = $jResp->IntOf("Backup.FileSystem.CreationTime");
$DNSName = $jResp->stringOf("Backup.FileSystem.DNSName");
$FailureDetailsMessage = $jResp->stringOf("Backup.FileSystem.FailureDetails.Message");
$FileSystemId = $jResp->stringOf("Backup.FileSystem.FileSystemId");
$FileSystemType = $jResp->stringOf("Backup.FileSystem.FileSystemType");
$FileSystemTypeVersion = $jResp->stringOf("Backup.FileSystem.FileSystemTypeVersion");
$KmsKeyId = $jResp->stringOf("Backup.FileSystem.KmsKeyId");
$Lifecycle = $jResp->stringOf("Backup.FileSystem.Lifecycle");
$AutomaticBackupRetentionDays = $jResp->IntOf("Backup.FileSystem.LustreConfiguration.AutomaticBackupRetentionDays");
$CopyTagsToBackups = $jResp->IntOf("Backup.FileSystem.LustreConfiguration.CopyTagsToBackups");
$DailyAutomaticBackupStartTime = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.DailyAutomaticBackupStartTime");
$DataCompressionType = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.DataCompressionType");
$AutoImportPolicy = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.AutoImportPolicy");
$ExportPath = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.ExportPath");
$FailureDetailsMessage = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.FailureDetails.Message");
$ImportedFileChunkSize = $jResp->IntOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportedFileChunkSize");
$ImportPath = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportPath");
$DataRepositoryConfigurationLifecycle = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.Lifecycle");
$DeploymentType = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.DeploymentType");
$DriveCacheType = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.DriveCacheType");
$Destination = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.LogConfiguration.Destination");
$Level = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.LogConfiguration.Level");
$MountName = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.MountName");
$PerUnitStorageThroughput = $jResp->IntOf("Backup.FileSystem.LustreConfiguration.PerUnitStorageThroughput");
$WeeklyMaintenanceStartTime = $jResp->stringOf("Backup.FileSystem.LustreConfiguration.WeeklyMaintenanceStartTime");
$OntapConfigurationAutomaticBackupRetentionDays = $jResp->IntOf("Backup.FileSystem.OntapConfiguration.AutomaticBackupRetentionDays");
$OntapConfigurationDailyAutomaticBackupStartTime = $jResp->stringOf("Backup.FileSystem.OntapConfiguration.DailyAutomaticBackupStartTime");
$OntapConfigurationDeploymentType = $jResp->stringOf("Backup.FileSystem.OntapConfiguration.DeploymentType");
$Iops = $jResp->IntOf("Backup.FileSystem.OntapConfiguration.DiskIopsConfiguration.Iops");
$Mode = $jResp->stringOf("Backup.FileSystem.OntapConfiguration.DiskIopsConfiguration.Mode");
$EndpointIpAddressRange = $jResp->stringOf("Backup.FileSystem.OntapConfiguration.EndpointIpAddressRange");
$InterclusterDNSName = $jResp->stringOf("Backup.FileSystem.OntapConfiguration.Endpoints.Intercluster.DNSName");
$ManagementDNSName = $jResp->stringOf("Backup.FileSystem.OntapConfiguration.Endpoints.Management.DNSName");
$PreferredSubnetId = $jResp->stringOf("Backup.FileSystem.OntapConfiguration.PreferredSubnetId");
$ThroughputCapacity = $jResp->IntOf("Backup.FileSystem.OntapConfiguration.ThroughputCapacity");
$OntapConfigurationWeeklyMaintenanceStartTime = $jResp->stringOf("Backup.FileSystem.OntapConfiguration.WeeklyMaintenanceStartTime");
$OpenZFSConfigurationAutomaticBackupRetentionDays = $jResp->IntOf("Backup.FileSystem.OpenZFSConfiguration.AutomaticBackupRetentionDays");
$OpenZFSConfigurationCopyTagsToBackups = $jResp->IntOf("Backup.FileSystem.OpenZFSConfiguration.CopyTagsToBackups");
$CopyTagsToVolumes = $jResp->IntOf("Backup.FileSystem.OpenZFSConfiguration.CopyTagsToVolumes");
$OpenZFSConfigurationDailyAutomaticBackupStartTime = $jResp->stringOf("Backup.FileSystem.OpenZFSConfiguration.DailyAutomaticBackupStartTime");
$OpenZFSConfigurationDeploymentType = $jResp->stringOf("Backup.FileSystem.OpenZFSConfiguration.DeploymentType");
$DiskIopsConfigurationIops = $jResp->IntOf("Backup.FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Iops");
$DiskIopsConfigurationMode = $jResp->stringOf("Backup.FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Mode");
$RootVolumeId = $jResp->stringOf("Backup.FileSystem.OpenZFSConfiguration.RootVolumeId");
$OpenZFSConfigurationThroughputCapacity = $jResp->IntOf("Backup.FileSystem.OpenZFSConfiguration.ThroughputCapacity");
$OpenZFSConfigurationWeeklyMaintenanceStartTime = $jResp->stringOf("Backup.FileSystem.OpenZFSConfiguration.WeeklyMaintenanceStartTime");
$OwnerId = $jResp->stringOf("Backup.FileSystem.OwnerId");
$FileSystemResourceARN = $jResp->stringOf("Backup.FileSystem.ResourceARN");
$StorageCapacity = $jResp->IntOf("Backup.FileSystem.StorageCapacity");
$StorageType = $jResp->stringOf("Backup.FileSystem.StorageType");
$VpcId = $jResp->stringOf("Backup.FileSystem.VpcId");
$WindowsConfigurationActiveDirectoryId = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.ActiveDirectoryId");
$AuditLogDestination = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.AuditLogConfiguration.AuditLogDestination");
$FileAccessAuditLogLevel = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel");
$FileShareAccessAuditLogLevel = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel");
$WindowsConfigurationAutomaticBackupRetentionDays = $jResp->IntOf("Backup.FileSystem.WindowsConfiguration.AutomaticBackupRetentionDays");
$WindowsConfigurationCopyTagsToBackups = $jResp->IntOf("Backup.FileSystem.WindowsConfiguration.CopyTagsToBackups");
$WindowsConfigurationDailyAutomaticBackupStartTime = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.DailyAutomaticBackupStartTime");
$WindowsConfigurationDeploymentType = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.DeploymentType");
$PreferredFileServerIp = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.PreferredFileServerIp");
$WindowsConfigurationPreferredSubnetId = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.PreferredSubnetId");
$RemoteAdministrationEndpoint = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.RemoteAdministrationEndpoint");
$SelfManagedActiveDirectoryConfigurationDomainName = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName");
$FileSystemAdministratorsGroup = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup");
$OrganizationalUnitDistinguishedName = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName");
$UserName = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName");
$WindowsConfigurationThroughputCapacity = $jResp->IntOf("Backup.FileSystem.WindowsConfiguration.ThroughputCapacity");
$WindowsConfigurationWeeklyMaintenanceStartTime = $jResp->stringOf("Backup.FileSystem.WindowsConfiguration.WeeklyMaintenanceStartTime");
$BackupKmsKeyId = $jResp->stringOf("Backup.KmsKeyId");
$BackupLifecycle = $jResp->stringOf("Backup.Lifecycle");
$BackupOwnerId = $jResp->stringOf("Backup.OwnerId");
$ProgressPercent = $jResp->IntOf("Backup.ProgressPercent");
$BackupResourceARN = $jResp->stringOf("Backup.ResourceARN");
$ResourceType = $jResp->stringOf("Backup.ResourceType");
$SourceBackupId = $jResp->stringOf("Backup.SourceBackupId");
$SourceBackupRegion = $jResp->stringOf("Backup.SourceBackupRegion");
$v_Type = $jResp->stringOf("Backup.Type");
$VolumeCreationTime = $jResp->IntOf("Backup.Volume.CreationTime");
$VolumeFileSystemId = $jResp->stringOf("Backup.Volume.FileSystemId");
$VolumeLifecycle = $jResp->stringOf("Backup.Volume.Lifecycle");
$LifecycleTransitionReasonMessage = $jResp->stringOf("Backup.Volume.LifecycleTransitionReason.Message");
$Name = $jResp->stringOf("Backup.Volume.Name");
$FlexCacheEndpointType = $jResp->stringOf("Backup.Volume.OntapConfiguration.FlexCacheEndpointType");
$JunctionPath = $jResp->stringOf("Backup.Volume.OntapConfiguration.JunctionPath");
$OntapVolumeType = $jResp->stringOf("Backup.Volume.OntapConfiguration.OntapVolumeType");
$SecurityStyle = $jResp->stringOf("Backup.Volume.OntapConfiguration.SecurityStyle");
$SizeInMegabytes = $jResp->IntOf("Backup.Volume.OntapConfiguration.SizeInMegabytes");
$StorageEfficiencyEnabled = $jResp->IntOf("Backup.Volume.OntapConfiguration.StorageEfficiencyEnabled");
$StorageVirtualMachineId = $jResp->stringOf("Backup.Volume.OntapConfiguration.StorageVirtualMachineId");
$StorageVirtualMachineRoot = $jResp->IntOf("Backup.Volume.OntapConfiguration.StorageVirtualMachineRoot");
$CoolingPeriod = $jResp->IntOf("Backup.Volume.OntapConfiguration.TieringPolicy.CoolingPeriod");
$TieringPolicyName = $jResp->stringOf("Backup.Volume.OntapConfiguration.TieringPolicy.Name");
$UUID = $jResp->stringOf("Backup.Volume.OntapConfiguration.UUID");
$CopyTagsToSnapshots = $jResp->IntOf("Backup.Volume.OpenZFSConfiguration.CopyTagsToSnapshots");
$OpenZFSConfigurationDataCompressionType = $jResp->stringOf("Backup.Volume.OpenZFSConfiguration.DataCompressionType");
$CopyStrategy = $jResp->stringOf("Backup.Volume.OpenZFSConfiguration.OriginSnapshot.CopyStrategy");
$SnapshotARN = $jResp->stringOf("Backup.Volume.OpenZFSConfiguration.OriginSnapshot.SnapshotARN");
$ParentVolumeId = $jResp->stringOf("Backup.Volume.OpenZFSConfiguration.ParentVolumeId");
$ReadOnly = $jResp->IntOf("Backup.Volume.OpenZFSConfiguration.ReadOnly");
$RecordSizeKiB = $jResp->IntOf("Backup.Volume.OpenZFSConfiguration.RecordSizeKiB");
$StorageCapacityQuotaGiB = $jResp->IntOf("Backup.Volume.OpenZFSConfiguration.StorageCapacityQuotaGiB");
$StorageCapacityReservationGiB = $jResp->IntOf("Backup.Volume.OpenZFSConfiguration.StorageCapacityReservationGiB");
$VolumePath = $jResp->stringOf("Backup.Volume.OpenZFSConfiguration.VolumePath");
$VolumeResourceARN = $jResp->stringOf("Backup.Volume.ResourceARN");
$VolumeId = $jResp->stringOf("Backup.Volume.VolumeId");
$VolumeType = $jResp->stringOf("Backup.Volume.VolumeType");
$i = 0;
$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 is a JsonObject
            $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"
#     }
#   }
# }