Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Generated from 900b6c8ae4554a88ce344bd2fd77e81b39426d75 (#4083)
Browse files Browse the repository at this point in the history
Add GeoRegion property to DeletedSite model
  • Loading branch information
AutorestCI authored Nov 13, 2018
1 parent 8f2c776 commit c1ca4a5
Show file tree
Hide file tree
Showing 6 changed files with 1,589 additions and 218 deletions.
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
9 changes: 9 additions & 0 deletions lib/services/websiteManagement2/lib/models/deletedSite.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class DeletedSite extends models['ProxyOnlyResource'] {
* @member {string} [deletedSiteName] Name of the deleted site
* @member {string} [slot] Slot of the deleted site
* @member {string} [deletedSiteKind] Kind of site that was deleted
* @member {string} [geoRegionName] Geo Region of the deleted site
*/
constructor() {
super();
Expand Down Expand Up @@ -133,6 +134,14 @@ class DeletedSite extends models['ProxyOnlyResource'] {
type: {
name: 'String'
}
},
geoRegionName: {
required: false,
readOnly: true,
serializedName: 'properties.geoRegionName',
type: {
name: 'String'
}
}
}
}
Expand Down
8 changes: 8 additions & 0 deletions lib/services/websiteManagement2/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,7 @@ export interface HybridConnection extends ProxyOnlyResource {
* @member {string} [deletedSiteName] Name of the deleted site
* @member {string} [slot] Slot of the deleted site
* @member {string} [deletedSiteKind] Kind of site that was deleted
* @member {string} [geoRegionName] Geo Region of the deleted site
*/
export interface DeletedSite extends ProxyOnlyResource {
readonly deletedSiteId?: number;
Expand All @@ -668,6 +669,7 @@ export interface DeletedSite extends ProxyOnlyResource {
readonly deletedSiteName?: string;
readonly slot?: string;
readonly deletedSiteKind?: string;
readonly geoRegionName?: string;
}

/**
Expand Down Expand Up @@ -4540,11 +4542,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 +6252,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

0 comments on commit c1ca4a5

Please sign in to comment.