Skip to content
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
3 changes: 2 additions & 1 deletion common/config/rush/pnpm-lock.yaml

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

48 changes: 40 additions & 8 deletions sdk/nginx/arm-nginx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,47 @@
# Release History

## 4.0.0-beta.2 (2024-07-31)
Compared with version 3.0.0

**Features**

## 4.0.0-beta.2 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added operation Configurations.analysis
- Added Interface AnalysisCreate
- Added Interface AnalysisCreateConfig
- Added Interface AnalysisDiagnostic
- Added Interface AnalysisResult
- Added Interface AnalysisResultData
- Added Interface AutoUpgradeProfile
- Added Interface ConfigurationsAnalysisOptionalParams
- Added Interface ErrorAdditionalInfo
- Added Interface ErrorDetail
- Added Interface NginxCertificateErrorResponseBody
- 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 ConfigurationsAnalysisResponse
- 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 nginxAppProtect
- Interface NginxDeploymentScalingProperties has a new optional parameter profiles
- Interface NginxDeploymentUpdateProperties has a new optional parameter autoUpgradeProfile
- Interface NginxDeploymentUpdateProperties has a new optional parameter nginxAppProtect
- Added Enum KnownActivationState

### Other Changes
**Breaking Changes**

- Type of parameter error of interface ResourceProviderDefaultErrorResponse is changed from ErrorResponseBody to ErrorDetail


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

**Features**
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": "7d7195c0fd37c4e011addca6ad3e789fbe8e7454",
"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].10",
"use": "@autorest/typescript@^6.0.12"
}
19 changes: 6 additions & 13 deletions sdk/nginx/arm-nginx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^1.0.0",
"@azure/abort-controller": "^2.1.2",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.6.0",
Expand All @@ -35,11 +35,12 @@
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
Expand Down Expand Up @@ -105,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/nginx/arm-nginx",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-nginx?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/nginx/arm-nginx"
}
47 changes: 47 additions & 0 deletions sdk/nginx/arm-nginx/review/arm-nginx.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import { OperationState } from '@azure/core-lro';
import { PagedAsyncIterableIterator } from '@azure/core-paging';
import { SimplePollerLike } from '@azure/core-lro';

// @public
export type ActivationState = string;

// @public
export interface AnalysisCreate {
// (undocumented)
Expand Down Expand Up @@ -275,6 +278,12 @@ export interface IdentityProperties {
// @public
export type IdentityType = string;

// @public
export enum KnownActivationState {
Disabled = "Disabled",
Enabled = "Enabled"
}

// @public
export enum KnownCreatedByType {
Application = "Application",
Expand Down Expand Up @@ -439,13 +448,20 @@ export interface NginxDeploymentProperties {
managedResourceGroup?: string;
// (undocumented)
networkProfile?: NginxNetworkProfile;
nginxAppProtect?: NginxDeploymentPropertiesNginxAppProtect;
readonly nginxVersion?: string;
readonly provisioningState?: ProvisioningState;
scalingProperties?: NginxDeploymentScalingProperties;
// (undocumented)
userProfile?: NginxDeploymentUserProfile;
}

// @public
export interface NginxDeploymentPropertiesNginxAppProtect {
webApplicationFirewallSettings: WebApplicationFirewallSettings;
readonly webApplicationFirewallStatus?: WebApplicationFirewallStatus;
}

// @public
export interface NginxDeploymentScalingProperties {
// (undocumented)
Expand Down Expand Up @@ -476,11 +492,17 @@ export interface NginxDeploymentUpdateProperties {
enableDiagnosticsSupport?: boolean;
// (undocumented)
logging?: NginxLogging;
nginxAppProtect?: NginxDeploymentUpdatePropertiesNginxAppProtect;
scalingProperties?: NginxDeploymentScalingProperties;
// (undocumented)
userProfile?: NginxDeploymentUserProfile;
}

// @public
export interface NginxDeploymentUpdatePropertiesNginxAppProtect {
webApplicationFirewallSettings?: WebApplicationFirewallSettings;
}

// @public (undocumented)
export interface NginxDeploymentUserProfile {
preferredEmail?: string;
Expand Down Expand Up @@ -649,6 +671,31 @@ export interface UserIdentityProperties {
readonly principalId?: string;
}

// @public
export interface WebApplicationFirewallComponentVersions {
wafEngineVersion: string;
wafNginxVersion: string;
}

// @public
export interface WebApplicationFirewallPackage {
revisionDatetime: Date;
version: string;
}

// @public
export interface WebApplicationFirewallSettings {
activationState?: ActivationState;
}

// @public
export interface WebApplicationFirewallStatus {
readonly attackSignaturesPackage?: WebApplicationFirewallPackage;
readonly botSignaturesPackage?: WebApplicationFirewallPackage;
readonly componentVersions?: WebApplicationFirewallComponentVersions;
readonly threatCampaignsPackage?: WebApplicationFirewallPackage;
}

// (No @packageDocumentation comment for this package)

```
85 changes: 85 additions & 0 deletions sdk/nginx/arm-nginx/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ export interface NginxDeploymentProperties {
/** Autoupgrade settings of a deployment. */
autoUpgradeProfile?: AutoUpgradeProfile;
userProfile?: NginxDeploymentUserProfile;
/** Settings for NGINX App Protect (NAP) */
nginxAppProtect?: NginxDeploymentPropertiesNginxAppProtect;
}

export interface NginxNetworkProfile {
Expand Down Expand Up @@ -317,6 +319,63 @@ export interface NginxDeploymentUserProfile {
preferredEmail?: string;
}

/** Settings for NGINX App Protect (NAP) */
export interface NginxDeploymentPropertiesNginxAppProtect {
/** Settings for the NGINX App Protect Web Application Firewall (WAF) */
webApplicationFirewallSettings: WebApplicationFirewallSettings;
/**
* The status of the NGINX App Protect Web Application Firewall
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly webApplicationFirewallStatus?: WebApplicationFirewallStatus;
}

/** Settings for the NGINX App Protect Web Application Firewall (WAF) */
export interface WebApplicationFirewallSettings {
/** The activation state of the WAF. Use 'Enabled' to enable the WAF and 'Disabled' to disable it. */
activationState?: ActivationState;
}

/** The status of the NGINX App Protect Web Application Firewall */
export interface WebApplicationFirewallStatus {
/**
* Package containing attack signatures for the NGINX App Protect Web Application Firewall (WAF).
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly attackSignaturesPackage?: WebApplicationFirewallPackage;
/**
* Package containing bot signatures for the NGINX App Protect Web Application Firewall (WAF).
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly botSignaturesPackage?: WebApplicationFirewallPackage;
/**
* Package containing threat campaigns for the NGINX App Protect Web Application Firewall (WAF).
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly threatCampaignsPackage?: WebApplicationFirewallPackage;
/**
* Versions of the NGINX App Protect Web Application Firewall (WAF) components.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly componentVersions?: WebApplicationFirewallComponentVersions;
}

/** NGINX App Protect Web Application Firewall (WAF) Package. Contains the version and revision date of the package. */
export interface WebApplicationFirewallPackage {
/** The version of the NGINX App Protect Web Application Firewall (WAF) package. */
version: string;
/** The date and time of the package revision. */
revisionDatetime: Date;
}

/** Versions of the NGINX App Protect Web Application Firewall (WAF) components. */
export interface WebApplicationFirewallComponentVersions {
/** The version of the NGINX App Protect Web Application Firewall (WAF) engine. */
wafEngineVersion: string;
/** The version of the NGINX App Protect Web Application Firewall (WAF) module for NGINX. */
wafNginxVersion: string;
}

export interface ResourceSku {
/** Name of the SKU. */
name: string;
Expand All @@ -339,6 +398,14 @@ export interface NginxDeploymentUpdateProperties {
userProfile?: NginxDeploymentUserProfile;
/** Autoupgrade settings of a deployment. */
autoUpgradeProfile?: AutoUpgradeProfile;
/** Update settings for NGINX App Protect (NAP) */
nginxAppProtect?: NginxDeploymentUpdatePropertiesNginxAppProtect;
}

/** Update settings for NGINX App Protect (NAP) */
export interface NginxDeploymentUpdatePropertiesNginxAppProtect {
/** Settings for the NGINX App Protect Web Application Firewall (WAF) */
webApplicationFirewallSettings?: WebApplicationFirewallSettings;
}

export interface NginxDeploymentListResponse {
Expand Down Expand Up @@ -481,6 +548,24 @@ export enum KnownNginxPrivateIPAllocationMethod {
*/
export type NginxPrivateIPAllocationMethod = string;

/** Known values of {@link ActivationState} that the service accepts. */
export enum KnownActivationState {
/** Enabled */
Enabled = "Enabled",
/** Disabled */
Disabled = "Disabled",
}

/**
* Defines values for ActivationState. \
* {@link KnownActivationState} can be used interchangeably with ActivationState,
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Enabled** \
* **Disabled**
*/
export type ActivationState = string;

/** Optional parameters. */
export interface CertificatesGetOptionalParams
extends coreClient.OperationOptions {}
Expand Down
Loading