Skip to content

Commit

Permalink
CodeGen from PR 32042 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 00cf052494b614e29a96713607a55be2187646ba into b6075dbc2321933382ea91c787ee62c6bdb87e5d
  • Loading branch information
SDKAuto committed Jan 10, 2025
1 parent f901afa commit adfb5d5
Show file tree
Hide file tree
Showing 82 changed files with 2,062 additions and 573 deletions.
56 changes: 31 additions & 25 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 68 additions & 7 deletions sdk/nginx/arm-nginx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,76 @@
# Release History

## 4.0.0-beta.2 (Unreleased)


## 4.0.0-beta.2 (2025-01-10)
Compared with version 3.0.0

### Features Added

### Breaking Changes

### Bugs Fixed
- Added operation group ApiKeys
- Added operation Configurations.analysis
- Added Interface AnalysisCreate
- Added Interface AnalysisCreateConfig
- Added Interface AnalysisDiagnostic
- Added Interface AnalysisResult
- Added Interface AnalysisResultData
- Added Interface ApiKeysCreateOrUpdateOptionalParams
- Added Interface ApiKeysDeleteOptionalParams
- Added Interface ApiKeysGetOptionalParams
- Added Interface ApiKeysListNextOptionalParams
- Added Interface ApiKeysListOptionalParams
- Added Interface AutoUpgradeProfile
- Added Interface ConfigurationsAnalysisOptionalParams
- Added Interface DiagnosticItem
- Added Interface ErrorAdditionalInfo
- Added Interface ErrorDetail
- Added Interface ErrorResponse
- Added Interface NginxCertificateErrorResponseBody
- Added Interface NginxConfigurationProtectedFileRequest
- Added Interface NginxConfigurationProtectedFileResponse
- Added Interface NginxConfigurationRequest
- Added Interface NginxConfigurationRequestProperties
- Added Interface NginxConfigurationResponse
- Added Interface NginxConfigurationResponseProperties
- Added Interface NginxDeploymentApiKeyListResponse
- Added Interface NginxDeploymentApiKeyRequest
- Added Interface NginxDeploymentApiKeyRequestProperties
- Added Interface NginxDeploymentApiKeyResponse
- Added Interface NginxDeploymentApiKeyResponseProperties
- Added Interface NginxDeploymentPropertiesNginxAppProtect
- Added Interface NginxDeploymentUpdatePropertiesNginxAppProtect
- Added Interface ScaleProfile
- Added Interface ScaleProfileCapacity
- Added Interface WebApplicationFirewallComponentVersions
- Added Interface WebApplicationFirewallPackage
- Added Interface WebApplicationFirewallSettings
- Added Interface WebApplicationFirewallStatus
- Added Type Alias ActivationState
- Added Type Alias ApiKeysCreateOrUpdateResponse
- Added Type Alias ApiKeysGetResponse
- Added Type Alias ApiKeysListNextResponse
- Added Type Alias ApiKeysListResponse
- Added Type Alias ConfigurationsAnalysisResponse
- Added Type Alias Level
- Interface NginxCertificateProperties has a new optional parameter certificateError
- Interface NginxCertificateProperties has a new optional parameter keyVaultSecretCreated
- Interface NginxCertificateProperties has a new optional parameter keyVaultSecretVersion
- Interface NginxCertificateProperties has a new optional parameter sha1Thumbprint
- Interface NginxDeploymentProperties has a new optional parameter autoUpgradeProfile
- Interface NginxDeploymentProperties has a new optional parameter dataplaneApiEndpoint
- Interface NginxDeploymentProperties has a new optional parameter nginxAppProtect
- Interface NginxDeploymentScalingProperties has a new optional parameter profiles
- Interface NginxDeploymentUpdateProperties has a new optional parameter autoUpgradeProfile
- Interface NginxDeploymentUpdateProperties has a new optional parameter networkProfile
- Interface NginxDeploymentUpdateProperties has a new optional parameter nginxAppProtect
- Added Enum KnownActivationState
- Added Enum KnownLevel

### Other Changes
### Breaking Changes

- Interface NginxDeploymentProperties no longer has parameter managedResourceGroup
- Type of parameter body of interface ConfigurationsCreateOrUpdateOptionalParams is changed from NginxConfiguration to NginxConfigurationRequest
- Type of parameter value of interface NginxConfigurationListResponse is changed from NginxConfiguration[] to NginxConfigurationResponse[]


## 4.0.0-beta.1 (2024-03-18)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/nginx/arm-nginx/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 Microsoft
Copyright (c) 2025 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
11 changes: 6 additions & 5 deletions sdk/nginx/arm-nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure NginxManagement client.



[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/nginx/arm-nginx) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-nginx) |
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-nginx?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-nginx?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down Expand Up @@ -42,9 +44,8 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure NginxManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.

For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

```javascript
const { NginxManagementClient } = require("@azure/arm-nginx");
Expand All @@ -62,8 +63,8 @@ const client = new NginxManagementClient(new DefaultAzureCredential(), subscript
// const client = new NginxManagementClient(credential, subscriptionId);
```

### JavaScript Bundle

### JavaScript Bundle
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

## Key concepts
Expand Down Expand Up @@ -99,7 +100,7 @@ If you'd like to contribute to this library, please read the [contributing guide

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fnginx%2Farm-nginx%2FREADME.png)

[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_cli]: https://docs.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
[azure_portal]: https://portal.azure.com
Expand Down
8 changes: 4 additions & 4 deletions sdk/nginx/arm-nginx/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "9fb75a3c4ca9b753271bd6db2e42e5f98366cbae",
"commit": "46e4eb1f319158430eb9ebe4789bb6bff84e72d0",
"readme": "specification/nginx/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\nginx\\resource-manager\\readme.md --use=@autorest/[email protected].17 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/nginx/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].4",
"use": "@autorest/[email protected].17"
"release_tool": "@azure-tools/[email protected].18",
"use": "@autorest/typescript@^6.0.12"
}
Loading

0 comments on commit adfb5d5

Please sign in to comment.