Chilkat Online Tools

CreateBackup SQL Server Example

Amazon FSx

CREATE PROCEDURE ChilkatSample
AS
BEGIN
    DECLARE @hr int
    DECLARE @iTmp0 int
    DECLARE @sTmp0 nvarchar(max)
    -- This example requires the Chilkat API to have been previously unlocked.
    -- See Global Unlock Sample for sample code.

    DECLARE @rest int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.Rest', @rest OUT
    IF @hr <> 0
    BEGIN
        PRINT 'Failed to create ActiveX component'
        RETURN
    END

    DECLARE @success int

    DECLARE @authAws int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.AuthAws', @authAws OUT

    EXEC sp_OASetProperty @authAws, 'AccessKey', 'AWS_ACCESS_KEY'
    EXEC sp_OASetProperty @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.)
    EXEC sp_OASetProperty @authAws, 'Region', 'us-west-2'
    EXEC sp_OASetProperty @authAws, 'ServiceName', 'fsx'
    -- SetAuthAws causes Chilkat to automatically add the following headers: Authorization, X-Amz-Date
    EXEC sp_OAMethod @rest, 'SetAuthAws', @success OUT, @authAws

    -- URL: https://fsx.us-west-2.amazonaws.com/
    -- Use the same region as specified above.
    EXEC sp_OAMethod @rest, 'Connect', @success OUT, 'fsx.us-west-2.amazonaws.com', 443, 1, 1
    IF @success <> 1
      BEGIN

        EXEC sp_OAGetProperty @rest, 'ConnectFailReason', @iTmp0 OUT
        PRINT 'ConnectFailReason: ' + @iTmp0
        EXEC sp_OAGetProperty @rest, 'LastErrorText', @sTmp0 OUT
        PRINT @sTmp0
        EXEC @hr = sp_OADestroy @rest
        EXEC @hr = sp_OADestroy @authAws
        RETURN
      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

    DECLARE @json int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.JsonObject', @json OUT

    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'ClientRequestToken', 'string'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'FileSystemId', 'string'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'Tags[0].Key', 'string'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'Tags[0].Value', 'string'
    EXEC sp_OAMethod @json, 'UpdateString', @success OUT, 'VolumeId', 'string'

    -- The JSON request body created by the above code:

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

    EXEC sp_OAMethod @rest, 'AddHeader', @success OUT, 'Content-Type', 'application/x-amz-json-1.1'
    EXEC sp_OAMethod @rest, 'AddHeader', @success OUT, 'X-Amz-Target', 'AWSSimbaAPIService_v20180301.CreateBackup'

    DECLARE @sbRequestBody int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.StringBuilder', @sbRequestBody OUT

    EXEC sp_OAMethod @json, 'EmitSb', @success OUT, @sbRequestBody
    DECLARE @sbResponseBody int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.StringBuilder', @sbResponseBody OUT

    EXEC sp_OAMethod @rest, 'FullRequestSb', @success OUT, 'POST', '/', @sbRequestBody, @sbResponseBody
    IF @success <> 1
      BEGIN
        EXEC sp_OAGetProperty @rest, 'LastErrorText', @sTmp0 OUT
        PRINT @sTmp0
        EXEC @hr = sp_OADestroy @rest
        EXEC @hr = sp_OADestroy @authAws
        EXEC @hr = sp_OADestroy @json
        EXEC @hr = sp_OADestroy @sbRequestBody
        EXEC @hr = sp_OADestroy @sbResponseBody
        RETURN
      END
    DECLARE @respStatusCode int
    EXEC sp_OAGetProperty @rest, 'ResponseStatusCode', @respStatusCode OUT

    PRINT 'response status code = ' + @respStatusCode
    IF @respStatusCode <> 200
      BEGIN

        PRINT 'Response Header:'
        EXEC sp_OAGetProperty @rest, 'ResponseHeader', @sTmp0 OUT
        PRINT @sTmp0

        PRINT 'Response Body:'
        EXEC sp_OAMethod @sbResponseBody, 'GetAsString', @sTmp0 OUT
        PRINT @sTmp0
        EXEC @hr = sp_OADestroy @rest
        EXEC @hr = sp_OADestroy @authAws
        EXEC @hr = sp_OADestroy @json
        EXEC @hr = sp_OADestroy @sbRequestBody
        EXEC @hr = sp_OADestroy @sbResponseBody
        RETURN
      END

    DECLARE @jResp int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.JsonObject', @jResp OUT

    EXEC sp_OAMethod @jResp, 'LoadSb', @success OUT, @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

    DECLARE @AdministrativeActionType nvarchar(max)

    DECLARE @RequestTime int

    DECLARE @Status nvarchar(max)

    DECLARE @TargetFileSystemValues nvarchar(max)

    DECLARE @TargetSnapshotValuesCreationTime int

    DECLARE @TargetSnapshotValuesLifecycle nvarchar(max)

    DECLARE @TargetSnapshotValuesName nvarchar(max)

    DECLARE @TargetSnapshotValuesResourceARN nvarchar(max)

    DECLARE @SnapshotId nvarchar(max)

    DECLARE @TargetSnapshotValuesVolumeId nvarchar(max)

    DECLARE @TargetVolumeValuesCreationTime int

    DECLARE @TargetVolumeValuesFileSystemId nvarchar(max)

    DECLARE @TargetVolumeValuesLifecycle nvarchar(max)

    DECLARE @TargetVolumeValuesName nvarchar(max)

    DECLARE @OntapConfigurationFlexCacheEndpointType nvarchar(max)

    DECLARE @OntapConfigurationJunctionPath nvarchar(max)

    DECLARE @OntapConfigurationOntapVolumeType nvarchar(max)

    DECLARE @OntapConfigurationSecurityStyle nvarchar(max)

    DECLARE @OntapConfigurationSizeInMegabytes int

    DECLARE @OntapConfigurationStorageEfficiencyEnabled int

    DECLARE @OntapConfigurationStorageVirtualMachineId nvarchar(max)

    DECLARE @OntapConfigurationStorageVirtualMachineRoot int

    DECLARE @TieringPolicyCoolingPeriod int

    DECLARE @OntapConfigurationUUID nvarchar(max)

    DECLARE @OpenZFSConfigurationCopyTagsToSnapshots int

    DECLARE @OriginSnapshotCopyStrategy nvarchar(max)

    DECLARE @OriginSnapshotSnapshotARN nvarchar(max)

    DECLARE @OpenZFSConfigurationParentVolumeId nvarchar(max)

    DECLARE @OpenZFSConfigurationReadOnly int

    DECLARE @OpenZFSConfigurationRecordSizeKiB int

    DECLARE @OpenZFSConfigurationStorageCapacityQuotaGiB int

    DECLARE @OpenZFSConfigurationStorageCapacityReservationGiB int

    DECLARE @OpenZFSConfigurationVolumePath nvarchar(max)

    DECLARE @TargetVolumeValuesResourceARN nvarchar(max)

    DECLARE @TargetVolumeValuesVolumeId nvarchar(max)

    DECLARE @TargetVolumeValuesVolumeType nvarchar(max)

    DECLARE @j int

    DECLARE @count_j int

    DECLARE @strVal nvarchar(max)

    DECLARE @Key nvarchar(max)

    DECLARE @Value nvarchar(max)

    DECLARE @k int

    DECLARE @count_k int

    DECLARE @Clients nvarchar(max)

    DECLARE @json1 int

    DECLARE @i1 int

    DECLARE @count_i1 int

    DECLARE @Id int

    DECLARE @TargetFileSystemValuesCreationTime int

    DECLARE @TargetFileSystemValuesDNSName nvarchar(max)

    DECLARE @TargetFileSystemValuesFileSystemId nvarchar(max)

    DECLARE @TargetFileSystemValuesFileSystemType nvarchar(max)

    DECLARE @TargetFileSystemValuesFileSystemTypeVersion nvarchar(max)

    DECLARE @TargetFileSystemValuesKmsKeyId nvarchar(max)

    DECLARE @TargetFileSystemValuesLifecycle nvarchar(max)

    DECLARE @LustreConfigurationAutomaticBackupRetentionDays int

    DECLARE @LustreConfigurationCopyTagsToBackups int

    DECLARE @LustreConfigurationDailyAutomaticBackupStartTime nvarchar(max)

    DECLARE @LustreConfigurationDataCompressionType nvarchar(max)

    DECLARE @DataRepositoryConfigurationAutoImportPolicy nvarchar(max)

    DECLARE @DataRepositoryConfigurationExportPath nvarchar(max)

    DECLARE @DataRepositoryConfigurationImportedFileChunkSize int

    DECLARE @DataRepositoryConfigurationImportPath nvarchar(max)

    DECLARE @LustreConfigurationDeploymentType nvarchar(max)

    DECLARE @LustreConfigurationDriveCacheType nvarchar(max)

    DECLARE @LogConfigurationDestination nvarchar(max)

    DECLARE @LogConfigurationLevel nvarchar(max)

    DECLARE @LustreConfigurationMountName nvarchar(max)

    DECLARE @LustreConfigurationPerUnitStorageThroughput int

    DECLARE @LustreConfigurationWeeklyMaintenanceStartTime nvarchar(max)

    DECLARE @OntapConfigurationEndpointIpAddressRange nvarchar(max)

    DECLARE @OntapConfigurationPreferredSubnetId nvarchar(max)

    DECLARE @OntapConfigurationThroughputCapacity int

    DECLARE @OpenZFSConfigurationCopyTagsToVolumes int

    DECLARE @OpenZFSConfigurationRootVolumeId nvarchar(max)

    DECLARE @TargetFileSystemValuesOwnerId nvarchar(max)

    DECLARE @TargetFileSystemValuesResourceARN nvarchar(max)

    DECLARE @TargetFileSystemValuesStorageCapacity int

    DECLARE @TargetFileSystemValuesStorageType nvarchar(max)

    DECLARE @TargetFileSystemValuesVpcId nvarchar(max)

    DECLARE @AuditLogConfigurationAuditLogDestination nvarchar(max)

    DECLARE @AuditLogConfigurationFileAccessAuditLogLevel nvarchar(max)

    DECLARE @AuditLogConfigurationFileShareAccessAuditLogLevel nvarchar(max)

    DECLARE @WindowsConfigurationPreferredFileServerIp nvarchar(max)

    DECLARE @WindowsConfigurationRemoteAdministrationEndpoint nvarchar(max)

    DECLARE @SelfManagedActiveDirectoryConfigurationFileSystemAdministratorsGroup nvarchar(max)

    DECLARE @SelfManagedActiveDirectoryConfigurationOrganizationalUnitDistinguishedName nvarchar(max)

    DECLARE @SelfManagedActiveDirectoryConfigurationUserName nvarchar(max)

    DECLARE @TargetSnapshotValuesSnapshotId nvarchar(max)

    DECLARE @TargetVolumeValues nvarchar(max)

    DECLARE @BackupId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @BackupId OUT, 'Backup.BackupId'
    DECLARE @CreationTime int
    EXEC sp_OAMethod @jResp, 'IntOf', @CreationTime OUT, 'Backup.CreationTime'
    DECLARE @ActiveDirectoryId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @ActiveDirectoryId OUT, 'Backup.DirectoryInformation.ActiveDirectoryId'
    DECLARE @DomainName nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @DomainName OUT, 'Backup.DirectoryInformation.DomainName'
    DECLARE @ResourceARN nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @ResourceARN OUT, 'Backup.DirectoryInformation.ResourceARN'
    DECLARE @Message nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @Message OUT, 'Backup.FailureDetails.Message'
    DECLARE @FileSystemCreationTime int
    EXEC sp_OAMethod @jResp, 'IntOf', @FileSystemCreationTime OUT, 'Backup.FileSystem.CreationTime'
    DECLARE @DNSName nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @DNSName OUT, 'Backup.FileSystem.DNSName'
    DECLARE @FailureDetailsMessage nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @FailureDetailsMessage OUT, 'Backup.FileSystem.FailureDetails.Message'
    DECLARE @FileSystemId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @FileSystemId OUT, 'Backup.FileSystem.FileSystemId'
    DECLARE @FileSystemType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @FileSystemType OUT, 'Backup.FileSystem.FileSystemType'
    DECLARE @FileSystemTypeVersion nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @FileSystemTypeVersion OUT, 'Backup.FileSystem.FileSystemTypeVersion'
    DECLARE @KmsKeyId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @KmsKeyId OUT, 'Backup.FileSystem.KmsKeyId'
    DECLARE @Lifecycle nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @Lifecycle OUT, 'Backup.FileSystem.Lifecycle'
    DECLARE @AutomaticBackupRetentionDays int
    EXEC sp_OAMethod @jResp, 'IntOf', @AutomaticBackupRetentionDays OUT, 'Backup.FileSystem.LustreConfiguration.AutomaticBackupRetentionDays'
    DECLARE @CopyTagsToBackups int
    EXEC sp_OAMethod @jResp, 'IntOf', @CopyTagsToBackups OUT, 'Backup.FileSystem.LustreConfiguration.CopyTagsToBackups'
    DECLARE @DailyAutomaticBackupStartTime nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @DailyAutomaticBackupStartTime OUT, 'Backup.FileSystem.LustreConfiguration.DailyAutomaticBackupStartTime'
    DECLARE @DataCompressionType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @DataCompressionType OUT, 'Backup.FileSystem.LustreConfiguration.DataCompressionType'
    DECLARE @AutoImportPolicy nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @AutoImportPolicy OUT, 'Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.AutoImportPolicy'
    DECLARE @ExportPath nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @ExportPath OUT, 'Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.ExportPath'
    EXEC sp_OAMethod @jResp, 'StringOf', @FailureDetailsMessage OUT, 'Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.FailureDetails.Message'
    DECLARE @ImportedFileChunkSize int
    EXEC sp_OAMethod @jResp, 'IntOf', @ImportedFileChunkSize OUT, 'Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportedFileChunkSize'
    DECLARE @ImportPath nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @ImportPath OUT, 'Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportPath'
    DECLARE @DataRepositoryConfigurationLifecycle nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @DataRepositoryConfigurationLifecycle OUT, 'Backup.FileSystem.LustreConfiguration.DataRepositoryConfiguration.Lifecycle'
    DECLARE @DeploymentType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @DeploymentType OUT, 'Backup.FileSystem.LustreConfiguration.DeploymentType'
    DECLARE @DriveCacheType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @DriveCacheType OUT, 'Backup.FileSystem.LustreConfiguration.DriveCacheType'
    DECLARE @Destination nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @Destination OUT, 'Backup.FileSystem.LustreConfiguration.LogConfiguration.Destination'
    DECLARE @Level nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @Level OUT, 'Backup.FileSystem.LustreConfiguration.LogConfiguration.Level'
    DECLARE @MountName nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @MountName OUT, 'Backup.FileSystem.LustreConfiguration.MountName'
    DECLARE @PerUnitStorageThroughput int
    EXEC sp_OAMethod @jResp, 'IntOf', @PerUnitStorageThroughput OUT, 'Backup.FileSystem.LustreConfiguration.PerUnitStorageThroughput'
    DECLARE @WeeklyMaintenanceStartTime nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @WeeklyMaintenanceStartTime OUT, 'Backup.FileSystem.LustreConfiguration.WeeklyMaintenanceStartTime'
    DECLARE @OntapConfigurationAutomaticBackupRetentionDays int
    EXEC sp_OAMethod @jResp, 'IntOf', @OntapConfigurationAutomaticBackupRetentionDays OUT, 'Backup.FileSystem.OntapConfiguration.AutomaticBackupRetentionDays'
    DECLARE @OntapConfigurationDailyAutomaticBackupStartTime nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationDailyAutomaticBackupStartTime OUT, 'Backup.FileSystem.OntapConfiguration.DailyAutomaticBackupStartTime'
    DECLARE @OntapConfigurationDeploymentType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationDeploymentType OUT, 'Backup.FileSystem.OntapConfiguration.DeploymentType'
    DECLARE @Iops int
    EXEC sp_OAMethod @jResp, 'IntOf', @Iops OUT, 'Backup.FileSystem.OntapConfiguration.DiskIopsConfiguration.Iops'
    DECLARE @Mode nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @Mode OUT, 'Backup.FileSystem.OntapConfiguration.DiskIopsConfiguration.Mode'
    DECLARE @EndpointIpAddressRange nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @EndpointIpAddressRange OUT, 'Backup.FileSystem.OntapConfiguration.EndpointIpAddressRange'
    DECLARE @InterclusterDNSName nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @InterclusterDNSName OUT, 'Backup.FileSystem.OntapConfiguration.Endpoints.Intercluster.DNSName'
    DECLARE @ManagementDNSName nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @ManagementDNSName OUT, 'Backup.FileSystem.OntapConfiguration.Endpoints.Management.DNSName'
    DECLARE @PreferredSubnetId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @PreferredSubnetId OUT, 'Backup.FileSystem.OntapConfiguration.PreferredSubnetId'
    DECLARE @ThroughputCapacity int
    EXEC sp_OAMethod @jResp, 'IntOf', @ThroughputCapacity OUT, 'Backup.FileSystem.OntapConfiguration.ThroughputCapacity'
    DECLARE @OntapConfigurationWeeklyMaintenanceStartTime nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationWeeklyMaintenanceStartTime OUT, 'Backup.FileSystem.OntapConfiguration.WeeklyMaintenanceStartTime'
    DECLARE @OpenZFSConfigurationAutomaticBackupRetentionDays int
    EXEC sp_OAMethod @jResp, 'IntOf', @OpenZFSConfigurationAutomaticBackupRetentionDays OUT, 'Backup.FileSystem.OpenZFSConfiguration.AutomaticBackupRetentionDays'
    DECLARE @OpenZFSConfigurationCopyTagsToBackups int
    EXEC sp_OAMethod @jResp, 'IntOf', @OpenZFSConfigurationCopyTagsToBackups OUT, 'Backup.FileSystem.OpenZFSConfiguration.CopyTagsToBackups'
    DECLARE @CopyTagsToVolumes int
    EXEC sp_OAMethod @jResp, 'IntOf', @CopyTagsToVolumes OUT, 'Backup.FileSystem.OpenZFSConfiguration.CopyTagsToVolumes'
    DECLARE @OpenZFSConfigurationDailyAutomaticBackupStartTime nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @OpenZFSConfigurationDailyAutomaticBackupStartTime OUT, 'Backup.FileSystem.OpenZFSConfiguration.DailyAutomaticBackupStartTime'
    DECLARE @OpenZFSConfigurationDeploymentType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @OpenZFSConfigurationDeploymentType OUT, 'Backup.FileSystem.OpenZFSConfiguration.DeploymentType'
    DECLARE @DiskIopsConfigurationIops int
    EXEC sp_OAMethod @jResp, 'IntOf', @DiskIopsConfigurationIops OUT, 'Backup.FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Iops'
    DECLARE @DiskIopsConfigurationMode nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @DiskIopsConfigurationMode OUT, 'Backup.FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Mode'
    DECLARE @RootVolumeId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @RootVolumeId OUT, 'Backup.FileSystem.OpenZFSConfiguration.RootVolumeId'
    DECLARE @OpenZFSConfigurationThroughputCapacity int
    EXEC sp_OAMethod @jResp, 'IntOf', @OpenZFSConfigurationThroughputCapacity OUT, 'Backup.FileSystem.OpenZFSConfiguration.ThroughputCapacity'
    DECLARE @OpenZFSConfigurationWeeklyMaintenanceStartTime nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @OpenZFSConfigurationWeeklyMaintenanceStartTime OUT, 'Backup.FileSystem.OpenZFSConfiguration.WeeklyMaintenanceStartTime'
    DECLARE @OwnerId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @OwnerId OUT, 'Backup.FileSystem.OwnerId'
    DECLARE @FileSystemResourceARN nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @FileSystemResourceARN OUT, 'Backup.FileSystem.ResourceARN'
    DECLARE @StorageCapacity int
    EXEC sp_OAMethod @jResp, 'IntOf', @StorageCapacity OUT, 'Backup.FileSystem.StorageCapacity'
    DECLARE @StorageType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @StorageType OUT, 'Backup.FileSystem.StorageType'
    DECLARE @VpcId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @VpcId OUT, 'Backup.FileSystem.VpcId'
    DECLARE @WindowsConfigurationActiveDirectoryId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @WindowsConfigurationActiveDirectoryId OUT, 'Backup.FileSystem.WindowsConfiguration.ActiveDirectoryId'
    DECLARE @AuditLogDestination nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @AuditLogDestination OUT, 'Backup.FileSystem.WindowsConfiguration.AuditLogConfiguration.AuditLogDestination'
    DECLARE @FileAccessAuditLogLevel nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @FileAccessAuditLogLevel OUT, 'Backup.FileSystem.WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel'
    DECLARE @FileShareAccessAuditLogLevel nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @FileShareAccessAuditLogLevel OUT, 'Backup.FileSystem.WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel'
    DECLARE @WindowsConfigurationAutomaticBackupRetentionDays int
    EXEC sp_OAMethod @jResp, 'IntOf', @WindowsConfigurationAutomaticBackupRetentionDays OUT, 'Backup.FileSystem.WindowsConfiguration.AutomaticBackupRetentionDays'
    DECLARE @WindowsConfigurationCopyTagsToBackups int
    EXEC sp_OAMethod @jResp, 'IntOf', @WindowsConfigurationCopyTagsToBackups OUT, 'Backup.FileSystem.WindowsConfiguration.CopyTagsToBackups'
    DECLARE @WindowsConfigurationDailyAutomaticBackupStartTime nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @WindowsConfigurationDailyAutomaticBackupStartTime OUT, 'Backup.FileSystem.WindowsConfiguration.DailyAutomaticBackupStartTime'
    DECLARE @WindowsConfigurationDeploymentType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @WindowsConfigurationDeploymentType OUT, 'Backup.FileSystem.WindowsConfiguration.DeploymentType'
    DECLARE @PreferredFileServerIp nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @PreferredFileServerIp OUT, 'Backup.FileSystem.WindowsConfiguration.PreferredFileServerIp'
    DECLARE @WindowsConfigurationPreferredSubnetId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @WindowsConfigurationPreferredSubnetId OUT, 'Backup.FileSystem.WindowsConfiguration.PreferredSubnetId'
    DECLARE @RemoteAdministrationEndpoint nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @RemoteAdministrationEndpoint OUT, 'Backup.FileSystem.WindowsConfiguration.RemoteAdministrationEndpoint'
    DECLARE @SelfManagedActiveDirectoryConfigurationDomainName nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @SelfManagedActiveDirectoryConfigurationDomainName OUT, 'Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName'
    DECLARE @FileSystemAdministratorsGroup nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @FileSystemAdministratorsGroup OUT, 'Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup'
    DECLARE @OrganizationalUnitDistinguishedName nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @OrganizationalUnitDistinguishedName OUT, 'Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName'
    DECLARE @UserName nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @UserName OUT, 'Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName'
    DECLARE @WindowsConfigurationThroughputCapacity int
    EXEC sp_OAMethod @jResp, 'IntOf', @WindowsConfigurationThroughputCapacity OUT, 'Backup.FileSystem.WindowsConfiguration.ThroughputCapacity'
    DECLARE @WindowsConfigurationWeeklyMaintenanceStartTime nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @WindowsConfigurationWeeklyMaintenanceStartTime OUT, 'Backup.FileSystem.WindowsConfiguration.WeeklyMaintenanceStartTime'
    DECLARE @BackupKmsKeyId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @BackupKmsKeyId OUT, 'Backup.KmsKeyId'
    DECLARE @BackupLifecycle nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @BackupLifecycle OUT, 'Backup.Lifecycle'
    DECLARE @BackupOwnerId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @BackupOwnerId OUT, 'Backup.OwnerId'
    DECLARE @ProgressPercent int
    EXEC sp_OAMethod @jResp, 'IntOf', @ProgressPercent OUT, 'Backup.ProgressPercent'
    DECLARE @BackupResourceARN nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @BackupResourceARN OUT, 'Backup.ResourceARN'
    DECLARE @ResourceType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @ResourceType OUT, 'Backup.ResourceType'
    DECLARE @SourceBackupId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @SourceBackupId OUT, 'Backup.SourceBackupId'
    DECLARE @SourceBackupRegion nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @SourceBackupRegion OUT, 'Backup.SourceBackupRegion'
    DECLARE @v_Type nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @v_Type OUT, 'Backup.Type'
    DECLARE @VolumeCreationTime int
    EXEC sp_OAMethod @jResp, 'IntOf', @VolumeCreationTime OUT, 'Backup.Volume.CreationTime'
    DECLARE @VolumeFileSystemId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @VolumeFileSystemId OUT, 'Backup.Volume.FileSystemId'
    DECLARE @VolumeLifecycle nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @VolumeLifecycle OUT, 'Backup.Volume.Lifecycle'
    DECLARE @LifecycleTransitionReasonMessage nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @LifecycleTransitionReasonMessage OUT, 'Backup.Volume.LifecycleTransitionReason.Message'
    DECLARE @Name nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @Name OUT, 'Backup.Volume.Name'
    DECLARE @FlexCacheEndpointType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @FlexCacheEndpointType OUT, 'Backup.Volume.OntapConfiguration.FlexCacheEndpointType'
    DECLARE @JunctionPath nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @JunctionPath OUT, 'Backup.Volume.OntapConfiguration.JunctionPath'
    DECLARE @OntapVolumeType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @OntapVolumeType OUT, 'Backup.Volume.OntapConfiguration.OntapVolumeType'
    DECLARE @SecurityStyle nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @SecurityStyle OUT, 'Backup.Volume.OntapConfiguration.SecurityStyle'
    DECLARE @SizeInMegabytes int
    EXEC sp_OAMethod @jResp, 'IntOf', @SizeInMegabytes OUT, 'Backup.Volume.OntapConfiguration.SizeInMegabytes'
    DECLARE @StorageEfficiencyEnabled int
    EXEC sp_OAMethod @jResp, 'IntOf', @StorageEfficiencyEnabled OUT, 'Backup.Volume.OntapConfiguration.StorageEfficiencyEnabled'
    DECLARE @StorageVirtualMachineId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @StorageVirtualMachineId OUT, 'Backup.Volume.OntapConfiguration.StorageVirtualMachineId'
    DECLARE @StorageVirtualMachineRoot int
    EXEC sp_OAMethod @jResp, 'IntOf', @StorageVirtualMachineRoot OUT, 'Backup.Volume.OntapConfiguration.StorageVirtualMachineRoot'
    DECLARE @CoolingPeriod int
    EXEC sp_OAMethod @jResp, 'IntOf', @CoolingPeriod OUT, 'Backup.Volume.OntapConfiguration.TieringPolicy.CoolingPeriod'
    DECLARE @TieringPolicyName nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @TieringPolicyName OUT, 'Backup.Volume.OntapConfiguration.TieringPolicy.Name'
    DECLARE @UUID nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @UUID OUT, 'Backup.Volume.OntapConfiguration.UUID'
    DECLARE @CopyTagsToSnapshots int
    EXEC sp_OAMethod @jResp, 'IntOf', @CopyTagsToSnapshots OUT, 'Backup.Volume.OpenZFSConfiguration.CopyTagsToSnapshots'
    DECLARE @OpenZFSConfigurationDataCompressionType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @OpenZFSConfigurationDataCompressionType OUT, 'Backup.Volume.OpenZFSConfiguration.DataCompressionType'
    DECLARE @CopyStrategy nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @CopyStrategy OUT, 'Backup.Volume.OpenZFSConfiguration.OriginSnapshot.CopyStrategy'
    DECLARE @SnapshotARN nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @SnapshotARN OUT, 'Backup.Volume.OpenZFSConfiguration.OriginSnapshot.SnapshotARN'
    DECLARE @ParentVolumeId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @ParentVolumeId OUT, 'Backup.Volume.OpenZFSConfiguration.ParentVolumeId'
    DECLARE @ReadOnly int
    EXEC sp_OAMethod @jResp, 'IntOf', @ReadOnly OUT, 'Backup.Volume.OpenZFSConfiguration.ReadOnly'
    DECLARE @RecordSizeKiB int
    EXEC sp_OAMethod @jResp, 'IntOf', @RecordSizeKiB OUT, 'Backup.Volume.OpenZFSConfiguration.RecordSizeKiB'
    DECLARE @StorageCapacityQuotaGiB int
    EXEC sp_OAMethod @jResp, 'IntOf', @StorageCapacityQuotaGiB OUT, 'Backup.Volume.OpenZFSConfiguration.StorageCapacityQuotaGiB'
    DECLARE @StorageCapacityReservationGiB int
    EXEC sp_OAMethod @jResp, 'IntOf', @StorageCapacityReservationGiB OUT, 'Backup.Volume.OpenZFSConfiguration.StorageCapacityReservationGiB'
    DECLARE @VolumePath nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @VolumePath OUT, 'Backup.Volume.OpenZFSConfiguration.VolumePath'
    DECLARE @VolumeResourceARN nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @VolumeResourceARN OUT, 'Backup.Volume.ResourceARN'
    DECLARE @VolumeId nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @VolumeId OUT, 'Backup.Volume.VolumeId'
    DECLARE @VolumeType nvarchar(max)
    EXEC sp_OAMethod @jResp, 'StringOf', @VolumeType OUT, 'Backup.Volume.VolumeType'
    DECLARE @i int
    SELECT @i = 0
    DECLARE @count_i int
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.FileSystem.AdministrativeActions'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @AdministrativeActionType OUT, 'Backup.FileSystem.AdministrativeActions[i].AdministrativeActionType'
        EXEC sp_OAMethod @jResp, 'StringOf', @FailureDetailsMessage OUT, 'Backup.FileSystem.AdministrativeActions[i].FailureDetails.Message'
        EXEC sp_OAMethod @jResp, 'IntOf', @ProgressPercent OUT, 'Backup.FileSystem.AdministrativeActions[i].ProgressPercent'
        EXEC sp_OAMethod @jResp, 'IntOf', @RequestTime OUT, 'Backup.FileSystem.AdministrativeActions[i].RequestTime'
        EXEC sp_OAMethod @jResp, 'StringOf', @Status OUT, 'Backup.FileSystem.AdministrativeActions[i].Status'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetFileSystemValues OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetFileSystemValues'
        EXEC sp_OAMethod @jResp, 'IntOf', @TargetSnapshotValuesCreationTime OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.CreationTime'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetSnapshotValuesLifecycle OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.Lifecycle'
        EXEC sp_OAMethod @jResp, 'StringOf', @LifecycleTransitionReasonMessage OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.LifecycleTransitionReason.Message'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetSnapshotValuesName OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.Name'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetSnapshotValuesResourceARN OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.ResourceARN'
        EXEC sp_OAMethod @jResp, 'StringOf', @SnapshotId OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.SnapshotId'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetSnapshotValuesVolumeId OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.VolumeId'
        EXEC sp_OAMethod @jResp, 'IntOf', @TargetVolumeValuesCreationTime OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.CreationTime'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetVolumeValuesFileSystemId OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.FileSystemId'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetVolumeValuesLifecycle OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.Lifecycle'
        EXEC sp_OAMethod @jResp, 'StringOf', @LifecycleTransitionReasonMessage OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.LifecycleTransitionReason.Message'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetVolumeValuesName OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.Name'
        EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationFlexCacheEndpointType OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.FlexCacheEndpointType'
        EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationJunctionPath OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.JunctionPath'
        EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationOntapVolumeType OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.OntapVolumeType'
        EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationSecurityStyle OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.SecurityStyle'
        EXEC sp_OAMethod @jResp, 'IntOf', @OntapConfigurationSizeInMegabytes OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.SizeInMegabytes'
        EXEC sp_OAMethod @jResp, 'IntOf', @OntapConfigurationStorageEfficiencyEnabled OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.StorageEfficiencyEnabled'
        EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationStorageVirtualMachineId OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.StorageVirtualMachineId'
        EXEC sp_OAMethod @jResp, 'IntOf', @OntapConfigurationStorageVirtualMachineRoot OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.StorageVirtualMachineRoot'
        EXEC sp_OAMethod @jResp, 'IntOf', @TieringPolicyCoolingPeriod OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.TieringPolicy.CoolingPeriod'
        EXEC sp_OAMethod @jResp, 'StringOf', @TieringPolicyName OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.TieringPolicy.Name'
        EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationUUID OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.UUID'
        EXEC sp_OAMethod @jResp, 'IntOf', @OpenZFSConfigurationCopyTagsToSnapshots OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.CopyTagsToSnapshots'
        EXEC sp_OAMethod @jResp, 'StringOf', @OpenZFSConfigurationDataCompressionType OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.DataCompressionType'
        EXEC sp_OAMethod @jResp, 'StringOf', @OriginSnapshotCopyStrategy OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.OriginSnapshot.CopyStrategy'
        EXEC sp_OAMethod @jResp, 'StringOf', @OriginSnapshotSnapshotARN OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.OriginSnapshot.SnapshotARN'
        EXEC sp_OAMethod @jResp, 'StringOf', @OpenZFSConfigurationParentVolumeId OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.ParentVolumeId'
        EXEC sp_OAMethod @jResp, 'IntOf', @OpenZFSConfigurationReadOnly OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.ReadOnly'
        EXEC sp_OAMethod @jResp, 'IntOf', @OpenZFSConfigurationRecordSizeKiB OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.RecordSizeKiB'
        EXEC sp_OAMethod @jResp, 'IntOf', @OpenZFSConfigurationStorageCapacityQuotaGiB OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.StorageCapacityQuotaGiB'
        EXEC sp_OAMethod @jResp, 'IntOf', @OpenZFSConfigurationStorageCapacityReservationGiB OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.StorageCapacityReservationGiB'
        EXEC sp_OAMethod @jResp, 'StringOf', @OpenZFSConfigurationVolumePath OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.VolumePath'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetVolumeValuesResourceARN OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.ResourceARN'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetVolumeValuesVolumeId OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.VolumeId'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetVolumeValuesVolumeType OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.VolumeType'
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions[j]'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.Tags'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @Key OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Key'
            EXEC sp_OAMethod @jResp, 'StringOf', @Value OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Value'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.AdministrativeActions'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.AdministrativeActions[j]'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            SELECT @k = 0
            EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_k OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports[j].ClientConfigurations'
            WHILE @k < @count_k
              BEGIN
                EXEC sp_OASetProperty @jResp, 'K', @k
                EXEC sp_OAMethod @jResp, 'StringOf', @Clients OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports[j].ClientConfigurations[k].Clients'

                EXEC sp_OAMethod @jResp, 'ObjectOf', @json1 OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports[j].ClientConfigurations[k]'
                SELECT @i1 = 0
                EXEC sp_OAMethod @json1, 'SizeOfArray', @count_i1 OUT, 'Options'
                WHILE @i1 < @count_i1
                  BEGIN
                    EXEC sp_OASetProperty @json1, 'I', @i1
                    EXEC sp_OAMethod @json1, 'StringOf', @strVal OUT, 'Options[i]'
                    SELECT @i1 = @i1 + 1
                  END
                EXEC @hr = sp_OADestroy @json1

                SELECT @k = @k + 1
              END
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'IntOf', @Id OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[j].Id'
            EXEC sp_OAMethod @jResp, 'IntOf', @StorageCapacityQuotaGiB OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[j].StorageCapacityQuotaGiB'
            EXEC sp_OAMethod @jResp, 'StringOf', @v_Type OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[j].Type'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.Tags'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @Key OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.Tags[j].Key'
            EXEC sp_OAMethod @jResp, 'StringOf', @Value OUT, 'Backup.FileSystem.AdministrativeActions[i].TargetVolumeValues.Tags[j].Value'
            SELECT @j = @j + 1
          END
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.FileSystem.NetworkInterfaceIds'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.FileSystem.NetworkInterfaceIds[i]'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.FileSystem.OntapConfiguration.Endpoints.Intercluster.IpAddresses'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.FileSystem.OntapConfiguration.Endpoints.Intercluster.IpAddresses[i]'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.FileSystem.OntapConfiguration.Endpoints.Management.IpAddresses'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.FileSystem.OntapConfiguration.Endpoints.Management.IpAddresses[i]'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.FileSystem.OntapConfiguration.RouteTableIds'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.FileSystem.OntapConfiguration.RouteTableIds[i]'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.FileSystem.SubnetIds'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.FileSystem.SubnetIds[i]'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.FileSystem.Tags'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @Key OUT, 'Backup.FileSystem.Tags[i].Key'
        EXEC sp_OAMethod @jResp, 'StringOf', @Value OUT, 'Backup.FileSystem.Tags[i].Value'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.FileSystem.WindowsConfiguration.Aliases'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @Lifecycle OUT, 'Backup.FileSystem.WindowsConfiguration.Aliases[i].Lifecycle'
        EXEC sp_OAMethod @jResp, 'StringOf', @Name OUT, 'Backup.FileSystem.WindowsConfiguration.Aliases[i].Name'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.FileSystem.WindowsConfiguration.MaintenanceOperationsInProgress'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.FileSystem.WindowsConfiguration.MaintenanceOperationsInProgress[i]'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps[i]'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.Tags'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @Key OUT, 'Backup.Tags[i].Key'
        EXEC sp_OAMethod @jResp, 'StringOf', @Value OUT, 'Backup.Tags[i].Value'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.Volume.AdministrativeActions'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @AdministrativeActionType OUT, 'Backup.Volume.AdministrativeActions[i].AdministrativeActionType'
        EXEC sp_OAMethod @jResp, 'StringOf', @FailureDetailsMessage OUT, 'Backup.Volume.AdministrativeActions[i].FailureDetails.Message'
        EXEC sp_OAMethod @jResp, 'IntOf', @ProgressPercent OUT, 'Backup.Volume.AdministrativeActions[i].ProgressPercent'
        EXEC sp_OAMethod @jResp, 'IntOf', @RequestTime OUT, 'Backup.Volume.AdministrativeActions[i].RequestTime'
        EXEC sp_OAMethod @jResp, 'StringOf', @Status OUT, 'Backup.Volume.AdministrativeActions[i].Status'
        EXEC sp_OAMethod @jResp, 'IntOf', @TargetFileSystemValuesCreationTime OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.CreationTime'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetFileSystemValuesDNSName OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.DNSName'
        EXEC sp_OAMethod @jResp, 'StringOf', @FailureDetailsMessage OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.FailureDetails.Message'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetFileSystemValuesFileSystemId OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.FileSystemId'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetFileSystemValuesFileSystemType OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.FileSystemType'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetFileSystemValuesFileSystemTypeVersion OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.FileSystemTypeVersion'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetFileSystemValuesKmsKeyId OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.KmsKeyId'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetFileSystemValuesLifecycle OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.Lifecycle'
        EXEC sp_OAMethod @jResp, 'IntOf', @LustreConfigurationAutomaticBackupRetentionDays OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.AutomaticBackupRetentionDays'
        EXEC sp_OAMethod @jResp, 'IntOf', @LustreConfigurationCopyTagsToBackups OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.CopyTagsToBackups'
        EXEC sp_OAMethod @jResp, 'StringOf', @LustreConfigurationDailyAutomaticBackupStartTime OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DailyAutomaticBackupStartTime'
        EXEC sp_OAMethod @jResp, 'StringOf', @LustreConfigurationDataCompressionType OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataCompressionType'
        EXEC sp_OAMethod @jResp, 'StringOf', @DataRepositoryConfigurationAutoImportPolicy OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.AutoImportPolicy'
        EXEC sp_OAMethod @jResp, 'StringOf', @DataRepositoryConfigurationExportPath OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ExportPath'
        EXEC sp_OAMethod @jResp, 'StringOf', @FailureDetailsMessage OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.FailureDetails.Message'
        EXEC sp_OAMethod @jResp, 'IntOf', @DataRepositoryConfigurationImportedFileChunkSize OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ImportedFileChunkSize'
        EXEC sp_OAMethod @jResp, 'StringOf', @DataRepositoryConfigurationImportPath OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ImportPath'
        EXEC sp_OAMethod @jResp, 'StringOf', @DataRepositoryConfigurationLifecycle OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.Lifecycle'
        EXEC sp_OAMethod @jResp, 'StringOf', @LustreConfigurationDeploymentType OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DeploymentType'
        EXEC sp_OAMethod @jResp, 'StringOf', @LustreConfigurationDriveCacheType OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DriveCacheType'
        EXEC sp_OAMethod @jResp, 'StringOf', @LogConfigurationDestination OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.LogConfiguration.Destination'
        EXEC sp_OAMethod @jResp, 'StringOf', @LogConfigurationLevel OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.LogConfiguration.Level'
        EXEC sp_OAMethod @jResp, 'StringOf', @LustreConfigurationMountName OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.MountName'
        EXEC sp_OAMethod @jResp, 'IntOf', @LustreConfigurationPerUnitStorageThroughput OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.PerUnitStorageThroughput'
        EXEC sp_OAMethod @jResp, 'StringOf', @LustreConfigurationWeeklyMaintenanceStartTime OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.WeeklyMaintenanceStartTime'
        EXEC sp_OAMethod @jResp, 'IntOf', @OntapConfigurationAutomaticBackupRetentionDays OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.AutomaticBackupRetentionDays'
        EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationDailyAutomaticBackupStartTime OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.DailyAutomaticBackupStartTime'
        EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationDeploymentType OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.DeploymentType'
        EXEC sp_OAMethod @jResp, 'IntOf', @DiskIopsConfigurationIops OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.DiskIopsConfiguration.Iops'
        EXEC sp_OAMethod @jResp, 'StringOf', @DiskIopsConfigurationMode OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.DiskIopsConfiguration.Mode'
        EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationEndpointIpAddressRange OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.EndpointIpAddressRange'
        EXEC sp_OAMethod @jResp, 'StringOf', @InterclusterDNSName OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.DNSName'
        EXEC sp_OAMethod @jResp, 'StringOf', @ManagementDNSName OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.DNSName'
        EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationPreferredSubnetId OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.PreferredSubnetId'
        EXEC sp_OAMethod @jResp, 'IntOf', @OntapConfigurationThroughputCapacity OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.ThroughputCapacity'
        EXEC sp_OAMethod @jResp, 'StringOf', @OntapConfigurationWeeklyMaintenanceStartTime OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.WeeklyMaintenanceStartTime'
        EXEC sp_OAMethod @jResp, 'IntOf', @OpenZFSConfigurationAutomaticBackupRetentionDays OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.AutomaticBackupRetentionDays'
        EXEC sp_OAMethod @jResp, 'IntOf', @OpenZFSConfigurationCopyTagsToBackups OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.CopyTagsToBackups'
        EXEC sp_OAMethod @jResp, 'IntOf', @OpenZFSConfigurationCopyTagsToVolumes OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.CopyTagsToVolumes'
        EXEC sp_OAMethod @jResp, 'StringOf', @OpenZFSConfigurationDailyAutomaticBackupStartTime OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.DailyAutomaticBackupStartTime'
        EXEC sp_OAMethod @jResp, 'StringOf', @OpenZFSConfigurationDeploymentType OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.DeploymentType'
        EXEC sp_OAMethod @jResp, 'IntOf', @DiskIopsConfigurationIops OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.DiskIopsConfiguration.Iops'
        EXEC sp_OAMethod @jResp, 'StringOf', @DiskIopsConfigurationMode OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.DiskIopsConfiguration.Mode'
        EXEC sp_OAMethod @jResp, 'StringOf', @OpenZFSConfigurationRootVolumeId OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.RootVolumeId'
        EXEC sp_OAMethod @jResp, 'IntOf', @OpenZFSConfigurationThroughputCapacity OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.ThroughputCapacity'
        EXEC sp_OAMethod @jResp, 'StringOf', @OpenZFSConfigurationWeeklyMaintenanceStartTime OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.WeeklyMaintenanceStartTime'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetFileSystemValuesOwnerId OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OwnerId'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetFileSystemValuesResourceARN OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.ResourceARN'
        EXEC sp_OAMethod @jResp, 'IntOf', @TargetFileSystemValuesStorageCapacity OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.StorageCapacity'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetFileSystemValuesStorageType OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.StorageType'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetFileSystemValuesVpcId OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.VpcId'
        EXEC sp_OAMethod @jResp, 'StringOf', @WindowsConfigurationActiveDirectoryId OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.ActiveDirectoryId'
        EXEC sp_OAMethod @jResp, 'StringOf', @AuditLogConfigurationAuditLogDestination OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.AuditLogDestination'
        EXEC sp_OAMethod @jResp, 'StringOf', @AuditLogConfigurationFileAccessAuditLogLevel OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel'
        EXEC sp_OAMethod @jResp, 'StringOf', @AuditLogConfigurationFileShareAccessAuditLogLevel OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel'
        EXEC sp_OAMethod @jResp, 'IntOf', @WindowsConfigurationAutomaticBackupRetentionDays OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.AutomaticBackupRetentionDays'
        EXEC sp_OAMethod @jResp, 'IntOf', @WindowsConfigurationCopyTagsToBackups OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.CopyTagsToBackups'
        EXEC sp_OAMethod @jResp, 'StringOf', @WindowsConfigurationDailyAutomaticBackupStartTime OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.DailyAutomaticBackupStartTime'
        EXEC sp_OAMethod @jResp, 'StringOf', @WindowsConfigurationDeploymentType OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.DeploymentType'
        EXEC sp_OAMethod @jResp, 'StringOf', @WindowsConfigurationPreferredFileServerIp OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.PreferredFileServerIp'
        EXEC sp_OAMethod @jResp, 'StringOf', @WindowsConfigurationPreferredSubnetId OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.PreferredSubnetId'
        EXEC sp_OAMethod @jResp, 'StringOf', @WindowsConfigurationRemoteAdministrationEndpoint OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.RemoteAdministrationEndpoint'
        EXEC sp_OAMethod @jResp, 'StringOf', @SelfManagedActiveDirectoryConfigurationDomainName OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName'
        EXEC sp_OAMethod @jResp, 'StringOf', @SelfManagedActiveDirectoryConfigurationFileSystemAdministratorsGroup OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup'
        EXEC sp_OAMethod @jResp, 'StringOf', @SelfManagedActiveDirectoryConfigurationOrganizationalUnitDistinguishedName OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName'
        EXEC sp_OAMethod @jResp, 'StringOf', @SelfManagedActiveDirectoryConfigurationUserName OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName'
        EXEC sp_OAMethod @jResp, 'IntOf', @WindowsConfigurationThroughputCapacity OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.ThroughputCapacity'
        EXEC sp_OAMethod @jResp, 'StringOf', @WindowsConfigurationWeeklyMaintenanceStartTime OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.WeeklyMaintenanceStartTime'
        EXEC sp_OAMethod @jResp, 'IntOf', @TargetSnapshotValuesCreationTime OUT, 'Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.CreationTime'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetSnapshotValuesLifecycle OUT, 'Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.Lifecycle'
        EXEC sp_OAMethod @jResp, 'StringOf', @LifecycleTransitionReasonMessage OUT, 'Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.LifecycleTransitionReason.Message'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetSnapshotValuesName OUT, 'Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.Name'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetSnapshotValuesResourceARN OUT, 'Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.ResourceARN'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetSnapshotValuesSnapshotId OUT, 'Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.SnapshotId'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetSnapshotValuesVolumeId OUT, 'Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.VolumeId'
        EXEC sp_OAMethod @jResp, 'StringOf', @TargetVolumeValues OUT, 'Backup.Volume.AdministrativeActions[i].TargetVolumeValues'
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.AdministrativeActions'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.AdministrativeActions[j]'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.NetworkInterfaceIds'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.NetworkInterfaceIds[j]'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.IpAddresses'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.IpAddresses[j]'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.IpAddresses'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.IpAddresses[j]'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.RouteTableIds'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.RouteTableIds[j]'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.SubnetIds'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.SubnetIds[j]'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.Tags'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @Key OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.Tags[j].Key'
            EXEC sp_OAMethod @jResp, 'StringOf', @Value OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.Tags[j].Value'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.Aliases'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @Lifecycle OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.Aliases[j].Lifecycle'
            EXEC sp_OAMethod @jResp, 'StringOf', @Name OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.Aliases[j].Name'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.MaintenanceOperationsInProgress'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.MaintenanceOperationsInProgress[j]'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps[j]'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions[j]'
            SELECT @j = @j + 1
          END
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.Tags'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @Key OUT, 'Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Key'
            EXEC sp_OAMethod @jResp, 'StringOf', @Value OUT, 'Backup.Volume.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Value'
            SELECT @j = @j + 1
          END
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.Volume.OpenZFSConfiguration.NfsExports'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        SELECT @j = 0
        EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_j OUT, 'Backup.Volume.OpenZFSConfiguration.NfsExports[i].ClientConfigurations'
        WHILE @j < @count_j
          BEGIN
            EXEC sp_OASetProperty @jResp, 'J', @j
            EXEC sp_OAMethod @jResp, 'StringOf', @Clients OUT, 'Backup.Volume.OpenZFSConfiguration.NfsExports[i].ClientConfigurations[j].Clients'
            SELECT @k = 0
            EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_k OUT, 'Backup.Volume.OpenZFSConfiguration.NfsExports[i].ClientConfigurations[j].Options'
            WHILE @k < @count_k
              BEGIN
                EXEC sp_OASetProperty @jResp, 'K', @k
                EXEC sp_OAMethod @jResp, 'StringOf', @strVal OUT, 'Backup.Volume.OpenZFSConfiguration.NfsExports[i].ClientConfigurations[j].Options[k]'
                SELECT @k = @k + 1
              END
            SELECT @j = @j + 1
          END
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.Volume.OpenZFSConfiguration.UserAndGroupQuotas'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'IntOf', @Id OUT, 'Backup.Volume.OpenZFSConfiguration.UserAndGroupQuotas[i].Id'
        EXEC sp_OAMethod @jResp, 'IntOf', @StorageCapacityQuotaGiB OUT, 'Backup.Volume.OpenZFSConfiguration.UserAndGroupQuotas[i].StorageCapacityQuotaGiB'
        EXEC sp_OAMethod @jResp, 'StringOf', @v_Type OUT, 'Backup.Volume.OpenZFSConfiguration.UserAndGroupQuotas[i].Type'
        SELECT @i = @i + 1
      END
    SELECT @i = 0
    EXEC sp_OAMethod @jResp, 'SizeOfArray', @count_i OUT, 'Backup.Volume.Tags'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @jResp, 'I', @i
        EXEC sp_OAMethod @jResp, 'StringOf', @Key OUT, 'Backup.Volume.Tags[i].Key'
        EXEC sp_OAMethod @jResp, 'StringOf', @Value OUT, 'Backup.Volume.Tags[i].Value'
        SELECT @i = @i + 1
      END

    -- 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"
    --     }
    --   }
    -- }

    EXEC @hr = sp_OADestroy @rest
    EXEC @hr = sp_OADestroy @authAws
    EXEC @hr = sp_OADestroy @json
    EXEC @hr = sp_OADestroy @sbRequestBody
    EXEC @hr = sp_OADestroy @sbResponseBody
    EXEC @hr = sp_OADestroy @jResp


END
GO