Skip to content

Commit

Permalink
CodeGen from PR 27477 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 69ae4fd5aa735678b79a0de3fbd4bd6f2f9d1ef2 into d1caa97a0dbf980d65ac4dee7728e83d9f94c7c2
  • Loading branch information
SDKAuto committed Jan 23, 2024
1 parent 416eb2d commit 1711b62
Show file tree
Hide file tree
Showing 277 changed files with 27,626 additions and 27,974 deletions.
21 changes: 11 additions & 10 deletions sdk/network/arm-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Release History

## 33.1.0 (2024-01-23)

**Features**

## 33.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface HeaderValueMatcher
- Interface ApplicationGatewayHeaderConfiguration has a new optional parameter headerValueMatcher
- Interface BastionHost has a new optional parameter zones
- Enum KnownVirtualNetworkPrivateEndpointNetworkPolicies has a new value NetworkSecurityGroupEnabled
- Enum KnownVirtualNetworkPrivateEndpointNetworkPolicies has a new value RouteTableEnabled


## 33.0.0 (2023-12-07)

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

Copyright (c) 2023 Microsoft
Copyright (c) 2024 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
6 changes: 3 additions & 3 deletions sdk/network/arm-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "583e15ceb4cf23dc23b2300bd352f16d781e69ac",
"commit": "4171af4c1161ecaef559520068c48173a9883196",
"readme": "specification/network/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\\network\\resource-manager\\readme.md --use=@autorest/typescript@6.0.12 --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/network/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/js-sdk-release-tools@2.7.4",
"use": "@autorest/typescript@6.0.12"
"use": "@autorest/typescript@^6.0.12"
}
15 changes: 3 additions & 12 deletions sdk/network/arm-network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for NetworkManagementClient.",
"version": "33.0.1",
"version": "33.1.0",
"engines": {
"node": ">=18.0.0"
},
Expand Down Expand Up @@ -78,7 +78,6 @@
"pack": "npm pack 2>&1",
"extract-api": "api-extractor run --local",
"lint": "echo skipped",
"audit": "echo skipped",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:browser": "echo skipped",
Expand Down Expand Up @@ -107,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-network?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/network/arm-network"
}
13 changes: 12 additions & 1 deletion sdk/network/arm-network/review/arm-network.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ export interface ApplicationGatewayGlobalConfiguration {
export interface ApplicationGatewayHeaderConfiguration {
headerName?: string;
headerValue?: string;
headerValueMatcher?: HeaderValueMatcher;
}

// @public
Expand Down Expand Up @@ -1998,6 +1999,7 @@ export interface BastionHost extends Resource {
scaleUnits?: number;
sku?: Sku;
virtualNetwork?: SubResource;
zones?: string[];
}

// @public
Expand Down Expand Up @@ -5354,6 +5356,13 @@ export interface GroupByVariable {
// @public
export type GroupConnectivity = string;

// @public
export interface HeaderValueMatcher {
ignoreCase?: boolean;
negate?: boolean;
pattern?: string;
}

// @public
export interface HopLink {
readonly context?: {
Expand Down Expand Up @@ -7417,7 +7426,9 @@ export enum KnownVirtualNetworkPeeringState {
// @public
export enum KnownVirtualNetworkPrivateEndpointNetworkPolicies {
Disabled = "Disabled",
Enabled = "Enabled"
Enabled = "Enabled",
NetworkSecurityGroupEnabled = "NetworkSecurityGroupEnabled",
RouteTableEnabled = "RouteTableEnabled"
}

// @public
Expand Down
6 changes: 3 additions & 3 deletions sdk/network/arm-network/src/lroImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ export function createLroSpec<T>(inputs: {
sendInitialRequest: () => sendOperationFn(args, spec),
sendPollRequest: (
path: string,
options?: { abortSignal?: AbortSignalLike }
options?: { abortSignal?: AbortSignalLike },
) => {
const { requestBody, ...restSpec } = spec;
return sendOperationFn(args, {
...restSpec,
httpMethod: "GET",
path,
abortSignal: options?.abortSignal
abortSignal: options?.abortSignal,
});
}
},
};
}
Loading

0 comments on commit 1711b62

Please sign in to comment.