Skip to content

Commit

Permalink
CodeGen from PR 30043 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 6954dcb9654b7fbdb902c9b30239a208bff565e5 into b67274cc1916170502f17ffabac0b46c4620918e
  • Loading branch information
SDKAuto committed Aug 23, 2024
1 parent fc2be76 commit 7876707
Show file tree
Hide file tree
Showing 125 changed files with 3,185 additions and 3,094 deletions.
181 changes: 177 additions & 4 deletions sdk/nginx/azure-resourcemanager-nginx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,187 @@
# Release History

## 1.1.0-beta.2 (Unreleased)
## 1.0.0-beta.1 (2024-08-23)

- Azure Resource Manager Nginx client library for Java. This package contains Microsoft Azure SDK for Nginx Management SDK. Package tag package-2024-06-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

### Breaking Changes
* `models.AnalysisCreateConfig` was added

* `models.ScaleProfileCapacity` was added

* `models.WebApplicationFirewallSettings` was added

* `models.AnalysisDiagnostic` was added

* `models.NginxDeploymentPropertiesNginxAppProtect` was added

* `models.NginxCertificateErrorResponseBody` was added

* `models.WebApplicationFirewallComponentVersions` was added

* `models.WebApplicationFirewallStatus` was added

* `models.ActivationState` was added

* `models.WebApplicationFirewallPackage` was added

* `models.AutoUpgradeProfile` was added

* `models.NginxDeploymentUpdatePropertiesNginxAppProtect` was added

* `models.AnalysisCreate` was added

* `models.ScaleProfile` was added

* `models.AnalysisResultData` was added

* `models.AnalysisResult` was added

#### `models.IdentityProperties` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.OperationListResult` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.NginxConfigurationFile` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.UserIdentityProperties` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.NginxNetworkInterfaceConfiguration` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.NginxDeploymentListResponse` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.NginxDeploymentScalingProperties` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added
* `profiles()` was added
* `withProfiles(java.util.List)` was added

#### `models.NginxConfigurationListResponse` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.NginxDeploymentUpdateParameters` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.NginxFrontendIpConfiguration` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.Configurations` was modified

* `analysis(java.lang.String,java.lang.String,java.lang.String)` was added
* `analysisWithResponse(java.lang.String,java.lang.String,java.lang.String,models.AnalysisCreate,com.azure.core.util.Context)` was added

#### `models.OperationDisplay` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.NginxDeploymentUserProfile` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.NginxPublicIpAddress` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.NginxConfigurationPackage` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.NginxDeploymentUpdateProperties` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `withAutoUpgradeProfile(models.AutoUpgradeProfile)` was added
* `withNginxAppProtect(models.NginxDeploymentUpdatePropertiesNginxAppProtect)` was added
* `autoUpgradeProfile()` was added
* `fromJson(com.azure.json.JsonReader)` was added
* `nginxAppProtect()` was added

#### `models.NginxLogging` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.NginxDeploymentProperties` was modified

* `withNginxAppProtect(models.NginxDeploymentPropertiesNginxAppProtect)` was added
* `nginxAppProtect()` was added
* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added
* `autoUpgradeProfile()` was added
* `withAutoUpgradeProfile(models.AutoUpgradeProfile)` was added

#### `models.ResourceSku` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.NginxCertificateProperties` was modified

* `keyVaultSecretCreated()` was added
* `keyVaultSecretVersion()` was added
* `sha1Thumbprint()` was added
* `toJson(com.azure.json.JsonWriter)` was added
* `withCertificateError(models.NginxCertificateErrorResponseBody)` was added
* `certificateError()` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.NginxNetworkProfile` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.NginxStorageAccount` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

#### `models.NginxCertificateListResponse` was modified

* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

#### `models.NginxConfiguration` was modified

* `analysis()` was added
* `analysisWithResponse(models.AnalysisCreate,com.azure.core.util.Context)` was added

#### `models.NginxConfigurationProperties` was modified

* `fromJson(com.azure.json.JsonReader)` was added
* `toJson(com.azure.json.JsonWriter)` was added

### Bugs Fixed
#### `models.NginxPrivateIpAddress` was modified

### Other Changes
* `toJson(com.azure.json.JsonWriter)` was added
* `fromJson(com.azure.json.JsonReader)` was added

## 1.1.0-beta.1 (2024-05-20)

Expand Down
15 changes: 6 additions & 9 deletions sdk/nginx/azure-resourcemanager-nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager Nginx client library for Java.

This package contains Microsoft Azure SDK for Nginx Management SDK. Package tag package-2024-01-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for Nginx Management SDK. Package tag package-2024-06-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-nginx</artifactId>
<version>1.1.0-beta.1</version>
<version>1.1.0-beta.2</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand All @@ -45,15 +45,11 @@ Azure Management Libraries require a `TokenCredential` implementation for authen

### Authentication

By default, Microsoft Entra ID token authentication depends on correct configuration of the following environment variables.
Microsoft Entra ID token authentication relies on the [credential class][azure_identity_credentials] from [Azure Identity][azure_identity] package.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment variable.

In addition, Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment variable.

With above configuration, `azure` client can be authenticated using the following code:
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:

```java
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
Expand Down Expand Up @@ -97,6 +93,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
[azure_subscription]: https://azure.microsoft.com/free/
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/identity/azure-identity#credentials
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
Expand Down
Loading

0 comments on commit 7876707

Please sign in to comment.