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] Disable creation of perimeter base rule #5837

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
45 changes: 37 additions & 8 deletions sdk/network/arm-network/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,44 @@
# Release History

## 32.0.0 (2023-07-24)

**Features**

## 31.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added operation LoadBalancers.migrateToIpBased
- Added Interface LoadBalancersMigrateToIpBasedOptionalParams
- Added Interface MigratedPools
- Added Interface MigrateLoadBalancerToIpBasedRequest
- Added Type Alias AdminState
- Added Type Alias LoadBalancersMigrateToIpBasedResponse
- Added Type Alias SyncMode
- 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 ApplicationGatewayFrontendIPConfiguration has a new optional parameter httpListeners
- Interface BackendAddressPool has a new optional parameter syncMode
- Interface ConfigurationGroup has a new optional parameter resourceGuid
- Interface ConnectivityConfiguration has a new optional parameter resourceGuid
- 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
- Added Enum KnownSyncMode
- Enum KnownApplicationGatewaySkuName has a new value Basic
- Enum KnownApplicationGatewayTier has a new value Basic

### Other Changes
**Breaking Changes**

- Class NetworkManagementClient has a new signature
- 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": "7e403e0aa2b192b51eab08c37eb8162777486d4f",
"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/typescript@6.0.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/typescript@6.0.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"
}
60 changes: 58 additions & 2 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 @@ -501,6 +509,7 @@ export type ApplicationGatewayFirewallUserSessionVariable = string;
// @public
export interface ApplicationGatewayFrontendIPConfiguration extends SubResource {
readonly etag?: string;
readonly httpListeners?: SubResource;
name?: string;
privateIPAddress?: string;
privateIPAllocationMethod?: IPAllocationMethod;
Expand Down Expand Up @@ -1933,6 +1942,7 @@ export interface BackendAddressPool extends SubResource {
readonly outboundRule?: SubResource;
readonly outboundRules?: SubResource[];
readonly provisioningState?: ProvisioningState;
syncMode?: SyncMode;
tunnelInterfaces?: GatewayLoadBalancerTunnelInterface[];
readonly type?: string;
virtualNetwork?: SubResource;
Expand Down Expand Up @@ -2249,6 +2259,7 @@ export interface ConfigurationGroup {
description?: string;
id?: string;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
}

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

Expand Down Expand Up @@ -3061,6 +3073,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 +3300,7 @@ export interface EffectiveConnectivityConfiguration {
id?: string;
isGlobal?: IsGlobal;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
}

// @public
Expand All @@ -3301,6 +3315,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 +3412,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 +5965,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 +5999,6 @@ export enum KnownApplicationGatewayCustomErrorStatusCode {
HttpStatus404 = "HttpStatus404",
HttpStatus405 = "HttpStatus405",
HttpStatus408 = "HttpStatus408",
HttpStatus499 = "HttpStatus499",
HttpStatus500 = "HttpStatus500",
HttpStatus502 = "HttpStatus502",
HttpStatus503 = "HttpStatus503",
Expand Down Expand Up @@ -6050,6 +6071,7 @@ export enum KnownApplicationGatewayRuleSetStatusOptions {

// @public
export enum KnownApplicationGatewaySkuName {
Basic = "Basic",
StandardLarge = "Standard_Large",
StandardMedium = "Standard_Medium",
StandardSmall = "Standard_Small",
Expand Down Expand Up @@ -6117,6 +6139,7 @@ export enum KnownApplicationGatewaySslProtocol {

// @public
export enum KnownApplicationGatewayTier {
Basic = "Basic",
Standard = "Standard",
StandardV2 = "Standard_v2",
WAF = "WAF",
Expand Down Expand Up @@ -7193,6 +7216,12 @@ export enum KnownSeverity {
Warning = "Warning"
}

// @public
export enum KnownSyncMode {
Automatic = "Automatic",
Manual = "Manual"
}

// @public
export enum KnownSyncRemoteAddressSpace {
True = "true"
Expand Down Expand Up @@ -7910,6 +7939,7 @@ export interface LoadBalancers {
get(resourceGroupName: string, loadBalancerName: string, options?: LoadBalancersGetOptionalParams): Promise<LoadBalancersGetResponse>;
list(resourceGroupName: string, options?: LoadBalancersListOptionalParams): PagedAsyncIterableIterator<LoadBalancer>;
listAll(options?: LoadBalancersListAllOptionalParams): PagedAsyncIterableIterator<LoadBalancer>;
migrateToIpBased(groupName: string, loadBalancerName: string, options?: LoadBalancersMigrateToIpBasedOptionalParams): Promise<LoadBalancersMigrateToIpBasedResponse>;
updateTags(resourceGroupName: string, loadBalancerName: string, parameters: TagsObject, options?: LoadBalancersUpdateTagsOptionalParams): Promise<LoadBalancersUpdateTagsResponse>;
}

Expand Down Expand Up @@ -7985,6 +8015,14 @@ export interface LoadBalancersListOptionalParams extends coreClient.OperationOpt
// @public
export type LoadBalancersListResponse = LoadBalancerListResult;

// @public
export interface LoadBalancersMigrateToIpBasedOptionalParams extends coreClient.OperationOptions {
parameters?: MigrateLoadBalancerToIpBasedRequest;
}

// @public
export type LoadBalancersMigrateToIpBasedResponse = MigratedPools;

// @public
export interface LoadBalancersSwapPublicIpAddressesOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand Down Expand Up @@ -8230,6 +8268,16 @@ export interface MetricSpecification {
unit?: string;
}

// @public
export interface MigratedPools {
migratedPools?: string[];
}

// @public
export interface MigrateLoadBalancerToIpBasedRequest {
pools?: string[];
}

// @public
export interface NatGateway extends Resource {
readonly etag?: string;
Expand Down Expand Up @@ -8424,6 +8472,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 +8961,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 +9181,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 +9258,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 +12089,7 @@ export interface SecurityAdminConfiguration extends ChildResource {
applyOnNetworkIntentPolicyBasedServices?: NetworkIntentPolicyBasedService[];
description?: string;
readonly provisioningState?: ProvisioningState;
readonly resourceGuid?: string;
readonly systemData?: SystemData;
}

Expand Down Expand Up @@ -12867,6 +12919,9 @@ export interface SwapResourceProperties {
slotType?: SlotType;
}

// @public
export type SyncMode = string;

// @public
export type SyncRemoteAddressSpace = string;

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