From 0fbe9daf49f57f2a6bab2f003f70945b9e39250b Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Fri, 23 Oct 2020 07:42:24 +0000 Subject: [PATCH] Generated from d669dd3934ac67e7c1c969c362f3092bc048602c --- ...azureNetAppFilesManagementClientContext.ts | 2 +- .../src/models/accountBackupsMappers.ts | 7 +- .../arm-netapp/src/models/accountsMappers.ts | 7 +- .../src/models/backupPoliciesMappers.ts | 6 +- .../arm-netapp/src/models/backupsMappers.ts | 7 +- sdk/netapp/arm-netapp/src/models/index.ts | 287 +++++++----- sdk/netapp/arm-netapp/src/models/mappers.ts | 441 +++++++++++------- .../arm-netapp/src/models/parameters.ts | 2 +- .../arm-netapp/src/models/poolsMappers.ts | 7 +- .../src/models/snapshotPoliciesMappers.ts | 7 +- .../arm-netapp/src/models/snapshotsMappers.ts | 7 +- .../arm-netapp/src/models/vaultsMappers.ts | 7 +- .../arm-netapp/src/models/volumesMappers.ts | 7 +- 13 files changed, 508 insertions(+), 286 deletions(-) diff --git a/sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts b/sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts index 3ebdcacb0888..b9e36d1867a4 100644 --- a/sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts +++ b/sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts @@ -45,7 +45,7 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe super(credentials, options); - this.apiVersion = '2020-06-01'; + this.apiVersion = '2020-07-01'; this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; diff --git a/sdk/netapp/arm-netapp/src/models/accountBackupsMappers.ts b/sdk/netapp/arm-netapp/src/models/accountBackupsMappers.ts index c42db7ed363e..dd37e5a584b3 100644 --- a/sdk/netapp/arm-netapp/src/models/accountBackupsMappers.ts +++ b/sdk/netapp/arm-netapp/src/models/accountBackupsMappers.ts @@ -12,12 +12,16 @@ export { BackupPatch, BackupPolicy, BackupPolicyDetails, + BackupPolicyPatch, BackupsList, BaseResource, CapacityPool, CapacityPoolPatch, CloudError, + DailySchedule, ExportPolicyRule, + HourlySchedule, + MonthlySchedule, MountTargetProperties, NetAppAccount, NetAppAccountPatch, @@ -33,5 +37,6 @@ export { VolumePatchPropertiesExportPolicy, VolumePropertiesDataProtection, VolumePropertiesExportPolicy, - VolumeSnapshotProperties + VolumeSnapshotProperties, + WeeklySchedule } from "../models/mappers"; diff --git a/sdk/netapp/arm-netapp/src/models/accountsMappers.ts b/sdk/netapp/arm-netapp/src/models/accountsMappers.ts index 05b554d9792f..39c4ff0aa102 100644 --- a/sdk/netapp/arm-netapp/src/models/accountsMappers.ts +++ b/sdk/netapp/arm-netapp/src/models/accountsMappers.ts @@ -12,11 +12,15 @@ export { BackupPatch, BackupPolicy, BackupPolicyDetails, + BackupPolicyPatch, BaseResource, CapacityPool, CapacityPoolPatch, CloudError, + DailySchedule, ExportPolicyRule, + HourlySchedule, + MonthlySchedule, MountTargetProperties, NetAppAccount, NetAppAccountList, @@ -33,5 +37,6 @@ export { VolumePatchPropertiesExportPolicy, VolumePropertiesDataProtection, VolumePropertiesExportPolicy, - VolumeSnapshotProperties + VolumeSnapshotProperties, + WeeklySchedule } from "../models/mappers"; diff --git a/sdk/netapp/arm-netapp/src/models/backupPoliciesMappers.ts b/sdk/netapp/arm-netapp/src/models/backupPoliciesMappers.ts index 3e373e2acbb5..dd6a8a188428 100644 --- a/sdk/netapp/arm-netapp/src/models/backupPoliciesMappers.ts +++ b/sdk/netapp/arm-netapp/src/models/backupPoliciesMappers.ts @@ -18,7 +18,10 @@ export { CapacityPool, CapacityPoolPatch, CloudError, + DailySchedule, ExportPolicyRule, + HourlySchedule, + MonthlySchedule, MountTargetProperties, NetAppAccount, NetAppAccountPatch, @@ -34,5 +37,6 @@ export { VolumePatchPropertiesExportPolicy, VolumePropertiesDataProtection, VolumePropertiesExportPolicy, - VolumeSnapshotProperties + VolumeSnapshotProperties, + WeeklySchedule } from "../models/mappers"; diff --git a/sdk/netapp/arm-netapp/src/models/backupsMappers.ts b/sdk/netapp/arm-netapp/src/models/backupsMappers.ts index c42db7ed363e..dd37e5a584b3 100644 --- a/sdk/netapp/arm-netapp/src/models/backupsMappers.ts +++ b/sdk/netapp/arm-netapp/src/models/backupsMappers.ts @@ -12,12 +12,16 @@ export { BackupPatch, BackupPolicy, BackupPolicyDetails, + BackupPolicyPatch, BackupsList, BaseResource, CapacityPool, CapacityPoolPatch, CloudError, + DailySchedule, ExportPolicyRule, + HourlySchedule, + MonthlySchedule, MountTargetProperties, NetAppAccount, NetAppAccountPatch, @@ -33,5 +37,6 @@ export { VolumePatchPropertiesExportPolicy, VolumePropertiesDataProtection, VolumePropertiesExportPolicy, - VolumeSnapshotProperties + VolumeSnapshotProperties, + WeeklySchedule } from "../models/mappers"; diff --git a/sdk/netapp/arm-netapp/src/models/index.ts b/sdk/netapp/arm-netapp/src/models/index.ts index f77d7aa6894f..05eabbd9c0b3 100644 --- a/sdk/netapp/arm-netapp/src/models/index.ts +++ b/sdk/netapp/arm-netapp/src/models/index.ts @@ -256,6 +256,14 @@ export interface ActiveDirectory { * used only for dual protocol with LDAP user-mapping volumes. */ serverRootCACertificate?: string; + /** + * If enabled, AES encryption will be enabled for SMB communication. + */ + aesEncryption?: boolean; + /** + * Specifies whether or not the LDAP traffic needs to be signed. + */ + ldapSigning?: boolean; } /** @@ -577,7 +585,7 @@ export interface ReplicationObject { */ endpointType?: EndpointType; /** - * Schedule. Possible values include: '_10minutely', 'hourly', 'daily', 'weekly', 'monthly' + * Schedule. Possible values include: '_10minutely', 'hourly', 'daily' */ replicationSchedule: ReplicationSchedule; /** @@ -924,62 +932,106 @@ export interface Snapshot extends BaseResource { } /** - * Snapshot policy information + * Hourly Schedule properties */ -export interface SnapshotPolicy extends BaseResource { +export interface HourlySchedule { /** - * Resource location + * Hourly snapshot count to keep */ - location: string; + snapshotsToKeep?: number; /** - * Resource Id - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Indicates which minute snapshot should be taken */ - readonly id?: string; + minute?: number; /** - * Resource name - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Resource size in bytes, current storage usage for the volume in bytes */ - readonly name?: string; + usedBytes?: number; +} + +/** + * Daily Schedule properties + */ +export interface DailySchedule { /** - * Resource type - * **NOTE: This property will not be serialized. It can only be populated by the server.** + * Daily snapshot count to keep */ - readonly type?: string; + snapshotsToKeep?: number; /** - * Resource tags + * Indicates which hour in UTC timezone a snapshot should be taken */ - tags?: { [propertyName: string]: string }; + hour?: number; /** - * hourlySchedule. Schedule for hourly snapshots + * Indicates which minute snapshot should be taken */ - hourlySchedule?: any; + minute?: number; /** - * dailySchedule. Schedule for daily snapshots + * Resource size in bytes, current storage usage for the volume in bytes */ - dailySchedule?: any; + usedBytes?: number; +} + +/** + * Weekly Schedule properties, make a snapshot every week at a specific day or days + */ +export interface WeeklySchedule { /** - * weeklySchedule. Schedule for weekly snapshots + * Weekly snapshot count to keep */ - weeklySchedule?: any; + snapshotsToKeep?: number; /** - * monthlySchedule. Schedule for monthly snapshots + * Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day + * names in english */ - monthlySchedule?: any; + day?: string; /** - * The property to decide policy is enabled or not + * Indicates which hour in UTC timezone a snapshot should be taken */ - enabled?: boolean; + hour?: number; + /** + * Indicates which minute snapshot should be taken + */ + minute?: number; + /** + * Resource size in bytes, current storage usage for the volume in bytes + */ + usedBytes?: number; } /** - * Snapshot policy properties + * Monthly Schedule properties */ -export interface SnapshotPolicyDetails { +export interface MonthlySchedule { + /** + * Monthly snapshot count to keep + */ + snapshotsToKeep?: number; + /** + * Indicates which days of the month snapshot should be taken. A comma delimited string. + */ + daysOfMonth?: string; + /** + * Indicates which hour in UTC timezone a snapshot should be taken + */ + hour?: number; + /** + * Indicates which minute snapshot should be taken + */ + minute?: number; + /** + * Resource size in bytes, current storage usage for the volume in bytes + */ + usedBytes?: number; +} + +/** + * Snapshot policy information + */ +export interface SnapshotPolicy extends BaseResource { /** * Resource location */ - location?: string; + location: string; /** * Resource Id * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -999,32 +1051,42 @@ export interface SnapshotPolicyDetails { * Resource tags */ tags?: { [propertyName: string]: string }; + /** + * Snapshot policy name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name1?: string; /** * hourlySchedule. Schedule for hourly snapshots */ - hourlySchedule?: any; + hourlySchedule?: HourlySchedule; /** * dailySchedule. Schedule for daily snapshots */ - dailySchedule?: any; + dailySchedule?: DailySchedule; /** * weeklySchedule. Schedule for weekly snapshots */ - weeklySchedule?: any; + weeklySchedule?: WeeklySchedule; /** * monthlySchedule. Schedule for monthly snapshots */ - monthlySchedule?: any; + monthlySchedule?: MonthlySchedule; /** * The property to decide policy is enabled or not */ enabled?: boolean; + /** + * Azure lifecycle management + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: string; } /** - * Snapshot policy Details for create and update + * Snapshot policy properties */ -export interface SnapshotPolicyPatch { +export interface SnapshotPolicyDetails { /** * Resource location */ @@ -1048,129 +1110,105 @@ export interface SnapshotPolicyPatch { * Resource tags */ tags?: { [propertyName: string]: string }; + /** + * Snapshot policy name + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name1?: string; /** * hourlySchedule. Schedule for hourly snapshots */ - hourlySchedule?: any; + hourlySchedule?: HourlySchedule; /** * dailySchedule. Schedule for daily snapshots */ - dailySchedule?: any; + dailySchedule?: DailySchedule; /** * weeklySchedule. Schedule for weekly snapshots */ - weeklySchedule?: any; + weeklySchedule?: WeeklySchedule; /** * monthlySchedule. Schedule for monthly snapshots */ - monthlySchedule?: any; + monthlySchedule?: MonthlySchedule; /** * The property to decide policy is enabled or not */ enabled?: boolean; -} - -/** - * Volumes associated with snapshot policy - */ -export interface SnapshotPolicyVolumeList { /** - * List of volumes + * Azure lifecycle management + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - value?: any[]; + readonly provisioningState?: string; } /** - * Hourly Schedule properties + * Snapshot policy Details for create and update */ -export interface HourlySchedule { +export interface SnapshotPolicyPatch { /** - * Hourly snapshot count to keep + * Resource location */ - snapshotsToKeep?: number; + location?: string; /** - * Indicates which minute snapshot should be taken + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - minute?: number; + readonly id?: string; /** - * Resource size in bytes, current storage usage for the volume in bytes + * Resource name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - usedBytes?: number; -} - -/** - * Daily Schedule properties - */ -export interface DailySchedule { + readonly name?: string; /** - * Daily snapshot count to keep + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - snapshotsToKeep?: number; + readonly type?: string; /** - * Indicates which hour in UTC timezone a snapshot should be taken + * Resource tags */ - hour?: number; + tags?: { [propertyName: string]: string }; /** - * Indicates which minute snapshot should be taken + * Snapshot policy name + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - minute?: number; + readonly name1?: string; /** - * Resource size in bytes, current storage usage for the volume in bytes + * hourlySchedule. Schedule for hourly snapshots */ - usedBytes?: number; -} - -/** - * Weekly Schedule properties, make a snapshot every week at a specific day or days - */ -export interface WeeklySchedule { + hourlySchedule?: HourlySchedule; /** - * Weekly snapshot count to keep + * dailySchedule. Schedule for daily snapshots */ - snapshotsToKeep?: number; + dailySchedule?: DailySchedule; /** - * Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day - * names in english + * weeklySchedule. Schedule for weekly snapshots */ - day?: string; + weeklySchedule?: WeeklySchedule; /** - * Indicates which hour in UTC timezone a snapshot should be taken + * monthlySchedule. Schedule for monthly snapshots */ - hour?: number; + monthlySchedule?: MonthlySchedule; /** - * Indicates which minute snapshot should be taken + * The property to decide policy is enabled or not */ - minute?: number; + enabled?: boolean; /** - * Resource size in bytes, current storage usage for the volume in bytes + * Azure lifecycle management + * **NOTE: This property will not be serialized. It can only be populated by the server.** */ - usedBytes?: number; + readonly provisioningState?: string; } /** - * Monthly Schedule properties + * Volumes associated with snapshot policy */ -export interface MonthlySchedule { - /** - * Monthly snapshot count to keep - */ - snapshotsToKeep?: number; - /** - * Indicates which days of the month snapshot should be taken. A comma delimited string. - */ - daysOfMonth?: string; - /** - * Indicates which hour in UTC timezone a snapshot should be taken - */ - hour?: number; - /** - * Indicates which minute snapshot should be taken - */ - minute?: number; +export interface SnapshotPolicyVolumeList { /** - * Resource size in bytes, current storage usage for the volume in bytes + * List of volumes */ - usedBytes?: number; + value?: any[]; } /** @@ -1237,6 +1275,11 @@ export interface Backup extends BaseResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly type?: string; + /** + * backupId. UUID v4 used to identify the Backup + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly backupId?: string; /** * name. The creation date of the backup * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1271,6 +1314,11 @@ export interface BackupPatch extends BaseResource { * Resource tags */ tags?: { [propertyName: string]: string }; + /** + * backupId. UUID v4 used to identify the Backup + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly backupId?: string; /** * name. The creation date of the backup * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1452,16 +1500,35 @@ export interface BackupPolicyDetails extends BaseResource { /** * Backup policy Details for create and update */ -export interface BackupPolicyPatch { +export interface BackupPolicyPatch extends BaseResource { /** * Resource location */ location?: string; /** - * Name of backup policy + * Resource Id + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly id?: string; + /** + * Resource name * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly name?: string; + /** + * Resource type + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; + /** + * Resource tags + */ + tags?: { [propertyName: string]: string }; + /** + * Name of backup policy + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly name1?: string; /** * Azure lifecycle management * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -1766,11 +1833,11 @@ export type EndpointType = 'src' | 'dst'; /** * Defines values for ReplicationSchedule. - * Possible values include: '_10minutely', 'hourly', 'daily', 'weekly', 'monthly' + * Possible values include: '_10minutely', 'hourly', 'daily' * @readonly * @enum {string} */ -export type ReplicationSchedule = '_10minutely' | 'hourly' | 'daily' | 'weekly' | 'monthly'; +export type ReplicationSchedule = '_10minutely' | 'hourly' | 'daily'; /** * Defines values for SecurityStyle. diff --git a/sdk/netapp/arm-netapp/src/models/mappers.ts b/sdk/netapp/arm-netapp/src/models/mappers.ts index b6b0550e71f3..57e1e678ea44 100644 --- a/sdk/netapp/arm-netapp/src/models/mappers.ts +++ b/sdk/netapp/arm-netapp/src/models/mappers.ts @@ -396,6 +396,18 @@ export const ActiveDirectory: msRest.CompositeMapper = { type: { name: "String" } + }, + aesEncryption: { + serializedName: "aesEncryption", + type: { + name: "Boolean" + } + }, + ldapSigning: { + serializedName: "ldapSigning", + type: { + name: "Boolean" + } } } } @@ -622,9 +634,6 @@ export const CapacityPool: msRest.CompositeMapper = { totalThroughputMibps: { readOnly: true, serializedName: "properties.totalThroughputMibps", - constraints: { - MultipleOf: 0.001 - }, type: { name: "Number" } @@ -632,9 +641,6 @@ export const CapacityPool: msRest.CompositeMapper = { utilizedThroughputMibps: { readOnly: true, serializedName: "properties.utilizedThroughputMibps", - constraints: { - MultipleOf: 0.001 - }, type: { name: "Number" } @@ -1147,11 +1153,6 @@ export const Volume: msRest.CompositeMapper = { baremetalTenantId: { readOnly: true, serializedName: "properties.baremetalTenantId", - constraints: { - MaxLength: 36, - MinLength: 36, - Pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/ - }, type: { name: "String" } @@ -1548,6 +1549,148 @@ export const Snapshot: msRest.CompositeMapper = { } }; +export const HourlySchedule: msRest.CompositeMapper = { + serializedName: "hourlySchedule", + type: { + name: "Composite", + className: "HourlySchedule", + modelProperties: { + snapshotsToKeep: { + serializedName: "snapshotsToKeep", + type: { + name: "Number" + } + }, + minute: { + serializedName: "minute", + type: { + name: "Number" + } + }, + usedBytes: { + serializedName: "usedBytes", + type: { + name: "Number" + } + } + } + } +}; + +export const DailySchedule: msRest.CompositeMapper = { + serializedName: "dailySchedule", + type: { + name: "Composite", + className: "DailySchedule", + modelProperties: { + snapshotsToKeep: { + serializedName: "snapshotsToKeep", + type: { + name: "Number" + } + }, + hour: { + serializedName: "hour", + type: { + name: "Number" + } + }, + minute: { + serializedName: "minute", + type: { + name: "Number" + } + }, + usedBytes: { + serializedName: "usedBytes", + type: { + name: "Number" + } + } + } + } +}; + +export const WeeklySchedule: msRest.CompositeMapper = { + serializedName: "weeklySchedule", + type: { + name: "Composite", + className: "WeeklySchedule", + modelProperties: { + snapshotsToKeep: { + serializedName: "snapshotsToKeep", + type: { + name: "Number" + } + }, + day: { + serializedName: "day", + type: { + name: "String" + } + }, + hour: { + serializedName: "hour", + type: { + name: "Number" + } + }, + minute: { + serializedName: "minute", + type: { + name: "Number" + } + }, + usedBytes: { + serializedName: "usedBytes", + type: { + name: "Number" + } + } + } + } +}; + +export const MonthlySchedule: msRest.CompositeMapper = { + serializedName: "monthlySchedule", + type: { + name: "Composite", + className: "MonthlySchedule", + modelProperties: { + snapshotsToKeep: { + serializedName: "snapshotsToKeep", + type: { + name: "Number" + } + }, + daysOfMonth: { + serializedName: "daysOfMonth", + type: { + name: "String" + } + }, + hour: { + serializedName: "hour", + type: { + name: "Number" + } + }, + minute: { + serializedName: "minute", + type: { + name: "Number" + } + }, + usedBytes: { + serializedName: "usedBytes", + type: { + name: "Number" + } + } + } + } +}; + export const SnapshotPolicy: msRest.CompositeMapper = { serializedName: "snapshotPolicy", type: { @@ -1593,28 +1736,39 @@ export const SnapshotPolicy: msRest.CompositeMapper = { } } }, + name1: { + readOnly: true, + serializedName: "properties.name", + type: { + name: "String" + } + }, hourlySchedule: { serializedName: "properties.hourlySchedule", type: { - name: "Object" + name: "Composite", + className: "HourlySchedule" } }, dailySchedule: { serializedName: "properties.dailySchedule", type: { - name: "Object" + name: "Composite", + className: "DailySchedule" } }, weeklySchedule: { serializedName: "properties.weeklySchedule", type: { - name: "Object" + name: "Composite", + className: "WeeklySchedule" } }, monthlySchedule: { serializedName: "properties.monthlySchedule", type: { - name: "Object" + name: "Composite", + className: "MonthlySchedule" } }, enabled: { @@ -1622,6 +1776,13 @@ export const SnapshotPolicy: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } } } } @@ -1671,28 +1832,39 @@ export const SnapshotPolicyDetails: msRest.CompositeMapper = { } } }, + name1: { + readOnly: true, + serializedName: "properties.name", + type: { + name: "String" + } + }, hourlySchedule: { serializedName: "properties.hourlySchedule", type: { - name: "Object" + name: "Composite", + className: "HourlySchedule" } }, dailySchedule: { serializedName: "properties.dailySchedule", type: { - name: "Object" + name: "Composite", + className: "DailySchedule" } }, weeklySchedule: { serializedName: "properties.weeklySchedule", type: { - name: "Object" + name: "Composite", + className: "WeeklySchedule" } }, monthlySchedule: { serializedName: "properties.monthlySchedule", type: { - name: "Object" + name: "Composite", + className: "MonthlySchedule" } }, enabled: { @@ -1700,6 +1872,13 @@ export const SnapshotPolicyDetails: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } } } } @@ -1749,28 +1928,39 @@ export const SnapshotPolicyPatch: msRest.CompositeMapper = { } } }, + name1: { + readOnly: true, + serializedName: "properties.name", + type: { + name: "String" + } + }, hourlySchedule: { serializedName: "properties.hourlySchedule", type: { - name: "Object" + name: "Composite", + className: "HourlySchedule" } }, dailySchedule: { serializedName: "properties.dailySchedule", type: { - name: "Object" + name: "Composite", + className: "DailySchedule" } }, weeklySchedule: { serializedName: "properties.weeklySchedule", type: { - name: "Object" + name: "Composite", + className: "WeeklySchedule" } }, monthlySchedule: { serializedName: "properties.monthlySchedule", type: { - name: "Object" + name: "Composite", + className: "MonthlySchedule" } }, enabled: { @@ -1778,6 +1968,13 @@ export const SnapshotPolicyPatch: msRest.CompositeMapper = { type: { name: "Boolean" } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } } } } @@ -1804,148 +2001,6 @@ export const SnapshotPolicyVolumeList: msRest.CompositeMapper = { } }; -export const HourlySchedule: msRest.CompositeMapper = { - serializedName: "hourlySchedule", - type: { - name: "Composite", - className: "HourlySchedule", - modelProperties: { - snapshotsToKeep: { - serializedName: "snapshotsToKeep", - type: { - name: "Number" - } - }, - minute: { - serializedName: "minute", - type: { - name: "Number" - } - }, - usedBytes: { - serializedName: "usedBytes", - type: { - name: "Number" - } - } - } - } -}; - -export const DailySchedule: msRest.CompositeMapper = { - serializedName: "dailySchedule", - type: { - name: "Composite", - className: "DailySchedule", - modelProperties: { - snapshotsToKeep: { - serializedName: "snapshotsToKeep", - type: { - name: "Number" - } - }, - hour: { - serializedName: "hour", - type: { - name: "Number" - } - }, - minute: { - serializedName: "minute", - type: { - name: "Number" - } - }, - usedBytes: { - serializedName: "usedBytes", - type: { - name: "Number" - } - } - } - } -}; - -export const WeeklySchedule: msRest.CompositeMapper = { - serializedName: "weeklySchedule", - type: { - name: "Composite", - className: "WeeklySchedule", - modelProperties: { - snapshotsToKeep: { - serializedName: "snapshotsToKeep", - type: { - name: "Number" - } - }, - day: { - serializedName: "day", - type: { - name: "String" - } - }, - hour: { - serializedName: "hour", - type: { - name: "Number" - } - }, - minute: { - serializedName: "minute", - type: { - name: "Number" - } - }, - usedBytes: { - serializedName: "usedBytes", - type: { - name: "Number" - } - } - } - } -}; - -export const MonthlySchedule: msRest.CompositeMapper = { - serializedName: "monthlySchedule", - type: { - name: "Composite", - className: "MonthlySchedule", - modelProperties: { - snapshotsToKeep: { - serializedName: "snapshotsToKeep", - type: { - name: "Number" - } - }, - daysOfMonth: { - serializedName: "daysOfMonth", - type: { - name: "String" - } - }, - hour: { - serializedName: "hour", - type: { - name: "Number" - } - }, - minute: { - serializedName: "minute", - type: { - name: "Number" - } - }, - usedBytes: { - serializedName: "usedBytes", - type: { - name: "Number" - } - } - } - } -}; - export const VolumeRevert: msRest.CompositeMapper = { serializedName: "volumeRevert", type: { @@ -2045,6 +2100,18 @@ export const Backup: msRest.CompositeMapper = { name: "String" } }, + backupId: { + readOnly: true, + serializedName: "properties.backupId", + constraints: { + MaxLength: 36, + MinLength: 36, + Pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/ + }, + type: { + name: "String" + } + }, creationDate: { readOnly: true, serializedName: "properties.creationDate", @@ -2100,6 +2167,18 @@ export const BackupPatch: msRest.CompositeMapper = { } } }, + backupId: { + readOnly: true, + serializedName: "properties.backupId", + constraints: { + MaxLength: 36, + MinLength: 36, + Pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/ + }, + type: { + name: "String" + } + }, creationDate: { readOnly: true, serializedName: "properties.creationDate", @@ -2399,7 +2478,39 @@ export const BackupPolicyPatch: msRest.CompositeMapper = { name: "String" } }, + id: { + readOnly: true, + serializedName: "id", + type: { + name: "String" + } + }, name: { + readOnly: true, + serializedName: "name", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + }, + tags: { + serializedName: "tags", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, + name1: { readOnly: true, serializedName: "properties.name", type: { diff --git a/sdk/netapp/arm-netapp/src/models/parameters.ts b/sdk/netapp/arm-netapp/src/models/parameters.ts index c92d033734f1..5448850d5fa1 100644 --- a/sdk/netapp/arm-netapp/src/models/parameters.ts +++ b/sdk/netapp/arm-netapp/src/models/parameters.ts @@ -35,7 +35,7 @@ export const apiVersion: msRest.OperationQueryParameter = { mapper: { required: true, serializedName: "api-version", - defaultValue: '2020-06-01', + defaultValue: '2020-07-01', type: { name: "String" } diff --git a/sdk/netapp/arm-netapp/src/models/poolsMappers.ts b/sdk/netapp/arm-netapp/src/models/poolsMappers.ts index f71fd3dd7424..6351dc6ca618 100644 --- a/sdk/netapp/arm-netapp/src/models/poolsMappers.ts +++ b/sdk/netapp/arm-netapp/src/models/poolsMappers.ts @@ -12,12 +12,16 @@ export { BackupPatch, BackupPolicy, BackupPolicyDetails, + BackupPolicyPatch, BaseResource, CapacityPool, CapacityPoolList, CapacityPoolPatch, CloudError, + DailySchedule, ExportPolicyRule, + HourlySchedule, + MonthlySchedule, MountTargetProperties, NetAppAccount, NetAppAccountPatch, @@ -33,5 +37,6 @@ export { VolumePatchPropertiesExportPolicy, VolumePropertiesDataProtection, VolumePropertiesExportPolicy, - VolumeSnapshotProperties + VolumeSnapshotProperties, + WeeklySchedule } from "../models/mappers"; diff --git a/sdk/netapp/arm-netapp/src/models/snapshotPoliciesMappers.ts b/sdk/netapp/arm-netapp/src/models/snapshotPoliciesMappers.ts index c6aacdce9aa4..dab9fe901ca7 100644 --- a/sdk/netapp/arm-netapp/src/models/snapshotPoliciesMappers.ts +++ b/sdk/netapp/arm-netapp/src/models/snapshotPoliciesMappers.ts @@ -12,11 +12,15 @@ export { BackupPatch, BackupPolicy, BackupPolicyDetails, + BackupPolicyPatch, BaseResource, CapacityPool, CapacityPoolPatch, CloudError, + DailySchedule, ExportPolicyRule, + HourlySchedule, + MonthlySchedule, MountTargetProperties, NetAppAccount, NetAppAccountPatch, @@ -35,5 +39,6 @@ export { VolumePatchPropertiesExportPolicy, VolumePropertiesDataProtection, VolumePropertiesExportPolicy, - VolumeSnapshotProperties + VolumeSnapshotProperties, + WeeklySchedule } from "../models/mappers"; diff --git a/sdk/netapp/arm-netapp/src/models/snapshotsMappers.ts b/sdk/netapp/arm-netapp/src/models/snapshotsMappers.ts index b966952e7494..21a7e54c35c2 100644 --- a/sdk/netapp/arm-netapp/src/models/snapshotsMappers.ts +++ b/sdk/netapp/arm-netapp/src/models/snapshotsMappers.ts @@ -12,11 +12,15 @@ export { BackupPatch, BackupPolicy, BackupPolicyDetails, + BackupPolicyPatch, BaseResource, CapacityPool, CapacityPoolPatch, CloudError, + DailySchedule, ExportPolicyRule, + HourlySchedule, + MonthlySchedule, MountTargetProperties, NetAppAccount, NetAppAccountPatch, @@ -33,5 +37,6 @@ export { VolumePatchPropertiesExportPolicy, VolumePropertiesDataProtection, VolumePropertiesExportPolicy, - VolumeSnapshotProperties + VolumeSnapshotProperties, + WeeklySchedule } from "../models/mappers"; diff --git a/sdk/netapp/arm-netapp/src/models/vaultsMappers.ts b/sdk/netapp/arm-netapp/src/models/vaultsMappers.ts index 542bfa060e32..ced45f4eb84c 100644 --- a/sdk/netapp/arm-netapp/src/models/vaultsMappers.ts +++ b/sdk/netapp/arm-netapp/src/models/vaultsMappers.ts @@ -12,11 +12,15 @@ export { BackupPatch, BackupPolicy, BackupPolicyDetails, + BackupPolicyPatch, BaseResource, CapacityPool, CapacityPoolPatch, CloudError, + DailySchedule, ExportPolicyRule, + HourlySchedule, + MonthlySchedule, MountTargetProperties, NetAppAccount, NetAppAccountPatch, @@ -33,5 +37,6 @@ export { VolumePatchPropertiesExportPolicy, VolumePropertiesDataProtection, VolumePropertiesExportPolicy, - VolumeSnapshotProperties + VolumeSnapshotProperties, + WeeklySchedule } from "../models/mappers"; diff --git a/sdk/netapp/arm-netapp/src/models/volumesMappers.ts b/sdk/netapp/arm-netapp/src/models/volumesMappers.ts index db8be94a5949..f2c9daa22c5c 100644 --- a/sdk/netapp/arm-netapp/src/models/volumesMappers.ts +++ b/sdk/netapp/arm-netapp/src/models/volumesMappers.ts @@ -13,12 +13,16 @@ export { BackupPatch, BackupPolicy, BackupPolicyDetails, + BackupPolicyPatch, BaseResource, BreakReplicationRequest, CapacityPool, CapacityPoolPatch, CloudError, + DailySchedule, ExportPolicyRule, + HourlySchedule, + MonthlySchedule, MountTargetProperties, NetAppAccount, NetAppAccountPatch, @@ -38,5 +42,6 @@ export { VolumePropertiesDataProtection, VolumePropertiesExportPolicy, VolumeRevert, - VolumeSnapshotProperties + VolumeSnapshotProperties, + WeeklySchedule } from "../models/mappers";