Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network-track2 #18483

Merged
merged 1 commit into from
Nov 2, 2021
Merged
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
88 changes: 43 additions & 45 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

123 changes: 115 additions & 8 deletions sdk/network/arm-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,121 @@
# Release History

## 26.0.0-beta.2 (Unreleased)
## 26.0.0-beta.2 (2021-11-02)
**Features**

### Features Added
- Added operation group FirewallPolicyIdpsSignatures
- Added operation group FirewallPolicyIdpsSignaturesFilterValues
- Added operation group FirewallPolicyIdpsSignaturesOverrides
- Added operation group RoutingIntentOperations
- Added operation LoadBalancers.beginListInboundNatRulePortMappings
- Added operation LoadBalancers.beginListInboundNatRulePortMappingsAndWait
- Added Interface BackendAddressInboundNatRulePortMappings
- Added Interface DscpConfigurationCreateOrUpdateOptionalParams
- Added Interface DscpConfigurationDeleteOptionalParams
- Added Interface DscpConfigurationGetOptionalParams
- Added Interface DscpConfigurationListAllNextOptionalParams
- Added Interface DscpConfigurationListAllOptionalParams
- Added Interface DscpConfigurationListNextOptionalParams
- Added Interface DscpConfigurationListOptionalParams
- Added Interface ExclusionManagedRule
- Added Interface ExclusionManagedRuleGroup
- Added Interface ExclusionManagedRuleSet
- Added Interface FilterItems
- Added Interface FirewallPolicyIdpsSignaturesFilterValuesListOptionalParams
- Added Interface FirewallPolicyIdpsSignaturesListOptionalParams
- Added Interface FirewallPolicyIdpsSignaturesOverridesGetOptionalParams
- Added Interface FirewallPolicyIdpsSignaturesOverridesListOptionalParams
- Added Interface FirewallPolicyIdpsSignaturesOverridesPatchOptionalParams
- Added Interface FirewallPolicyIdpsSignaturesOverridesPutOptionalParams
- Added Interface IdpsQueryObject
- Added Interface InboundNatRulePortMapping
- Added Interface InboundSecurityRuleCreateOrUpdateOptionalParams
- Added Interface ListRoutingIntentResult
- Added Interface LoadBalancersListInboundNatRulePortMappingsOptionalParams
- Added Interface NatRulePortMapping
- Added Interface OrderBy
- Added Interface QueryInboundNatRulePortMappingRequest
- Added Interface QueryResults
- Added Interface RoutingIntentCreateOrUpdateOptionalParams
- Added Interface RoutingIntentDeleteOptionalParams
- Added Interface RoutingIntentGetOptionalParams
- Added Interface RoutingIntentListNextOptionalParams
- Added Interface RoutingIntentListOptionalParams
- Added Interface RoutingPolicy
- Added Interface ServiceTagInformationListNextOptionalParams
- Added Interface ServiceTagInformationListOptionalParams
- Added Interface SignatureOverridesFilterValuesQuery
- Added Interface SignatureOverridesFilterValuesResponse
- Added Interface SignaturesOverrides
- Added Interface SignaturesOverridesList
- Added Interface SignaturesOverridesProperties
- Added Interface SingleQueryResult
- Added Interface VirtualNetworkEncryption
- Added Type Alias DscpConfigurationCreateOrUpdateResponse
- Added Type Alias DscpConfigurationGetResponse
- Added Type Alias DscpConfigurationListAllNextResponse
- Added Type Alias DscpConfigurationListAllResponse
- Added Type Alias DscpConfigurationListNextResponse
- Added Type Alias DscpConfigurationListResponse
- Added Type Alias Enum69
- Added Type Alias Enum70
- Added Type Alias Enum71
- Added Type Alias FirewallPolicyIdpsSignaturesFilterValuesListResponse
- Added Type Alias FirewallPolicyIdpsSignaturesListResponse
- Added Type Alias FirewallPolicyIdpsSignaturesOverridesGetResponse
- Added Type Alias FirewallPolicyIdpsSignaturesOverridesListResponse
- Added Type Alias FirewallPolicyIdpsSignaturesOverridesPatchResponse
- Added Type Alias FirewallPolicyIdpsSignaturesOverridesPutResponse
- Added Type Alias InboundSecurityRuleCreateOrUpdateResponse
- Added Type Alias LoadBalancersListInboundNatRulePortMappingsResponse
- Added Type Alias OrderByOrder
- Added Type Alias RoutingIntent
- Added Type Alias RoutingIntentCreateOrUpdateResponse
- Added Type Alias RoutingIntentGetResponse
- Added Type Alias RoutingIntentListNextResponse
- Added Type Alias RoutingIntentListResponse
- Added Type Alias ServiceTagInformationListNextResponse
- Added Type Alias ServiceTagInformationListResponse
- Added Type Alias VirtualNetworkEncryptionEnforcement
- Interface LoadBalancerBackendAddress has a new optional parameter inboundNatRulesPortMapping
- Interface OwaspCrsExclusionEntry has a new optional parameter exclusionManagedRuleSets
- Interface VpnNatRuleMapping has a new optional parameter portRange
- Class NetworkManagementClient has a new parameter firewallPolicyIdpsSignatures
- Class NetworkManagementClient has a new parameter firewallPolicyIdpsSignaturesFilterValues
- Class NetworkManagementClient has a new parameter firewallPolicyIdpsSignaturesOverrides
- Class NetworkManagementClient has a new parameter routingIntentOperations
- Type Alias BackendAddressPool has a new parameter inboundNatRules
- Type Alias NetworkInterface has a new parameter vnetEncryptionSupported
- Type Alias VirtualNetwork has a new parameter encryption
- Type Alias VirtualNetworkGateway has a new parameter disableIPSecReplayProtection
- Type Alias VirtualNetworkPeering has a new parameter remoteVirtualNetworkEncryption
- Added Enum KnownEnum69
- Added Enum KnownEnum70
- Added Enum KnownEnum71
- Added Enum KnownOrderByOrder
- Added Enum KnownVirtualNetworkEncryptionEnforcement
- Enum KnownAzureFirewallSkuTier has a new value Basic
- Enum KnownFirewallPolicySkuTier has a new value Basic
- Enum KnownOwaspCrsExclusionEntryMatchVariable has a new value RequestArgKeys
- Enum KnownOwaspCrsExclusionEntryMatchVariable has a new value RequestArgValues
- Enum KnownOwaspCrsExclusionEntryMatchVariable has a new value RequestCookieKeys
- Enum KnownOwaspCrsExclusionEntryMatchVariable has a new value RequestCookieValues
- Enum KnownOwaspCrsExclusionEntryMatchVariable has a new value RequestHeaderKeys
- Enum KnownOwaspCrsExclusionEntryMatchVariable has a new value RequestHeaderValues

### Breaking Changes
**Breaking Changes**

### Bugs Fixed

### Other Changes
- Operation DscpConfigurationOperations.beginCreateOrUpdate has a new signature
- Operation DscpConfigurationOperations.beginCreateOrUpdateAndWait has a new signature
- Operation DscpConfigurationOperations.beginDelete has a new signature
- Operation DscpConfigurationOperations.beginDeleteAndWait has a new signature
- Operation DscpConfigurationOperations.get has a new signature
- Operation DscpConfigurationOperations.list has a new signature
- Operation DscpConfigurationOperations.listAll has a new signature
- Operation InboundSecurityRuleOperations.beginCreateOrUpdate has a new signature
- Operation InboundSecurityRuleOperations.beginCreateOrUpdateAndWait has a new signature
- Operation ServiceTagInformationOperations.list has a new signature

# Release History

## 26.0.0-beta.1 (2021-10-09)

Expand Down
5 changes: 3 additions & 2 deletions sdk/network/arm-network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ npm install @azure/arm-network
To create a client object to access the Azure NetworkManagement API, you will need the `endpoint` of your Azure NetworkManagement resource and a `credential`. The Azure NetworkManagement client can use Azure Active Directory credentials to authenticate.
You can find the endpoint for your Azure NetworkManagement resource in the [Azure Portal][azure_portal].

#### Using an Azure Active Directory Credential
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).

You can authenticate with Azure Active Directory using the [Azure Identity library][azure_identity]. To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:

```bash
npm install @azure/identity
Expand All @@ -45,6 +45,7 @@ You will also need to **register a new AAD application and grant access to Azure
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://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

```javascript
const { NetworkManagementClient } = require("@azure/arm-network");
const { DefaultAzureCredential } = require("@azure/identity");
Expand Down
6 changes: 3 additions & 3 deletions sdk/network/arm-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "5959573493896aef20e9b37df09c527fd7f08bbb",
"commit": "ab4df5f2d9c23273442c5b2029a08f2014533dd2",
"readme": "specification/network/resource-manager/readme.md",
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/network/resource-manager/readme.md --use=@autorest/[email protected].12",
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/network/resource-manager/readme.md --use=@autorest/[email protected].13",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected].12"
"use": "@autorest/[email protected].13"
}
2 changes: 1 addition & 1 deletion sdk/network/arm-network/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/index.d.ts",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"dtsRollup": {
Expand Down
36 changes: 15 additions & 21 deletions sdk/network/arm-network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
"author": "Microsoft Corporation",
"description": "A generated SDK for NetworkManagementClient.",
"version": "26.0.0-beta.2",
"engines": {
"node": ">=12.0.0"
},
"engines": { "node": ">=12.0.0" },
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
Expand All @@ -16,19 +14,13 @@
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/index.js",
"module": "./dist-esm/src/index.js",
"types": "./types/arm-network.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@microsoft/api-extractor": "7.7.11",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-multi-entry": "^3.0.0",
Expand All @@ -37,16 +29,18 @@
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9"
"uglify-js": "^3.4.9",
"@azure/identity": "2.0.0-beta.6",
"@azure-tools/test-recorder": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
Expand Down Expand Up @@ -81,16 +75,16 @@
"check-format": "echo skipped",
"execute:samples": "echo skipped",
"format": "echo skipped",
"test": "echo skipped",
"test": "npm run integration-test",
"prebuild": "echo skipped",
"test:node": "echo skipped",
"test:browser": "echo skipped",
"unit-test": "echo skipped",
"unit-test:node": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts",
"integration-test:browser": "echo skipped",
"integration-test:node": "echo skipped",
"integration-test": "echo skipped",
"docs": "echo skipped"
},
"sideEffects": false,
Expand Down
Loading