Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class DeletedAppRestoreRequest extends models['ProxyOnlyResource'] {
* @member {string} [snapshotTime] Point in time to restore the deleted app
* from, formatted as a DateTime string.
* If unspecified, default value is the time that the app was deleted.
* @member {boolean} [useDRSecondary] If true, the snapshot is retrieved from
* DRSecondary endpoint.
*/
constructor() {
super();
Expand Down Expand Up @@ -98,6 +100,13 @@ class DeletedAppRestoreRequest extends models['ProxyOnlyResource'] {
type: {
name: 'String'
}
},
useDRSecondary: {
required: false,
serializedName: 'properties.useDRSecondary',
type: {
name: 'Boolean'
}
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions lib/services/websiteManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4540,11 +4540,14 @@ export interface CustomHostnameAnalysisResult extends ProxyOnlyResource {
* @member {string} [snapshotTime] Point in time to restore the deleted app
* from, formatted as a DateTime string.
* If unspecified, default value is the time that the app was deleted.
* @member {boolean} [useDRSecondary] If true, the snapshot is retrieved from
* DRSecondary endpoint.
*/
export interface DeletedAppRestoreRequest extends ProxyOnlyResource {
deletedSiteId?: string;
recoverConfiguration?: boolean;
snapshotTime?: string;
useDRSecondary?: boolean;
}

/**
Expand Down Expand Up @@ -6247,13 +6250,16 @@ export interface SnapshotRecoverySource {
* @member {boolean} [ignoreConflictingHostNames] If true, custom hostname
* conflicts will be ignored when recovering to a target web app.
* This setting is only necessary when RecoverConfiguration is enabled.
* @member {boolean} [useDRSecondary] If true, the snapshot is retrieved from
* DRSecondary endpoint.
*/
export interface SnapshotRestoreRequest extends ProxyOnlyResource {
snapshotTime?: string;
recoverySource?: SnapshotRecoverySource;
overwrite: boolean;
recoverConfiguration?: boolean;
ignoreConflictingHostNames?: boolean;
useDRSecondary?: boolean;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ class SnapshotRestoreRequest extends models['ProxyOnlyResource'] {
* @member {boolean} [ignoreConflictingHostNames] If true, custom hostname
* conflicts will be ignored when recovering to a target web app.
* This setting is only necessary when RecoverConfiguration is enabled.
* @member {boolean} [useDRSecondary] If true, the snapshot is retrieved from
* DRSecondary endpoint.
*/
constructor() {
super();
Expand Down Expand Up @@ -124,6 +126,13 @@ class SnapshotRestoreRequest extends models['ProxyOnlyResource'] {
type: {
name: 'Boolean'
}
},
useDRSecondary: {
required: false,
serializedName: 'properties.useDRSecondary',
type: {
name: 'Boolean'
}
}
}
}
Expand Down
Loading