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
2 changes: 1 addition & 1 deletion lib/services/websiteManagement2/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions lib/services/websiteManagement2/lib/models/analysisData.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class AnalysisData {
* @member {array} [data] Additional Source Data
* @member {object} [detectorMetaData] Detector Meta Data
* @member {object} [detectorMetaData.dataSource] Source of the Data
* @member {array} [detectorMetaData.dataSource.instructions] Instrunctions
* if any for the data source
* @member {array} [detectorMetaData.dataSource.instructions] Instructions if
* any for the data source
* @member {array} [detectorMetaData.dataSource.dataSourceUri] Datasource Uri
* Links
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

/**
* Collection of certitificateorder certificates.
* Collection of certificate order certificates.
*/
class AppServiceCertificateCollection extends Array {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

/**
* Collection of certitificate orders.
* Collection of certificate orders.
*/
class AppServiceCertificateOrderCollection extends Array {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
const models = require('./index');

/**
* ARM resource for a app service enviroment.
* ARM resource for a app service environment.
*
* @extends models['ProxyOnlyResource']
*/
Expand Down
8 changes: 0 additions & 8 deletions lib/services/websiteManagement2/lib/models/appServicePlan.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class AppServicePlan extends models['Resource'] {
* @member {string} [status] App Service plan status. Possible values
* include: 'Ready', 'Pending', 'Creating'
* @member {string} [subscription] App Service plan subscription.
* @member {string} [adminSiteName] App Service plan administration site.
* @member {object} [hostingEnvironmentProfile] Specification for the App
* Service Environment to use for the App Service plan.
* @member {string} [hostingEnvironmentProfile.id] Resource ID of the App
Expand Down Expand Up @@ -180,13 +179,6 @@ class AppServicePlan extends models['Resource'] {
name: 'String'
}
},
adminSiteName: {
required: false,
serializedName: 'properties.adminSiteName',
type: {
name: 'String'
}
},
hostingEnvironmentProfile: {
required: false,
serializedName: 'properties.hostingEnvironmentProfile',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class AppServicePlanPatchResource extends models['ProxyOnlyResource'] {
* @member {string} [status] App Service plan status. Possible values
* include: 'Ready', 'Pending', 'Creating'
* @member {string} [subscription] App Service plan subscription.
* @member {string} [adminSiteName] App Service plan administration site.
* @member {object} [hostingEnvironmentProfile] Specification for the App
* Service Environment to use for the App Service plan.
* @member {string} [hostingEnvironmentProfile.id] Resource ID of the App
Expand Down Expand Up @@ -139,13 +138,6 @@ class AppServicePlanPatchResource extends models['ProxyOnlyResource'] {
name: 'String'
}
},
adminSiteName: {
required: false,
serializedName: 'properties.adminSiteName',
type: {
name: 'String'
}
},
hostingEnvironmentProfile: {
required: false,
serializedName: 'properties.hostingEnvironmentProfile',
Expand Down
2 changes: 1 addition & 1 deletion lib/services/websiteManagement2/lib/models/certificate.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Certificate extends models['Resource'] {
* @member {string} [selfLink] Self link.
* @member {string} [issuer] Certificate issuer.
* @member {date} [issueDate] Certificate issue Date.
* @member {date} [expirationDate] Certificate expriration date.
* @member {date} [expirationDate] Certificate expiration date.
* @member {string} password Certificate password.
* @member {string} [thumbprint] Certificate thumbprint.
* @member {boolean} [valid] Is the certificate valid?.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class CertificatePatchResource extends models['ProxyOnlyResource'] {
* @member {string} [selfLink] Self link.
* @member {string} [issuer] Certificate issuer.
* @member {date} [issueDate] Certificate issue Date.
* @member {date} [expirationDate] Certificate expriration date.
* @member {date} [expirationDate] Certificate expiration date.
* @member {string} password Certificate password.
* @member {string} [thumbprint] Certificate thumbprint.
* @member {boolean} [valid] Is the certificate valid?.
Expand Down
11 changes: 11 additions & 0 deletions lib/services/websiteManagement2/lib/models/corsSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ class CorsSettings {
* @member {array} [allowedOrigins] Gets or sets the list of origins that
* should be allowed to make cross-origin
* calls (for example: http://example.com:12345). Use "*" to allow all.
* @member {boolean} [supportCredentials] Gets or sets whether CORS requests
* with credentials are allowed. See
* https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials
* for more details.
*/
constructor() {
}
Expand Down Expand Up @@ -51,6 +55,13 @@ class CorsSettings {
}
}
}
},
supportCredentials: {
required: false,
serializedName: 'supportCredentials',
type: {
name: 'Boolean'
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class CsmUsageQuota {
/**
* Create a CsmUsageQuota.
* @member {string} [unit] Units of measurement for the quota resourse.
* @member {string} [unit] Units of measurement for the quota resource.
* @member {date} [nextResetTime] Next reset time for the resource counter.
* @member {number} [currentValue] The current value of the resource counter.
* @member {number} [limit] The resource limit.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class CustomHostnameAnalysisResult extends models['ProxyOnlyResource'] {
* @member {boolean} [hasConflictOnScaleUnit] <code>true</code> if there is a
* conflict on a scale unit; otherwise, <code>false</code>.
* @member {boolean} [hasConflictAcrossSubscription] <code>true</code> if
* htere is a conflict across subscriptions; otherwise, <code>false</code>.
* there is a conflict across subscriptions; otherwise, <code>false</code>.
* @member {string} [conflictingAppResourceId] Name of the conflicting app on
* scale unit if it's within the same subscription.
* @member {array} [cNameRecords] CName records controller can see for this
Expand Down
2 changes: 1 addition & 1 deletion lib/services/websiteManagement2/lib/models/dataSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class DataSource {
/**
* Create a DataSource.
* @member {array} [instructions] Instrunctions if any for the data source
* @member {array} [instructions] Instructions if any for the data source
* @member {array} [dataSourceUri] Datasource Uri Links
*/
constructor() {
Expand Down
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
2 changes: 1 addition & 1 deletion lib/services/websiteManagement2/lib/models/deployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
const models = require('./index');

/**
* User crendentials used for publishing activity.
* User credentials used for publishing activity.
*
* @extends models['ProxyOnlyResource']
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class DetectorAbnormalTimePeriod {
/**
* Create a DetectorAbnormalTimePeriod.
* @member {date} [startTime] Start time of the corelated event
* @member {date} [endTime] End time of the corelated event
* @member {date} [startTime] Start time of the correlated event
* @member {date} [endTime] End time of the correlated event
* @member {string} [message] Message describing the event
* @member {string} [source] Represents the name of the Detector
* @member {number} [priority] Represents the rank of the Detector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
const models = require('./index');

/**
* Class representing Reponse from Diagnostic Detectors
* Class representing Response from Diagnostic Detectors
*
* @extends models['ProxyOnlyResource']
*/
Expand All @@ -37,8 +37,8 @@ class DiagnosticDetectorResponse extends models['ProxyOnlyResource'] {
* @member {array} [data] Additional Data that detector wants to send.
* @member {object} [responseMetaData] Meta Data
* @member {object} [responseMetaData.dataSource] Source of the Data
* @member {array} [responseMetaData.dataSource.instructions] Instrunctions
* if any for the data source
* @member {array} [responseMetaData.dataSource.instructions] Instructions if
* any for the data source
* @member {array} [responseMetaData.dataSource.dataSourceUri] Datasource Uri
* Links
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

/**
* Domain availablility check result.
* Domain availability check result.
*
*/
class DomainAvailablilityCheckResult {
Expand Down
60 changes: 60 additions & 0 deletions lib/services/websiteManagement2/lib/models/geoDistribution.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

/**
* A global distribution definition.
*
*/
class GeoDistribution {
/**
* Create a GeoDistribution.
* @member {string} [location] Location.
* @member {number} [numberOfWorkers] NumberOfWorkers.
*/
constructor() {
}

/**
* Defines the metadata of GeoDistribution
*
* @returns {object} metadata of GeoDistribution
*
*/
mapper() {
return {
required: false,
serializedName: 'GeoDistribution',
type: {
name: 'Composite',
className: 'GeoDistribution',
modelProperties: {
location: {
required: false,
serializedName: 'location',
type: {
name: 'String'
}
},
numberOfWorkers: {
required: false,
serializedName: 'numberOfWorkers',
type: {
name: 'Number'
}
}
}
}
};
}
}

module.exports = GeoDistribution;
Loading