This commit is contained in:
Kamil Pajdzik 2019-01-16 09:56:40 -08:00
Родитель 714bd778f7
Коммит 4393f01c34
2 изменённых файлов: 109 добавлений и 12 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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') {