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

[AutoPR @azure/arm-network] Double Header Fix #5672

Closed
wants to merge 1 commit into from
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
36 changes: 28 additions & 8 deletions sdk/network/arm-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
# Release History

## 32.0.0 (2023-07-12)

**Features**

## 31.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added Type Alias AdminState
- Interface ActiveDefaultSecurityAdminRule has a new optional parameter resourceGuid
- Interface ActiveSecurityAdminRule has a new optional parameter resourceGuid
- Interface AdminRule has a new optional parameter resourceGuid
- Interface AdminRuleCollection has a new optional parameter resourceGuid
- Interface ApplicationGateway has a new optional parameter defaultPredefinedSslPolicy
- Interface ConfigurationGroup has a new optional parameter resourceGuid
- Interface ConnectivityConfiguration has a new optional parameter resourceGuid
- Interface DdosProtectionPlan has a new optional parameter publicIpAddresses
- Interface DefaultAdminRule has a new optional parameter resourceGuid
- Interface EffectiveConnectivityConfiguration has a new optional parameter resourceGuid
- Interface EffectiveDefaultSecurityAdminRule has a new optional parameter resourceGuid
- Interface EffectiveSecurityAdminRule has a new optional parameter resourceGuid
- Interface NetworkGroup has a new optional parameter resourceGuid
- Interface NetworkManager has a new optional parameter resourceGuid
- Interface SecurityAdminConfiguration has a new optional parameter resourceGuid
- Interface VirtualNetworkGateway has a new optional parameter adminState
- Added Enum KnownAdminState

### Other Changes
**Breaking Changes**

- Class NetworkManagementClient has a new signature
- Interface DdosProtectionPlan no longer has parameter publicIPAddresses
- Enum KnownApplicationGatewayCustomErrorStatusCode no longer has value HttpStatus499


## 31.0.0 (2023-05-19)

**Features**
Expand Down
8 changes: 4 additions & 4 deletions sdk/network/arm-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "ec1dd632841c121d2e2eac3d9e5e24a0428fa741",
"commit": "6b71c4fa03fbbb990f2938f7aae55823f8583401",
"readme": "specification/network/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --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/[email protected].2 --generate-sample=true",
"autorest_command": "autorest --version=3.9.3 --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.4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/[email protected].2"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.1",
"use": "@autorest/typescript@^6.0.4"
}
14 changes: 3 additions & 11 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": "31.0.1",
"version": "32.0.0",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -111,13 +111,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"
}
30 changes: 27 additions & 3 deletions sdk/network/arm-network/review/arm-network.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export interface ActiveDefaultSecurityAdminRule extends ActiveBaseSecurityAdminR
readonly priority?: number;
readonly protocol?: SecurityConfigurationRuleProtocol;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly sourcePortRanges?: string[];
readonly sources?: AddressPrefixItem[];
}
Expand All @@ -89,6 +90,7 @@ export interface ActiveSecurityAdminRule extends ActiveBaseSecurityAdminRule {
priority?: number;
protocol?: SecurityConfigurationRuleProtocol;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
sourcePortRanges?: string[];
sources?: AddressPrefixItem[];
}
Expand Down Expand Up @@ -124,6 +126,7 @@ export interface AdminRule extends BaseAdminRule {
priority?: number;
protocol?: SecurityConfigurationRuleProtocol;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
sourcePortRanges?: string[];
sources?: AddressPrefixItem[];
}
Expand All @@ -133,6 +136,7 @@ export interface AdminRuleCollection extends ChildResource {
appliesToGroups?: NetworkManagerSecurityGroupItem[];
description?: string;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly systemData?: SystemData;
}

Expand Down Expand Up @@ -253,6 +257,9 @@ export interface AdminRulesListOptionalParams extends coreClient.OperationOption
// @public
export type AdminRulesListResponse = AdminRuleListResult;

// @public
export type AdminState = string;

// @public
export interface ApplicationGateway extends Resource {
authenticationCertificates?: ApplicationGatewayAuthenticationCertificate[];
Expand All @@ -261,6 +268,7 @@ export interface ApplicationGateway extends Resource {
backendHttpSettingsCollection?: ApplicationGatewayBackendHttpSettings[];
backendSettingsCollection?: ApplicationGatewayBackendSettings[];
customErrorConfigurations?: ApplicationGatewayCustomError[];
readonly defaultPredefinedSslPolicy?: ApplicationGatewaySslPolicyName;
enableFips?: boolean;
enableHttp2?: boolean;
readonly etag?: string;
Expand Down Expand Up @@ -2249,6 +2257,7 @@ export interface ConfigurationGroup {
description?: string;
id?: string;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
}

// @public
Expand Down Expand Up @@ -2610,6 +2619,7 @@ export interface ConnectivityConfiguration extends ChildResource {
hubs?: Hub[];
isGlobal?: IsGlobal;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly systemData?: SystemData;
}

Expand Down Expand Up @@ -2951,7 +2961,7 @@ export interface DdosProtectionPlan {
location?: string;
readonly name?: string;
readonly provisioningState?: ProvisioningState;
readonly publicIPAddresses?: SubResource[];
readonly publicIpAddresses?: SubResource[];
readonly resourceGuid?: string;
tags?: {
[propertyName: string]: string;
Expand Down Expand Up @@ -3061,6 +3071,7 @@ export interface DefaultAdminRule extends BaseAdminRule {
readonly priority?: number;
readonly protocol?: SecurityConfigurationRuleProtocol;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly sourcePortRanges?: string[];
readonly sources?: AddressPrefixItem[];
}
Expand Down Expand Up @@ -3287,6 +3298,7 @@ export interface EffectiveConnectivityConfiguration {
id?: string;
isGlobal?: IsGlobal;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
}

// @public
Expand All @@ -3301,6 +3313,7 @@ export interface EffectiveDefaultSecurityAdminRule extends EffectiveBaseSecurity
readonly priority?: number;
readonly protocol?: SecurityConfigurationRuleProtocol;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly sourcePortRanges?: string[];
readonly sources?: AddressPrefixItem[];
}
Expand Down Expand Up @@ -3397,6 +3410,7 @@ export interface EffectiveSecurityAdminRule extends EffectiveBaseSecurityAdminRu
priority?: number;
protocol?: SecurityConfigurationRuleProtocol;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
sourcePortRanges?: string[];
sources?: AddressPrefixItem[];
}
Expand Down Expand Up @@ -5949,6 +5963,12 @@ export enum KnownAdminRuleKind {
Default = "Default"
}

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

// @public
export enum KnownApplicationGatewayBackendHealthServerHealth {
Down = "Down",
Expand Down Expand Up @@ -5977,7 +5997,6 @@ export enum KnownApplicationGatewayCustomErrorStatusCode {
HttpStatus404 = "HttpStatus404",
HttpStatus405 = "HttpStatus405",
HttpStatus408 = "HttpStatus408",
HttpStatus499 = "HttpStatus499",
HttpStatus500 = "HttpStatus500",
HttpStatus502 = "HttpStatus502",
HttpStatus503 = "HttpStatus503",
Expand Down Expand Up @@ -8424,6 +8443,7 @@ export interface NetworkConfigurationDiagnosticResult {
export interface NetworkGroup extends ChildResource {
description?: string;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly systemData?: SystemData;
}

Expand Down Expand Up @@ -8912,6 +8932,7 @@ export class NetworkManagementClient extends coreClient.ServiceClient {
// (undocumented)
$host: string;
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: NetworkManagementClientOptionalParams);
constructor(credentials: coreAuth.TokenCredential, options?: NetworkManagementClientOptionalParams);
// (undocumented)
adminRuleCollections: AdminRuleCollections;
// (undocumented)
Expand Down Expand Up @@ -9131,7 +9152,7 @@ export class NetworkManagementClient extends coreClient.ServiceClient {
// (undocumented)
subnets: Subnets;
// (undocumented)
subscriptionId: string;
subscriptionId?: string;
// (undocumented)
subscriptionNetworkManagerConnections: SubscriptionNetworkManagerConnections;
supportedSecurityProviders(resourceGroupName: string, virtualWANName: string, options?: SupportedSecurityProvidersOptionalParams): Promise<SupportedSecurityProvidersResponse>;
Expand Down Expand Up @@ -9208,6 +9229,7 @@ export interface NetworkManager extends Resource {
networkManagerScopeAccesses?: ConfigurationType[];
networkManagerScopes?: NetworkManagerPropertiesNetworkManagerScopes;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly systemData?: SystemData;
}

Expand Down Expand Up @@ -12038,6 +12060,7 @@ export interface SecurityAdminConfiguration extends ChildResource {
applyOnNetworkIntentPolicyBasedServices?: NetworkIntentPolicyBasedService[];
description?: string;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly systemData?: SystemData;
}

Expand Down Expand Up @@ -13583,6 +13606,7 @@ export type VirtualNetworkEncryptionEnforcement = string;
// @public
export interface VirtualNetworkGateway extends Resource {
active?: boolean;
adminState?: AdminState;
allowRemoteVnetTraffic?: boolean;
allowVirtualWanTraffic?: boolean;
bgpSettings?: BgpSettings;
Expand Down
Loading