Chilkat Online Tools

CreateFileSystemFromBackup delphiDll Example

Amazon FSx

var
rest: HCkRest;
success: Boolean;
authAws: HCkAuthAws;
json: HCkJsonObject;
sbRequestBody: HCkStringBuilder;
sbResponseBody: HCkStringBuilder;
respStatusCode: Integer;
jResp: HCkJsonObject;
AdministrativeActionType: PWideChar;
ProgressPercent: Integer;
RequestTime: Integer;
Status: PWideChar;
TargetFileSystemValues: PWideChar;
TargetSnapshotValuesCreationTime: Integer;
TargetSnapshotValuesLifecycle: PWideChar;
LifecycleTransitionReasonMessage: PWideChar;
Name: PWideChar;
TargetSnapshotValuesResourceARN: PWideChar;
SnapshotId: PWideChar;
VolumeId: PWideChar;
TargetVolumeValuesCreationTime: Integer;
TargetVolumeValuesFileSystemId: PWideChar;
TargetVolumeValuesLifecycle: PWideChar;
TargetVolumeValuesName: PWideChar;
FlexCacheEndpointType: PWideChar;
JunctionPath: PWideChar;
OntapVolumeType: PWideChar;
SecurityStyle: PWideChar;
SizeInMegabytes: Integer;
StorageEfficiencyEnabled: Integer;
StorageVirtualMachineId: PWideChar;
StorageVirtualMachineRoot: Integer;
CoolingPeriod: Integer;
TieringPolicyName: PWideChar;
UUID: PWideChar;
CopyTagsToSnapshots: Integer;
OpenZFSConfigurationDataCompressionType: PWideChar;
CopyStrategy: PWideChar;
SnapshotARN: PWideChar;
ParentVolumeId: PWideChar;
ReadOnly: Integer;
RecordSizeKiB: Integer;
StorageCapacityQuotaGiB: Integer;
StorageCapacityReservationGiB: Integer;
VolumePath: PWideChar;
TargetVolumeValuesResourceARN: PWideChar;
TargetVolumeValuesVolumeId: PWideChar;
VolumeType: PWideChar;
j: Integer;
count_j: Integer;
strVal: PWideChar;
Key: PWideChar;
Value: PWideChar;
k: Integer;
count_k: Integer;
Clients: PWideChar;
json1: HCkJsonObject;
i1: Integer;
count_i1: Integer;
Id: Integer;
v_Type: PWideChar;
CreationTime: Integer;
DNSName: PWideChar;
Message: PWideChar;
FileSystemId: PWideChar;
FileSystemType: PWideChar;
FileSystemTypeVersion: PWideChar;
KmsKeyId: PWideChar;
Lifecycle: PWideChar;
AutomaticBackupRetentionDays: Integer;
CopyTagsToBackups: Integer;
DailyAutomaticBackupStartTime: PWideChar;
DataCompressionType: PWideChar;
AutoImportPolicy: PWideChar;
ExportPath: PWideChar;
FailureDetailsMessage: PWideChar;
ImportedFileChunkSize: Integer;
ImportPath: PWideChar;
DataRepositoryConfigurationLifecycle: PWideChar;
DeploymentType: PWideChar;
DriveCacheType: PWideChar;
Destination: PWideChar;
Level: PWideChar;
MountName: PWideChar;
PerUnitStorageThroughput: Integer;
WeeklyMaintenanceStartTime: PWideChar;
OntapConfigurationAutomaticBackupRetentionDays: Integer;
OntapConfigurationDailyAutomaticBackupStartTime: PWideChar;
OntapConfigurationDeploymentType: PWideChar;
Iops: Integer;
Mode: PWideChar;
EndpointIpAddressRange: PWideChar;
InterclusterDNSName: PWideChar;
ManagementDNSName: PWideChar;
PreferredSubnetId: PWideChar;
ThroughputCapacity: Integer;
OntapConfigurationWeeklyMaintenanceStartTime: PWideChar;
OpenZFSConfigurationAutomaticBackupRetentionDays: Integer;
OpenZFSConfigurationCopyTagsToBackups: Integer;
CopyTagsToVolumes: Integer;
OpenZFSConfigurationDailyAutomaticBackupStartTime: PWideChar;
OpenZFSConfigurationDeploymentType: PWideChar;
DiskIopsConfigurationIops: Integer;
DiskIopsConfigurationMode: PWideChar;
RootVolumeId: PWideChar;
OpenZFSConfigurationThroughputCapacity: Integer;
OpenZFSConfigurationWeeklyMaintenanceStartTime: PWideChar;
OwnerId: PWideChar;
ResourceARN: PWideChar;
StorageCapacity: Integer;
StorageType: PWideChar;
VpcId: PWideChar;
ActiveDirectoryId: PWideChar;
AuditLogDestination: PWideChar;
FileAccessAuditLogLevel: PWideChar;
FileShareAccessAuditLogLevel: PWideChar;
WindowsConfigurationAutomaticBackupRetentionDays: Integer;
WindowsConfigurationCopyTagsToBackups: Integer;
WindowsConfigurationDailyAutomaticBackupStartTime: PWideChar;
WindowsConfigurationDeploymentType: PWideChar;
PreferredFileServerIp: PWideChar;
WindowsConfigurationPreferredSubnetId: PWideChar;
RemoteAdministrationEndpoint: PWideChar;
DomainName: PWideChar;
FileSystemAdministratorsGroup: PWideChar;
OrganizationalUnitDistinguishedName: PWideChar;
UserName: PWideChar;
WindowsConfigurationThroughputCapacity: Integer;
WindowsConfigurationWeeklyMaintenanceStartTime: PWideChar;
i: Integer;
count_i: Integer;

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

rest := CkRest_Create();

authAws := CkAuthAws_Create();
CkAuthAws_putAccessKey(authAws,'AWS_ACCESS_KEY');
CkAuthAws_putSecretKey(authAws,'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.)
CkAuthAws_putRegion(authAws,'us-west-2');
CkAuthAws_putServiceName(authAws,'fsx');
// SetAuthAws causes Chilkat to automatically add the following headers: Authorization, X-Amz-Date
CkRest_SetAuthAws(rest,authAws);

// URL: https://fsx.us-west-2.amazonaws.com/
// Use the same region as specified above.
success := CkRest_Connect(rest,'fsx.us-west-2.amazonaws.com',443,True,True);
if (success <> True) then
  begin
    Memo1.Lines.Add('ConnectFailReason: ' + IntToStr(CkRest_getConnectFailReason(rest)));
    Memo1.Lines.Add(CkRest__lastErrorText(rest));
    Exit;
  end;

// The following code creates the JSON request body.
// The JSON created by this code is shown below.

// Use this online tool to generate code from sample JSON:
// Generate Code to Create JSON

json := CkJsonObject_Create();
CkJsonObject_UpdateString(json,'BackupId','string');
CkJsonObject_UpdateString(json,'ClientRequestToken','string');
CkJsonObject_UpdateString(json,'FileSystemTypeVersion','string');
CkJsonObject_UpdateString(json,'KmsKeyId','string');
CkJsonObject_UpdateString(json,'LustreConfiguration.AutoImportPolicy','string');
CkJsonObject_UpdateInt(json,'LustreConfiguration.AutomaticBackupRetentionDays',123);
CkJsonObject_UpdateInt(json,'LustreConfiguration.CopyTagsToBackups',123);
CkJsonObject_UpdateString(json,'LustreConfiguration.DailyAutomaticBackupStartTime','string');
CkJsonObject_UpdateString(json,'LustreConfiguration.DataCompressionType','string');
CkJsonObject_UpdateString(json,'LustreConfiguration.DeploymentType','string');
CkJsonObject_UpdateString(json,'LustreConfiguration.DriveCacheType','string');
CkJsonObject_UpdateString(json,'LustreConfiguration.ExportPath','string');
CkJsonObject_UpdateInt(json,'LustreConfiguration.ImportedFileChunkSize',123);
CkJsonObject_UpdateString(json,'LustreConfiguration.ImportPath','string');
CkJsonObject_UpdateString(json,'LustreConfiguration.LogConfiguration.Destination','string');
CkJsonObject_UpdateString(json,'LustreConfiguration.LogConfiguration.Level','string');
CkJsonObject_UpdateInt(json,'LustreConfiguration.PerUnitStorageThroughput',123);
CkJsonObject_UpdateString(json,'LustreConfiguration.WeeklyMaintenanceStartTime','string');
CkJsonObject_UpdateInt(json,'OpenZFSConfiguration.AutomaticBackupRetentionDays',123);
CkJsonObject_UpdateInt(json,'OpenZFSConfiguration.CopyTagsToBackups',123);
CkJsonObject_UpdateInt(json,'OpenZFSConfiguration.CopyTagsToVolumes',123);
CkJsonObject_UpdateString(json,'OpenZFSConfiguration.DailyAutomaticBackupStartTime','string');
CkJsonObject_UpdateString(json,'OpenZFSConfiguration.DeploymentType','string');
CkJsonObject_UpdateInt(json,'OpenZFSConfiguration.DiskIopsConfiguration.Iops',123);
CkJsonObject_UpdateString(json,'OpenZFSConfiguration.DiskIopsConfiguration.Mode','string');
CkJsonObject_UpdateInt(json,'OpenZFSConfiguration.RootVolumeConfiguration.CopyTagsToSnapshots',123);
CkJsonObject_UpdateString(json,'OpenZFSConfiguration.RootVolumeConfiguration.DataCompressionType','string');
CkJsonObject_UpdateString(json,'OpenZFSConfiguration.RootVolumeConfiguration.NfsExports[0].ClientConfigurations[0].Clients','string');
CkJsonObject_UpdateString(json,'OpenZFSConfiguration.RootVolumeConfiguration.NfsExports[0].ClientConfigurations[0].Options[0]','string');
CkJsonObject_UpdateInt(json,'OpenZFSConfiguration.RootVolumeConfiguration.ReadOnly',123);
CkJsonObject_UpdateInt(json,'OpenZFSConfiguration.RootVolumeConfiguration.RecordSizeKiB',123);
CkJsonObject_UpdateInt(json,'OpenZFSConfiguration.RootVolumeConfiguration.UserAndGroupQuotas[0].Id',123);
CkJsonObject_UpdateInt(json,'OpenZFSConfiguration.RootVolumeConfiguration.UserAndGroupQuotas[0].StorageCapacityQuotaGiB',123);
CkJsonObject_UpdateString(json,'OpenZFSConfiguration.RootVolumeConfiguration.UserAndGroupQuotas[0].Type','string');
CkJsonObject_UpdateInt(json,'OpenZFSConfiguration.ThroughputCapacity',123);
CkJsonObject_UpdateString(json,'OpenZFSConfiguration.WeeklyMaintenanceStartTime','string');
CkJsonObject_UpdateString(json,'SecurityGroupIds[0]','string');
CkJsonObject_UpdateString(json,'StorageType','string');
CkJsonObject_UpdateString(json,'SubnetIds[0]','string');
CkJsonObject_UpdateString(json,'Tags[0].Key','string');
CkJsonObject_UpdateString(json,'Tags[0].Value','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.ActiveDirectoryId','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.Aliases[0]','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.AuditLogConfiguration.AuditLogDestination','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel','string');
CkJsonObject_UpdateInt(json,'WindowsConfiguration.AutomaticBackupRetentionDays',123);
CkJsonObject_UpdateInt(json,'WindowsConfiguration.CopyTagsToBackups',123);
CkJsonObject_UpdateString(json,'WindowsConfiguration.DailyAutomaticBackupStartTime','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.DeploymentType','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.PreferredSubnetId','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps[0]','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.Password','string');
CkJsonObject_UpdateString(json,'WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName','string');
CkJsonObject_UpdateInt(json,'WindowsConfiguration.ThroughputCapacity',123);
CkJsonObject_UpdateString(json,'WindowsConfiguration.WeeklyMaintenanceStartTime','string');

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

// {
//   "BackupId": "string",
//   "ClientRequestToken": "string",
//   "FileSystemTypeVersion": "string",
//   "KmsKeyId": "string",
//   "LustreConfiguration": {
//     "AutoImportPolicy": "string",
//     "AutomaticBackupRetentionDays": number,
//     "CopyTagsToBackups": boolean,
//     "DailyAutomaticBackupStartTime": "string",
//     "DataCompressionType": "string",
//     "DeploymentType": "string",
//     "DriveCacheType": "string",
//     "ExportPath": "string",
//     "ImportedFileChunkSize": number,
//     "ImportPath": "string",
//     "LogConfiguration": {
//       "Destination": "string",
//       "Level": "string"
//     },
//     "PerUnitStorageThroughput": number,
//     "WeeklyMaintenanceStartTime": "string"
//   },
//   "OpenZFSConfiguration": {
//     "AutomaticBackupRetentionDays": number,
//     "CopyTagsToBackups": boolean,
//     "CopyTagsToVolumes": boolean,
//     "DailyAutomaticBackupStartTime": "string",
//     "DeploymentType": "string",
//     "DiskIopsConfiguration": {
//       "Iops": number,
//       "Mode": "string"
//     },
//     "RootVolumeConfiguration": {
//       "CopyTagsToSnapshots": boolean,
//       "DataCompressionType": "string",
//       "NfsExports": [
//         {
//           "ClientConfigurations": [
//             {
//               "Clients": "string",
//               "Options": [
//                 "string"
//               ]
//             }
//           ]
//         }
//       ],
//       "ReadOnly": boolean,
//       "RecordSizeKiB": number,
//       "UserAndGroupQuotas": [
//         {
//           "Id": number,
//           "StorageCapacityQuotaGiB": number,
//           "Type": "string"
//         }
//       ]
//     },
//     "ThroughputCapacity": number,
//     "WeeklyMaintenanceStartTime": "string"
//   },
//   "SecurityGroupIds": [
//     "string"
//   ],
//   "StorageType": "string",
//   "SubnetIds": [
//     "string"
//   ],
//   "Tags": [
//     {
//       "Key": "string",
//       "Value": "string"
//     }
//   ],
//   "WindowsConfiguration": {
//     "ActiveDirectoryId": "string",
//     "Aliases": [
//       "string"
//     ],
//     "AuditLogConfiguration": {
//       "AuditLogDestination": "string",
//       "FileAccessAuditLogLevel": "string",
//       "FileShareAccessAuditLogLevel": "string"
//     },
//     "AutomaticBackupRetentionDays": number,
//     "CopyTagsToBackups": boolean,
//     "DailyAutomaticBackupStartTime": "string",
//     "DeploymentType": "string",
//     "PreferredSubnetId": "string",
//     "SelfManagedActiveDirectoryConfiguration": {
//       "DnsIps": [
//         "string"
//       ],
//       "DomainName": "string",
//       "FileSystemAdministratorsGroup": "string",
//       "OrganizationalUnitDistinguishedName": "string",
//       "Password": "string",
//       "UserName": "string"
//     },
//     "ThroughputCapacity": number,
//     "WeeklyMaintenanceStartTime": "string"
//   }
// }

CkRest_AddHeader(rest,'Content-Type','application/x-amz-json-1.1');
CkRest_AddHeader(rest,'X-Amz-Target','AWSSimbaAPIService_v20180301.CreateFileSystemFromBackup');

sbRequestBody := CkStringBuilder_Create();
CkJsonObject_EmitSb(json,sbRequestBody);
sbResponseBody := CkStringBuilder_Create();
success := CkRest_FullRequestSb(rest,'POST','/',sbRequestBody,sbResponseBody);
if (success <> True) then
  begin
    Memo1.Lines.Add(CkRest__lastErrorText(rest));
    Exit;
  end;
respStatusCode := CkRest_getResponseStatusCode(rest);
Memo1.Lines.Add('response status code = ' + IntToStr(respStatusCode));
if (respStatusCode <> 200) then
  begin
    Memo1.Lines.Add('Response Header:');
    Memo1.Lines.Add(CkRest__responseHeader(rest));
    Memo1.Lines.Add('Response Body:');
    Memo1.Lines.Add(CkStringBuilder__getAsString(sbResponseBody));
    Exit;
  end;

jResp := CkJsonObject_Create();
CkJsonObject_LoadSb(jResp,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

CreationTime := CkJsonObject_IntOf(jResp,'FileSystem.CreationTime');
DNSName := CkJsonObject__stringOf(jResp,'FileSystem.DNSName');
Message := CkJsonObject__stringOf(jResp,'FileSystem.FailureDetails.Message');
FileSystemId := CkJsonObject__stringOf(jResp,'FileSystem.FileSystemId');
FileSystemType := CkJsonObject__stringOf(jResp,'FileSystem.FileSystemType');
FileSystemTypeVersion := CkJsonObject__stringOf(jResp,'FileSystem.FileSystemTypeVersion');
KmsKeyId := CkJsonObject__stringOf(jResp,'FileSystem.KmsKeyId');
Lifecycle := CkJsonObject__stringOf(jResp,'FileSystem.Lifecycle');
AutomaticBackupRetentionDays := CkJsonObject_IntOf(jResp,'FileSystem.LustreConfiguration.AutomaticBackupRetentionDays');
CopyTagsToBackups := CkJsonObject_IntOf(jResp,'FileSystem.LustreConfiguration.CopyTagsToBackups');
DailyAutomaticBackupStartTime := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.DailyAutomaticBackupStartTime');
DataCompressionType := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.DataCompressionType');
AutoImportPolicy := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.DataRepositoryConfiguration.AutoImportPolicy');
ExportPath := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.DataRepositoryConfiguration.ExportPath');
FailureDetailsMessage := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.DataRepositoryConfiguration.FailureDetails.Message');
ImportedFileChunkSize := CkJsonObject_IntOf(jResp,'FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportedFileChunkSize');
ImportPath := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportPath');
DataRepositoryConfigurationLifecycle := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.DataRepositoryConfiguration.Lifecycle');
DeploymentType := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.DeploymentType');
DriveCacheType := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.DriveCacheType');
Destination := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.LogConfiguration.Destination');
Level := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.LogConfiguration.Level');
MountName := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.MountName');
PerUnitStorageThroughput := CkJsonObject_IntOf(jResp,'FileSystem.LustreConfiguration.PerUnitStorageThroughput');
WeeklyMaintenanceStartTime := CkJsonObject__stringOf(jResp,'FileSystem.LustreConfiguration.WeeklyMaintenanceStartTime');
OntapConfigurationAutomaticBackupRetentionDays := CkJsonObject_IntOf(jResp,'FileSystem.OntapConfiguration.AutomaticBackupRetentionDays');
OntapConfigurationDailyAutomaticBackupStartTime := CkJsonObject__stringOf(jResp,'FileSystem.OntapConfiguration.DailyAutomaticBackupStartTime');
OntapConfigurationDeploymentType := CkJsonObject__stringOf(jResp,'FileSystem.OntapConfiguration.DeploymentType');
Iops := CkJsonObject_IntOf(jResp,'FileSystem.OntapConfiguration.DiskIopsConfiguration.Iops');
Mode := CkJsonObject__stringOf(jResp,'FileSystem.OntapConfiguration.DiskIopsConfiguration.Mode');
EndpointIpAddressRange := CkJsonObject__stringOf(jResp,'FileSystem.OntapConfiguration.EndpointIpAddressRange');
InterclusterDNSName := CkJsonObject__stringOf(jResp,'FileSystem.OntapConfiguration.Endpoints.Intercluster.DNSName');
ManagementDNSName := CkJsonObject__stringOf(jResp,'FileSystem.OntapConfiguration.Endpoints.Management.DNSName');
PreferredSubnetId := CkJsonObject__stringOf(jResp,'FileSystem.OntapConfiguration.PreferredSubnetId');
ThroughputCapacity := CkJsonObject_IntOf(jResp,'FileSystem.OntapConfiguration.ThroughputCapacity');
OntapConfigurationWeeklyMaintenanceStartTime := CkJsonObject__stringOf(jResp,'FileSystem.OntapConfiguration.WeeklyMaintenanceStartTime');
OpenZFSConfigurationAutomaticBackupRetentionDays := CkJsonObject_IntOf(jResp,'FileSystem.OpenZFSConfiguration.AutomaticBackupRetentionDays');
OpenZFSConfigurationCopyTagsToBackups := CkJsonObject_IntOf(jResp,'FileSystem.OpenZFSConfiguration.CopyTagsToBackups');
CopyTagsToVolumes := CkJsonObject_IntOf(jResp,'FileSystem.OpenZFSConfiguration.CopyTagsToVolumes');
OpenZFSConfigurationDailyAutomaticBackupStartTime := CkJsonObject__stringOf(jResp,'FileSystem.OpenZFSConfiguration.DailyAutomaticBackupStartTime');
OpenZFSConfigurationDeploymentType := CkJsonObject__stringOf(jResp,'FileSystem.OpenZFSConfiguration.DeploymentType');
DiskIopsConfigurationIops := CkJsonObject_IntOf(jResp,'FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Iops');
DiskIopsConfigurationMode := CkJsonObject__stringOf(jResp,'FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Mode');
RootVolumeId := CkJsonObject__stringOf(jResp,'FileSystem.OpenZFSConfiguration.RootVolumeId');
OpenZFSConfigurationThroughputCapacity := CkJsonObject_IntOf(jResp,'FileSystem.OpenZFSConfiguration.ThroughputCapacity');
OpenZFSConfigurationWeeklyMaintenanceStartTime := CkJsonObject__stringOf(jResp,'FileSystem.OpenZFSConfiguration.WeeklyMaintenanceStartTime');
OwnerId := CkJsonObject__stringOf(jResp,'FileSystem.OwnerId');
ResourceARN := CkJsonObject__stringOf(jResp,'FileSystem.ResourceARN');
StorageCapacity := CkJsonObject_IntOf(jResp,'FileSystem.StorageCapacity');
StorageType := CkJsonObject__stringOf(jResp,'FileSystem.StorageType');
VpcId := CkJsonObject__stringOf(jResp,'FileSystem.VpcId');
ActiveDirectoryId := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.ActiveDirectoryId');
AuditLogDestination := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.AuditLogConfiguration.AuditLogDestination');
FileAccessAuditLogLevel := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel');
FileShareAccessAuditLogLevel := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel');
WindowsConfigurationAutomaticBackupRetentionDays := CkJsonObject_IntOf(jResp,'FileSystem.WindowsConfiguration.AutomaticBackupRetentionDays');
WindowsConfigurationCopyTagsToBackups := CkJsonObject_IntOf(jResp,'FileSystem.WindowsConfiguration.CopyTagsToBackups');
WindowsConfigurationDailyAutomaticBackupStartTime := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.DailyAutomaticBackupStartTime');
WindowsConfigurationDeploymentType := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.DeploymentType');
PreferredFileServerIp := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.PreferredFileServerIp');
WindowsConfigurationPreferredSubnetId := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.PreferredSubnetId');
RemoteAdministrationEndpoint := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.RemoteAdministrationEndpoint');
DomainName := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName');
FileSystemAdministratorsGroup := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup');
OrganizationalUnitDistinguishedName := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName');
UserName := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName');
WindowsConfigurationThroughputCapacity := CkJsonObject_IntOf(jResp,'FileSystem.WindowsConfiguration.ThroughputCapacity');
WindowsConfigurationWeeklyMaintenanceStartTime := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.WeeklyMaintenanceStartTime');
i := 0;
count_i := CkJsonObject_SizeOfArray(jResp,'FileSystem.AdministrativeActions');
while i < count_i do
  begin
    CkJsonObject_putI(jResp,i);
    AdministrativeActionType := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].AdministrativeActionType');
    FailureDetailsMessage := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].FailureDetails.Message');
    ProgressPercent := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].ProgressPercent');
    RequestTime := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].RequestTime');
    Status := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].Status');
    TargetFileSystemValues := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetFileSystemValues');
    TargetSnapshotValuesCreationTime := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetSnapshotValues.CreationTime');
    TargetSnapshotValuesLifecycle := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetSnapshotValues.Lifecycle');
    LifecycleTransitionReasonMessage := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetSnapshotValues.LifecycleTransitionReason.Message');
    Name := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetSnapshotValues.Name');
    TargetSnapshotValuesResourceARN := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetSnapshotValues.ResourceARN');
    SnapshotId := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetSnapshotValues.SnapshotId');
    VolumeId := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetSnapshotValues.VolumeId');
    TargetVolumeValuesCreationTime := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.CreationTime');
    TargetVolumeValuesFileSystemId := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.FileSystemId');
    TargetVolumeValuesLifecycle := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.Lifecycle');
    LifecycleTransitionReasonMessage := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.LifecycleTransitionReason.Message');
    TargetVolumeValuesName := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.Name');
    FlexCacheEndpointType := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.FlexCacheEndpointType');
    JunctionPath := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.JunctionPath');
    OntapVolumeType := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.OntapVolumeType');
    SecurityStyle := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.SecurityStyle');
    SizeInMegabytes := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.SizeInMegabytes');
    StorageEfficiencyEnabled := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.StorageEfficiencyEnabled');
    StorageVirtualMachineId := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.StorageVirtualMachineId');
    StorageVirtualMachineRoot := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.StorageVirtualMachineRoot');
    CoolingPeriod := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.TieringPolicy.CoolingPeriod');
    TieringPolicyName := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.TieringPolicy.Name');
    UUID := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.UUID');
    CopyTagsToSnapshots := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.CopyTagsToSnapshots');
    OpenZFSConfigurationDataCompressionType := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.DataCompressionType');
    CopyStrategy := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.OriginSnapshot.CopyStrategy');
    SnapshotARN := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.OriginSnapshot.SnapshotARN');
    ParentVolumeId := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.ParentVolumeId');
    ReadOnly := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.ReadOnly');
    RecordSizeKiB := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.RecordSizeKiB');
    StorageCapacityQuotaGiB := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.StorageCapacityQuotaGiB');
    StorageCapacityReservationGiB := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.StorageCapacityReservationGiB');
    VolumePath := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.VolumePath');
    TargetVolumeValuesResourceARN := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.ResourceARN');
    TargetVolumeValuesVolumeId := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.VolumeId');
    VolumeType := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.VolumeType');
    j := 0;
    count_j := CkJsonObject_SizeOfArray(jResp,'FileSystem.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions');
    while j < count_j do
      begin
        CkJsonObject_putJ(jResp,j);
        strVal := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions[j]');
        j := j + 1;
      end;

    j := 0;
    count_j := CkJsonObject_SizeOfArray(jResp,'FileSystem.AdministrativeActions[i].TargetSnapshotValues.Tags');
    while j < count_j do
      begin
        CkJsonObject_putJ(jResp,j);
        Key := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Key');
        Value := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Value');
        j := j + 1;
      end;

    j := 0;
    count_j := CkJsonObject_SizeOfArray(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.AdministrativeActions');
    while j < count_j do
      begin
        CkJsonObject_putJ(jResp,j);
        strVal := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.AdministrativeActions[j]');
        j := j + 1;
      end;

    j := 0;
    count_j := CkJsonObject_SizeOfArray(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports');
    while j < count_j do
      begin
        CkJsonObject_putJ(jResp,j);
        k := 0;
        count_k := CkJsonObject_SizeOfArray(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports[j].ClientConfigurations');
        while k < count_k do
          begin
            CkJsonObject_putK(jResp,k);
            Clients := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports[j].ClientConfigurations[k].Clients');

            json1 := CkJsonObject_ObjectOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports[j].ClientConfigurations[k]');
            i1 := 0;
            count_i1 := CkJsonObject_SizeOfArray(json1,'Options');
            while i1 < count_i1 do
              begin
                CkJsonObject_putI(json1,i1);
                strVal := CkJsonObject__stringOf(json1,'Options[i]');
                i1 := i1 + 1;
              end;

            CkJsonObject_Dispose(json1);
            k := k + 1;
          end;

        j := j + 1;
      end;

    j := 0;
    count_j := CkJsonObject_SizeOfArray(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas');
    while j < count_j do
      begin
        CkJsonObject_putJ(jResp,j);
        Id := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[j].Id');
        StorageCapacityQuotaGiB := CkJsonObject_IntOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[j].StorageCapacityQuotaGiB');
        v_Type := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[j].Type');
        j := j + 1;
      end;

    j := 0;
    count_j := CkJsonObject_SizeOfArray(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.Tags');
    while j < count_j do
      begin
        CkJsonObject_putJ(jResp,j);
        Key := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.Tags[j].Key');
        Value := CkJsonObject__stringOf(jResp,'FileSystem.AdministrativeActions[i].TargetVolumeValues.Tags[j].Value');
        j := j + 1;
      end;

    i := i + 1;
  end;

i := 0;
count_i := CkJsonObject_SizeOfArray(jResp,'FileSystem.NetworkInterfaceIds');
while i < count_i do
  begin
    CkJsonObject_putI(jResp,i);
    strVal := CkJsonObject__stringOf(jResp,'FileSystem.NetworkInterfaceIds[i]');
    i := i + 1;
  end;

i := 0;
count_i := CkJsonObject_SizeOfArray(jResp,'FileSystem.OntapConfiguration.Endpoints.Intercluster.IpAddresses');
while i < count_i do
  begin
    CkJsonObject_putI(jResp,i);
    strVal := CkJsonObject__stringOf(jResp,'FileSystem.OntapConfiguration.Endpoints.Intercluster.IpAddresses[i]');
    i := i + 1;
  end;

i := 0;
count_i := CkJsonObject_SizeOfArray(jResp,'FileSystem.OntapConfiguration.Endpoints.Management.IpAddresses');
while i < count_i do
  begin
    CkJsonObject_putI(jResp,i);
    strVal := CkJsonObject__stringOf(jResp,'FileSystem.OntapConfiguration.Endpoints.Management.IpAddresses[i]');
    i := i + 1;
  end;

i := 0;
count_i := CkJsonObject_SizeOfArray(jResp,'FileSystem.OntapConfiguration.RouteTableIds');
while i < count_i do
  begin
    CkJsonObject_putI(jResp,i);
    strVal := CkJsonObject__stringOf(jResp,'FileSystem.OntapConfiguration.RouteTableIds[i]');
    i := i + 1;
  end;

i := 0;
count_i := CkJsonObject_SizeOfArray(jResp,'FileSystem.SubnetIds');
while i < count_i do
  begin
    CkJsonObject_putI(jResp,i);
    strVal := CkJsonObject__stringOf(jResp,'FileSystem.SubnetIds[i]');
    i := i + 1;
  end;

i := 0;
count_i := CkJsonObject_SizeOfArray(jResp,'FileSystem.Tags');
while i < count_i do
  begin
    CkJsonObject_putI(jResp,i);
    Key := CkJsonObject__stringOf(jResp,'FileSystem.Tags[i].Key');
    Value := CkJsonObject__stringOf(jResp,'FileSystem.Tags[i].Value');
    i := i + 1;
  end;

i := 0;
count_i := CkJsonObject_SizeOfArray(jResp,'FileSystem.WindowsConfiguration.Aliases');
while i < count_i do
  begin
    CkJsonObject_putI(jResp,i);
    Lifecycle := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.Aliases[i].Lifecycle');
    Name := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.Aliases[i].Name');
    i := i + 1;
  end;

i := 0;
count_i := CkJsonObject_SizeOfArray(jResp,'FileSystem.WindowsConfiguration.MaintenanceOperationsInProgress');
while i < count_i do
  begin
    CkJsonObject_putI(jResp,i);
    strVal := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.MaintenanceOperationsInProgress[i]');
    i := i + 1;
  end;

i := 0;
count_i := CkJsonObject_SizeOfArray(jResp,'FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps');
while i < count_i do
  begin
    CkJsonObject_putI(jResp,i);
    strVal := CkJsonObject__stringOf(jResp,'FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps[i]');
    i := i + 1;
  end;

// A sample JSON response body parsed by the above code:

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

CkRest_Dispose(rest);
CkAuthAws_Dispose(authAws);
CkJsonObject_Dispose(json);
CkStringBuilder_Dispose(sbRequestBody);
CkStringBuilder_Dispose(sbResponseBody);
CkJsonObject_Dispose(jResp);