CreateFileSystemFromBackup unicodeC Example
#include <C_CkRestW.h>
#include <C_CkAuthAwsW.h>
#include <C_CkJsonObjectW.h>
#include <C_CkStringBuilderW.h>
void ChilkatSample(void)
{
HCkRestW rest;
BOOL success;
HCkAuthAwsW authAws;
HCkJsonObjectW json;
HCkStringBuilderW sbRequestBody;
HCkStringBuilderW sbResponseBody;
int respStatusCode;
HCkJsonObjectW jResp;
const wchar_t *AdministrativeActionType;
int ProgressPercent;
int RequestTime;
const wchar_t *Status;
const wchar_t *TargetFileSystemValues;
int TargetSnapshotValuesCreationTime;
const wchar_t *TargetSnapshotValuesLifecycle;
const wchar_t *LifecycleTransitionReasonMessage;
const wchar_t *Name;
const wchar_t *TargetSnapshotValuesResourceARN;
const wchar_t *SnapshotId;
const wchar_t *VolumeId;
int TargetVolumeValuesCreationTime;
const wchar_t *TargetVolumeValuesFileSystemId;
const wchar_t *TargetVolumeValuesLifecycle;
const wchar_t *TargetVolumeValuesName;
const wchar_t *FlexCacheEndpointType;
const wchar_t *JunctionPath;
const wchar_t *OntapVolumeType;
const wchar_t *SecurityStyle;
int SizeInMegabytes;
int StorageEfficiencyEnabled;
const wchar_t *StorageVirtualMachineId;
int StorageVirtualMachineRoot;
int CoolingPeriod;
const wchar_t *TieringPolicyName;
const wchar_t *UUID;
int CopyTagsToSnapshots;
const wchar_t *OpenZFSConfigurationDataCompressionType;
const wchar_t *CopyStrategy;
const wchar_t *SnapshotARN;
const wchar_t *ParentVolumeId;
int ReadOnly;
int RecordSizeKiB;
int StorageCapacityQuotaGiB;
int StorageCapacityReservationGiB;
const wchar_t *VolumePath;
const wchar_t *TargetVolumeValuesResourceARN;
const wchar_t *TargetVolumeValuesVolumeId;
const wchar_t *VolumeType;
int j;
int count_j;
const wchar_t *strVal;
const wchar_t *Key;
const wchar_t *Value;
int k;
int count_k;
const wchar_t *Clients;
HCkJsonObjectW json1;
int i1;
int count_i1;
int Id;
const wchar_t *v_Type;
int CreationTime;
const wchar_t *DNSName;
const wchar_t *Message;
const wchar_t *FileSystemId;
const wchar_t *FileSystemType;
const wchar_t *FileSystemTypeVersion;
const wchar_t *KmsKeyId;
const wchar_t *Lifecycle;
int AutomaticBackupRetentionDays;
int CopyTagsToBackups;
const wchar_t *DailyAutomaticBackupStartTime;
const wchar_t *DataCompressionType;
const wchar_t *AutoImportPolicy;
const wchar_t *ExportPath;
const wchar_t *FailureDetailsMessage;
int ImportedFileChunkSize;
const wchar_t *ImportPath;
const wchar_t *DataRepositoryConfigurationLifecycle;
const wchar_t *DeploymentType;
const wchar_t *DriveCacheType;
const wchar_t *Destination;
const wchar_t *Level;
const wchar_t *MountName;
int PerUnitStorageThroughput;
const wchar_t *WeeklyMaintenanceStartTime;
int OntapConfigurationAutomaticBackupRetentionDays;
const wchar_t *OntapConfigurationDailyAutomaticBackupStartTime;
const wchar_t *OntapConfigurationDeploymentType;
int Iops;
const wchar_t *Mode;
const wchar_t *EndpointIpAddressRange;
const wchar_t *InterclusterDNSName;
const wchar_t *ManagementDNSName;
const wchar_t *PreferredSubnetId;
int ThroughputCapacity;
const wchar_t *OntapConfigurationWeeklyMaintenanceStartTime;
int OpenZFSConfigurationAutomaticBackupRetentionDays;
int OpenZFSConfigurationCopyTagsToBackups;
int CopyTagsToVolumes;
const wchar_t *OpenZFSConfigurationDailyAutomaticBackupStartTime;
const wchar_t *OpenZFSConfigurationDeploymentType;
int DiskIopsConfigurationIops;
const wchar_t *DiskIopsConfigurationMode;
const wchar_t *RootVolumeId;
int OpenZFSConfigurationThroughputCapacity;
const wchar_t *OpenZFSConfigurationWeeklyMaintenanceStartTime;
const wchar_t *OwnerId;
const wchar_t *ResourceARN;
int StorageCapacity;
const wchar_t *StorageType;
const wchar_t *VpcId;
const wchar_t *ActiveDirectoryId;
const wchar_t *AuditLogDestination;
const wchar_t *FileAccessAuditLogLevel;
const wchar_t *FileShareAccessAuditLogLevel;
int WindowsConfigurationAutomaticBackupRetentionDays;
int WindowsConfigurationCopyTagsToBackups;
const wchar_t *WindowsConfigurationDailyAutomaticBackupStartTime;
const wchar_t *WindowsConfigurationDeploymentType;
const wchar_t *PreferredFileServerIp;
const wchar_t *WindowsConfigurationPreferredSubnetId;
const wchar_t *RemoteAdministrationEndpoint;
const wchar_t *DomainName;
const wchar_t *FileSystemAdministratorsGroup;
const wchar_t *OrganizationalUnitDistinguishedName;
const wchar_t *UserName;
int WindowsConfigurationThroughputCapacity;
const wchar_t *WindowsConfigurationWeeklyMaintenanceStartTime;
int i;
int count_i;
// This example requires the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
rest = CkRestW_Create();
authAws = CkAuthAwsW_Create();
CkAuthAwsW_putAccessKey(authAws,L"AWS_ACCESS_KEY");
CkAuthAwsW_putSecretKey(authAws,L"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.)
CkAuthAwsW_putRegion(authAws,L"us-west-2");
CkAuthAwsW_putServiceName(authAws,L"fsx");
// SetAuthAws causes Chilkat to automatically add the following headers: Authorization, X-Amz-Date
CkRestW_SetAuthAws(rest,authAws);
// URL: https://fsx.us-west-2.amazonaws.com/
// Use the same region as specified above.
success = CkRestW_Connect(rest,L"fsx.us-west-2.amazonaws.com",443,TRUE,TRUE);
if (success != TRUE) {
wprintf(L"ConnectFailReason: %d\n",CkRestW_getConnectFailReason(rest));
wprintf(L"%s\n",CkRestW_lastErrorText(rest));
CkRestW_Dispose(rest);
CkAuthAwsW_Dispose(authAws);
return;
}
// 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 = CkJsonObjectW_Create();
CkJsonObjectW_UpdateString(json,L"BackupId",L"string");
CkJsonObjectW_UpdateString(json,L"ClientRequestToken",L"string");
CkJsonObjectW_UpdateString(json,L"FileSystemTypeVersion",L"string");
CkJsonObjectW_UpdateString(json,L"KmsKeyId",L"string");
CkJsonObjectW_UpdateString(json,L"LustreConfiguration.AutoImportPolicy",L"string");
CkJsonObjectW_UpdateInt(json,L"LustreConfiguration.AutomaticBackupRetentionDays",123);
CkJsonObjectW_UpdateInt(json,L"LustreConfiguration.CopyTagsToBackups",123);
CkJsonObjectW_UpdateString(json,L"LustreConfiguration.DailyAutomaticBackupStartTime",L"string");
CkJsonObjectW_UpdateString(json,L"LustreConfiguration.DataCompressionType",L"string");
CkJsonObjectW_UpdateString(json,L"LustreConfiguration.DeploymentType",L"string");
CkJsonObjectW_UpdateString(json,L"LustreConfiguration.DriveCacheType",L"string");
CkJsonObjectW_UpdateString(json,L"LustreConfiguration.ExportPath",L"string");
CkJsonObjectW_UpdateInt(json,L"LustreConfiguration.ImportedFileChunkSize",123);
CkJsonObjectW_UpdateString(json,L"LustreConfiguration.ImportPath",L"string");
CkJsonObjectW_UpdateString(json,L"LustreConfiguration.LogConfiguration.Destination",L"string");
CkJsonObjectW_UpdateString(json,L"LustreConfiguration.LogConfiguration.Level",L"string");
CkJsonObjectW_UpdateInt(json,L"LustreConfiguration.PerUnitStorageThroughput",123);
CkJsonObjectW_UpdateString(json,L"LustreConfiguration.WeeklyMaintenanceStartTime",L"string");
CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.AutomaticBackupRetentionDays",123);
CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.CopyTagsToBackups",123);
CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.CopyTagsToVolumes",123);
CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.DailyAutomaticBackupStartTime",L"string");
CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.DeploymentType",L"string");
CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.DiskIopsConfiguration.Iops",123);
CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.DiskIopsConfiguration.Mode",L"string");
CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.RootVolumeConfiguration.CopyTagsToSnapshots",123);
CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.RootVolumeConfiguration.DataCompressionType",L"string");
CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.RootVolumeConfiguration.NfsExports[0].ClientConfigurations[0].Clients",L"string");
CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.RootVolumeConfiguration.NfsExports[0].ClientConfigurations[0].Options[0]",L"string");
CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.RootVolumeConfiguration.ReadOnly",123);
CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.RootVolumeConfiguration.RecordSizeKiB",123);
CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.RootVolumeConfiguration.UserAndGroupQuotas[0].Id",123);
CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.RootVolumeConfiguration.UserAndGroupQuotas[0].StorageCapacityQuotaGiB",123);
CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.RootVolumeConfiguration.UserAndGroupQuotas[0].Type",L"string");
CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.ThroughputCapacity",123);
CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.WeeklyMaintenanceStartTime",L"string");
CkJsonObjectW_UpdateString(json,L"SecurityGroupIds[0]",L"string");
CkJsonObjectW_UpdateString(json,L"StorageType",L"string");
CkJsonObjectW_UpdateString(json,L"SubnetIds[0]",L"string");
CkJsonObjectW_UpdateString(json,L"Tags[0].Key",L"string");
CkJsonObjectW_UpdateString(json,L"Tags[0].Value",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.ActiveDirectoryId",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.Aliases[0]",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.AuditLogConfiguration.AuditLogDestination",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel",L"string");
CkJsonObjectW_UpdateInt(json,L"WindowsConfiguration.AutomaticBackupRetentionDays",123);
CkJsonObjectW_UpdateInt(json,L"WindowsConfiguration.CopyTagsToBackups",123);
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.DailyAutomaticBackupStartTime",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.DeploymentType",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.PreferredSubnetId",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps[0]",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.Password",L"string");
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName",L"string");
CkJsonObjectW_UpdateInt(json,L"WindowsConfiguration.ThroughputCapacity",123);
CkJsonObjectW_UpdateString(json,L"WindowsConfiguration.WeeklyMaintenanceStartTime",L"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"
// }
// }
CkRestW_AddHeader(rest,L"Content-Type",L"application/x-amz-json-1.1");
CkRestW_AddHeader(rest,L"X-Amz-Target",L"AWSSimbaAPIService_v20180301.CreateFileSystemFromBackup");
sbRequestBody = CkStringBuilderW_Create();
CkJsonObjectW_EmitSb(json,sbRequestBody);
sbResponseBody = CkStringBuilderW_Create();
success = CkRestW_FullRequestSb(rest,L"POST",L"/",sbRequestBody,sbResponseBody);
if (success != TRUE) {
wprintf(L"%s\n",CkRestW_lastErrorText(rest));
CkRestW_Dispose(rest);
CkAuthAwsW_Dispose(authAws);
CkJsonObjectW_Dispose(json);
CkStringBuilderW_Dispose(sbRequestBody);
CkStringBuilderW_Dispose(sbResponseBody);
return;
}
respStatusCode = CkRestW_getResponseStatusCode(rest);
wprintf(L"response status code = %d\n",respStatusCode);
if (respStatusCode != 200) {
wprintf(L"Response Header:\n");
wprintf(L"%s\n",CkRestW_responseHeader(rest));
wprintf(L"Response Body:\n");
wprintf(L"%s\n",CkStringBuilderW_getAsString(sbResponseBody));
CkRestW_Dispose(rest);
CkAuthAwsW_Dispose(authAws);
CkJsonObjectW_Dispose(json);
CkStringBuilderW_Dispose(sbRequestBody);
CkStringBuilderW_Dispose(sbResponseBody);
return;
}
jResp = CkJsonObjectW_Create();
CkJsonObjectW_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
// Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.
// See this example explaining how this memory should be used: const char * functions.
CreationTime = CkJsonObjectW_IntOf(jResp,L"FileSystem.CreationTime");
DNSName = CkJsonObjectW_stringOf(jResp,L"FileSystem.DNSName");
Message = CkJsonObjectW_stringOf(jResp,L"FileSystem.FailureDetails.Message");
FileSystemId = CkJsonObjectW_stringOf(jResp,L"FileSystem.FileSystemId");
FileSystemType = CkJsonObjectW_stringOf(jResp,L"FileSystem.FileSystemType");
FileSystemTypeVersion = CkJsonObjectW_stringOf(jResp,L"FileSystem.FileSystemTypeVersion");
KmsKeyId = CkJsonObjectW_stringOf(jResp,L"FileSystem.KmsKeyId");
Lifecycle = CkJsonObjectW_stringOf(jResp,L"FileSystem.Lifecycle");
AutomaticBackupRetentionDays = CkJsonObjectW_IntOf(jResp,L"FileSystem.LustreConfiguration.AutomaticBackupRetentionDays");
CopyTagsToBackups = CkJsonObjectW_IntOf(jResp,L"FileSystem.LustreConfiguration.CopyTagsToBackups");
DailyAutomaticBackupStartTime = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.DailyAutomaticBackupStartTime");
DataCompressionType = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.DataCompressionType");
AutoImportPolicy = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.DataRepositoryConfiguration.AutoImportPolicy");
ExportPath = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.DataRepositoryConfiguration.ExportPath");
FailureDetailsMessage = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.DataRepositoryConfiguration.FailureDetails.Message");
ImportedFileChunkSize = CkJsonObjectW_IntOf(jResp,L"FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportedFileChunkSize");
ImportPath = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.DataRepositoryConfiguration.ImportPath");
DataRepositoryConfigurationLifecycle = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.DataRepositoryConfiguration.Lifecycle");
DeploymentType = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.DeploymentType");
DriveCacheType = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.DriveCacheType");
Destination = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.LogConfiguration.Destination");
Level = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.LogConfiguration.Level");
MountName = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.MountName");
PerUnitStorageThroughput = CkJsonObjectW_IntOf(jResp,L"FileSystem.LustreConfiguration.PerUnitStorageThroughput");
WeeklyMaintenanceStartTime = CkJsonObjectW_stringOf(jResp,L"FileSystem.LustreConfiguration.WeeklyMaintenanceStartTime");
OntapConfigurationAutomaticBackupRetentionDays = CkJsonObjectW_IntOf(jResp,L"FileSystem.OntapConfiguration.AutomaticBackupRetentionDays");
OntapConfigurationDailyAutomaticBackupStartTime = CkJsonObjectW_stringOf(jResp,L"FileSystem.OntapConfiguration.DailyAutomaticBackupStartTime");
OntapConfigurationDeploymentType = CkJsonObjectW_stringOf(jResp,L"FileSystem.OntapConfiguration.DeploymentType");
Iops = CkJsonObjectW_IntOf(jResp,L"FileSystem.OntapConfiguration.DiskIopsConfiguration.Iops");
Mode = CkJsonObjectW_stringOf(jResp,L"FileSystem.OntapConfiguration.DiskIopsConfiguration.Mode");
EndpointIpAddressRange = CkJsonObjectW_stringOf(jResp,L"FileSystem.OntapConfiguration.EndpointIpAddressRange");
InterclusterDNSName = CkJsonObjectW_stringOf(jResp,L"FileSystem.OntapConfiguration.Endpoints.Intercluster.DNSName");
ManagementDNSName = CkJsonObjectW_stringOf(jResp,L"FileSystem.OntapConfiguration.Endpoints.Management.DNSName");
PreferredSubnetId = CkJsonObjectW_stringOf(jResp,L"FileSystem.OntapConfiguration.PreferredSubnetId");
ThroughputCapacity = CkJsonObjectW_IntOf(jResp,L"FileSystem.OntapConfiguration.ThroughputCapacity");
OntapConfigurationWeeklyMaintenanceStartTime = CkJsonObjectW_stringOf(jResp,L"FileSystem.OntapConfiguration.WeeklyMaintenanceStartTime");
OpenZFSConfigurationAutomaticBackupRetentionDays = CkJsonObjectW_IntOf(jResp,L"FileSystem.OpenZFSConfiguration.AutomaticBackupRetentionDays");
OpenZFSConfigurationCopyTagsToBackups = CkJsonObjectW_IntOf(jResp,L"FileSystem.OpenZFSConfiguration.CopyTagsToBackups");
CopyTagsToVolumes = CkJsonObjectW_IntOf(jResp,L"FileSystem.OpenZFSConfiguration.CopyTagsToVolumes");
OpenZFSConfigurationDailyAutomaticBackupStartTime = CkJsonObjectW_stringOf(jResp,L"FileSystem.OpenZFSConfiguration.DailyAutomaticBackupStartTime");
OpenZFSConfigurationDeploymentType = CkJsonObjectW_stringOf(jResp,L"FileSystem.OpenZFSConfiguration.DeploymentType");
DiskIopsConfigurationIops = CkJsonObjectW_IntOf(jResp,L"FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Iops");
DiskIopsConfigurationMode = CkJsonObjectW_stringOf(jResp,L"FileSystem.OpenZFSConfiguration.DiskIopsConfiguration.Mode");
RootVolumeId = CkJsonObjectW_stringOf(jResp,L"FileSystem.OpenZFSConfiguration.RootVolumeId");
OpenZFSConfigurationThroughputCapacity = CkJsonObjectW_IntOf(jResp,L"FileSystem.OpenZFSConfiguration.ThroughputCapacity");
OpenZFSConfigurationWeeklyMaintenanceStartTime = CkJsonObjectW_stringOf(jResp,L"FileSystem.OpenZFSConfiguration.WeeklyMaintenanceStartTime");
OwnerId = CkJsonObjectW_stringOf(jResp,L"FileSystem.OwnerId");
ResourceARN = CkJsonObjectW_stringOf(jResp,L"FileSystem.ResourceARN");
StorageCapacity = CkJsonObjectW_IntOf(jResp,L"FileSystem.StorageCapacity");
StorageType = CkJsonObjectW_stringOf(jResp,L"FileSystem.StorageType");
VpcId = CkJsonObjectW_stringOf(jResp,L"FileSystem.VpcId");
ActiveDirectoryId = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.ActiveDirectoryId");
AuditLogDestination = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.AuditLogConfiguration.AuditLogDestination");
FileAccessAuditLogLevel = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel");
FileShareAccessAuditLogLevel = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel");
WindowsConfigurationAutomaticBackupRetentionDays = CkJsonObjectW_IntOf(jResp,L"FileSystem.WindowsConfiguration.AutomaticBackupRetentionDays");
WindowsConfigurationCopyTagsToBackups = CkJsonObjectW_IntOf(jResp,L"FileSystem.WindowsConfiguration.CopyTagsToBackups");
WindowsConfigurationDailyAutomaticBackupStartTime = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.DailyAutomaticBackupStartTime");
WindowsConfigurationDeploymentType = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.DeploymentType");
PreferredFileServerIp = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.PreferredFileServerIp");
WindowsConfigurationPreferredSubnetId = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.PreferredSubnetId");
RemoteAdministrationEndpoint = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.RemoteAdministrationEndpoint");
DomainName = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName");
FileSystemAdministratorsGroup = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup");
OrganizationalUnitDistinguishedName = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName");
UserName = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName");
WindowsConfigurationThroughputCapacity = CkJsonObjectW_IntOf(jResp,L"FileSystem.WindowsConfiguration.ThroughputCapacity");
WindowsConfigurationWeeklyMaintenanceStartTime = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.WeeklyMaintenanceStartTime");
i = 0;
count_i = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.AdministrativeActions");
while (i < count_i) {
CkJsonObjectW_putI(jResp,i);
AdministrativeActionType = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].AdministrativeActionType");
FailureDetailsMessage = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].FailureDetails.Message");
ProgressPercent = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].ProgressPercent");
RequestTime = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].RequestTime");
Status = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].Status");
TargetFileSystemValues = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetFileSystemValues");
TargetSnapshotValuesCreationTime = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetSnapshotValues.CreationTime");
TargetSnapshotValuesLifecycle = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetSnapshotValues.Lifecycle");
LifecycleTransitionReasonMessage = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetSnapshotValues.LifecycleTransitionReason.Message");
Name = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetSnapshotValues.Name");
TargetSnapshotValuesResourceARN = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetSnapshotValues.ResourceARN");
SnapshotId = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetSnapshotValues.SnapshotId");
VolumeId = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetSnapshotValues.VolumeId");
TargetVolumeValuesCreationTime = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.CreationTime");
TargetVolumeValuesFileSystemId = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.FileSystemId");
TargetVolumeValuesLifecycle = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.Lifecycle");
LifecycleTransitionReasonMessage = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.LifecycleTransitionReason.Message");
TargetVolumeValuesName = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.Name");
FlexCacheEndpointType = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.FlexCacheEndpointType");
JunctionPath = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.JunctionPath");
OntapVolumeType = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.OntapVolumeType");
SecurityStyle = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.SecurityStyle");
SizeInMegabytes = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.SizeInMegabytes");
StorageEfficiencyEnabled = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.StorageEfficiencyEnabled");
StorageVirtualMachineId = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.StorageVirtualMachineId");
StorageVirtualMachineRoot = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.StorageVirtualMachineRoot");
CoolingPeriod = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.TieringPolicy.CoolingPeriod");
TieringPolicyName = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.TieringPolicy.Name");
UUID = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OntapConfiguration.UUID");
CopyTagsToSnapshots = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.CopyTagsToSnapshots");
OpenZFSConfigurationDataCompressionType = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.DataCompressionType");
CopyStrategy = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.OriginSnapshot.CopyStrategy");
SnapshotARN = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.OriginSnapshot.SnapshotARN");
ParentVolumeId = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.ParentVolumeId");
ReadOnly = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.ReadOnly");
RecordSizeKiB = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.RecordSizeKiB");
StorageCapacityQuotaGiB = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.StorageCapacityQuotaGiB");
StorageCapacityReservationGiB = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.StorageCapacityReservationGiB");
VolumePath = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.VolumePath");
TargetVolumeValuesResourceARN = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.ResourceARN");
TargetVolumeValuesVolumeId = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.VolumeId");
VolumeType = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.VolumeType");
j = 0;
count_j = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions");
while (j < count_j) {
CkJsonObjectW_putJ(jResp,j);
strVal = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions[j]");
j = j + 1;
}
j = 0;
count_j = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.AdministrativeActions[i].TargetSnapshotValues.Tags");
while (j < count_j) {
CkJsonObjectW_putJ(jResp,j);
Key = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Key");
Value = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Value");
j = j + 1;
}
j = 0;
count_j = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.AdministrativeActions");
while (j < count_j) {
CkJsonObjectW_putJ(jResp,j);
strVal = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.AdministrativeActions[j]");
j = j + 1;
}
j = 0;
count_j = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports");
while (j < count_j) {
CkJsonObjectW_putJ(jResp,j);
k = 0;
count_k = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports[j].ClientConfigurations");
while (k < count_k) {
CkJsonObjectW_putK(jResp,k);
Clients = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports[j].ClientConfigurations[k].Clients");
json1 = CkJsonObjectW_ObjectOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.NfsExports[j].ClientConfigurations[k]");
i1 = 0;
count_i1 = CkJsonObjectW_SizeOfArray(json1,L"Options");
while (i1 < count_i1) {
CkJsonObjectW_putI(json1,i1);
strVal = CkJsonObjectW_stringOf(json1,L"Options[i]");
i1 = i1 + 1;
}
CkJsonObjectW_Dispose(json1);
k = k + 1;
}
j = j + 1;
}
j = 0;
count_j = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas");
while (j < count_j) {
CkJsonObjectW_putJ(jResp,j);
Id = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[j].Id");
StorageCapacityQuotaGiB = CkJsonObjectW_IntOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[j].StorageCapacityQuotaGiB");
v_Type = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.OpenZFSConfiguration.UserAndGroupQuotas[j].Type");
j = j + 1;
}
j = 0;
count_j = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.Tags");
while (j < count_j) {
CkJsonObjectW_putJ(jResp,j);
Key = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.Tags[j].Key");
Value = CkJsonObjectW_stringOf(jResp,L"FileSystem.AdministrativeActions[i].TargetVolumeValues.Tags[j].Value");
j = j + 1;
}
i = i + 1;
}
i = 0;
count_i = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.NetworkInterfaceIds");
while (i < count_i) {
CkJsonObjectW_putI(jResp,i);
strVal = CkJsonObjectW_stringOf(jResp,L"FileSystem.NetworkInterfaceIds[i]");
i = i + 1;
}
i = 0;
count_i = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.OntapConfiguration.Endpoints.Intercluster.IpAddresses");
while (i < count_i) {
CkJsonObjectW_putI(jResp,i);
strVal = CkJsonObjectW_stringOf(jResp,L"FileSystem.OntapConfiguration.Endpoints.Intercluster.IpAddresses[i]");
i = i + 1;
}
i = 0;
count_i = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.OntapConfiguration.Endpoints.Management.IpAddresses");
while (i < count_i) {
CkJsonObjectW_putI(jResp,i);
strVal = CkJsonObjectW_stringOf(jResp,L"FileSystem.OntapConfiguration.Endpoints.Management.IpAddresses[i]");
i = i + 1;
}
i = 0;
count_i = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.OntapConfiguration.RouteTableIds");
while (i < count_i) {
CkJsonObjectW_putI(jResp,i);
strVal = CkJsonObjectW_stringOf(jResp,L"FileSystem.OntapConfiguration.RouteTableIds[i]");
i = i + 1;
}
i = 0;
count_i = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.SubnetIds");
while (i < count_i) {
CkJsonObjectW_putI(jResp,i);
strVal = CkJsonObjectW_stringOf(jResp,L"FileSystem.SubnetIds[i]");
i = i + 1;
}
i = 0;
count_i = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.Tags");
while (i < count_i) {
CkJsonObjectW_putI(jResp,i);
Key = CkJsonObjectW_stringOf(jResp,L"FileSystem.Tags[i].Key");
Value = CkJsonObjectW_stringOf(jResp,L"FileSystem.Tags[i].Value");
i = i + 1;
}
i = 0;
count_i = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.WindowsConfiguration.Aliases");
while (i < count_i) {
CkJsonObjectW_putI(jResp,i);
Lifecycle = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.Aliases[i].Lifecycle");
Name = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.Aliases[i].Name");
i = i + 1;
}
i = 0;
count_i = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.WindowsConfiguration.MaintenanceOperationsInProgress");
while (i < count_i) {
CkJsonObjectW_putI(jResp,i);
strVal = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.MaintenanceOperationsInProgress[i]");
i = i + 1;
}
i = 0;
count_i = CkJsonObjectW_SizeOfArray(jResp,L"FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps");
while (i < count_i) {
CkJsonObjectW_putI(jResp,i);
strVal = CkJsonObjectW_stringOf(jResp,L"FileSystem.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps[i]");
i = i + 1;
}
// 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"
// }
// }
// }
CkRestW_Dispose(rest);
CkAuthAwsW_Dispose(authAws);
CkJsonObjectW_Dispose(json);
CkStringBuilderW_Dispose(sbRequestBody);
CkStringBuilderW_Dispose(sbResponseBody);
CkJsonObjectW_Dispose(jResp);
}