From 4393f01c34f4b4200b897460f2671022c6b237cf Mon Sep 17 00:00:00 2001 From: Kamil Pajdzik Date: Wed, 16 Jan 2019 09:56:40 -0800 Subject: [PATCH] Regenerate azure-arm-network --- .../networkManagement2/lib/models/index.d.ts | 109 +++++++++++++++++- .../lib/operations/virtualWans.js | 12 +- 2 files changed, 109 insertions(+), 12 deletions(-) diff --git a/lib/services/networkManagement2/lib/models/index.d.ts b/lib/services/networkManagement2/lib/models/index.d.ts index cf152e4af..4b5a99b2c 100644 --- a/lib/services/networkManagement2/lib/models/index.d.ts +++ b/lib/services/networkManagement2/lib/models/index.d.ts @@ -545,9 +545,21 @@ export interface PublicIPAddressDnsSettings { } /** - * @class - * Initializes a new instance of the IpTag class. - * @constructor + * Contains the DDoS protection settings of the public IP. + */ +export interface DdosSettings { + /** + * The DDoS custom policy associated with the public IP. + */ + ddosCustomPolicy?: SubResource; + /** + * The DDoS protection policy customizability of the public IP. Only standard coverage will have + * the ability to be customized. Possible values include: 'Basic', 'Standard' + */ + protectionCoverage?: string; +} + +/** * Contains the IpTag associated with the object */ export interface IpTag { @@ -2182,6 +2194,36 @@ export interface ApplicationGateway extends Resource { identity?: ManagedServiceIdentity; } +/** + * Response for ApplicationGatewayAvailableServerVariables API service call. +*/ +export interface ApplicationGatewayAvailableServerVariablesResult { + /** + * The list of supported server variables in application gateway. + */ + value?: string[]; +} + +/** + * Response for ApplicationGatewayAvailableRequestHeaders API service call. +*/ +export interface ApplicationGatewayAvailableRequestHeadersResult { + /** + * The list of supported request headers in application gateway. + */ + value?: string[]; +} + +/** + * Response for ApplicationGatewayAvailableResponeHeaders API service call. +*/ +export interface ApplicationGatewayAvailableResponseHeadersResult { + /** + * The list of supported response header in application gateway. + */ + value?: string[]; +} + /** * A web application firewall rule. */ @@ -2658,9 +2700,63 @@ export interface DnsNameAvailabilityResult { } /** - * @class - * Initializes a new instance of the DdosProtectionPlan class. - * @constructor + * DDoS custom policy properties. +*/ +export interface ProtocolCustomSettingsFormat { + /** + * The protocol for which the DDoS protection policy is being customized. Possible values + * include: 'Tcp', 'Udp', 'Syn' + */ + protocol?: string; + /** + * The customized DDoS protection trigger rate. + */ + triggerRateOverride?: string; + /** + * The customized DDoS protection source rate. + */ + sourceRateOverride?: string; + /** + * The customized DDoS protection trigger rate sensitivity degrees. High: Trigger rate set with + * most sensitivity w.r.t. normal traffic. Default: Trigger rate set with moderate sensitivity + * w.r.t. normal traffic. Low: Trigger rate set with less sensitivity w.r.t. normal traffic. + * Relaxed: Trigger rate set with least sensitivity w.r.t. normal traffic. Possible values + * include: 'Relaxed', 'Low', 'Default', 'High' + */ + triggerSensitivityOverride?: string; +} + +/** + * A DDoS custom policy in a resource group. +*/ +export interface DdosCustomPolicy extends Resource { + /** + * The resource GUID property of the DDoS custom policy resource. It uniquely identifies the + * resource, even if the user changes its name or migrate the resource across subscriptions or + * resource groups. + */ + readonly resourceGuid?: string; + /** + * The provisioning state of the DDoS custom policy resource. Possible values are: 'Succeeded', + * 'Updating', 'Deleting', and 'Failed'. + */ + readonly provisioningState?: string; + /** + * The list of public IPs associated with the DDoS custom policy resource. This list is + * read-only. + */ + readonly publicIPAddresses?: SubResource[]; + /** + * The protocol-specific DDoS policy customization parameters. + */ + protocolCustomSettings?: ProtocolCustomSettingsFormat[]; + /** + * A unique read-only string that changes whenever the resource is updated. + */ + readonly etag?: string; +} + +/** * A DDoS protection plan in a resource group. */ export interface DdosProtectionPlan extends BaseResource { @@ -4032,6 +4128,7 @@ export interface LoadBalancer extends Resource { etag?: string; } +/** * The response body contains the status of the specified asynchronous operation, indicating * whether it has succeeded, is in progress, or has failed. Note that this status is distinct from * the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous diff --git a/lib/services/networkManagement2/lib/operations/virtualWans.js b/lib/services/networkManagement2/lib/operations/virtualWans.js index f0a7956ea..f79e4b0d2 100644 --- a/lib/services/networkManagement2/lib/operations/virtualWans.js +++ b/lib/services/networkManagement2/lib/operations/virtualWans.js @@ -49,7 +49,7 @@ function _get(resourceGroupName, virtualWANName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-08-01'; + let apiVersion = '2018-11-01'; // Validate try { if (resourceGroupName === null || resourceGroupName === undefined || typeof resourceGroupName.valueOf() !== 'string') { @@ -448,7 +448,7 @@ function _listByResourceGroup(resourceGroupName, options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-08-01'; + let apiVersion = '2018-11-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -584,7 +584,7 @@ function _list(options, callback) { if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-08-01'; + let apiVersion = '2018-11-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -754,7 +754,7 @@ function _beginCreateOrUpdate(resourceGroupName, virtualWANName, wANParameters, if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-08-01'; + let apiVersion = '2018-11-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -936,7 +936,7 @@ function _beginUpdateTags(resourceGroupName, virtualWANName, wANParameters, opti if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-08-01'; + let apiVersion = '2018-11-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') { @@ -1113,7 +1113,7 @@ function _beginDeleteMethod(resourceGroupName, virtualWANName, options, callback if (!callback) { throw new Error('callback cannot be null.'); } - let apiVersion = '2018-08-01'; + let apiVersion = '2018-11-01'; // Validate try { if (this.client.subscriptionId === null || this.client.subscriptionId === undefined || typeof this.client.subscriptionId.valueOf() !== 'string') {