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] Adding a new endpoint type for connection monitor and location and subscription details in 2023-06-01-preview #6524

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

## 32.2.0 (2023-09-05)

**Features**

## 32.1.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface BastionHostPropertiesFormatNetworkAcls
- Added Interface IPRule
- Added Interface VirtualNetworkGatewayAutoScaleBounds
- Added Interface VirtualNetworkGatewayAutoScaleConfiguration
- Interface BastionHost has a new optional parameter networkAcls
- Interface BastionHost has a new optional parameter virtualNetwork
- Interface FirewallPolicy has a new optional parameter size
- Interface FirewallPolicyRuleCollectionGroup has a new optional parameter size
- Interface Subnet has a new optional parameter defaultOutboundAccess
- Interface VirtualNetworkGateway has a new optional parameter autoScaleConfiguration


## 32.1.0 (2023-08-08)

**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": "2888f49ff0b4ce0587780b83530a7974dae71015",
"commit": "d582fb474f135d269768efe17aacfd68ea1fa23e",
"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].5 --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.4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].0",
"use": "@autorest/[email protected].5"
"release_tool": "@azure-tools/[email protected].2",
"use": "@autorest/typescript@^6.0.4"
}
22 changes: 7 additions & 15 deletions sdk/network/arm-network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for NetworkManagementClient.",
"version": "32.1.1",
"version": "32.2.0",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.3",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"@azure/core-rest-pipeline": "^1.12.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand Down Expand Up @@ -48,8 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
"ts-node": "^10.0.0",
"@azure/dev-tool": "^1.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -112,13 +112,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"
}
28 changes: 28 additions & 0 deletions sdk/network/arm-network/review/arm-network.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1991,9 +1991,12 @@ export interface BastionHost extends Resource {
enableTunneling?: boolean;
readonly etag?: string;
ipConfigurations?: BastionHostIPConfiguration[];
// (undocumented)
networkAcls?: BastionHostPropertiesFormatNetworkAcls;
readonly provisioningState?: ProvisioningState;
scaleUnits?: number;
sku?: Sku;
virtualNetwork?: SubResource;
}

// @public
Expand All @@ -2013,6 +2016,11 @@ export interface BastionHostListResult {
value?: BastionHost[];
}

// @public (undocumented)
export interface BastionHostPropertiesFormatNetworkAcls {
ipRules?: IPRule[];
}

// @public
export interface BastionHosts {
beginCreateOrUpdate(resourceGroupName: string, bastionHostName: string, parameters: BastionHost, options?: BastionHostsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<BastionHostsCreateOrUpdateResponse>, BastionHostsCreateOrUpdateResponse>>;
Expand Down Expand Up @@ -4767,6 +4775,7 @@ export interface FirewallPolicy extends Resource {
intrusionDetection?: FirewallPolicyIntrusionDetection;
readonly provisioningState?: ProvisioningState;
readonly ruleCollectionGroups?: SubResource[];
readonly size?: string;
sku?: FirewallPolicySku;
snat?: FirewallPolicySnat;
sql?: FirewallPolicySQL;
Expand Down Expand Up @@ -4981,6 +4990,7 @@ export interface FirewallPolicyRuleCollectionGroup extends SubResource {
priority?: number;
readonly provisioningState?: ProvisioningState;
ruleCollections?: FirewallPolicyRuleCollectionUnion[];
readonly size?: string;
readonly type?: string;
}

Expand Down Expand Up @@ -5887,6 +5897,11 @@ export interface IPPrefixesList {
ipPrefixes?: string[];
}

// @public (undocumented)
export interface IPRule {
addressPrefix?: string;
}

// @public
export type IpsecEncryption = string;

Expand Down Expand Up @@ -12749,6 +12764,7 @@ export interface Subnet extends SubResource {
addressPrefix?: string;
addressPrefixes?: string[];
applicationGatewayIPConfigurations?: ApplicationGatewayIPConfiguration[];
defaultOutboundAccess?: boolean;
delegations?: Delegation[];
readonly etag?: string;
ipAllocations?: SubResource[];
Expand Down Expand Up @@ -13640,6 +13656,7 @@ export interface VirtualNetworkGateway extends Resource {
adminState?: AdminState;
allowRemoteVnetTraffic?: boolean;
allowVirtualWanTraffic?: boolean;
autoScaleConfiguration?: VirtualNetworkGatewayAutoScaleConfiguration;
bgpSettings?: BgpSettings;
customRoutes?: AddressSpace;
disableIPSecReplayProtection?: boolean;
Expand All @@ -13664,6 +13681,17 @@ export interface VirtualNetworkGateway extends Resource {
vpnType?: VpnType;
}

// @public (undocumented)
export interface VirtualNetworkGatewayAutoScaleBounds {
max?: number;
min?: number;
}

// @public
export interface VirtualNetworkGatewayAutoScaleConfiguration {
bounds?: VirtualNetworkGatewayAutoScaleBounds;
}

// @public
export interface VirtualNetworkGatewayConnection extends Resource {
authorizationKey?: string;
Expand Down
40 changes: 40 additions & 0 deletions sdk/network/arm-network/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,16 @@ export interface AzureWebCategoryListResult {
nextLink?: string;
}

export interface BastionHostPropertiesFormatNetworkAcls {
/** Sets the IP ACL rules for Developer Bastion Host. */
ipRules?: IPRule[];
}

export interface IPRule {
/** Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. */
addressPrefix?: string;
}

/** The sku of this Bastion Host. */
export interface Sku {
/** The name of this Bastion Host. */
Expand Down Expand Up @@ -4492,6 +4502,19 @@ export interface VirtualNetworkDdosProtectionStatusResult {
nextLink?: string;
}

/** Virtual Network Gateway Autoscale Configuration details */
export interface VirtualNetworkGatewayAutoScaleConfiguration {
/** The bounds of the autoscale configuration */
bounds?: VirtualNetworkGatewayAutoScaleBounds;
}

export interface VirtualNetworkGatewayAutoScaleBounds {
/** Minimum scale Units for Autoscale configuration */
min?: number;
/** Maximum Scale Units for Autoscale configuration */
max?: number;
}

/** VirtualNetworkGatewaySku details. */
export interface VirtualNetworkGatewaySku {
/** Gateway SKU name. */
Expand Down Expand Up @@ -6563,6 +6586,8 @@ export interface Subnet extends SubResource {
privateLinkServiceNetworkPolicies?: VirtualNetworkPrivateLinkServiceNetworkPolicies;
/** Application gateway IP configurations of virtual network resource. */
applicationGatewayIPConfigurations?: ApplicationGatewayIPConfiguration[];
/** Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. */
defaultOutboundAccess?: boolean;
}

/** Frontend IP address of the load balancer. */
Expand Down Expand Up @@ -7814,6 +7839,11 @@ export interface FirewallPolicyRuleCollectionGroup extends SubResource {
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/**
* A read-only string that represents the size of the FirewallPolicyRuleCollectionGroupProperties in MB. (ex 1.2MB)
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly size?: string;
/** Priority of the Firewall Policy Rule Collection Group resource. */
priority?: number;
/** Group of Firewall Policy rule collections. */
Expand Down Expand Up @@ -9559,6 +9589,9 @@ export interface BastionHost extends Resource {
ipConfigurations?: BastionHostIPConfiguration[];
/** FQDN for the endpoint on which bastion host is accessible. */
dnsName?: string;
/** Reference to an existing virtual network required for Developer Bastion Host only. */
virtualNetwork?: SubResource;
networkAcls?: BastionHostPropertiesFormatNetworkAcls;
/**
* The provisioning state of the bastion host resource.
* NOTE: This property will not be serialized. It can only be populated by the server.
Expand Down Expand Up @@ -9935,6 +9968,11 @@ export interface FirewallPolicy extends Resource {
readonly etag?: string;
/** The identity of the firewall policy. */
identity?: ManagedServiceIdentity;
/**
* A read-only string that represents the size of the FirewallPolicyPropertiesFormat in MB. (ex 0.5MB)
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly size?: string;
/**
* List of references to FirewallPolicyRuleCollectionGroups.
* NOTE: This property will not be serialized. It can only be populated by the server.
Expand Down Expand Up @@ -10403,6 +10441,8 @@ export interface VirtualNetworkGateway extends Resource {
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly etag?: string;
/** Autoscale configuration for virutal network gateway */
autoScaleConfiguration?: VirtualNetworkGatewayAutoScaleConfiguration;
/** IP configurations for virtual network gateway. */
ipConfigurations?: VirtualNetworkGatewayIPConfiguration[];
/** The type of this virtual network gateway. */
Expand Down
Loading