DescribeVolumes PowerBuilder Example
integer li_rc
oleobject loo_Rest
integer li_Success
oleobject loo_AuthAws
oleobject loo_Json
oleobject loo_SbRequestBody
oleobject loo_SbResponseBody
integer li_RespStatusCode
oleobject loo_JResp
integer li_CreationTime
string ls_FileSystemId
string ls_Lifecycle
string ls_Message
string ls_Name
string ls_FlexCacheEndpointType
string ls_JunctionPath
string ls_OntapVolumeType
string ls_SecurityStyle
integer li_SizeInMegabytes
integer li_StorageEfficiencyEnabled
string ls_StorageVirtualMachineId
integer li_StorageVirtualMachineRoot
integer li_CoolingPeriod
string ls_TieringPolicyName
string ls_UUID
integer li_CopyTagsToSnapshots
string ls_DataCompressionType
string ls_CopyStrategy
string ls_SnapshotARN
string ls_ParentVolumeId
integer li_ReadOnly
integer li_RecordSizeKiB
integer li_StorageCapacityQuotaGiB
integer li_StorageCapacityReservationGiB
string ls_VolumePath
string ls_ResourceARN
string ls_VolumeId
string ls_VolumeType
integer j
integer li_Count_j
string ls_AdministrativeActionType
string ls_FailureDetailsMessage
integer li_ProgressPercent
integer li_RequestTime
string ls_Status
integer li_TargetFileSystemValuesCreationTime
string ls_DNSName
string ls_TargetFileSystemValuesFileSystemId
string ls_FileSystemType
string ls_FileSystemTypeVersion
string ls_KmsKeyId
string ls_TargetFileSystemValuesLifecycle
integer li_AutomaticBackupRetentionDays
integer li_CopyTagsToBackups
string ls_DailyAutomaticBackupStartTime
string ls_LustreConfigurationDataCompressionType
string ls_AutoImportPolicy
string ls_ExportPath
integer li_ImportedFileChunkSize
string ls_ImportPath
string ls_DataRepositoryConfigurationLifecycle
string ls_DeploymentType
string ls_DriveCacheType
string ls_Destination
string ls_Level
string ls_MountName
integer li_PerUnitStorageThroughput
string ls_WeeklyMaintenanceStartTime
integer li_OntapConfigurationAutomaticBackupRetentionDays
string ls_OntapConfigurationDailyAutomaticBackupStartTime
string ls_OntapConfigurationDeploymentType
integer li_Iops
string ls_Mode
string ls_EndpointIpAddressRange
string ls_InterclusterDNSName
string ls_ManagementDNSName
string ls_PreferredSubnetId
integer li_ThroughputCapacity
string ls_OntapConfigurationWeeklyMaintenanceStartTime
integer li_OpenZFSConfigurationAutomaticBackupRetentionDays
integer li_OpenZFSConfigurationCopyTagsToBackups
integer li_CopyTagsToVolumes
string ls_OpenZFSConfigurationDailyAutomaticBackupStartTime
string ls_OpenZFSConfigurationDeploymentType
integer li_DiskIopsConfigurationIops
string ls_DiskIopsConfigurationMode
string ls_RootVolumeId
integer li_OpenZFSConfigurationThroughputCapacity
string ls_OpenZFSConfigurationWeeklyMaintenanceStartTime
string ls_OwnerId
string ls_TargetFileSystemValuesResourceARN
integer li_StorageCapacity
string ls_StorageType
string ls_VpcId
string ls_ActiveDirectoryId
string ls_AuditLogDestination
string ls_FileAccessAuditLogLevel
string ls_FileShareAccessAuditLogLevel
integer li_WindowsConfigurationAutomaticBackupRetentionDays
integer li_WindowsConfigurationCopyTagsToBackups
string ls_WindowsConfigurationDailyAutomaticBackupStartTime
string ls_WindowsConfigurationDeploymentType
string ls_PreferredFileServerIp
string ls_WindowsConfigurationPreferredSubnetId
string ls_RemoteAdministrationEndpoint
string ls_DomainName
string ls_FileSystemAdministratorsGroup
string ls_OrganizationalUnitDistinguishedName
string ls_UserName
integer li_WindowsConfigurationThroughputCapacity
string ls_WindowsConfigurationWeeklyMaintenanceStartTime
integer li_TargetSnapshotValuesCreationTime
string ls_TargetSnapshotValuesLifecycle
string ls_LifecycleTransitionReasonMessage
string ls_TargetSnapshotValuesName
string ls_TargetSnapshotValuesResourceARN
string ls_SnapshotId
string ls_TargetSnapshotValuesVolumeId
string ls_TargetVolumeValues
integer k
integer li_Count_k
string ls_StrVal
string ls_Key
string ls_Value
string ls_Clients
oleobject loo_Json1
integer li_I1
integer li_Count_i1
integer li_Id
string ls_V_Type
string ls_NextToken
integer i
integer li_Count_i
// This example requires the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
loo_Rest = create oleobject
li_rc = loo_Rest.ConnectToNewObject("Chilkat_9_5_0.Rest")
if li_rc < 0 then
destroy loo_Rest
MessageBox("Error","Connecting to COM object failed")
return
end if
loo_AuthAws = create oleobject
li_rc = loo_AuthAws.ConnectToNewObject("Chilkat_9_5_0.AuthAws")
loo_AuthAws.AccessKey = "AWS_ACCESS_KEY"
loo_AuthAws.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.)
loo_AuthAws.Region = "us-west-2"
loo_AuthAws.ServiceName = "fsx"
// SetAuthAws causes Chilkat to automatically add the following headers: Authorization, X-Amz-Date
loo_Rest.SetAuthAws(loo_AuthAws)
// URL: https://fsx.us-west-2.amazonaws.com/
// Use the same region as specified above.
li_Success = loo_Rest.Connect("fsx.us-west-2.amazonaws.com",443,1,1)
if li_Success <> 1 then
Write-Debug "ConnectFailReason: " + string(loo_Rest.ConnectFailReason)
Write-Debug loo_Rest.LastErrorText
destroy loo_Rest
destroy loo_AuthAws
return
end if
// 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
loo_Json = create oleobject
li_rc = loo_Json.ConnectToNewObject("Chilkat_9_5_0.JsonObject")
loo_Json.UpdateString("Filters[0].Name","string")
loo_Json.UpdateString("Filters[0].Values[0]","string")
loo_Json.UpdateInt("MaxResults",123)
loo_Json.UpdateString("NextToken","string")
loo_Json.UpdateString("VolumeIds[0]","string")
// The JSON request body created by the above code:
// {
// "Filters": [
// {
// "Name": "string",
// "Values": [
// "string"
// ]
// }
// ],
// "MaxResults": number,
// "NextToken": "string",
// "VolumeIds": [
// "string"
// ]
// }
loo_Rest.AddHeader("Content-Type","application/x-amz-json-1.1")
loo_Rest.AddHeader("X-Amz-Target","AWSSimbaAPIService_v20180301.DescribeVolumes")
loo_SbRequestBody = create oleobject
li_rc = loo_SbRequestBody.ConnectToNewObject("Chilkat_9_5_0.StringBuilder")
loo_Json.EmitSb(loo_SbRequestBody)
loo_SbResponseBody = create oleobject
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat_9_5_0.StringBuilder")
li_Success = loo_Rest.FullRequestSb("POST","/",loo_SbRequestBody,loo_SbResponseBody)
if li_Success <> 1 then
Write-Debug loo_Rest.LastErrorText
destroy loo_Rest
destroy loo_AuthAws
destroy loo_Json
destroy loo_SbRequestBody
destroy loo_SbResponseBody
return
end if
li_RespStatusCode = loo_Rest.ResponseStatusCode
Write-Debug "response status code = " + string(li_RespStatusCode)
if li_RespStatusCode <> 200 then
Write-Debug "Response Header:"
Write-Debug loo_Rest.ResponseHeader
Write-Debug "Response Body:"
Write-Debug loo_SbResponseBody.GetAsString()
destroy loo_Rest
destroy loo_AuthAws
destroy loo_Json
destroy loo_SbRequestBody
destroy loo_SbResponseBody
return
end if
loo_JResp = create oleobject
li_rc = loo_JResp.ConnectToNewObject("Chilkat_9_5_0.JsonObject")
loo_JResp.LoadSb(loo_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
ls_NextToken = loo_JResp.StringOf("NextToken")
i = 0
li_Count_i = loo_JResp.SizeOfArray("Volumes")
do while i < li_Count_i
loo_JResp.I = i
li_CreationTime = loo_JResp.IntOf("Volumes[i].CreationTime")
ls_FileSystemId = loo_JResp.StringOf("Volumes[i].FileSystemId")
ls_Lifecycle = loo_JResp.StringOf("Volumes[i].Lifecycle")
ls_Message = loo_JResp.StringOf("Volumes[i].LifecycleTransitionReason.Message")
ls_Name = loo_JResp.StringOf("Volumes[i].Name")
ls_FlexCacheEndpointType = loo_JResp.StringOf("Volumes[i].OntapConfiguration.FlexCacheEndpointType")
ls_JunctionPath = loo_JResp.StringOf("Volumes[i].OntapConfiguration.JunctionPath")
ls_OntapVolumeType = loo_JResp.StringOf("Volumes[i].OntapConfiguration.OntapVolumeType")
ls_SecurityStyle = loo_JResp.StringOf("Volumes[i].OntapConfiguration.SecurityStyle")
li_SizeInMegabytes = loo_JResp.IntOf("Volumes[i].OntapConfiguration.SizeInMegabytes")
li_StorageEfficiencyEnabled = loo_JResp.IntOf("Volumes[i].OntapConfiguration.StorageEfficiencyEnabled")
ls_StorageVirtualMachineId = loo_JResp.StringOf("Volumes[i].OntapConfiguration.StorageVirtualMachineId")
li_StorageVirtualMachineRoot = loo_JResp.IntOf("Volumes[i].OntapConfiguration.StorageVirtualMachineRoot")
li_CoolingPeriod = loo_JResp.IntOf("Volumes[i].OntapConfiguration.TieringPolicy.CoolingPeriod")
ls_TieringPolicyName = loo_JResp.StringOf("Volumes[i].OntapConfiguration.TieringPolicy.Name")
ls_UUID = loo_JResp.StringOf("Volumes[i].OntapConfiguration.UUID")
li_CopyTagsToSnapshots = loo_JResp.IntOf("Volumes[i].OpenZFSConfiguration.CopyTagsToSnapshots")
ls_DataCompressionType = loo_JResp.StringOf("Volumes[i].OpenZFSConfiguration.DataCompressionType")
ls_CopyStrategy = loo_JResp.StringOf("Volumes[i].OpenZFSConfiguration.OriginSnapshot.CopyStrategy")
ls_SnapshotARN = loo_JResp.StringOf("Volumes[i].OpenZFSConfiguration.OriginSnapshot.SnapshotARN")
ls_ParentVolumeId = loo_JResp.StringOf("Volumes[i].OpenZFSConfiguration.ParentVolumeId")
li_ReadOnly = loo_JResp.IntOf("Volumes[i].OpenZFSConfiguration.ReadOnly")
li_RecordSizeKiB = loo_JResp.IntOf("Volumes[i].OpenZFSConfiguration.RecordSizeKiB")
li_StorageCapacityQuotaGiB = loo_JResp.IntOf("Volumes[i].OpenZFSConfiguration.StorageCapacityQuotaGiB")
li_StorageCapacityReservationGiB = loo_JResp.IntOf("Volumes[i].OpenZFSConfiguration.StorageCapacityReservationGiB")
ls_VolumePath = loo_JResp.StringOf("Volumes[i].OpenZFSConfiguration.VolumePath")
ls_ResourceARN = loo_JResp.StringOf("Volumes[i].ResourceARN")
ls_VolumeId = loo_JResp.StringOf("Volumes[i].VolumeId")
ls_VolumeType = loo_JResp.StringOf("Volumes[i].VolumeType")
j = 0
li_Count_j = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions")
do while j < li_Count_j
loo_JResp.J = j
ls_AdministrativeActionType = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].AdministrativeActionType")
ls_FailureDetailsMessage = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].FailureDetails.Message")
li_ProgressPercent = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].ProgressPercent")
li_RequestTime = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].RequestTime")
ls_Status = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].Status")
li_TargetFileSystemValuesCreationTime = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.CreationTime")
ls_DNSName = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.DNSName")
ls_FailureDetailsMessage = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.FailureDetails.Message")
ls_TargetFileSystemValuesFileSystemId = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.FileSystemId")
ls_FileSystemType = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.FileSystemType")
ls_FileSystemTypeVersion = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.FileSystemTypeVersion")
ls_KmsKeyId = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.KmsKeyId")
ls_TargetFileSystemValuesLifecycle = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.Lifecycle")
li_AutomaticBackupRetentionDays = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.AutomaticBackupRetentionDays")
li_CopyTagsToBackups = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.CopyTagsToBackups")
ls_DailyAutomaticBackupStartTime = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DailyAutomaticBackupStartTime")
ls_LustreConfigurationDataCompressionType = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataCompressionType")
ls_AutoImportPolicy = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.AutoImportPolicy")
ls_ExportPath = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ExportPath")
ls_FailureDetailsMessage = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.FailureDetails.Message")
li_ImportedFileChunkSize = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ImportedFileChunkSize")
ls_ImportPath = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ImportPath")
ls_DataRepositoryConfigurationLifecycle = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.Lifecycle")
ls_DeploymentType = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DeploymentType")
ls_DriveCacheType = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.DriveCacheType")
ls_Destination = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.LogConfiguration.Destination")
ls_Level = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.LogConfiguration.Level")
ls_MountName = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.MountName")
li_PerUnitStorageThroughput = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.PerUnitStorageThroughput")
ls_WeeklyMaintenanceStartTime = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.LustreConfiguration.WeeklyMaintenanceStartTime")
li_OntapConfigurationAutomaticBackupRetentionDays = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.AutomaticBackupRetentionDays")
ls_OntapConfigurationDailyAutomaticBackupStartTime = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.DailyAutomaticBackupStartTime")
ls_OntapConfigurationDeploymentType = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.DeploymentType")
li_Iops = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.DiskIopsConfiguration.Iops")
ls_Mode = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.DiskIopsConfiguration.Mode")
ls_EndpointIpAddressRange = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.EndpointIpAddressRange")
ls_InterclusterDNSName = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.DNSName")
ls_ManagementDNSName = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.DNSName")
ls_PreferredSubnetId = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.PreferredSubnetId")
li_ThroughputCapacity = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.ThroughputCapacity")
ls_OntapConfigurationWeeklyMaintenanceStartTime = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.WeeklyMaintenanceStartTime")
li_OpenZFSConfigurationAutomaticBackupRetentionDays = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.AutomaticBackupRetentionDays")
li_OpenZFSConfigurationCopyTagsToBackups = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.CopyTagsToBackups")
li_CopyTagsToVolumes = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.CopyTagsToVolumes")
ls_OpenZFSConfigurationDailyAutomaticBackupStartTime = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.DailyAutomaticBackupStartTime")
ls_OpenZFSConfigurationDeploymentType = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.DeploymentType")
li_DiskIopsConfigurationIops = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.DiskIopsConfiguration.Iops")
ls_DiskIopsConfigurationMode = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.DiskIopsConfiguration.Mode")
ls_RootVolumeId = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.RootVolumeId")
li_OpenZFSConfigurationThroughputCapacity = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.ThroughputCapacity")
ls_OpenZFSConfigurationWeeklyMaintenanceStartTime = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OpenZFSConfiguration.WeeklyMaintenanceStartTime")
ls_OwnerId = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OwnerId")
ls_TargetFileSystemValuesResourceARN = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.ResourceARN")
li_StorageCapacity = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.StorageCapacity")
ls_StorageType = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.StorageType")
ls_VpcId = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.VpcId")
ls_ActiveDirectoryId = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.ActiveDirectoryId")
ls_AuditLogDestination = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.AuditLogDestination")
ls_FileAccessAuditLogLevel = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel")
ls_FileShareAccessAuditLogLevel = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel")
li_WindowsConfigurationAutomaticBackupRetentionDays = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.AutomaticBackupRetentionDays")
li_WindowsConfigurationCopyTagsToBackups = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.CopyTagsToBackups")
ls_WindowsConfigurationDailyAutomaticBackupStartTime = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.DailyAutomaticBackupStartTime")
ls_WindowsConfigurationDeploymentType = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.DeploymentType")
ls_PreferredFileServerIp = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.PreferredFileServerIp")
ls_WindowsConfigurationPreferredSubnetId = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.PreferredSubnetId")
ls_RemoteAdministrationEndpoint = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.RemoteAdministrationEndpoint")
ls_DomainName = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName")
ls_FileSystemAdministratorsGroup = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup")
ls_OrganizationalUnitDistinguishedName = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName")
ls_UserName = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName")
li_WindowsConfigurationThroughputCapacity = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.ThroughputCapacity")
ls_WindowsConfigurationWeeklyMaintenanceStartTime = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.WeeklyMaintenanceStartTime")
li_TargetSnapshotValuesCreationTime = loo_JResp.IntOf("Volumes[i].AdministrativeActions[j].TargetSnapshotValues.CreationTime")
ls_TargetSnapshotValuesLifecycle = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetSnapshotValues.Lifecycle")
ls_LifecycleTransitionReasonMessage = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetSnapshotValues.LifecycleTransitionReason.Message")
ls_TargetSnapshotValuesName = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetSnapshotValues.Name")
ls_TargetSnapshotValuesResourceARN = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetSnapshotValues.ResourceARN")
ls_SnapshotId = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetSnapshotValues.SnapshotId")
ls_TargetSnapshotValuesVolumeId = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetSnapshotValues.VolumeId")
ls_TargetVolumeValues = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetVolumeValues")
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.AdministrativeActions")
do while k < li_Count_k
loo_JResp.K = k
ls_StrVal = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.AdministrativeActions[k]")
k = k + 1
loop
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.NetworkInterfaceIds")
do while k < li_Count_k
loo_JResp.K = k
ls_StrVal = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.NetworkInterfaceIds[k]")
k = k + 1
loop
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.IpAddresses")
do while k < li_Count_k
loo_JResp.K = k
ls_StrVal = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.IpAddresses[k]")
k = k + 1
loop
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.IpAddresses")
do while k < li_Count_k
loo_JResp.K = k
ls_StrVal = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.IpAddresses[k]")
k = k + 1
loop
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.RouteTableIds")
do while k < li_Count_k
loo_JResp.K = k
ls_StrVal = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.OntapConfiguration.RouteTableIds[k]")
k = k + 1
loop
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.SubnetIds")
do while k < li_Count_k
loo_JResp.K = k
ls_StrVal = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.SubnetIds[k]")
k = k + 1
loop
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.Tags")
do while k < li_Count_k
loo_JResp.K = k
ls_Key = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.Tags[k].Key")
ls_Value = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.Tags[k].Value")
k = k + 1
loop
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.Aliases")
do while k < li_Count_k
loo_JResp.K = k
ls_Lifecycle = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.Aliases[k].Lifecycle")
ls_Name = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.Aliases[k].Name")
k = k + 1
loop
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.MaintenanceOperationsInProgress")
do while k < li_Count_k
loo_JResp.K = k
ls_StrVal = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.MaintenanceOperationsInProgress[k]")
k = k + 1
loop
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps")
do while k < li_Count_k
loo_JResp.K = k
ls_StrVal = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps[k]")
k = k + 1
loop
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions[j].TargetSnapshotValues.AdministrativeActions")
do while k < li_Count_k
loo_JResp.K = k
ls_StrVal = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetSnapshotValues.AdministrativeActions[k]")
k = k + 1
loop
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].AdministrativeActions[j].TargetSnapshotValues.Tags")
do while k < li_Count_k
loo_JResp.K = k
ls_Key = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetSnapshotValues.Tags[k].Key")
ls_Value = loo_JResp.StringOf("Volumes[i].AdministrativeActions[j].TargetSnapshotValues.Tags[k].Value")
k = k + 1
loop
j = j + 1
loop
j = 0
li_Count_j = loo_JResp.SizeOfArray("Volumes[i].OpenZFSConfiguration.NfsExports")
do while j < li_Count_j
loo_JResp.J = j
k = 0
li_Count_k = loo_JResp.SizeOfArray("Volumes[i].OpenZFSConfiguration.NfsExports[j].ClientConfigurations")
do while k < li_Count_k
loo_JResp.K = k
ls_Clients = loo_JResp.StringOf("Volumes[i].OpenZFSConfiguration.NfsExports[j].ClientConfigurations[k].Clients")
loo_Json1 = loo_JResp.ObjectOf("Volumes[i].OpenZFSConfiguration.NfsExports[j].ClientConfigurations[k]")
li_I1 = 0
li_Count_i1 = loo_Json1.SizeOfArray("Options")
do while li_I1 < li_Count_i1
loo_Json1.I = li_I1
ls_StrVal = loo_Json1.StringOf("Options[i]")
li_I1 = li_I1 + 1
loop
destroy loo_Json1
k = k + 1
loop
j = j + 1
loop
j = 0
li_Count_j = loo_JResp.SizeOfArray("Volumes[i].OpenZFSConfiguration.UserAndGroupQuotas")
do while j < li_Count_j
loo_JResp.J = j
li_Id = loo_JResp.IntOf("Volumes[i].OpenZFSConfiguration.UserAndGroupQuotas[j].Id")
li_StorageCapacityQuotaGiB = loo_JResp.IntOf("Volumes[i].OpenZFSConfiguration.UserAndGroupQuotas[j].StorageCapacityQuotaGiB")
ls_V_Type = loo_JResp.StringOf("Volumes[i].OpenZFSConfiguration.UserAndGroupQuotas[j].Type")
j = j + 1
loop
j = 0
li_Count_j = loo_JResp.SizeOfArray("Volumes[i].Tags")
do while j < li_Count_j
loo_JResp.J = j
ls_Key = loo_JResp.StringOf("Volumes[i].Tags[j].Key")
ls_Value = loo_JResp.StringOf("Volumes[i].Tags[j].Value")
j = j + 1
loop
i = i + 1
loop
// A sample JSON response body parsed by the above code:
// {
// "NextToken": "string",
// "Volumes": [
// {
// "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"
// }
// ]
// }
destroy loo_Rest
destroy loo_AuthAws
destroy loo_Json
destroy loo_SbRequestBody
destroy loo_SbResponseBody
destroy loo_JResp