Skip to content

Commit

Permalink
CodeGen from PR 15548 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Web ant94 2021 02 01 attempt 2 (Azure#15548)

* Adds base for updating Microsoft.Web from version stable/2021-01-15 to version 2021-02-01

* Updates readme

* Updates API version in new specs and examples

* Changes for api-version 2012-02-01 (Azure#15545)

* Address PR comments - AppServiceCertificateOrders (Azure#15561)

* Changes for api-version 2012-02-01

* Address PR comments - AppServiceCertificatesOrder

* Fix spelling issue

* Fix summary+description for GET siteseal

* Add reseller to custom words

* Make DedicatedHostCount R/W (Azure#15580)

Co-authored-by: Chris Chen <[email protected]>
  • Loading branch information
SDKAuto and cschen13 committed Aug 11, 2021
1 parent 3b51a6e commit 8dad3b7
Show file tree
Hide file tree
Showing 37 changed files with 31,464 additions and 40,162 deletions.
11 changes: 4 additions & 7 deletions sdk/appservice/arm-appservice/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## Azure WebSiteManagementClient SDK for JavaScript

This package contains an isomorphic SDK (runs both in Node.js and in browsers) for WebSiteManagementClient.
This package contains an isomorphic SDK (runs both in node.js and in browsers) for WebSiteManagementClient.

### Currently supported environments

- [LTS versions of Node.js](https://nodejs.org/about/releases/)
- Latest versions of Safari, Chrome, Edge, and Firefox.
- Latest versions of Safari, Chrome, Edge and Firefox.

### Prerequisites

Expand All @@ -21,7 +21,6 @@ Install both packages using the below command:
```bash
npm install --save @azure/arm-appservice @azure/identity
```

> **Note**: You may have used either `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` in the past. These packages are in maintenance mode receiving critical bug fixes, but no new features.
If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/), or are writing a client side browser application, we strongly encourage you to upgrade to `@azure/identity` which uses the latest versions of Azure Active Directory and MSAL APIs and provides more authentication options.

Expand All @@ -37,7 +36,6 @@ If you are on a [Node.js that has LTS status](https://nodejs.org/about/releases/

In the below samples, we pass the credential and the Azure subscription id to instantiate the client.
Once the client is created, explore the operations on it either in your favorite editor or in our [API reference documentation](https://docs.microsoft.com/javascript/api) to get started.

#### nodejs - Authentication, client creation, and list appServiceCertificateOrders as an example written in JavaScript.

##### Sample code
Expand All @@ -51,7 +49,6 @@ const subscriptionId = process.env["AZURE_SUBSCRIPTION_ID"];
// Please note that you can also use credentials from the `@azure/ms-rest-nodeauth` package instead.
const creds = new DefaultAzureCredential();
const client = new WebSiteManagementClient(creds, subscriptionId);

client.appServiceCertificateOrders.list().then((result) => {
console.log("The result is:");
console.log(result);
Expand Down Expand Up @@ -86,7 +83,7 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t
const credential = new InteractiveBrowserCredential(
{
clientId: "<client id for your Azure AD app>",
tenantId: "<optional tenant for your organization>"
tenant: "<optional tenant for your organization>"
});
const client = new Azure.ArmAppservice.WebSiteManagementClient(creds, subscriptionId);
client.appServiceCertificateOrders.list().then((result) => {
Expand All @@ -106,4 +103,4 @@ In browser applications, we recommend using the `InteractiveBrowserCredential` t

- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/.\sdk\appservice\arm-appservice\/README.png)
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js/sdk/appservice/arm-appservice/README.png)
2 changes: 1 addition & 1 deletion sdk/appservice/arm-appservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/appservice/arm-appservice",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appservice/arm-appservice",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export {
Address,
AddressResponse,
AllowedAudiencesValidation,
AllowedPrincipals,
AnalysisData,
AnalysisDefinition,
ApiDefinitionInfo,
Expand All @@ -22,6 +23,7 @@ export {
ApplicationLogsConfig,
ApplicationStack,
ApplicationStackResource,
AppLogsConfiguration,
AppRegistration,
AppServiceCertificate,
AppServiceCertificateCollection,
Expand All @@ -34,6 +36,7 @@ export {
AppServiceEnvironmentResource,
AppServicePlan,
AppServicePlanPatchResource,
ArcConfiguration,
ArmIdWrapper,
ArmPlan,
AseV3NetworkingConfiguration,
Expand Down Expand Up @@ -81,7 +84,6 @@ export {
ContinuousWebJob,
CookieExpiration,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CustomHostnameAnalysisResult,
CustomOpenIdConnectProvider,
Expand All @@ -90,6 +92,7 @@ export {
DataSource,
DataTableResponseColumn,
DataTableResponseObject,
DefaultAuthorizationPolicy,
DefaultErrorResponse,
DefaultErrorResponseError,
DefaultErrorResponseErrorDetailsItem,
Expand All @@ -98,6 +101,7 @@ export {
Deployment,
DetectorAbnormalTimePeriod,
DetectorDefinition,
DetectorDefinitionResource,
DetectorInfo,
DetectorResponse,
DiagnosticAnalysis,
Expand All @@ -113,11 +117,13 @@ export {
EnabledConfig,
ErrorEntity,
Experiments,
ExtendedLocation,
Facebook,
FileSystemApplicationLogsConfig,
FileSystemHttpLogsConfig,
FileSystemTokenStore,
ForwardProxy,
FrontEndConfiguration,
FunctionAppMajorVersion,
FunctionAppMinorVersion,
FunctionAppRuntimes,
Expand Down Expand Up @@ -148,14 +154,16 @@ export {
IpSecurityRestriction,
JwtClaimChecks,
KeyValuePairStringObject,
KubeEnvironment,
KubeEnvironmentPatchResource,
KubeEnvironmentProfile,
LegacyMicrosoftAccount,
LinuxJavaContainerSettings,
LogAnalyticsConfiguration,
Login,
LoginRoutes,
LoginScopes,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MigrateMySqlRequest,
MigrateMySqlStatus,
MSDeploy,
Expand Down Expand Up @@ -268,12 +276,14 @@ export {
TwitterRegistration,
Usage,
User,
UserAssignedIdentity,
VirtualApplication,
VirtualDirectory,
VirtualIPMapping,
VirtualNetworkProfile,
VnetGateway,
VnetInfo,
VnetInfoResource,
VnetParameters,
VnetRoute,
VnetValidationFailureDetails,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export {
Address,
AddressResponse,
AllowedAudiencesValidation,
AllowedPrincipals,
AnalysisData,
AnalysisDefinition,
ApiDefinitionInfo,
Expand All @@ -22,6 +23,7 @@ export {
ApplicationLogsConfig,
ApplicationStack,
ApplicationStackResource,
AppLogsConfiguration,
AppRegistration,
AppServiceCertificate,
AppServiceCertificateOrder,
Expand All @@ -34,6 +36,7 @@ export {
AppServicePlan,
AppServicePlanCollection,
AppServicePlanPatchResource,
ArcConfiguration,
ArmIdWrapper,
ArmPlan,
AseV3NetworkingConfiguration,
Expand Down Expand Up @@ -81,7 +84,6 @@ export {
ContinuousWebJob,
CookieExpiration,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CsmUsageQuota,
CsmUsageQuotaCollection,
Expand All @@ -92,6 +94,7 @@ export {
DataSource,
DataTableResponseColumn,
DataTableResponseObject,
DefaultAuthorizationPolicy,
DefaultErrorResponse,
DefaultErrorResponseError,
DefaultErrorResponseErrorDetailsItem,
Expand All @@ -100,6 +103,7 @@ export {
Deployment,
DetectorAbnormalTimePeriod,
DetectorDefinition,
DetectorDefinitionResource,
DetectorInfo,
DetectorResponse,
DiagnosticAnalysis,
Expand All @@ -117,11 +121,13 @@ export {
EndpointDetail,
ErrorEntity,
Experiments,
ExtendedLocation,
Facebook,
FileSystemApplicationLogsConfig,
FileSystemHttpLogsConfig,
FileSystemTokenStore,
ForwardProxy,
FrontEndConfiguration,
FunctionAppMajorVersion,
FunctionAppMinorVersion,
FunctionAppRuntimes,
Expand Down Expand Up @@ -155,15 +161,17 @@ export {
IpSecurityRestriction,
JwtClaimChecks,
KeyValuePairStringObject,
KubeEnvironment,
KubeEnvironmentPatchResource,
KubeEnvironmentProfile,
LegacyMicrosoftAccount,
LinuxJavaContainerSettings,
LocalizableString,
LogAnalyticsConfiguration,
Login,
LoginRoutes,
LoginScopes,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MigrateMySqlRequest,
MigrateMySqlStatus,
MSDeploy,
Expand Down Expand Up @@ -286,12 +294,14 @@ export {
Usage,
UsageCollection,
User,
UserAssignedIdentity,
VirtualApplication,
VirtualDirectory,
VirtualIPMapping,
VirtualNetworkProfile,
VnetGateway,
VnetInfo,
VnetInfoResource,
VnetParameters,
VnetRoute,
VnetValidationFailureDetails,
Expand Down
14 changes: 12 additions & 2 deletions sdk/appservice/arm-appservice/src/models/appServicePlansMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export {
Address,
AddressResponse,
AllowedAudiencesValidation,
AllowedPrincipals,
AnalysisData,
AnalysisDefinition,
ApiDefinitionInfo,
Expand All @@ -22,6 +23,7 @@ export {
ApplicationLogsConfig,
ApplicationStack,
ApplicationStackResource,
AppLogsConfiguration,
AppRegistration,
AppServiceCertificate,
AppServiceCertificateOrder,
Expand All @@ -33,6 +35,7 @@ export {
AppServicePlan,
AppServicePlanCollection,
AppServicePlanPatchResource,
ArcConfiguration,
ArmIdWrapper,
ArmPlan,
AseV3NetworkingConfiguration,
Expand Down Expand Up @@ -80,7 +83,6 @@ export {
ContinuousWebJob,
CookieExpiration,
CorsSettings,
CsmPublishingCredentialsPoliciesCollection,
CsmPublishingCredentialsPoliciesEntity,
CsmUsageQuota,
CsmUsageQuotaCollection,
Expand All @@ -91,6 +93,7 @@ export {
DataSource,
DataTableResponseColumn,
DataTableResponseObject,
DefaultAuthorizationPolicy,
DefaultErrorResponse,
DefaultErrorResponseError,
DefaultErrorResponseErrorDetailsItem,
Expand All @@ -99,6 +102,7 @@ export {
Deployment,
DetectorAbnormalTimePeriod,
DetectorDefinition,
DetectorDefinitionResource,
DetectorInfo,
DetectorResponse,
DiagnosticAnalysis,
Expand All @@ -114,11 +118,13 @@ export {
EnabledConfig,
ErrorEntity,
Experiments,
ExtendedLocation,
Facebook,
FileSystemApplicationLogsConfig,
FileSystemHttpLogsConfig,
FileSystemTokenStore,
ForwardProxy,
FrontEndConfiguration,
FunctionAppMajorVersion,
FunctionAppMinorVersion,
FunctionAppRuntimes,
Expand Down Expand Up @@ -150,15 +156,17 @@ export {
IpSecurityRestriction,
JwtClaimChecks,
KeyValuePairStringObject,
KubeEnvironment,
KubeEnvironmentPatchResource,
KubeEnvironmentProfile,
LegacyMicrosoftAccount,
LinuxJavaContainerSettings,
LocalizableString,
LogAnalyticsConfiguration,
Login,
LoginRoutes,
LoginScopes,
ManagedServiceIdentity,
ManagedServiceIdentityUserAssignedIdentitiesValue,
MigrateMySqlRequest,
MigrateMySqlStatus,
MSDeploy,
Expand Down Expand Up @@ -269,12 +277,14 @@ export {
TwitterRegistration,
Usage,
User,
UserAssignedIdentity,
VirtualApplication,
VirtualDirectory,
VirtualIPMapping,
VirtualNetworkProfile,
VnetGateway,
VnetInfo,
VnetInfoResource,
VnetParameters,
VnetRoute,
VnetValidationFailureDetails,
Expand Down
Loading

0 comments on commit 8dad3b7

Please sign in to comment.