@@ -750,7 +750,7 @@ export interface Volume extends BaseResource {
750750 */
751751 exportPolicy ?: VolumePropertiesExportPolicy ;
752752 /**
753- * protocolTypes. Set of protocol types, default NFSv3, CIFS fro SMB protocol
753+ * protocolTypes. Set of protocol types, default NFSv3, CIFS for SMB protocol
754754 */
755755 protocolTypes ?: string [ ] ;
756756 /**
@@ -834,7 +834,7 @@ export interface Volume extends BaseResource {
834834}
835835
836836/**
837- * An interface representing ResourceIdentity .
837+ * Identity for the resource .
838838 */
839839export interface ResourceIdentity {
840840 /**
@@ -899,6 +899,10 @@ export interface VolumePatchPropertiesDataProtection {
899899 * Backup. Backup Properties
900900 */
901901 backup ?: VolumeBackupProperties ;
902+ /**
903+ * Snapshot. Snapshot properties.
904+ */
905+ snapshot ?: VolumeSnapshotProperties ;
902906}
903907
904908/**
@@ -1395,10 +1399,10 @@ export interface Backup extends BaseResource {
13951399 */
13961400 label ?: string ;
13971401 /**
1398- * Type of backup adhoc or scheduled
1402+ * backupType. Type of backup Manual or Scheduled. Possible values include: 'Manual', 'Scheduled'
13991403 * **NOTE: This property will not be serialized. It can only be populated by the server.**
14001404 */
1401- readonly backupType ?: string ;
1405+ readonly backupType ?: BackupType ;
14021406 /**
14031407 * Failure reason
14041408 * **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -1409,6 +1413,11 @@ export interface Backup extends BaseResource {
14091413 * **NOTE: This property will not be serialized. It can only be populated by the server.**
14101414 */
14111415 readonly volumeName ?: string ;
1416+ /**
1417+ * Manual backup an already existing snapshot. This will always be false for scheduled backups
1418+ * and true/false for manual backups. Default value: false.
1419+ */
1420+ useExistingSnapshot ?: boolean ;
14121421}
14131422
14141423/**
@@ -1444,10 +1453,10 @@ export interface BackupPatch extends BaseResource {
14441453 */
14451454 label ?: string ;
14461455 /**
1447- * Type of backup adhoc or scheduled
1456+ * backupType. Type of backup Manual or Scheduled. Possible values include: 'Manual', 'Scheduled'
14481457 * **NOTE: This property will not be serialized. It can only be populated by the server.**
14491458 */
1450- readonly backupType ?: string ;
1459+ readonly backupType ?: BackupType ;
14511460 /**
14521461 * Failure reason
14531462 * **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -1458,6 +1467,11 @@ export interface BackupPatch extends BaseResource {
14581467 * **NOTE: This property will not be serialized. It can only be populated by the server.**
14591468 */
14601469 readonly volumeName ?: string ;
1470+ /**
1471+ * Manual backup an already existing snapshot. This will always be false for scheduled backups
1472+ * and true/false for manual backups. Default value: false.
1473+ */
1474+ useExistingSnapshot ?: boolean ;
14611475}
14621476
14631477/**
@@ -1801,52 +1815,24 @@ export interface VolumesBeginAuthorizeReplicationOptionalParams extends msRest.R
18011815 remoteVolumeResourceId ?: string ;
18021816}
18031817
1804- /**
1805- * Optional Parameters.
1806- */
1807- export interface BackupsCreateOptionalParams extends msRest . RequestOptionsBase {
1808- /**
1809- * Label for backup
1810- */
1811- label ?: string ;
1812- }
1813-
18141818/**
18151819 * Optional Parameters.
18161820 */
18171821export interface BackupsUpdateOptionalParams extends msRest . RequestOptionsBase {
18181822 /**
1819- * Resource tags
1820- */
1821- tags ?: { [ propertyName : string ] : string } ;
1822- /**
1823- * Label for backup
1824- */
1825- label ?: string ;
1826- }
1827-
1828- /**
1829- * Optional Parameters.
1830- */
1831- export interface BackupsBeginCreateOptionalParams extends msRest . RequestOptionsBase {
1832- /**
1833- * Label for backup
1823+ * Backup object supplied in the body of the operation.
18341824 */
1835- label ?: string ;
1825+ body ?: BackupPatch ;
18361826}
18371827
18381828/**
18391829 * Optional Parameters.
18401830 */
18411831export interface BackupsBeginUpdateOptionalParams extends msRest . RequestOptionsBase {
18421832 /**
1843- * Resource tags
1844- */
1845- tags ?: { [ propertyName : string ] : string } ;
1846- /**
1847- * Label for backup
1833+ * Backup object supplied in the body of the operation.
18481834 */
1849- label ?: string ;
1835+ body ?: BackupPatch ;
18501836}
18511837
18521838/**
@@ -2043,6 +2029,14 @@ export type RelationshipStatus = 'Idle' | 'Transferring';
20432029 */
20442030export type MirrorState = 'Uninitialized' | 'Mirrored' | 'Broken' ;
20452031
2032+ /**
2033+ * Defines values for BackupType.
2034+ * Possible values include: 'Manual', 'Scheduled'
2035+ * @readonly
2036+ * @enum {string}
2037+ */
2038+ export type BackupType = 'Manual' | 'Scheduled' ;
2039+
20462040/**
20472041 * Contains response data for the list operation.
20482042 */
@@ -2804,9 +2798,9 @@ export type SnapshotPoliciesBeginUpdateResponse = SnapshotPolicy & {
28042798} ;
28052799
28062800/**
2807- * Contains response data for the get operation.
2801+ * Contains response data for the getStatus operation.
28082802 */
2809- export type VolumeBackupStatusGetResponse = BackupStatus & {
2803+ export type BackupsGetStatusResponse = BackupStatus & {
28102804 /**
28112805 * The underlying HTTP response.
28122806 */
@@ -2826,7 +2820,7 @@ export type VolumeBackupStatusGetResponse = BackupStatus & {
28262820/**
28272821 * Contains response data for the list operation.
28282822 */
2829- export type AccountBackupsListResponse = BackupsList & {
2823+ export type BackupsListResponse = BackupsList & {
28302824 /**
28312825 * The underlying HTTP response.
28322826 */
@@ -2846,7 +2840,7 @@ export type AccountBackupsListResponse = BackupsList & {
28462840/**
28472841 * Contains response data for the get operation.
28482842 */
2849- export type AccountBackupsGetResponse = Backup & {
2843+ export type BackupsGetResponse = Backup & {
28502844 /**
28512845 * The underlying HTTP response.
28522846 */
@@ -2864,9 +2858,9 @@ export type AccountBackupsGetResponse = Backup & {
28642858} ;
28652859
28662860/**
2867- * Contains response data for the list operation.
2861+ * Contains response data for the create operation.
28682862 */
2869- export type BackupsListResponse = BackupsList & {
2863+ export type BackupsCreateResponse = Backup & {
28702864 /**
28712865 * The underlying HTTP response.
28722866 */
@@ -2879,14 +2873,14 @@ export type BackupsListResponse = BackupsList & {
28792873 /**
28802874 * The response body as parsed JSON or XML
28812875 */
2882- parsedBody : BackupsList ;
2876+ parsedBody : Backup ;
28832877 } ;
28842878} ;
28852879
28862880/**
2887- * Contains response data for the get operation.
2881+ * Contains response data for the update operation.
28882882 */
2889- export type BackupsGetResponse = Backup & {
2883+ export type BackupsUpdateResponse = Backup & {
28902884 /**
28912885 * The underlying HTTP response.
28922886 */
@@ -2904,9 +2898,9 @@ export type BackupsGetResponse = Backup & {
29042898} ;
29052899
29062900/**
2907- * Contains response data for the create operation.
2901+ * Contains response data for the beginCreate operation.
29082902 */
2909- export type BackupsCreateResponse = Backup & {
2903+ export type BackupsBeginCreateResponse = Backup & {
29102904 /**
29112905 * The underlying HTTP response.
29122906 */
@@ -2924,9 +2918,9 @@ export type BackupsCreateResponse = Backup & {
29242918} ;
29252919
29262920/**
2927- * Contains response data for the update operation.
2921+ * Contains response data for the beginUpdate operation.
29282922 */
2929- export type BackupsUpdateResponse = Backup & {
2923+ export type BackupsBeginUpdateResponse = Backup & {
29302924 /**
29312925 * The underlying HTTP response.
29322926 */
@@ -2944,9 +2938,9 @@ export type BackupsUpdateResponse = Backup & {
29442938} ;
29452939
29462940/**
2947- * Contains response data for the beginCreate operation.
2941+ * Contains response data for the list operation.
29482942 */
2949- export type BackupsBeginCreateResponse = Backup & {
2943+ export type AccountBackupsListResponse = BackupsList & {
29502944 /**
29512945 * The underlying HTTP response.
29522946 */
@@ -2959,14 +2953,14 @@ export type BackupsBeginCreateResponse = Backup & {
29592953 /**
29602954 * The response body as parsed JSON or XML
29612955 */
2962- parsedBody : Backup ;
2956+ parsedBody : BackupsList ;
29632957 } ;
29642958} ;
29652959
29662960/**
2967- * Contains response data for the beginUpdate operation.
2961+ * Contains response data for the get operation.
29682962 */
2969- export type BackupsBeginUpdateResponse = Backup & {
2963+ export type AccountBackupsGetResponse = Backup & {
29702964 /**
29712965 * The underlying HTTP response.
29722966 */
@@ -3083,6 +3077,26 @@ export type BackupPoliciesBeginCreateResponse = BackupPolicy & {
30833077 } ;
30843078} ;
30853079
3080+ /**
3081+ * Contains response data for the beginUpdate operation.
3082+ */
3083+ export type BackupPoliciesBeginUpdateResponse = BackupPolicy & {
3084+ /**
3085+ * The underlying HTTP response.
3086+ */
3087+ _response : msRest . HttpResponse & {
3088+ /**
3089+ * The response body as text (string format)
3090+ */
3091+ bodyAsText : string ;
3092+
3093+ /**
3094+ * The response body as parsed JSON or XML
3095+ */
3096+ parsedBody : BackupPolicy ;
3097+ } ;
3098+ } ;
3099+
30863100/**
30873101 * Contains response data for the list operation.
30883102 */
0 commit comments