DescribeBackups Ruby Example
require '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,true,true)
if (success != true)
print "ConnectFailReason: " + rest.get_ConnectFailReason().to_s() + "\n";
print rest.lastErrorText() + "\n";
exit
end
# 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("BackupIds[0]","string")
json.UpdateString("Filters[0].Name","string")
json.UpdateString("Filters[0].Values[0]","string")
json.UpdateInt("MaxResults",123)
json.UpdateString("NextToken","string")
# The JSON request body created by the above code:
# {
# "BackupIds": [
# "string"
# ],
# "Filters": [
# {
# "Name": "string",
# "Values": [
# "string"
# ]
# }
# ],
# "MaxResults": number,
# "NextToken": "string"
# }
rest.AddHeader("Content-Type","application/x-amz-json-1.1")
rest.AddHeader("X-Amz-Target","AWSSimbaAPIService_v20180301.DescribeBackups")
sbRequestBody = Chilkat::CkStringBuilder.new()
json.EmitSb(sbRequestBody)
sbResponseBody = Chilkat::CkStringBuilder.new()
success = rest.FullRequestSb("POST","/",sbRequestBody,sbResponseBody)
if (success != true)
print rest.lastErrorText() + "\n";
exit
end
respStatusCode = rest.get_ResponseStatusCode()
print "response status code = " + respStatusCode.to_s() + "\n";
if (respStatusCode != 200)
print "Response Header:" + "\n";
print rest.responseHeader() + "\n";
print "Response Body:" + "\n";
print sbResponseBody.getAsString() + "\n";
exit
end
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
NextToken = jResp.stringOf("NextToken")
i = 0
count_i = jResp.SizeOfArray("Backups")
while i < count_i
jResp.put_I(i)
BackupId = jResp.stringOf("Backups[i].BackupId")
CreationTime = jResp.IntOf("Backups[i].CreationTime")
ActiveDirectoryId = jResp.stringOf("Backups[i].DirectoryInformation.ActiveDirectoryId")
DomainName = jResp.stringOf("Backups[i].DirectoryInformation.DomainName")
ResourceARN = jResp.stringOf("Backups[i].DirectoryInformation.ResourceARN")
Message = jResp.stringOf("Backups[i].FailureDetails.Message")
FileSystemCreationTime = jResp.IntOf("Backups[i].FileSystem.CreationTime")
DNSName = jResp.stringOf("Backups[i].FileSystem.DNSName")
FailureDetailsMessage = jResp.stringOf("Backups[i].FileSystem.FailureDetails.Message")
FileSystemId = jResp.stringOf("Backups[i].FileSystem.FileSystemId")
FileSystemType = jResp.stringOf("Backups[i].FileSystem.FileSystemType")
FileSystemTypeVersion = jResp.stringOf("Backups[i].FileSystem.FileSystemTypeVersion")
KmsKeyId = jResp.stringOf("Backups[i].FileSystem.KmsKeyId")
Lifecycle = jResp.stringOf("Backups[i].FileSystem.Lifecycle")
AutomaticBackupRetentionDays = jResp.IntOf("Backups[i].FileSystem.LustreConfiguration.AutomaticBackupRetentionDays")
CopyTagsToBackups = jResp.IntOf("Backups[i].FileSystem.LustreConfiguration.CopyTagsToBackups")
DailyAutomaticBackupStartTime = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.DailyAutomaticBackupStartTime")
DataCompressionType = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.DataCompressionType")
AutoImportPolicy = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.DataRepositoryConfiguration.AutoImportPolicy")
ExportPath = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.DataRepositoryConfiguration.ExportPath")
FailureDetailsMessage = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.DataRepositoryConfiguration.FailureDetails.Message")
ImportedFileChunkSize = jResp.IntOf("Backups[i].FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportedFileChunkSize")
ImportPath = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportPath")
DataRepositoryConfigurationLifecycle = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.DataRepositoryConfiguration.Lifecycle")
DeploymentType = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.DeploymentType")
DriveCacheType = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.DriveCacheType")
Destination = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.LogConfiguration.Destination")
Level = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.LogConfiguration.Level")
MountName = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.MountName")
PerUnitStorageThroughput = jResp.IntOf("Backups[i].FileSystem.LustreConfiguration.PerUnitStorageThroughput")
WeeklyMaintenanceStartTime = jResp.stringOf("Backups[i].FileSystem.LustreConfiguration.WeeklyMaintenanceStartTime")
OntapConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backups[i].FileSystem.OntapConfiguration.AutomaticBackupRetentionDays")
OntapConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backups[i].FileSystem.OntapConfiguration.DailyAutomaticBackupStartTime")
OntapConfigurationDeploymentType = jResp.stringOf("Backups[i].FileSystem.OntapConfiguration.DeploymentType")
Iops = jResp.IntOf("Backups[i].FileSystem.OntapConfiguration.DiskIopsConfiguration.Iops")
Mode = jResp.stringOf("Backups[i].FileSystem.OntapConfiguration.DiskIopsConfiguration.Mode")
EndpointIpAddressRange = jResp.stringOf("Backups[i].FileSystem.OntapConfiguration.EndpointIpAddressRange")
InterclusterDNSName = jResp.stringOf("Backups[i].FileSystem.OntapConfiguration.Endpoints.Intercluster.DNSName")
ManagementDNSName = jResp.stringOf("Backups[i].FileSystem.OntapConfiguration.Endpoints.Management.DNSName")
PreferredSubnetId = jResp.stringOf("Backups[i].FileSystem.OntapConfiguration.PreferredSubnetId")
ThroughputCapacity = jResp.IntOf("Backups[i].FileSystem.OntapConfiguration.ThroughputCapacity")
OntapConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backups[i].FileSystem.OntapConfiguration.WeeklyMaintenanceStartTime")
OpenZFSConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backups[i].FileSystem.OpenZFSConfiguration.AutomaticBackupRetentionDays")
OpenZFSConfigurationCopyTagsToBackups = jResp.IntOf("Backups[i].FileSystem.OpenZFSConfiguration.CopyTagsToBackups")
CopyTagsToVolumes = jResp.IntOf("Backups[i].FileSystem.OpenZFSConfiguration.CopyTagsToVolumes")
OpenZFSConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backups[i].FileSystem.OpenZFSConfiguration.DailyAutomaticBackupStartTime")
OpenZFSConfigurationDeploymentType = jResp.stringOf("Backups[i].FileSystem.OpenZFSConfiguration.DeploymentType")
DiskIopsConfigurationIops = jResp.IntOf("Backups[i].FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Iops")
DiskIopsConfigurationMode = jResp.stringOf("Backups[i].FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Mode")
RootVolumeId = jResp.stringOf("Backups[i].FileSystem.OpenZFSConfiguration.RootVolumeId")
OpenZFSConfigurationThroughputCapacity = jResp.IntOf("Backups[i].FileSystem.OpenZFSConfiguration.ThroughputCapacity")
OpenZFSConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backups[i].FileSystem.OpenZFSConfiguration.WeeklyMaintenanceStartTime")
OwnerId = jResp.stringOf("Backups[i].FileSystem.OwnerId")
FileSystemResourceARN = jResp.stringOf("Backups[i].FileSystem.ResourceARN")
StorageCapacity = jResp.IntOf("Backups[i].FileSystem.StorageCapacity")
StorageType = jResp.stringOf("Backups[i].FileSystem.StorageType")
VpcId = jResp.stringOf("Backups[i].FileSystem.VpcId")
WindowsConfigurationActiveDirectoryId = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.ActiveDirectoryId")
AuditLogDestination = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.AuditLogConfiguration.AuditLogDestination")
FileAccessAuditLogLevel = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel")
FileShareAccessAuditLogLevel = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel")
WindowsConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backups[i].FileSystem.WindowsConfiguration.AutomaticBackupRetentionDays")
WindowsConfigurationCopyTagsToBackups = jResp.IntOf("Backups[i].FileSystem.WindowsConfiguration.CopyTagsToBackups")
WindowsConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.DailyAutomaticBackupStartTime")
WindowsConfigurationDeploymentType = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.DeploymentType")
PreferredFileServerIp = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.PreferredFileServerIp")
WindowsConfigurationPreferredSubnetId = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.PreferredSubnetId")
RemoteAdministrationEndpoint = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.RemoteAdministrationEndpoint")
SelfManagedActiveDirectoryConfigurationDomainName = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName")
FileSystemAdministratorsGroup = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup")
OrganizationalUnitDistinguishedName = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName")
UserName = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName")
WindowsConfigurationThroughputCapacity = jResp.IntOf("Backups[i].FileSystem.WindowsConfiguration.ThroughputCapacity")
WindowsConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.WeeklyMaintenanceStartTime")
KmsKeyId = jResp.stringOf("Backups[i].KmsKeyId")
Lifecycle = jResp.stringOf("Backups[i].Lifecycle")
OwnerId = jResp.stringOf("Backups[i].OwnerId")
ProgressPercent = jResp.IntOf("Backups[i].ProgressPercent")
ResourceARN = jResp.stringOf("Backups[i].ResourceARN")
ResourceType = jResp.stringOf("Backups[i].ResourceType")
SourceBackupId = jResp.stringOf("Backups[i].SourceBackupId")
SourceBackupRegion = jResp.stringOf("Backups[i].SourceBackupRegion")
v_Type = jResp.stringOf("Backups[i].Type")
VolumeCreationTime = jResp.IntOf("Backups[i].Volume.CreationTime")
VolumeFileSystemId = jResp.stringOf("Backups[i].Volume.FileSystemId")
VolumeLifecycle = jResp.stringOf("Backups[i].Volume.Lifecycle")
LifecycleTransitionReasonMessage = jResp.stringOf("Backups[i].Volume.LifecycleTransitionReason.Message")
Name = jResp.stringOf("Backups[i].Volume.Name")
FlexCacheEndpointType = jResp.stringOf("Backups[i].Volume.OntapConfiguration.FlexCacheEndpointType")
JunctionPath = jResp.stringOf("Backups[i].Volume.OntapConfiguration.JunctionPath")
OntapVolumeType = jResp.stringOf("Backups[i].Volume.OntapConfiguration.OntapVolumeType")
SecurityStyle = jResp.stringOf("Backups[i].Volume.OntapConfiguration.SecurityStyle")
SizeInMegabytes = jResp.IntOf("Backups[i].Volume.OntapConfiguration.SizeInMegabytes")
StorageEfficiencyEnabled = jResp.IntOf("Backups[i].Volume.OntapConfiguration.StorageEfficiencyEnabled")
StorageVirtualMachineId = jResp.stringOf("Backups[i].Volume.OntapConfiguration.StorageVirtualMachineId")
StorageVirtualMachineRoot = jResp.IntOf("Backups[i].Volume.OntapConfiguration.StorageVirtualMachineRoot")
CoolingPeriod = jResp.IntOf("Backups[i].Volume.OntapConfiguration.TieringPolicy.CoolingPeriod")
TieringPolicyName = jResp.stringOf("Backups[i].Volume.OntapConfiguration.TieringPolicy.Name")
UUID = jResp.stringOf("Backups[i].Volume.OntapConfiguration.UUID")
CopyTagsToSnapshots = jResp.IntOf("Backups[i].Volume.OpenZFSConfiguration.CopyTagsToSnapshots")
OpenZFSConfigurationDataCompressionType = jResp.stringOf("Backups[i].Volume.OpenZFSConfiguration.DataCompressionType")
CopyStrategy = jResp.stringOf("Backups[i].Volume.OpenZFSConfiguration.OriginSnapshot.CopyStrategy")
SnapshotARN = jResp.stringOf("Backups[i].Volume.OpenZFSConfiguration.OriginSnapshot.SnapshotARN")
ParentVolumeId = jResp.stringOf("Backups[i].Volume.OpenZFSConfiguration.ParentVolumeId")
ReadOnly = jResp.IntOf("Backups[i].Volume.OpenZFSConfiguration.ReadOnly")
RecordSizeKiB = jResp.IntOf("Backups[i].Volume.OpenZFSConfiguration.RecordSizeKiB")
StorageCapacityQuotaGiB = jResp.IntOf("Backups[i].Volume.OpenZFSConfiguration.StorageCapacityQuotaGiB")
StorageCapacityReservationGiB = jResp.IntOf("Backups[i].Volume.OpenZFSConfiguration.StorageCapacityReservationGiB")
VolumePath = jResp.stringOf("Backups[i].Volume.OpenZFSConfiguration.VolumePath")
VolumeResourceARN = jResp.stringOf("Backups[i].Volume.ResourceARN")
VolumeId = jResp.stringOf("Backups[i].Volume.VolumeId")
VolumeType = jResp.stringOf("Backups[i].Volume.VolumeType")
j = 0
count_j = jResp.SizeOfArray("Backups[i].FileSystem.AdministrativeActions")
while j < count_j
jResp.put_J(j)
AdministrativeActionType = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].AdministrativeActionType")
FailureDetailsMessage = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].FailureDetails.Message")
ProgressPercent = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].ProgressPercent")
RequestTime = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].RequestTime")
Status = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].Status")
TargetFileSystemValues = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetFileSystemValues")
TargetSnapshotValuesCreationTime = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetSnapshotValues.CreationTime")
TargetSnapshotValuesLifecycle = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetSnapshotValues.Lifecycle")
LifecycleTransitionReasonMessage = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetSnapshotValues.LifecycleTransitionReason.Message")
TargetSnapshotValuesName = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetSnapshotValues.Name")
TargetSnapshotValuesResourceARN = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetSnapshotValues.ResourceARN")
SnapshotId = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetSnapshotValues.SnapshotId")
TargetSnapshotValuesVolumeId = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetSnapshotValues.VolumeId")
TargetVolumeValuesCreationTime = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.CreationTime")
TargetVolumeValuesFileSystemId = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.FileSystemId")
TargetVolumeValuesLifecycle = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.Lifecycle")
LifecycleTransitionReasonMessage = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.LifecycleTransitionReason.Message")
TargetVolumeValuesName = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.Name")
OntapConfigurationFlexCacheEndpointType = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OntapConfiguration.FlexCacheEndpointType")
OntapConfigurationJunctionPath = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OntapConfiguration.JunctionPath")
OntapConfigurationOntapVolumeType = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OntapConfiguration.OntapVolumeType")
OntapConfigurationSecurityStyle = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OntapConfiguration.SecurityStyle")
OntapConfigurationSizeInMegabytes = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OntapConfiguration.SizeInMegabytes")
OntapConfigurationStorageEfficiencyEnabled = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OntapConfiguration.StorageEfficiencyEnabled")
OntapConfigurationStorageVirtualMachineId = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OntapConfiguration.StorageVirtualMachineId")
OntapConfigurationStorageVirtualMachineRoot = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OntapConfiguration.StorageVirtualMachineRoot")
TieringPolicyCoolingPeriod = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OntapConfiguration.TieringPolicy.CoolingPeriod")
TieringPolicyName = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OntapConfiguration.TieringPolicy.Name")
OntapConfigurationUUID = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OntapConfiguration.UUID")
OpenZFSConfigurationCopyTagsToSnapshots = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.CopyTagsToSnapshots")
OpenZFSConfigurationDataCompressionType = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.DataCompressionType")
OriginSnapshotCopyStrategy = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.OriginSnapshot.CopyStrategy")
OriginSnapshotSnapshotARN = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.OriginSnapshot.SnapshotARN")
OpenZFSConfigurationParentVolumeId = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.ParentVolumeId")
OpenZFSConfigurationReadOnly = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.ReadOnly")
OpenZFSConfigurationRecordSizeKiB = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.RecordSizeKiB")
OpenZFSConfigurationStorageCapacityQuotaGiB = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.StorageCapacityQuotaGiB")
OpenZFSConfigurationStorageCapacityReservationGiB = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.StorageCapacityReservationGiB")
OpenZFSConfigurationVolumePath = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.VolumePath")
TargetVolumeValuesResourceARN = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.ResourceARN")
TargetVolumeValuesVolumeId = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.VolumeId")
TargetVolumeValuesVolumeType = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.VolumeType")
k = 0
count_k = jResp.SizeOfArray("Backups[i].FileSystem.AdministrativeActions[j].TargetSnapshotValues.AdministrativeActions")
while k < count_k
jResp.put_K(k)
strVal = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetSnapshotValues.AdministrativeActions[k]")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].FileSystem.AdministrativeActions[j].TargetSnapshotValues.Tags")
while k < count_k
jResp.put_K(k)
Key = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetSnapshotValues.Tags[k].Key")
Value = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetSnapshotValues.Tags[k].Value")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.AdministrativeActions")
while k < count_k
jResp.put_K(k)
strVal = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.AdministrativeActions[k]")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.NfsExports")
while k < count_k
jResp.put_K(k)
# json1 is a CkJsonObject
json1 = jResp.ObjectOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.NfsExports[k]")
i1 = 0
count_i1 = json1.SizeOfArray("ClientConfigurations")
while i1 < count_i1
json1.put_I(i1)
Clients = json1.stringOf("ClientConfigurations[i].Clients")
j1 = 0
count_j1 = json1.SizeOfArray("ClientConfigurations[i].Options")
while j1 < count_j1
json1.put_J(j1)
strVal = json1.stringOf("ClientConfigurations[i].Options[j]")
j1 = j1 + 1
end
i1 = i1 + 1
end
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas")
while k < count_k
jResp.put_K(k)
Id = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[k].Id")
StorageCapacityQuotaGiB = jResp.IntOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[k].StorageCapacityQuotaGiB")
v_Type = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[k].Type")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.Tags")
while k < count_k
jResp.put_K(k)
Key = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.Tags[k].Key")
Value = jResp.stringOf("Backups[i].FileSystem.AdministrativeActions[j].TargetVolumeValues.Tags[k].Value")
k = k + 1
end
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].FileSystem.NetworkInterfaceIds")
while j < count_j
jResp.put_J(j)
strVal = jResp.stringOf("Backups[i].FileSystem.NetworkInterfaceIds[j]")
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].FileSystem.OntapConfiguration.Endpoints.Intercluster.IpAddresses")
while j < count_j
jResp.put_J(j)
strVal = jResp.stringOf("Backups[i].FileSystem.OntapConfiguration.Endpoints.Intercluster.IpAddresses[j]")
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].FileSystem.OntapConfiguration.Endpoints.Management.IpAddresses")
while j < count_j
jResp.put_J(j)
strVal = jResp.stringOf("Backups[i].FileSystem.OntapConfiguration.Endpoints.Management.IpAddresses[j]")
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].FileSystem.OntapConfiguration.RouteTableIds")
while j < count_j
jResp.put_J(j)
strVal = jResp.stringOf("Backups[i].FileSystem.OntapConfiguration.RouteTableIds[j]")
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].FileSystem.SubnetIds")
while j < count_j
jResp.put_J(j)
strVal = jResp.stringOf("Backups[i].FileSystem.SubnetIds[j]")
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].FileSystem.Tags")
while j < count_j
jResp.put_J(j)
Key = jResp.stringOf("Backups[i].FileSystem.Tags[j].Key")
Value = jResp.stringOf("Backups[i].FileSystem.Tags[j].Value")
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].FileSystem.WindowsConfiguration.Aliases")
while j < count_j
jResp.put_J(j)
Lifecycle = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.Aliases[j].Lifecycle")
Name = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.Aliases[j].Name")
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].FileSystem.WindowsConfiguration.MaintenanceOperationsInProgress")
while j < count_j
jResp.put_J(j)
strVal = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.MaintenanceOperationsInProgress[j]")
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps")
while j < count_j
jResp.put_J(j)
strVal = jResp.stringOf("Backups[i].FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps[j]")
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].Tags")
while j < count_j
jResp.put_J(j)
Key = jResp.stringOf("Backups[i].Tags[j].Key")
Value = jResp.stringOf("Backups[i].Tags[j].Value")
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions")
while j < count_j
jResp.put_J(j)
AdministrativeActionType = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].AdministrativeActionType")
FailureDetailsMessage = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].FailureDetails.Message")
ProgressPercent = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].ProgressPercent")
RequestTime = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].RequestTime")
Status = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].Status")
TargetFileSystemValuesCreationTime = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.CreationTime")
TargetFileSystemValuesDNSName = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.DNSName")
FailureDetailsMessage = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.FailureDetails.Message")
TargetFileSystemValuesFileSystemId = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.FileSystemId")
TargetFileSystemValuesFileSystemType = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.FileSystemType")
TargetFileSystemValuesFileSystemTypeVersion = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.FileSystemTypeVersion")
TargetFileSystemValuesKmsKeyId = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.KmsKeyId")
TargetFileSystemValuesLifecycle = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.Lifecycle")
LustreConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.AutomaticBackupRetentionDays")
LustreConfigurationCopyTagsToBackups = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.CopyTagsToBackups")
LustreConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DailyAutomaticBackupStartTime")
LustreConfigurationDataCompressionType = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataCompressionType")
DataRepositoryConfigurationAutoImportPolicy = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.AutoImportPolicy")
DataRepositoryConfigurationExportPath = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ExportPath")
FailureDetailsMessage = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.FailureDetails.Message")
DataRepositoryConfigurationImportedFileChunkSize = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ImportedFileChunkSize")
DataRepositoryConfigurationImportPath = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ImportPath")
DataRepositoryConfigurationLifecycle = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.Lifecycle")
LustreConfigurationDeploymentType = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DeploymentType")
LustreConfigurationDriveCacheType = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DriveCacheType")
LogConfigurationDestination = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.LogConfiguration.Destination")
LogConfigurationLevel = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.LogConfiguration.Level")
LustreConfigurationMountName = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.MountName")
LustreConfigurationPerUnitStorageThroughput = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.PerUnitStorageThroughput")
LustreConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.WeeklyMaintenanceStartTime")
OntapConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.AutomaticBackupRetentionDays")
OntapConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.DailyAutomaticBackupStartTime")
OntapConfigurationDeploymentType = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.DeploymentType")
DiskIopsConfigurationIops = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.DiskIopsConfiguration.Iops")
DiskIopsConfigurationMode = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.DiskIopsConfiguration.Mode")
OntapConfigurationEndpointIpAddressRange = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.EndpointIpAddressRange")
InterclusterDNSName = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.DNSName")
ManagementDNSName = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.DNSName")
OntapConfigurationPreferredSubnetId = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.PreferredSubnetId")
OntapConfigurationThroughputCapacity = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.ThroughputCapacity")
OntapConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.WeeklyMaintenanceStartTime")
OpenZFSConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.AutomaticBackupRetentionDays")
OpenZFSConfigurationCopyTagsToBackups = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.CopyTagsToBackups")
OpenZFSConfigurationCopyTagsToVolumes = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.CopyTagsToVolumes")
OpenZFSConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.DailyAutomaticBackupStartTime")
OpenZFSConfigurationDeploymentType = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.DeploymentType")
DiskIopsConfigurationIops = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.DiskIopsConfiguration.Iops")
DiskIopsConfigurationMode = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.DiskIopsConfiguration.Mode")
OpenZFSConfigurationRootVolumeId = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.RootVolumeId")
OpenZFSConfigurationThroughputCapacity = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.ThroughputCapacity")
OpenZFSConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.WeeklyMaintenanceStartTime")
TargetFileSystemValuesOwnerId = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OwnerId")
TargetFileSystemValuesResourceARN = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.ResourceARN")
TargetFileSystemValuesStorageCapacity = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.StorageCapacity")
TargetFileSystemValuesStorageType = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.StorageType")
TargetFileSystemValuesVpcId = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.VpcId")
WindowsConfigurationActiveDirectoryId = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.ActiveDirectoryId")
AuditLogConfigurationAuditLogDestination = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.AuditLogDestination")
AuditLogConfigurationFileAccessAuditLogLevel = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel")
AuditLogConfigurationFileShareAccessAuditLogLevel = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel")
WindowsConfigurationAutomaticBackupRetentionDays = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.AutomaticBackupRetentionDays")
WindowsConfigurationCopyTagsToBackups = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.CopyTagsToBackups")
WindowsConfigurationDailyAutomaticBackupStartTime = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.DailyAutomaticBackupStartTime")
WindowsConfigurationDeploymentType = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.DeploymentType")
WindowsConfigurationPreferredFileServerIp = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.PreferredFileServerIp")
WindowsConfigurationPreferredSubnetId = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.PreferredSubnetId")
WindowsConfigurationRemoteAdministrationEndpoint = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.RemoteAdministrationEndpoint")
SelfManagedActiveDirectoryConfigurationDomainName = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName")
SelfManagedActiveDirectoryConfigurationFileSystemAdministratorsGroup = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup")
SelfManagedActiveDirectoryConfigurationOrganizationalUnitDistinguishedName = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName")
SelfManagedActiveDirectoryConfigurationUserName = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName")
WindowsConfigurationThroughputCapacity = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.ThroughputCapacity")
WindowsConfigurationWeeklyMaintenanceStartTime = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.WeeklyMaintenanceStartTime")
TargetSnapshotValuesCreationTime = jResp.IntOf("Backups[i].Volume.AdministrativeActions[j].TargetSnapshotValues.CreationTime")
TargetSnapshotValuesLifecycle = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetSnapshotValues.Lifecycle")
LifecycleTransitionReasonMessage = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetSnapshotValues.LifecycleTransitionReason.Message")
TargetSnapshotValuesName = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetSnapshotValues.Name")
TargetSnapshotValuesResourceARN = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetSnapshotValues.ResourceARN")
TargetSnapshotValuesSnapshotId = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetSnapshotValues.SnapshotId")
TargetSnapshotValuesVolumeId = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetSnapshotValues.VolumeId")
TargetVolumeValues = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetVolumeValues")
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.AdministrativeActions")
while k < count_k
jResp.put_K(k)
strVal = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.AdministrativeActions[k]")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.NetworkInterfaceIds")
while k < count_k
jResp.put_K(k)
strVal = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.NetworkInterfaceIds[k]")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.IpAddresses")
while k < count_k
jResp.put_K(k)
strVal = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.IpAddresses[k]")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.IpAddresses")
while k < count_k
jResp.put_K(k)
strVal = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.IpAddresses[k]")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.RouteTableIds")
while k < count_k
jResp.put_K(k)
strVal = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.RouteTableIds[k]")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.SubnetIds")
while k < count_k
jResp.put_K(k)
strVal = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.SubnetIds[k]")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.Tags")
while k < count_k
jResp.put_K(k)
Key = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.Tags[k].Key")
Value = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.Tags[k].Value")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.Aliases")
while k < count_k
jResp.put_K(k)
Lifecycle = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.Aliases[k].Lifecycle")
Name = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.Aliases[k].Name")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.MaintenanceOperationsInProgress")
while k < count_k
jResp.put_K(k)
strVal = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.MaintenanceOperationsInProgress[k]")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps")
while k < count_k
jResp.put_K(k)
strVal = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps[k]")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions[j].TargetSnapshotValues.AdministrativeActions")
while k < count_k
jResp.put_K(k)
strVal = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetSnapshotValues.AdministrativeActions[k]")
k = k + 1
end
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.AdministrativeActions[j].TargetSnapshotValues.Tags")
while k < count_k
jResp.put_K(k)
Key = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetSnapshotValues.Tags[k].Key")
Value = jResp.stringOf("Backups[i].Volume.AdministrativeActions[j].TargetSnapshotValues.Tags[k].Value")
k = k + 1
end
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].Volume.OpenZFSConfiguration.NfsExports")
while j < count_j
jResp.put_J(j)
k = 0
count_k = jResp.SizeOfArray("Backups[i].Volume.OpenZFSConfiguration.NfsExports[j].ClientConfigurations")
while k < count_k
jResp.put_K(k)
Clients = jResp.stringOf("Backups[i].Volume.OpenZFSConfiguration.NfsExports[j].ClientConfigurations[k].Clients")
# json1 is a CkJsonObject
json1 = jResp.ObjectOf("Backups[i].Volume.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
end
k = k + 1
end
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].Volume.OpenZFSConfiguration.UserAndGroupQuotas")
while j < count_j
jResp.put_J(j)
Id = jResp.IntOf("Backups[i].Volume.OpenZFSConfiguration.UserAndGroupQuotas[j].Id")
StorageCapacityQuotaGiB = jResp.IntOf("Backups[i].Volume.OpenZFSConfiguration.UserAndGroupQuotas[j].StorageCapacityQuotaGiB")
v_Type = jResp.stringOf("Backups[i].Volume.OpenZFSConfiguration.UserAndGroupQuotas[j].Type")
j = j + 1
end
j = 0
count_j = jResp.SizeOfArray("Backups[i].Volume.Tags")
while j < count_j
jResp.put_J(j)
Key = jResp.stringOf("Backups[i].Volume.Tags[j].Key")
Value = jResp.stringOf("Backups[i].Volume.Tags[j].Value")
j = j + 1
end
i = i + 1
end
# A sample JSON response body parsed by the above code:
# {
# "Backups": [
# {
# "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"
# }
# }
# ],
# "NextToken": "string"
# }