Delete networkManagement2/lib folder
This commit is contained in:
Родитель
b50be2c6e7
Коммит
7bdbdd7cb3
|
@ -1,61 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* AddressSpace contains an array of IP address ranges that can be used by
|
||||
* subnets of the virtual network.
|
||||
*
|
||||
*/
|
||||
class AddressSpace {
|
||||
/**
|
||||
* Create a AddressSpace.
|
||||
* @property {array} [addressPrefixes] A list of address blocks reserved for
|
||||
* this virtual network in CIDR notation.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AddressSpace
|
||||
*
|
||||
* @returns {object} metadata of AddressSpace
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AddressSpace',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AddressSpace',
|
||||
modelProperties: {
|
||||
addressPrefixes: {
|
||||
required: false,
|
||||
serializedName: 'addressPrefixes',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AddressSpace;
|
|
@ -1,529 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Application gateway resource
|
||||
*
|
||||
* @extends models['Resource']
|
||||
*/
|
||||
class ApplicationGateway extends models['Resource'] {
|
||||
/**
|
||||
* Create a ApplicationGateway.
|
||||
* @property {object} [sku] SKU of the application gateway resource.
|
||||
* @property {string} [sku.name] Name of an application gateway SKU. Possible
|
||||
* values include: 'Standard_Small', 'Standard_Medium', 'Standard_Large',
|
||||
* 'WAF_Medium', 'WAF_Large', 'Standard_v2', 'WAF_v2'
|
||||
* @property {string} [sku.tier] Tier of an application gateway. Possible
|
||||
* values include: 'Standard', 'WAF', 'Standard_v2', 'WAF_v2'
|
||||
* @property {number} [sku.capacity] Capacity (instance count) of an
|
||||
* application gateway.
|
||||
* @property {object} [sslPolicy] SSL policy of the application gateway
|
||||
* resource.
|
||||
* @property {array} [sslPolicy.disabledSslProtocols] Ssl protocols to be
|
||||
* disabled on application gateway.
|
||||
* @property {string} [sslPolicy.policyType] Type of Ssl Policy. Possible
|
||||
* values include: 'Predefined', 'Custom'
|
||||
* @property {string} [sslPolicy.policyName] Name of Ssl predefined policy.
|
||||
* Possible values include: 'AppGwSslPolicy20150501',
|
||||
* 'AppGwSslPolicy20170401', 'AppGwSslPolicy20170401S'
|
||||
* @property {array} [sslPolicy.cipherSuites] Ssl cipher suites to be enabled
|
||||
* in the specified order to application gateway.
|
||||
* @property {string} [sslPolicy.minProtocolVersion] Minimum version of Ssl
|
||||
* protocol to be supported on application gateway. Possible values include:
|
||||
* 'TLSv1_0', 'TLSv1_1', 'TLSv1_2'
|
||||
* @property {string} [operationalState] Operational state of the application
|
||||
* gateway resource. Possible values include: 'Stopped', 'Starting',
|
||||
* 'Running', 'Stopping'
|
||||
* @property {array} [gatewayIPConfigurations] Subnets of application the
|
||||
* gateway resource.
|
||||
* @property {array} [authenticationCertificates] Authentication certificates
|
||||
* of the application gateway resource.
|
||||
* @property {array} [trustedRootCertificates] Trusted Root certificates of
|
||||
* the application gateway resource.
|
||||
* @property {array} [sslCertificates] SSL certificates of the application
|
||||
* gateway resource.
|
||||
* @property {array} [frontendIPConfigurations] Frontend IP addresses of the
|
||||
* application gateway resource.
|
||||
* @property {array} [frontendPorts] Frontend ports of the application
|
||||
* gateway resource.
|
||||
* @property {array} [probes] Probes of the application gateway resource.
|
||||
* @property {array} [backendAddressPools] Backend address pool of the
|
||||
* application gateway resource.
|
||||
* @property {array} [backendHttpSettingsCollection] Backend http settings of
|
||||
* the application gateway resource.
|
||||
* @property {array} [httpListeners] Http listeners of the application
|
||||
* gateway resource.
|
||||
* @property {array} [urlPathMaps] URL path map of the application gateway
|
||||
* resource.
|
||||
* @property {array} [requestRoutingRules] Request routing rules of the
|
||||
* application gateway resource.
|
||||
* @property {array} [rewriteRuleSets] Rewrite rules for the application
|
||||
* gateway resource.
|
||||
* @property {array} [redirectConfigurations] Redirect configurations of the
|
||||
* application gateway resource.
|
||||
* @property {object} [webApplicationFirewallConfiguration] Web application
|
||||
* firewall configuration.
|
||||
* @property {boolean} [webApplicationFirewallConfiguration.enabled] Whether
|
||||
* the web application firewall is enabled or not.
|
||||
* @property {string} [webApplicationFirewallConfiguration.firewallMode] Web
|
||||
* application firewall mode. Possible values include: 'Detection',
|
||||
* 'Prevention'
|
||||
* @property {string} [webApplicationFirewallConfiguration.ruleSetType] The
|
||||
* type of the web application firewall rule set. Possible values are:
|
||||
* 'OWASP'.
|
||||
* @property {string} [webApplicationFirewallConfiguration.ruleSetVersion]
|
||||
* The version of the rule set type.
|
||||
* @property {array} [webApplicationFirewallConfiguration.disabledRuleGroups]
|
||||
* The disabled rule groups.
|
||||
* @property {boolean} [webApplicationFirewallConfiguration.requestBodyCheck]
|
||||
* Whether allow WAF to check request Body.
|
||||
* @property {number}
|
||||
* [webApplicationFirewallConfiguration.maxRequestBodySize] Maxium request
|
||||
* body size for WAF.
|
||||
* @property {number}
|
||||
* [webApplicationFirewallConfiguration.maxRequestBodySizeInKb] Maxium
|
||||
* request body size in Kb for WAF.
|
||||
* @property {number}
|
||||
* [webApplicationFirewallConfiguration.fileUploadLimitInMb] Maxium file
|
||||
* upload size in Mb for WAF.
|
||||
* @property {array} [webApplicationFirewallConfiguration.exclusions] The
|
||||
* exclusion list.
|
||||
* @property {boolean} [enableHttp2] Whether HTTP2 is enabled on the
|
||||
* application gateway resource.
|
||||
* @property {boolean} [enableFips] Whether FIPS is enabled on the
|
||||
* application gateway resource.
|
||||
* @property {object} [autoscaleConfiguration] Autoscale Configuration.
|
||||
* @property {number} [autoscaleConfiguration.minCapacity] Lower bound on
|
||||
* number of Application Gateway instances
|
||||
* @property {string} [resourceGuid] Resource GUID property of the
|
||||
* application gateway resource.
|
||||
* @property {string} [provisioningState] Provisioning state of the
|
||||
* application gateway resource. Possible values are: 'Updating', 'Deleting',
|
||||
* and 'Failed'.
|
||||
* @property {array} [customErrorConfigurations] Custom error configurations
|
||||
* of the application gateway resource.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {array} [zones] A list of availability zones denoting where the
|
||||
* resource needs to come from.
|
||||
* @property {object} [identity] The identity of the application gateway, if
|
||||
* configured.
|
||||
* @property {string} [identity.principalId] The principal id of the system
|
||||
* assigned identity. This property will only be provided for a system
|
||||
* assigned identity.
|
||||
* @property {string} [identity.tenantId] The tenant id of the system
|
||||
* assigned identity. This property will only be provided for a system
|
||||
* assigned identity.
|
||||
* @property {string} [identity.type] The type of identity used for the
|
||||
* resource. The type 'SystemAssigned, UserAssigned' includes both an
|
||||
* implicitly created identity and a set of user assigned identities. The
|
||||
* type 'None' will remove any identities from the virtual machine. Possible
|
||||
* values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned,
|
||||
* UserAssigned', 'None'
|
||||
* @property {object} [identity.userAssignedIdentities] The list of user
|
||||
* identities associated with resource. The user identity dictionary key
|
||||
* references will be ARM resource ids in the form:
|
||||
* '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGateway
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGateway
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGateway',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGateway',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
required: false,
|
||||
serializedName: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
required: false,
|
||||
serializedName: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
sku: {
|
||||
required: false,
|
||||
serializedName: 'properties.sku',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewaySku'
|
||||
}
|
||||
},
|
||||
sslPolicy: {
|
||||
required: false,
|
||||
serializedName: 'properties.sslPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewaySslPolicy'
|
||||
}
|
||||
},
|
||||
operationalState: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.operationalState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
gatewayIPConfigurations: {
|
||||
required: false,
|
||||
serializedName: 'properties.gatewayIPConfigurations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayIPConfigurationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayIPConfiguration'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
authenticationCertificates: {
|
||||
required: false,
|
||||
serializedName: 'properties.authenticationCertificates',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayAuthenticationCertificateElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayAuthenticationCertificate'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
trustedRootCertificates: {
|
||||
required: false,
|
||||
serializedName: 'properties.trustedRootCertificates',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayTrustedRootCertificateElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayTrustedRootCertificate'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
sslCertificates: {
|
||||
required: false,
|
||||
serializedName: 'properties.sslCertificates',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewaySslCertificateElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewaySslCertificate'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
frontendIPConfigurations: {
|
||||
required: false,
|
||||
serializedName: 'properties.frontendIPConfigurations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFrontendIPConfigurationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFrontendIPConfiguration'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
frontendPorts: {
|
||||
required: false,
|
||||
serializedName: 'properties.frontendPorts',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFrontendPortElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFrontendPort'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
probes: {
|
||||
required: false,
|
||||
serializedName: 'properties.probes',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayProbeElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayProbe'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
backendAddressPools: {
|
||||
required: false,
|
||||
serializedName: 'properties.backendAddressPools',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendAddressPoolElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendAddressPool'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
backendHttpSettingsCollection: {
|
||||
required: false,
|
||||
serializedName: 'properties.backendHttpSettingsCollection',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendHttpSettingsElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendHttpSettings'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
httpListeners: {
|
||||
required: false,
|
||||
serializedName: 'properties.httpListeners',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayHttpListenerElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayHttpListener'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
urlPathMaps: {
|
||||
required: false,
|
||||
serializedName: 'properties.urlPathMaps',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayUrlPathMapElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayUrlPathMap'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
requestRoutingRules: {
|
||||
required: false,
|
||||
serializedName: 'properties.requestRoutingRules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayRequestRoutingRuleElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayRequestRoutingRule'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
rewriteRuleSets: {
|
||||
required: false,
|
||||
serializedName: 'properties.rewriteRuleSets',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayRewriteRuleSetElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayRewriteRuleSet'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
redirectConfigurations: {
|
||||
required: false,
|
||||
serializedName: 'properties.redirectConfigurations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayRedirectConfigurationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayRedirectConfiguration'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
webApplicationFirewallConfiguration: {
|
||||
required: false,
|
||||
serializedName: 'properties.webApplicationFirewallConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayWebApplicationFirewallConfiguration'
|
||||
}
|
||||
},
|
||||
enableHttp2: {
|
||||
required: false,
|
||||
serializedName: 'properties.enableHttp2',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
enableFips: {
|
||||
required: false,
|
||||
serializedName: 'properties.enableFips',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
autoscaleConfiguration: {
|
||||
required: false,
|
||||
serializedName: 'properties.autoscaleConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayAutoscaleConfiguration'
|
||||
}
|
||||
},
|
||||
resourceGuid: {
|
||||
required: false,
|
||||
serializedName: 'properties.resourceGuid',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
customErrorConfigurations: {
|
||||
required: false,
|
||||
serializedName: 'properties.customErrorConfigurations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayCustomErrorElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayCustomError'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
zones: {
|
||||
required: false,
|
||||
serializedName: 'zones',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
identity: {
|
||||
required: false,
|
||||
serializedName: 'identity',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ManagedServiceIdentity'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGateway;
|
|
@ -1,99 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Authentication certificates of an application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayAuthenticationCertificate extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayAuthenticationCertificate.
|
||||
* @property {string} [data] Certificate public data.
|
||||
* @property {string} [provisioningState] Provisioning state of the
|
||||
* authentication certificate resource. Possible values are: 'Updating',
|
||||
* 'Deleting', and 'Failed'.
|
||||
* @property {string} [name] Name of the authentication certificate that is
|
||||
* unique within an Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayAuthenticationCertificate
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayAuthenticationCertificate
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayAuthenticationCertificate',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayAuthenticationCertificate',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
data: {
|
||||
required: false,
|
||||
serializedName: 'properties.data',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayAuthenticationCertificate;
|
|
@ -1,56 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Application Gateway autoscale configuration.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayAutoscaleConfiguration {
|
||||
/**
|
||||
* Create a ApplicationGatewayAutoscaleConfiguration.
|
||||
* @property {number} minCapacity Lower bound on number of Application
|
||||
* Gateway instances
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayAutoscaleConfiguration
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayAutoscaleConfiguration
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayAutoscaleConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayAutoscaleConfiguration',
|
||||
modelProperties: {
|
||||
minCapacity: {
|
||||
required: true,
|
||||
serializedName: 'minCapacity',
|
||||
constraints: {
|
||||
InclusiveMinimum: 2
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayAutoscaleConfiguration;
|
|
@ -1,151 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Response for ApplicationGatewayAvailableSslOptions API service call.
|
||||
*
|
||||
* @extends models['Resource']
|
||||
*/
|
||||
class ApplicationGatewayAvailableSslOptions extends models['Resource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayAvailableSslOptions.
|
||||
* @property {array} [predefinedPolicies] List of available Ssl predefined
|
||||
* policy.
|
||||
* @property {string} [defaultPolicy] Name of the Ssl predefined policy
|
||||
* applied by default to application gateway. Possible values include:
|
||||
* 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401',
|
||||
* 'AppGwSslPolicy20170401S'
|
||||
* @property {array} [availableCipherSuites] List of available Ssl cipher
|
||||
* suites.
|
||||
* @property {array} [availableProtocols] List of available Ssl protocols.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayAvailableSslOptions
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayAvailableSslOptions
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayAvailableSslOptions',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayAvailableSslOptions',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
required: false,
|
||||
serializedName: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
required: false,
|
||||
serializedName: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
predefinedPolicies: {
|
||||
required: false,
|
||||
serializedName: 'properties.predefinedPolicies',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'SubResourceElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
defaultPolicy: {
|
||||
required: false,
|
||||
serializedName: 'properties.defaultPolicy',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
availableCipherSuites: {
|
||||
required: false,
|
||||
serializedName: 'properties.availableCipherSuites',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewaySslCipherSuiteElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
availableProtocols: {
|
||||
required: false,
|
||||
serializedName: 'properties.availableProtocols',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewaySslProtocolElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayAvailableSslOptions;
|
|
@ -1,67 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Response for ApplicationGatewayAvailableSslOptions API service call.
|
||||
*/
|
||||
class ApplicationGatewayAvailableSslPredefinedPolicies extends Array {
|
||||
/**
|
||||
* Create a ApplicationGatewayAvailableSslPredefinedPolicies.
|
||||
* @property {string} [nextLink] URL to get the next set of results.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayAvailableSslPredefinedPolicies
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayAvailableSslPredefinedPolicies
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayAvailableSslPredefinedPolicies',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayAvailableSslPredefinedPolicies',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: '',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewaySslPredefinedPolicyElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewaySslPredefinedPolicy'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
nextLink: {
|
||||
required: false,
|
||||
serializedName: 'nextLink',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayAvailableSslPredefinedPolicies;
|
|
@ -1,60 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Response for ApplicationGatewayAvailableWafRuleSets API service call.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayAvailableWafRuleSetsResult {
|
||||
/**
|
||||
* Create a ApplicationGatewayAvailableWafRuleSetsResult.
|
||||
* @property {array} [value] The list of application gateway rule sets.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayAvailableWafRuleSetsResult
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayAvailableWafRuleSetsResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayAvailableWafRuleSetsResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayAvailableWafRuleSetsResult',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'value',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFirewallRuleSetElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFirewallRuleSet'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayAvailableWafRuleSetsResult;
|
|
@ -1,60 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Backend address of an application gateway.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayBackendAddress {
|
||||
/**
|
||||
* Create a ApplicationGatewayBackendAddress.
|
||||
* @property {string} [fqdn] Fully qualified domain name (FQDN).
|
||||
* @property {string} [ipAddress] IP address
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayBackendAddress
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayBackendAddress
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendAddress',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendAddress',
|
||||
modelProperties: {
|
||||
fqdn: {
|
||||
required: false,
|
||||
serializedName: 'fqdn',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
ipAddress: {
|
||||
required: false,
|
||||
serializedName: 'ipAddress',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayBackendAddress;
|
|
@ -1,124 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Backend Address Pool of an application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayBackendAddressPool extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayBackendAddressPool.
|
||||
* @property {array} [backendIPConfigurations] Collection of references to
|
||||
* IPs defined in network interfaces.
|
||||
* @property {array} [backendAddresses] Backend addresses
|
||||
* @property {string} [provisioningState] Provisioning state of the backend
|
||||
* address pool resource. Possible values are: 'Updating', 'Deleting', and
|
||||
* 'Failed'.
|
||||
* @property {string} [name] Name of the backend address pool that is unique
|
||||
* within an Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayBackendAddressPool
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayBackendAddressPool
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendAddressPool',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendAddressPool',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
backendIPConfigurations: {
|
||||
required: false,
|
||||
serializedName: 'properties.backendIPConfigurations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'NetworkInterfaceIPConfigurationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'NetworkInterfaceIPConfiguration'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
backendAddresses: {
|
||||
required: false,
|
||||
serializedName: 'properties.backendAddresses',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendAddressElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendAddress'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayBackendAddressPool;
|
|
@ -1,60 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* List of ApplicationGatewayBackendHealthPool resources.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayBackendHealth {
|
||||
/**
|
||||
* Create a ApplicationGatewayBackendHealth.
|
||||
* @property {array} [backendAddressPools]
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayBackendHealth
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayBackendHealth
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendHealth',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendHealth',
|
||||
modelProperties: {
|
||||
backendAddressPools: {
|
||||
required: false,
|
||||
serializedName: 'backendAddressPools',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendHealthPoolElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendHealthPool'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayBackendHealth;
|
|
@ -1,117 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Application gateway BackendHealthHttp settings.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayBackendHealthHttpSettings {
|
||||
/**
|
||||
* Create a ApplicationGatewayBackendHealthHttpSettings.
|
||||
* @property {object} [backendHttpSettings] Reference of an
|
||||
* ApplicationGatewayBackendHttpSettings resource.
|
||||
* @property {number} [backendHttpSettings.port] The destination port on the
|
||||
* backend.
|
||||
* @property {string} [backendHttpSettings.protocol] The protocol used to
|
||||
* communicate with the backend. Possible values are 'Http' and 'Https'.
|
||||
* Possible values include: 'Http', 'Https'
|
||||
* @property {string} [backendHttpSettings.cookieBasedAffinity] Cookie based
|
||||
* affinity. Possible values include: 'Enabled', 'Disabled'
|
||||
* @property {number} [backendHttpSettings.requestTimeout] Request timeout in
|
||||
* seconds. Application Gateway will fail the request if response is not
|
||||
* received within RequestTimeout. Acceptable values are from 1 second to
|
||||
* 86400 seconds.
|
||||
* @property {object} [backendHttpSettings.probe] Probe resource of an
|
||||
* application gateway.
|
||||
* @property {string} [backendHttpSettings.probe.id] Resource ID.
|
||||
* @property {array} [backendHttpSettings.authenticationCertificates] Array
|
||||
* of references to application gateway authentication certificates.
|
||||
* @property {array} [backendHttpSettings.trustedRootCertificates] Array of
|
||||
* references to application gateway trusted root certificates.
|
||||
* @property {object} [backendHttpSettings.connectionDraining] Connection
|
||||
* draining of the backend http settings resource.
|
||||
* @property {boolean} [backendHttpSettings.connectionDraining.enabled]
|
||||
* Whether connection draining is enabled or not.
|
||||
* @property {number}
|
||||
* [backendHttpSettings.connectionDraining.drainTimeoutInSec] The number of
|
||||
* seconds connection draining is active. Acceptable values are from 1 second
|
||||
* to 3600 seconds.
|
||||
* @property {string} [backendHttpSettings.hostName] Host header to be sent
|
||||
* to the backend servers.
|
||||
* @property {boolean} [backendHttpSettings.pickHostNameFromBackendAddress]
|
||||
* Whether to pick host header should be picked from the host name of the
|
||||
* backend server. Default value is false.
|
||||
* @property {string} [backendHttpSettings.affinityCookieName] Cookie name to
|
||||
* use for the affinity cookie.
|
||||
* @property {boolean} [backendHttpSettings.probeEnabled] Whether the probe
|
||||
* is enabled. Default value is false.
|
||||
* @property {string} [backendHttpSettings.path] Path which should be used as
|
||||
* a prefix for all HTTP requests. Null means no path will be prefixed.
|
||||
* Default value is null.
|
||||
* @property {string} [backendHttpSettings.provisioningState] Provisioning
|
||||
* state of the backend http settings resource. Possible values are:
|
||||
* 'Updating', 'Deleting', and 'Failed'.
|
||||
* @property {string} [backendHttpSettings.name] Name of the backend http
|
||||
* settings that is unique within an Application Gateway.
|
||||
* @property {string} [backendHttpSettings.etag] A unique read-only string
|
||||
* that changes whenever the resource is updated.
|
||||
* @property {string} [backendHttpSettings.type] Type of the resource.
|
||||
* @property {array} [servers] List of ApplicationGatewayBackendHealthServer
|
||||
* resources.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayBackendHealthHttpSettings
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayBackendHealthHttpSettings
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendHealthHttpSettings',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendHealthHttpSettings',
|
||||
modelProperties: {
|
||||
backendHttpSettings: {
|
||||
required: false,
|
||||
serializedName: 'backendHttpSettings',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendHttpSettings'
|
||||
}
|
||||
},
|
||||
servers: {
|
||||
required: false,
|
||||
serializedName: 'servers',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendHealthServerElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendHealthServer'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayBackendHealthHttpSettings;
|
|
@ -1,82 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Application gateway BackendHealth pool.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayBackendHealthPool {
|
||||
/**
|
||||
* Create a ApplicationGatewayBackendHealthPool.
|
||||
* @property {object} [backendAddressPool] Reference of an
|
||||
* ApplicationGatewayBackendAddressPool resource.
|
||||
* @property {array} [backendAddressPool.backendIPConfigurations] Collection
|
||||
* of references to IPs defined in network interfaces.
|
||||
* @property {array} [backendAddressPool.backendAddresses] Backend addresses
|
||||
* @property {string} [backendAddressPool.provisioningState] Provisioning
|
||||
* state of the backend address pool resource. Possible values are:
|
||||
* 'Updating', 'Deleting', and 'Failed'.
|
||||
* @property {string} [backendAddressPool.name] Name of the backend address
|
||||
* pool that is unique within an Application Gateway.
|
||||
* @property {string} [backendAddressPool.etag] A unique read-only string
|
||||
* that changes whenever the resource is updated.
|
||||
* @property {string} [backendAddressPool.type] Type of the resource.
|
||||
* @property {array} [backendHttpSettingsCollection] List of
|
||||
* ApplicationGatewayBackendHealthHttpSettings resources.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayBackendHealthPool
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayBackendHealthPool
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendHealthPool',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendHealthPool',
|
||||
modelProperties: {
|
||||
backendAddressPool: {
|
||||
required: false,
|
||||
serializedName: 'backendAddressPool',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendAddressPool'
|
||||
}
|
||||
},
|
||||
backendHttpSettingsCollection: {
|
||||
required: false,
|
||||
serializedName: 'backendHttpSettingsCollection',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendHealthHttpSettingsElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendHealthHttpSettings'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayBackendHealthPool;
|
|
@ -1,336 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Application gateway backendhealth http settings.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayBackendHealthServer {
|
||||
/**
|
||||
* Create a ApplicationGatewayBackendHealthServer.
|
||||
* @property {string} [address] IP address or FQDN of backend server.
|
||||
* @property {object} [ipConfiguration] Reference of IP configuration of
|
||||
* backend server.
|
||||
* @property {array} [ipConfiguration.virtualNetworkTaps] The reference to
|
||||
* Virtual Network Taps.
|
||||
* @property {array} [ipConfiguration.applicationGatewayBackendAddressPools]
|
||||
* The reference of ApplicationGatewayBackendAddressPool resource.
|
||||
* @property {array} [ipConfiguration.loadBalancerBackendAddressPools] The
|
||||
* reference of LoadBalancerBackendAddressPool resource.
|
||||
* @property {array} [ipConfiguration.loadBalancerInboundNatRules] A list of
|
||||
* references of LoadBalancerInboundNatRules.
|
||||
* @property {string} [ipConfiguration.privateIPAddress] Private IP address
|
||||
* of the IP configuration.
|
||||
* @property {string} [ipConfiguration.privateIPAllocationMethod] Defines how
|
||||
* a private IP address is assigned. Possible values are: 'Static' and
|
||||
* 'Dynamic'. Possible values include: 'Static', 'Dynamic'
|
||||
* @property {string} [ipConfiguration.privateIPAddressVersion] Available
|
||||
* from Api-Version 2016-03-30 onwards, it represents whether the specific
|
||||
* ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible
|
||||
* values are: 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6'
|
||||
* @property {object} [ipConfiguration.subnet] Subnet bound to the IP
|
||||
* configuration.
|
||||
* @property {string} [ipConfiguration.subnet.addressPrefix] The address
|
||||
* prefix for the subnet.
|
||||
* @property {array} [ipConfiguration.subnet.addressPrefixes] List of
|
||||
* address prefixes for the subnet.
|
||||
* @property {object} [ipConfiguration.subnet.networkSecurityGroup] The
|
||||
* reference of the NetworkSecurityGroup resource.
|
||||
* @property {array}
|
||||
* [ipConfiguration.subnet.networkSecurityGroup.securityRules] A collection
|
||||
* of security rules of the network security group.
|
||||
* @property {array}
|
||||
* [ipConfiguration.subnet.networkSecurityGroup.defaultSecurityRules] The
|
||||
* default security rules of network security group.
|
||||
* @property {array}
|
||||
* [ipConfiguration.subnet.networkSecurityGroup.networkInterfaces] A
|
||||
* collection of references to network interfaces.
|
||||
* @property {array} [ipConfiguration.subnet.networkSecurityGroup.subnets] A
|
||||
* collection of references to subnets.
|
||||
* @property {string}
|
||||
* [ipConfiguration.subnet.networkSecurityGroup.resourceGuid] The resource
|
||||
* GUID property of the network security group resource.
|
||||
* @property {string}
|
||||
* [ipConfiguration.subnet.networkSecurityGroup.provisioningState] The
|
||||
* provisioning state of the public IP resource. Possible values are:
|
||||
* 'Updating', 'Deleting', and 'Failed'.
|
||||
* @property {string} [ipConfiguration.subnet.networkSecurityGroup.etag] A
|
||||
* unique read-only string that changes whenever the resource is updated.
|
||||
* @property {object} [ipConfiguration.subnet.routeTable] The reference of
|
||||
* the RouteTable resource.
|
||||
* @property {array} [ipConfiguration.subnet.routeTable.routes] Collection of
|
||||
* routes contained within a route table.
|
||||
* @property {array} [ipConfiguration.subnet.routeTable.subnets] A collection
|
||||
* of references to subnets.
|
||||
* @property {boolean}
|
||||
* [ipConfiguration.subnet.routeTable.disableBgpRoutePropagation] Gets or
|
||||
* sets whether to disable the routes learned by BGP on that route table.
|
||||
* True means disable.
|
||||
* @property {string} [ipConfiguration.subnet.routeTable.provisioningState]
|
||||
* The provisioning state of the resource. Possible values are: 'Updating',
|
||||
* 'Deleting', and 'Failed'.
|
||||
* @property {string} [ipConfiguration.subnet.routeTable.etag] Gets a unique
|
||||
* read-only string that changes whenever the resource is updated.
|
||||
* @property {array} [ipConfiguration.subnet.serviceEndpoints] An array of
|
||||
* service endpoints.
|
||||
* @property {array} [ipConfiguration.subnet.serviceEndpointPolicies] An
|
||||
* array of service endpoint policies.
|
||||
* @property {array} [ipConfiguration.subnet.interfaceEndpoints] An array of
|
||||
* references to interface endpoints
|
||||
* @property {array} [ipConfiguration.subnet.ipConfigurations] Gets an array
|
||||
* of references to the network interface IP configurations using subnet.
|
||||
* @property {array} [ipConfiguration.subnet.ipConfigurationProfiles] Array
|
||||
* of IP configuration profiles which reference this subnet.
|
||||
* @property {array} [ipConfiguration.subnet.resourceNavigationLinks] Gets an
|
||||
* array of references to the external resources using subnet.
|
||||
* @property {array} [ipConfiguration.subnet.serviceAssociationLinks] Gets an
|
||||
* array of references to services injecting into this subnet.
|
||||
* @property {array} [ipConfiguration.subnet.delegations] Gets an array of
|
||||
* references to the delegations on the subnet.
|
||||
* @property {string} [ipConfiguration.subnet.purpose] A read-only string
|
||||
* identifying the intention of use for this subnet based on delegations and
|
||||
* other user-defined properties.
|
||||
* @property {string} [ipConfiguration.subnet.provisioningState] The
|
||||
* provisioning state of the resource.
|
||||
* @property {string} [ipConfiguration.subnet.name] The name of the resource
|
||||
* that is unique within a resource group. This name can be used to access
|
||||
* the resource.
|
||||
* @property {string} [ipConfiguration.subnet.etag] A unique read-only string
|
||||
* that changes whenever the resource is updated.
|
||||
* @property {boolean} [ipConfiguration.primary] Gets whether this is a
|
||||
* primary customer address on the network interface.
|
||||
* @property {object} [ipConfiguration.publicIPAddress] Public IP address
|
||||
* bound to the IP configuration.
|
||||
* @property {object} [ipConfiguration.publicIPAddress.sku] The public IP
|
||||
* address SKU.
|
||||
* @property {string} [ipConfiguration.publicIPAddress.sku.name] Name of a
|
||||
* public IP address SKU. Possible values include: 'Basic', 'Standard'
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.publicIPAllocationMethod] The public IP
|
||||
* allocation method. Possible values are: 'Static' and 'Dynamic'. Possible
|
||||
* values include: 'Static', 'Dynamic'
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.publicIPAddressVersion] The public IP
|
||||
* address version. Possible values are: 'IPv4' and 'IPv6'. Possible values
|
||||
* include: 'IPv4', 'IPv6'
|
||||
* @property {object} [ipConfiguration.publicIPAddress.ipConfiguration] The
|
||||
* IP configuration associated with the public IP address.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.privateIPAddress] The
|
||||
* private IP address of the IP configuration.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.privateIPAllocationMethod]
|
||||
* The private IP allocation method. Possible values are 'Static' and
|
||||
* 'Dynamic'. Possible values include: 'Static', 'Dynamic'
|
||||
* @property {object}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet] The reference of
|
||||
* the subnet resource.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.addressPrefix] The
|
||||
* address prefix for the subnet.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.addressPrefixes]
|
||||
* List of address prefixes for the subnet.
|
||||
* @property {object}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup]
|
||||
* The reference of the NetworkSecurityGroup resource.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.securityRules]
|
||||
* A collection of security rules of the network security group.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.defaultSecurityRules]
|
||||
* The default security rules of network security group.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.networkInterfaces]
|
||||
* A collection of references to network interfaces.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.subnets]
|
||||
* A collection of references to subnets.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.resourceGuid]
|
||||
* The resource GUID property of the network security group resource.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.provisioningState]
|
||||
* The provisioning state of the public IP resource. Possible values are:
|
||||
* 'Updating', 'Deleting', and 'Failed'.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.networkSecurityGroup.etag]
|
||||
* A unique read-only string that changes whenever the resource is updated.
|
||||
* @property {object}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable] The
|
||||
* reference of the RouteTable resource.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.routes]
|
||||
* Collection of routes contained within a route table.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.subnets]
|
||||
* A collection of references to subnets.
|
||||
* @property {boolean}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.disableBgpRoutePropagation]
|
||||
* Gets or sets whether to disable the routes learned by BGP on that route
|
||||
* table. True means disable.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.provisioningState]
|
||||
* The provisioning state of the resource. Possible values are: 'Updating',
|
||||
* 'Deleting', and 'Failed'.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.routeTable.etag]
|
||||
* Gets a unique read-only string that changes whenever the resource is
|
||||
* updated.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.serviceEndpoints]
|
||||
* An array of service endpoints.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.serviceEndpointPolicies]
|
||||
* An array of service endpoint policies.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.interfaceEndpoints]
|
||||
* An array of references to interface endpoints
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.ipConfigurations]
|
||||
* Gets an array of references to the network interface IP configurations
|
||||
* using subnet.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.ipConfigurationProfiles]
|
||||
* Array of IP configuration profiles which reference this subnet.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.resourceNavigationLinks]
|
||||
* Gets an array of references to the external resources using subnet.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.serviceAssociationLinks]
|
||||
* Gets an array of references to services injecting into this subnet.
|
||||
* @property {array}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.delegations] Gets
|
||||
* an array of references to the delegations on the subnet.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.purpose] A
|
||||
* read-only string identifying the intention of use for this subnet based on
|
||||
* delegations and other user-defined properties.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.provisioningState]
|
||||
* The provisioning state of the resource.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.name] The name of
|
||||
* the resource that is unique within a resource group. This name can be used
|
||||
* to access the resource.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.subnet.etag] A unique
|
||||
* read-only string that changes whenever the resource is updated.
|
||||
* @property {object}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.publicIPAddress] The
|
||||
* reference of the public IP resource.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.ipConfiguration.provisioningState] Gets
|
||||
* the provisioning state of the public IP resource. Possible values are:
|
||||
* 'Updating', 'Deleting', and 'Failed'.
|
||||
* @property {string} [ipConfiguration.publicIPAddress.ipConfiguration.name]
|
||||
* The name of the resource that is unique within a resource group. This name
|
||||
* can be used to access the resource.
|
||||
* @property {string} [ipConfiguration.publicIPAddress.ipConfiguration.etag]
|
||||
* A unique read-only string that changes whenever the resource is updated.
|
||||
* @property {object} [ipConfiguration.publicIPAddress.dnsSettings] The FQDN
|
||||
* of the DNS record associated with the public IP address.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.dnsSettings.domainNameLabel] Gets or sets
|
||||
* the Domain name label.The concatenation of the domain name label and the
|
||||
* regionalized DNS zone make up the fully qualified domain name associated
|
||||
* with the public IP address. If a domain name label is specified, an A DNS
|
||||
* record is created for the public IP in the Microsoft Azure DNS system.
|
||||
* @property {string} [ipConfiguration.publicIPAddress.dnsSettings.fqdn] Gets
|
||||
* the FQDN, Fully qualified domain name of the A DNS record associated with
|
||||
* the public IP. This is the concatenation of the domainNameLabel and the
|
||||
* regionalized DNS zone.
|
||||
* @property {string}
|
||||
* [ipConfiguration.publicIPAddress.dnsSettings.reverseFqdn] Gets or Sets the
|
||||
* Reverse FQDN. A user-visible, fully qualified domain name that resolves to
|
||||
* this public IP address. If the reverseFqdn is specified, then a PTR DNS
|
||||
* record is created pointing from the IP address in the in-addr.arpa domain
|
||||
* to the reverse FQDN.
|
||||
* @property {array} [ipConfiguration.publicIPAddress.ipTags] The list of
|
||||
* tags associated with the public IP address.
|
||||
* @property {string} [ipConfiguration.publicIPAddress.ipAddress] The IP
|
||||
* address associated with the public IP address resource.
|
||||
* @property {object} [ipConfiguration.publicIPAddress.publicIPPrefix] The
|
||||
* Public IP Prefix this Public IP Address should be allocated from.
|
||||
* @property {string} [ipConfiguration.publicIPAddress.publicIPPrefix.id]
|
||||
* Resource ID.
|
||||
* @property {number} [ipConfiguration.publicIPAddress.idleTimeoutInMinutes]
|
||||
* The idle timeout of the public IP address.
|
||||
* @property {string} [ipConfiguration.publicIPAddress.resourceGuid] The
|
||||
* resource GUID property of the public IP resource.
|
||||
* @property {string} [ipConfiguration.publicIPAddress.provisioningState] The
|
||||
* provisioning state of the PublicIP resource. Possible values are:
|
||||
* 'Updating', 'Deleting', and 'Failed'.
|
||||
* @property {string} [ipConfiguration.publicIPAddress.etag] A unique
|
||||
* read-only string that changes whenever the resource is updated.
|
||||
* @property {array} [ipConfiguration.publicIPAddress.zones] A list of
|
||||
* availability zones denoting the IP allocated for the resource needs to
|
||||
* come from.
|
||||
* @property {array} [ipConfiguration.applicationSecurityGroups] Application
|
||||
* security groups in which the IP configuration is included.
|
||||
* @property {string} [ipConfiguration.provisioningState] The provisioning
|
||||
* state of the network interface IP configuration. Possible values are:
|
||||
* 'Updating', 'Deleting', and 'Failed'.
|
||||
* @property {string} [ipConfiguration.name] The name of the resource that is
|
||||
* unique within a resource group. This name can be used to access the
|
||||
* resource.
|
||||
* @property {string} [ipConfiguration.etag] A unique read-only string that
|
||||
* changes whenever the resource is updated.
|
||||
* @property {string} [health] Health of backend server. Possible values
|
||||
* include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayBackendHealthServer
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayBackendHealthServer
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendHealthServer',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendHealthServer',
|
||||
modelProperties: {
|
||||
address: {
|
||||
required: false,
|
||||
serializedName: 'address',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
ipConfiguration: {
|
||||
required: false,
|
||||
serializedName: 'ipConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'NetworkInterfaceIPConfiguration'
|
||||
}
|
||||
},
|
||||
health: {
|
||||
required: false,
|
||||
serializedName: 'health',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayBackendHealthServer;
|
|
@ -1,234 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Backend address pool settings of an application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayBackendHttpSettings extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayBackendHttpSettings.
|
||||
* @property {number} [port] The destination port on the backend.
|
||||
* @property {string} [protocol] The protocol used to communicate with the
|
||||
* backend. Possible values are 'Http' and 'Https'. Possible values include:
|
||||
* 'Http', 'Https'
|
||||
* @property {string} [cookieBasedAffinity] Cookie based affinity. Possible
|
||||
* values include: 'Enabled', 'Disabled'
|
||||
* @property {number} [requestTimeout] Request timeout in seconds.
|
||||
* Application Gateway will fail the request if response is not received
|
||||
* within RequestTimeout. Acceptable values are from 1 second to 86400
|
||||
* seconds.
|
||||
* @property {object} [probe] Probe resource of an application gateway.
|
||||
* @property {string} [probe.id] Resource ID.
|
||||
* @property {array} [authenticationCertificates] Array of references to
|
||||
* application gateway authentication certificates.
|
||||
* @property {array} [trustedRootCertificates] Array of references to
|
||||
* application gateway trusted root certificates.
|
||||
* @property {object} [connectionDraining] Connection draining of the backend
|
||||
* http settings resource.
|
||||
* @property {boolean} [connectionDraining.enabled] Whether connection
|
||||
* draining is enabled or not.
|
||||
* @property {number} [connectionDraining.drainTimeoutInSec] The number of
|
||||
* seconds connection draining is active. Acceptable values are from 1 second
|
||||
* to 3600 seconds.
|
||||
* @property {string} [hostName] Host header to be sent to the backend
|
||||
* servers.
|
||||
* @property {boolean} [pickHostNameFromBackendAddress] Whether to pick host
|
||||
* header should be picked from the host name of the backend server. Default
|
||||
* value is false.
|
||||
* @property {string} [affinityCookieName] Cookie name to use for the
|
||||
* affinity cookie.
|
||||
* @property {boolean} [probeEnabled] Whether the probe is enabled. Default
|
||||
* value is false.
|
||||
* @property {string} [path] Path which should be used as a prefix for all
|
||||
* HTTP requests. Null means no path will be prefixed. Default value is null.
|
||||
* @property {string} [provisioningState] Provisioning state of the backend
|
||||
* http settings resource. Possible values are: 'Updating', 'Deleting', and
|
||||
* 'Failed'.
|
||||
* @property {string} [name] Name of the backend http settings that is unique
|
||||
* within an Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayBackendHttpSettings
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayBackendHttpSettings
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayBackendHttpSettings',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayBackendHttpSettings',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
port: {
|
||||
required: false,
|
||||
serializedName: 'properties.port',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
protocol: {
|
||||
required: false,
|
||||
serializedName: 'properties.protocol',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
cookieBasedAffinity: {
|
||||
required: false,
|
||||
serializedName: 'properties.cookieBasedAffinity',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
requestTimeout: {
|
||||
required: false,
|
||||
serializedName: 'properties.requestTimeout',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
probe: {
|
||||
required: false,
|
||||
serializedName: 'properties.probe',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
authenticationCertificates: {
|
||||
required: false,
|
||||
serializedName: 'properties.authenticationCertificates',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'SubResourceElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
trustedRootCertificates: {
|
||||
required: false,
|
||||
serializedName: 'properties.trustedRootCertificates',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'SubResourceElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
connectionDraining: {
|
||||
required: false,
|
||||
serializedName: 'properties.connectionDraining',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayConnectionDraining'
|
||||
}
|
||||
},
|
||||
hostName: {
|
||||
required: false,
|
||||
serializedName: 'properties.hostName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
pickHostNameFromBackendAddress: {
|
||||
required: false,
|
||||
serializedName: 'properties.pickHostNameFromBackendAddress',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
affinityCookieName: {
|
||||
required: false,
|
||||
serializedName: 'properties.affinityCookieName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
probeEnabled: {
|
||||
required: false,
|
||||
serializedName: 'properties.probeEnabled',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
path: {
|
||||
required: false,
|
||||
serializedName: 'properties.path',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayBackendHttpSettings;
|
|
@ -1,67 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Connection draining allows open connections to a backend server to be active
|
||||
* for a specified time after the backend server got removed from the
|
||||
* configuration.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayConnectionDraining {
|
||||
/**
|
||||
* Create a ApplicationGatewayConnectionDraining.
|
||||
* @property {boolean} enabled Whether connection draining is enabled or not.
|
||||
* @property {number} drainTimeoutInSec The number of seconds connection
|
||||
* draining is active. Acceptable values are from 1 second to 3600 seconds.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayConnectionDraining
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayConnectionDraining
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayConnectionDraining',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayConnectionDraining',
|
||||
modelProperties: {
|
||||
enabled: {
|
||||
required: true,
|
||||
serializedName: 'enabled',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
drainTimeoutInSec: {
|
||||
required: true,
|
||||
serializedName: 'drainTimeoutInSec',
|
||||
constraints: {
|
||||
InclusiveMaximum: 3600,
|
||||
InclusiveMinimum: 1
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayConnectionDraining;
|
|
@ -1,62 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Customer error of an application gateway.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayCustomError {
|
||||
/**
|
||||
* Create a ApplicationGatewayCustomError.
|
||||
* @property {string} [statusCode] Status code of the application gateway
|
||||
* customer error. Possible values include: 'HttpStatus403', 'HttpStatus502'
|
||||
* @property {string} [customErrorPageUrl] Error page URL of the application
|
||||
* gateway customer error.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayCustomError
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayCustomError
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayCustomError',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayCustomError',
|
||||
modelProperties: {
|
||||
statusCode: {
|
||||
required: false,
|
||||
serializedName: 'statusCode',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
customErrorPageUrl: {
|
||||
required: false,
|
||||
serializedName: 'customErrorPageUrl',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayCustomError;
|
|
@ -1,69 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Allows to disable rules within a rule group or an entire rule group.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayFirewallDisabledRuleGroup {
|
||||
/**
|
||||
* Create a ApplicationGatewayFirewallDisabledRuleGroup.
|
||||
* @property {string} ruleGroupName The name of the rule group that will be
|
||||
* disabled.
|
||||
* @property {array} [rules] The list of rules that will be disabled. If
|
||||
* null, all rules of the rule group will be disabled.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayFirewallDisabledRuleGroup
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayFirewallDisabledRuleGroup
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFirewallDisabledRuleGroup',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFirewallDisabledRuleGroup',
|
||||
modelProperties: {
|
||||
ruleGroupName: {
|
||||
required: true,
|
||||
serializedName: 'ruleGroupName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
required: false,
|
||||
serializedName: 'rules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'NumberElementType',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayFirewallDisabledRuleGroup;
|
|
@ -1,72 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Allow to exclude some variable satisfy the condition for the WAF check
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayFirewallExclusion {
|
||||
/**
|
||||
* Create a ApplicationGatewayFirewallExclusion.
|
||||
* @property {string} matchVariable The variable to be excluded.
|
||||
* @property {string} selectorMatchOperator When matchVariable is a
|
||||
* collection, operate on the selector to specify which elements in the
|
||||
* collection this exclusion applies to.
|
||||
* @property {string} selector When matchVariable is a collection, operator
|
||||
* used to specify which elements in the collection this exclusion applies
|
||||
* to.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayFirewallExclusion
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayFirewallExclusion
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFirewallExclusion',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFirewallExclusion',
|
||||
modelProperties: {
|
||||
matchVariable: {
|
||||
required: true,
|
||||
serializedName: 'matchVariable',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
selectorMatchOperator: {
|
||||
required: true,
|
||||
serializedName: 'selectorMatchOperator',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
selector: {
|
||||
required: true,
|
||||
serializedName: 'selector',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayFirewallExclusion;
|
|
@ -1,62 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* A web application firewall rule.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayFirewallRule {
|
||||
/**
|
||||
* Create a ApplicationGatewayFirewallRule.
|
||||
* @property {number} ruleId The identifier of the web application firewall
|
||||
* rule.
|
||||
* @property {string} [description] The description of the web application
|
||||
* firewall rule.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayFirewallRule
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayFirewallRule
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFirewallRule',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFirewallRule',
|
||||
modelProperties: {
|
||||
ruleId: {
|
||||
required: true,
|
||||
serializedName: 'ruleId',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
description: {
|
||||
required: false,
|
||||
serializedName: 'description',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayFirewallRule;
|
|
@ -1,79 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* A web application firewall rule group.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayFirewallRuleGroup {
|
||||
/**
|
||||
* Create a ApplicationGatewayFirewallRuleGroup.
|
||||
* @property {string} ruleGroupName The name of the web application firewall
|
||||
* rule group.
|
||||
* @property {string} [description] The description of the web application
|
||||
* firewall rule group.
|
||||
* @property {array} rules The rules of the web application firewall rule
|
||||
* group.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayFirewallRuleGroup
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayFirewallRuleGroup
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFirewallRuleGroup',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFirewallRuleGroup',
|
||||
modelProperties: {
|
||||
ruleGroupName: {
|
||||
required: true,
|
||||
serializedName: 'ruleGroupName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
description: {
|
||||
required: false,
|
||||
serializedName: 'description',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
required: true,
|
||||
serializedName: 'rules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFirewallRuleElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFirewallRule'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayFirewallRuleGroup;
|
|
@ -1,136 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* A web application firewall rule set.
|
||||
*
|
||||
* @extends models['Resource']
|
||||
*/
|
||||
class ApplicationGatewayFirewallRuleSet extends models['Resource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayFirewallRuleSet.
|
||||
* @property {string} [provisioningState] The provisioning state of the web
|
||||
* application firewall rule set.
|
||||
* @property {string} ruleSetType The type of the web application firewall
|
||||
* rule set.
|
||||
* @property {string} ruleSetVersion The version of the web application
|
||||
* firewall rule set type.
|
||||
* @property {array} ruleGroups The rule groups of the web application
|
||||
* firewall rule set.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayFirewallRuleSet
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayFirewallRuleSet
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFirewallRuleSet',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFirewallRuleSet',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
required: false,
|
||||
serializedName: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
required: false,
|
||||
serializedName: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
ruleSetType: {
|
||||
required: true,
|
||||
serializedName: 'properties.ruleSetType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
ruleSetVersion: {
|
||||
required: true,
|
||||
serializedName: 'properties.ruleSetVersion',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
ruleGroups: {
|
||||
required: true,
|
||||
serializedName: 'properties.ruleGroups',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFirewallRuleGroupElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFirewallRuleGroup'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayFirewallRuleSet;
|
|
@ -1,128 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Frontend IP configuration of an application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayFrontendIPConfiguration extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayFrontendIPConfiguration.
|
||||
* @property {string} [privateIPAddress] PrivateIPAddress of the network
|
||||
* interface IP Configuration.
|
||||
* @property {string} [privateIPAllocationMethod] PrivateIP allocation
|
||||
* method. Possible values include: 'Static', 'Dynamic'
|
||||
* @property {object} [subnet] Reference of the subnet resource.
|
||||
* @property {string} [subnet.id] Resource ID.
|
||||
* @property {object} [publicIPAddress] Reference of the PublicIP resource.
|
||||
* @property {string} [publicIPAddress.id] Resource ID.
|
||||
* @property {string} [provisioningState] Provisioning state of the public IP
|
||||
* resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
|
||||
* @property {string} [name] Name of the frontend IP configuration that is
|
||||
* unique within an Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayFrontendIPConfiguration
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayFrontendIPConfiguration
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFrontendIPConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFrontendIPConfiguration',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
privateIPAddress: {
|
||||
required: false,
|
||||
serializedName: 'properties.privateIPAddress',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
privateIPAllocationMethod: {
|
||||
required: false,
|
||||
serializedName: 'properties.privateIPAllocationMethod',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
subnet: {
|
||||
required: false,
|
||||
serializedName: 'properties.subnet',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
publicIPAddress: {
|
||||
required: false,
|
||||
serializedName: 'properties.publicIPAddress',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayFrontendIPConfiguration;
|
|
@ -1,98 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Frontend port of an application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayFrontendPort extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayFrontendPort.
|
||||
* @property {number} [port] Frontend port
|
||||
* @property {string} [provisioningState] Provisioning state of the frontend
|
||||
* port resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
|
||||
* @property {string} [name] Name of the frontend port that is unique within
|
||||
* an Application Gateway
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayFrontendPort
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayFrontendPort
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFrontendPort',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFrontendPort',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
port: {
|
||||
required: false,
|
||||
serializedName: 'properties.port',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayFrontendPort;
|
|
@ -1,60 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Header configuration of the Actions set in Application Gateway.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayHeaderConfiguration {
|
||||
/**
|
||||
* Create a ApplicationGatewayHeaderConfiguration.
|
||||
* @property {string} [headerName] Header name of the header configuration
|
||||
* @property {string} [headerValue] Header value of the header configuration
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayHeaderConfiguration
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayHeaderConfiguration
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayHeaderConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayHeaderConfiguration',
|
||||
modelProperties: {
|
||||
headerName: {
|
||||
required: false,
|
||||
serializedName: 'headerName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
headerValue: {
|
||||
required: false,
|
||||
serializedName: 'headerValue',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayHeaderConfiguration;
|
|
@ -1,167 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Http listener of an application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayHttpListener extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayHttpListener.
|
||||
* @property {object} [frontendIPConfiguration] Frontend IP configuration
|
||||
* resource of an application gateway.
|
||||
* @property {string} [frontendIPConfiguration.id] Resource ID.
|
||||
* @property {object} [frontendPort] Frontend port resource of an application
|
||||
* gateway.
|
||||
* @property {string} [frontendPort.id] Resource ID.
|
||||
* @property {string} [protocol] Protocol of the HTTP listener. Possible
|
||||
* values are 'Http' and 'Https'. Possible values include: 'Http', 'Https'
|
||||
* @property {string} [hostName] Host name of HTTP listener.
|
||||
* @property {object} [sslCertificate] SSL certificate resource of an
|
||||
* application gateway.
|
||||
* @property {string} [sslCertificate.id] Resource ID.
|
||||
* @property {boolean} [requireServerNameIndication] Applicable only if
|
||||
* protocol is https. Enables SNI for multi-hosting.
|
||||
* @property {string} [provisioningState] Provisioning state of the HTTP
|
||||
* listener resource. Possible values are: 'Updating', 'Deleting', and
|
||||
* 'Failed'.
|
||||
* @property {array} [customErrorConfigurations] Custom error configurations
|
||||
* of the HTTP listener.
|
||||
* @property {string} [name] Name of the HTTP listener that is unique within
|
||||
* an Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayHttpListener
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayHttpListener
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayHttpListener',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayHttpListener',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
frontendIPConfiguration: {
|
||||
required: false,
|
||||
serializedName: 'properties.frontendIPConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
frontendPort: {
|
||||
required: false,
|
||||
serializedName: 'properties.frontendPort',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
protocol: {
|
||||
required: false,
|
||||
serializedName: 'properties.protocol',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
hostName: {
|
||||
required: false,
|
||||
serializedName: 'properties.hostName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
sslCertificate: {
|
||||
required: false,
|
||||
serializedName: 'properties.sslCertificate',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
requireServerNameIndication: {
|
||||
required: false,
|
||||
serializedName: 'properties.requireServerNameIndication',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
customErrorConfigurations: {
|
||||
required: false,
|
||||
serializedName: 'properties.customErrorConfigurations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayCustomErrorElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayCustomError'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayHttpListener;
|
|
@ -1,103 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* IP configuration of an application gateway. Currently 1 public and 1 private
|
||||
* IP configuration is allowed.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayIPConfiguration extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayIPConfiguration.
|
||||
* @property {object} [subnet] Reference of the subnet resource. A subnet
|
||||
* from where application gateway gets its private address.
|
||||
* @property {string} [subnet.id] Resource ID.
|
||||
* @property {string} [provisioningState] Provisioning state of the
|
||||
* application gateway subnet resource. Possible values are: 'Updating',
|
||||
* 'Deleting', and 'Failed'.
|
||||
* @property {string} [name] Name of the IP configuration that is unique
|
||||
* within an Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayIPConfiguration
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayIPConfiguration
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayIPConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayIPConfiguration',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
subnet: {
|
||||
required: false,
|
||||
serializedName: 'properties.subnet',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayIPConfiguration;
|
|
@ -1,67 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Response for ListApplicationGateways API service call.
|
||||
*/
|
||||
class ApplicationGatewayListResult extends Array {
|
||||
/**
|
||||
* Create a ApplicationGatewayListResult.
|
||||
* @property {string} [nextLink] URL to get the next set of results.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayListResult
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayListResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayListResult',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: '',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGateway'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
nextLink: {
|
||||
required: false,
|
||||
serializedName: 'nextLink',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayListResult;
|
|
@ -1,149 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Path rule of URL path map of an application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayPathRule extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayPathRule.
|
||||
* @property {array} [paths] Path rules of URL path map.
|
||||
* @property {object} [backendAddressPool] Backend address pool resource of
|
||||
* URL path map path rule.
|
||||
* @property {string} [backendAddressPool.id] Resource ID.
|
||||
* @property {object} [backendHttpSettings] Backend http settings resource of
|
||||
* URL path map path rule.
|
||||
* @property {string} [backendHttpSettings.id] Resource ID.
|
||||
* @property {object} [redirectConfiguration] Redirect configuration resource
|
||||
* of URL path map path rule.
|
||||
* @property {string} [redirectConfiguration.id] Resource ID.
|
||||
* @property {object} [rewriteRuleSet] Rewrite rule set resource of URL path
|
||||
* map path rule.
|
||||
* @property {string} [rewriteRuleSet.id] Resource ID.
|
||||
* @property {string} [provisioningState] Path rule of URL path map resource.
|
||||
* Possible values are: 'Updating', 'Deleting', and 'Failed'.
|
||||
* @property {string} [name] Name of the path rule that is unique within an
|
||||
* Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayPathRule
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayPathRule
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayPathRule',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayPathRule',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
paths: {
|
||||
required: false,
|
||||
serializedName: 'properties.paths',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
backendAddressPool: {
|
||||
required: false,
|
||||
serializedName: 'properties.backendAddressPool',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
backendHttpSettings: {
|
||||
required: false,
|
||||
serializedName: 'properties.backendHttpSettings',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
redirectConfiguration: {
|
||||
required: false,
|
||||
serializedName: 'properties.redirectConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
rewriteRuleSet: {
|
||||
required: false,
|
||||
serializedName: 'properties.rewriteRuleSet',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayPathRule;
|
|
@ -1,180 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Probe of the application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayProbe extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayProbe.
|
||||
* @property {string} [protocol] The protocol used for the probe. Possible
|
||||
* values are 'Http' and 'Https'. Possible values include: 'Http', 'Https'
|
||||
* @property {string} [host] Host name to send the probe to.
|
||||
* @property {string} [path] Relative path of probe. Valid path starts from
|
||||
* '/'. Probe is sent to <Protocol>://<host>:<port><path>
|
||||
* @property {number} [interval] The probing interval in seconds. This is the
|
||||
* time interval between two consecutive probes. Acceptable values are from 1
|
||||
* second to 86400 seconds.
|
||||
* @property {number} [timeout] the probe timeout in seconds. Probe marked as
|
||||
* failed if valid response is not received with this timeout period.
|
||||
* Acceptable values are from 1 second to 86400 seconds.
|
||||
* @property {number} [unhealthyThreshold] The probe retry count. Backend
|
||||
* server is marked down after consecutive probe failure count reaches
|
||||
* UnhealthyThreshold. Acceptable values are from 1 second to 20.
|
||||
* @property {boolean} [pickHostNameFromBackendHttpSettings] Whether the host
|
||||
* header should be picked from the backend http settings. Default value is
|
||||
* false.
|
||||
* @property {number} [minServers] Minimum number of servers that are always
|
||||
* marked healthy. Default value is 0.
|
||||
* @property {object} [match] Criterion for classifying a healthy probe
|
||||
* response.
|
||||
* @property {string} [match.body] Body that must be contained in the health
|
||||
* response. Default value is empty.
|
||||
* @property {array} [match.statusCodes] Allowed ranges of healthy status
|
||||
* codes. Default range of healthy status codes is 200-399.
|
||||
* @property {string} [provisioningState] Provisioning state of the backend
|
||||
* http settings resource. Possible values are: 'Updating', 'Deleting', and
|
||||
* 'Failed'.
|
||||
* @property {string} [name] Name of the probe that is unique within an
|
||||
* Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayProbe
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayProbe
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayProbe',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayProbe',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
protocol: {
|
||||
required: false,
|
||||
serializedName: 'properties.protocol',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
host: {
|
||||
required: false,
|
||||
serializedName: 'properties.host',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
path: {
|
||||
required: false,
|
||||
serializedName: 'properties.path',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
interval: {
|
||||
required: false,
|
||||
serializedName: 'properties.interval',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
timeout: {
|
||||
required: false,
|
||||
serializedName: 'properties.timeout',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
unhealthyThreshold: {
|
||||
required: false,
|
||||
serializedName: 'properties.unhealthyThreshold',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
pickHostNameFromBackendHttpSettings: {
|
||||
required: false,
|
||||
serializedName: 'properties.pickHostNameFromBackendHttpSettings',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
minServers: {
|
||||
required: false,
|
||||
serializedName: 'properties.minServers',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
match: {
|
||||
required: false,
|
||||
serializedName: 'properties.match',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayProbeHealthResponseMatch'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayProbe;
|
|
@ -1,69 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Application gateway probe health response match
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayProbeHealthResponseMatch {
|
||||
/**
|
||||
* Create a ApplicationGatewayProbeHealthResponseMatch.
|
||||
* @property {string} [body] Body that must be contained in the health
|
||||
* response. Default value is empty.
|
||||
* @property {array} [statusCodes] Allowed ranges of healthy status codes.
|
||||
* Default range of healthy status codes is 200-399.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayProbeHealthResponseMatch
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayProbeHealthResponseMatch
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayProbeHealthResponseMatch',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayProbeHealthResponseMatch',
|
||||
modelProperties: {
|
||||
body: {
|
||||
required: false,
|
||||
serializedName: 'body',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
statusCodes: {
|
||||
required: false,
|
||||
serializedName: 'statusCodes',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayProbeHealthResponseMatch;
|
|
@ -1,178 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Redirect configuration of an application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayRedirectConfiguration extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayRedirectConfiguration.
|
||||
* @property {string} [redirectType] Supported http redirection types -
|
||||
* Permanent, Temporary, Found, SeeOther. Possible values include:
|
||||
* 'Permanent', 'Found', 'SeeOther', 'Temporary'
|
||||
* @property {object} [targetListener] Reference to a listener to redirect
|
||||
* the request to.
|
||||
* @property {string} [targetListener.id] Resource ID.
|
||||
* @property {string} [targetUrl] Url to redirect the request to.
|
||||
* @property {boolean} [includePath] Include path in the redirected url.
|
||||
* @property {boolean} [includeQueryString] Include query string in the
|
||||
* redirected url.
|
||||
* @property {array} [requestRoutingRules] Request routing specifying
|
||||
* redirect configuration.
|
||||
* @property {array} [urlPathMaps] Url path maps specifying default redirect
|
||||
* configuration.
|
||||
* @property {array} [pathRules] Path rules specifying redirect
|
||||
* configuration.
|
||||
* @property {string} [name] Name of the redirect configuration that is
|
||||
* unique within an Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayRedirectConfiguration
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayRedirectConfiguration
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayRedirectConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayRedirectConfiguration',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
redirectType: {
|
||||
required: false,
|
||||
serializedName: 'properties.redirectType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
targetListener: {
|
||||
required: false,
|
||||
serializedName: 'properties.targetListener',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
targetUrl: {
|
||||
required: false,
|
||||
serializedName: 'properties.targetUrl',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
includePath: {
|
||||
required: false,
|
||||
serializedName: 'properties.includePath',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
includeQueryString: {
|
||||
required: false,
|
||||
serializedName: 'properties.includeQueryString',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
requestRoutingRules: {
|
||||
required: false,
|
||||
serializedName: 'properties.requestRoutingRules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'SubResourceElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
urlPathMaps: {
|
||||
required: false,
|
||||
serializedName: 'properties.urlPathMaps',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'SubResourceElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
pathRules: {
|
||||
required: false,
|
||||
serializedName: 'properties.pathRules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'SubResourceElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayRedirectConfiguration;
|
|
@ -1,166 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Request routing rule of an application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayRequestRoutingRule extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayRequestRoutingRule.
|
||||
* @property {string} [ruleType] Rule type. Possible values include: 'Basic',
|
||||
* 'PathBasedRouting'
|
||||
* @property {object} [backendAddressPool] Backend address pool resource of
|
||||
* the application gateway.
|
||||
* @property {string} [backendAddressPool.id] Resource ID.
|
||||
* @property {object} [backendHttpSettings] Backend http settings resource of
|
||||
* the application gateway.
|
||||
* @property {string} [backendHttpSettings.id] Resource ID.
|
||||
* @property {object} [httpListener] Http listener resource of the
|
||||
* application gateway.
|
||||
* @property {string} [httpListener.id] Resource ID.
|
||||
* @property {object} [urlPathMap] URL path map resource of the application
|
||||
* gateway.
|
||||
* @property {string} [urlPathMap.id] Resource ID.
|
||||
* @property {object} [rewriteRuleSet] Rewrite Rule Set resource in Basic
|
||||
* rule of the application gateway.
|
||||
* @property {string} [rewriteRuleSet.id] Resource ID.
|
||||
* @property {object} [redirectConfiguration] Redirect configuration resource
|
||||
* of the application gateway.
|
||||
* @property {string} [redirectConfiguration.id] Resource ID.
|
||||
* @property {string} [provisioningState] Provisioning state of the request
|
||||
* routing rule resource. Possible values are: 'Updating', 'Deleting', and
|
||||
* 'Failed'.
|
||||
* @property {string} [name] Name of the request routing rule that is unique
|
||||
* within an Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayRequestRoutingRule
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayRequestRoutingRule
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayRequestRoutingRule',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayRequestRoutingRule',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
ruleType: {
|
||||
required: false,
|
||||
serializedName: 'properties.ruleType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
backendAddressPool: {
|
||||
required: false,
|
||||
serializedName: 'properties.backendAddressPool',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
backendHttpSettings: {
|
||||
required: false,
|
||||
serializedName: 'properties.backendHttpSettings',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
httpListener: {
|
||||
required: false,
|
||||
serializedName: 'properties.httpListener',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
urlPathMap: {
|
||||
required: false,
|
||||
serializedName: 'properties.urlPathMap',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
rewriteRuleSet: {
|
||||
required: false,
|
||||
serializedName: 'properties.rewriteRuleSet',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
redirectConfiguration: {
|
||||
required: false,
|
||||
serializedName: 'properties.redirectConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayRequestRoutingRule;
|
|
@ -1,67 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Rewrite rule of an application gateway.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayRewriteRule {
|
||||
/**
|
||||
* Create a ApplicationGatewayRewriteRule.
|
||||
* @property {string} [name] Name of the rewrite rule that is unique within
|
||||
* an Application Gateway.
|
||||
* @property {object} [actionSet] Set of actions to be done as part of the
|
||||
* rewrite Rule.
|
||||
* @property {array} [actionSet.requestHeaderConfigurations] Request Header
|
||||
* Actions in the Action Set
|
||||
* @property {array} [actionSet.responseHeaderConfigurations] Response Header
|
||||
* Actions in the Action Set
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayRewriteRule
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayRewriteRule
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayRewriteRule',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayRewriteRule',
|
||||
modelProperties: {
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
actionSet: {
|
||||
required: false,
|
||||
serializedName: 'actionSet',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayRewriteRuleActionSet'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayRewriteRule;
|
|
@ -1,78 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Set of actions in the Rewrite Rule in Application Gateway.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayRewriteRuleActionSet {
|
||||
/**
|
||||
* Create a ApplicationGatewayRewriteRuleActionSet.
|
||||
* @property {array} [requestHeaderConfigurations] Request Header Actions in
|
||||
* the Action Set
|
||||
* @property {array} [responseHeaderConfigurations] Response Header Actions
|
||||
* in the Action Set
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayRewriteRuleActionSet
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayRewriteRuleActionSet
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayRewriteRuleActionSet',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayRewriteRuleActionSet',
|
||||
modelProperties: {
|
||||
requestHeaderConfigurations: {
|
||||
required: false,
|
||||
serializedName: 'requestHeaderConfigurations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayHeaderConfigurationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayHeaderConfiguration'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
responseHeaderConfigurations: {
|
||||
required: false,
|
||||
serializedName: 'responseHeaderConfigurations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayHeaderConfigurationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayHeaderConfiguration'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayRewriteRuleActionSet;
|
|
@ -1,101 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Rewrite rule set of an application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayRewriteRuleSet extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayRewriteRuleSet.
|
||||
* @property {array} [rewriteRules] Rewrite rules in the rewrite rule set.
|
||||
* @property {string} [provisioningState] Provisioning state of the rewrite
|
||||
* rule set resource. Possible values are: 'Updating', 'Deleting', and
|
||||
* 'Failed'.
|
||||
* @property {string} [name] Name of the rewrite rule set that is unique
|
||||
* within an Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayRewriteRuleSet
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayRewriteRuleSet
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayRewriteRuleSet',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayRewriteRuleSet',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
rewriteRules: {
|
||||
required: false,
|
||||
serializedName: 'properties.rewriteRules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayRewriteRuleElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayRewriteRule'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayRewriteRuleSet;
|
|
@ -1,72 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* SKU of an application gateway
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewaySku {
|
||||
/**
|
||||
* Create a ApplicationGatewaySku.
|
||||
* @property {string} [name] Name of an application gateway SKU. Possible
|
||||
* values include: 'Standard_Small', 'Standard_Medium', 'Standard_Large',
|
||||
* 'WAF_Medium', 'WAF_Large', 'Standard_v2', 'WAF_v2'
|
||||
* @property {string} [tier] Tier of an application gateway. Possible values
|
||||
* include: 'Standard', 'WAF', 'Standard_v2', 'WAF_v2'
|
||||
* @property {number} [capacity] Capacity (instance count) of an application
|
||||
* gateway.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewaySku
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewaySku
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewaySku',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewaySku',
|
||||
modelProperties: {
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tier: {
|
||||
required: false,
|
||||
serializedName: 'tier',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
capacity: {
|
||||
required: false,
|
||||
serializedName: 'capacity',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewaySku;
|
|
@ -1,127 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* SSL certificates of an application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewaySslCertificate extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewaySslCertificate.
|
||||
* @property {string} [data] Base-64 encoded pfx certificate. Only applicable
|
||||
* in PUT Request.
|
||||
* @property {string} [password] Password for the pfx file specified in data.
|
||||
* Only applicable in PUT request.
|
||||
* @property {string} [publicCertData] Base-64 encoded Public cert data
|
||||
* corresponding to pfx specified in data. Only applicable in GET request.
|
||||
* @property {string} [keyVaultSecretId] Secret Id of (base-64 encoded
|
||||
* unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
|
||||
* @property {string} [provisioningState] Provisioning state of the SSL
|
||||
* certificate resource Possible values are: 'Updating', 'Deleting', and
|
||||
* 'Failed'.
|
||||
* @property {string} [name] Name of the SSL certificate that is unique
|
||||
* within an Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewaySslCertificate
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewaySslCertificate
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewaySslCertificate',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewaySslCertificate',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
data: {
|
||||
required: false,
|
||||
serializedName: 'properties.data',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
password: {
|
||||
required: false,
|
||||
serializedName: 'properties.password',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
publicCertData: {
|
||||
required: false,
|
||||
serializedName: 'properties.publicCertData',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
keyVaultSecretId: {
|
||||
required: false,
|
||||
serializedName: 'properties.keyVaultSecretId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewaySslCertificate;
|
|
@ -1,105 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Application Gateway Ssl policy.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewaySslPolicy {
|
||||
/**
|
||||
* Create a ApplicationGatewaySslPolicy.
|
||||
* @property {array} [disabledSslProtocols] Ssl protocols to be disabled on
|
||||
* application gateway.
|
||||
* @property {string} [policyType] Type of Ssl Policy. Possible values
|
||||
* include: 'Predefined', 'Custom'
|
||||
* @property {string} [policyName] Name of Ssl predefined policy. Possible
|
||||
* values include: 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401',
|
||||
* 'AppGwSslPolicy20170401S'
|
||||
* @property {array} [cipherSuites] Ssl cipher suites to be enabled in the
|
||||
* specified order to application gateway.
|
||||
* @property {string} [minProtocolVersion] Minimum version of Ssl protocol to
|
||||
* be supported on application gateway. Possible values include: 'TLSv1_0',
|
||||
* 'TLSv1_1', 'TLSv1_2'
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewaySslPolicy
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewaySslPolicy
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewaySslPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewaySslPolicy',
|
||||
modelProperties: {
|
||||
disabledSslProtocols: {
|
||||
required: false,
|
||||
serializedName: 'disabledSslProtocols',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewaySslProtocolElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
policyType: {
|
||||
required: false,
|
||||
serializedName: 'policyType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
policyName: {
|
||||
required: false,
|
||||
serializedName: 'policyName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
cipherSuites: {
|
||||
required: false,
|
||||
serializedName: 'cipherSuites',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewaySslCipherSuiteElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
minProtocolVersion: {
|
||||
required: false,
|
||||
serializedName: 'minProtocolVersion',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewaySslPolicy;
|
|
@ -1,89 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* An Ssl predefined policy
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewaySslPredefinedPolicy extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewaySslPredefinedPolicy.
|
||||
* @property {string} [name] Name of the Ssl predefined policy.
|
||||
* @property {array} [cipherSuites] Ssl cipher suites to be enabled in the
|
||||
* specified order for application gateway.
|
||||
* @property {string} [minProtocolVersion] Minimum version of Ssl protocol to
|
||||
* be supported on application gateway. Possible values include: 'TLSv1_0',
|
||||
* 'TLSv1_1', 'TLSv1_2'
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewaySslPredefinedPolicy
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewaySslPredefinedPolicy
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewaySslPredefinedPolicy',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewaySslPredefinedPolicy',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
cipherSuites: {
|
||||
required: false,
|
||||
serializedName: 'properties.cipherSuites',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewaySslCipherSuiteElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
minProtocolVersion: {
|
||||
required: false,
|
||||
serializedName: 'properties.minProtocolVersion',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewaySslPredefinedPolicy;
|
|
@ -1,108 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Trusted Root certificates of an application gateway.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayTrustedRootCertificate extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayTrustedRootCertificate.
|
||||
* @property {string} [data] Certificate public data.
|
||||
* @property {string} [keyVaultSecretId] Secret Id of (base-64 encoded
|
||||
* unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault.
|
||||
* @property {string} [provisioningState] Provisioning state of the trusted
|
||||
* root certificate resource. Possible values are: 'Updating', 'Deleting',
|
||||
* and 'Failed'.
|
||||
* @property {string} [name] Name of the trusted root certificate that is
|
||||
* unique within an Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayTrustedRootCertificate
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayTrustedRootCertificate
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayTrustedRootCertificate',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayTrustedRootCertificate',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
data: {
|
||||
required: false,
|
||||
serializedName: 'properties.data',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
keyVaultSecretId: {
|
||||
required: false,
|
||||
serializedName: 'properties.keyVaultSecretId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayTrustedRootCertificate;
|
|
@ -1,152 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* UrlPathMaps give a url path to the backend mapping information for
|
||||
* PathBasedRouting.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ApplicationGatewayUrlPathMap extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ApplicationGatewayUrlPathMap.
|
||||
* @property {object} [defaultBackendAddressPool] Default backend address
|
||||
* pool resource of URL path map.
|
||||
* @property {string} [defaultBackendAddressPool.id] Resource ID.
|
||||
* @property {object} [defaultBackendHttpSettings] Default backend http
|
||||
* settings resource of URL path map.
|
||||
* @property {string} [defaultBackendHttpSettings.id] Resource ID.
|
||||
* @property {object} [defaultRewriteRuleSet] Default Rewrite rule set
|
||||
* resource of URL path map.
|
||||
* @property {string} [defaultRewriteRuleSet.id] Resource ID.
|
||||
* @property {object} [defaultRedirectConfiguration] Default redirect
|
||||
* configuration resource of URL path map.
|
||||
* @property {string} [defaultRedirectConfiguration.id] Resource ID.
|
||||
* @property {array} [pathRules] Path rule of URL path map resource.
|
||||
* @property {string} [provisioningState] Provisioning state of the backend
|
||||
* http settings resource. Possible values are: 'Updating', 'Deleting', and
|
||||
* 'Failed'.
|
||||
* @property {string} [name] Name of the URL path map that is unique within
|
||||
* an Application Gateway.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
* @property {string} [type] Type of the resource.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayUrlPathMap
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayUrlPathMap
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayUrlPathMap',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayUrlPathMap',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
defaultBackendAddressPool: {
|
||||
required: false,
|
||||
serializedName: 'properties.defaultBackendAddressPool',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
defaultBackendHttpSettings: {
|
||||
required: false,
|
||||
serializedName: 'properties.defaultBackendHttpSettings',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
defaultRewriteRuleSet: {
|
||||
required: false,
|
||||
serializedName: 'properties.defaultRewriteRuleSet',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
defaultRedirectConfiguration: {
|
||||
required: false,
|
||||
serializedName: 'properties.defaultRedirectConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
pathRules: {
|
||||
required: false,
|
||||
serializedName: 'properties.pathRules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayPathRuleElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayPathRule'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayUrlPathMap;
|
|
@ -1,158 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Application gateway web application firewall configuration.
|
||||
*
|
||||
*/
|
||||
class ApplicationGatewayWebApplicationFirewallConfiguration {
|
||||
/**
|
||||
* Create a ApplicationGatewayWebApplicationFirewallConfiguration.
|
||||
* @property {boolean} enabled Whether the web application firewall is
|
||||
* enabled or not.
|
||||
* @property {string} firewallMode Web application firewall mode. Possible
|
||||
* values include: 'Detection', 'Prevention'
|
||||
* @property {string} ruleSetType The type of the web application firewall
|
||||
* rule set. Possible values are: 'OWASP'.
|
||||
* @property {string} ruleSetVersion The version of the rule set type.
|
||||
* @property {array} [disabledRuleGroups] The disabled rule groups.
|
||||
* @property {boolean} [requestBodyCheck] Whether allow WAF to check request
|
||||
* Body.
|
||||
* @property {number} [maxRequestBodySize] Maxium request body size for WAF.
|
||||
* @property {number} [maxRequestBodySizeInKb] Maxium request body size in Kb
|
||||
* for WAF.
|
||||
* @property {number} [fileUploadLimitInMb] Maxium file upload size in Mb for
|
||||
* WAF.
|
||||
* @property {array} [exclusions] The exclusion list.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationGatewayWebApplicationFirewallConfiguration
|
||||
*
|
||||
* @returns {object} metadata of ApplicationGatewayWebApplicationFirewallConfiguration
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayWebApplicationFirewallConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayWebApplicationFirewallConfiguration',
|
||||
modelProperties: {
|
||||
enabled: {
|
||||
required: true,
|
||||
serializedName: 'enabled',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
firewallMode: {
|
||||
required: true,
|
||||
serializedName: 'firewallMode',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
ruleSetType: {
|
||||
required: true,
|
||||
serializedName: 'ruleSetType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
ruleSetVersion: {
|
||||
required: true,
|
||||
serializedName: 'ruleSetVersion',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
disabledRuleGroups: {
|
||||
required: false,
|
||||
serializedName: 'disabledRuleGroups',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFirewallDisabledRuleGroupElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFirewallDisabledRuleGroup'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
requestBodyCheck: {
|
||||
required: false,
|
||||
serializedName: 'requestBodyCheck',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
maxRequestBodySize: {
|
||||
required: false,
|
||||
serializedName: 'maxRequestBodySize',
|
||||
constraints: {
|
||||
InclusiveMaximum: 128,
|
||||
InclusiveMinimum: 8
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
maxRequestBodySizeInKb: {
|
||||
required: false,
|
||||
serializedName: 'maxRequestBodySizeInKb',
|
||||
constraints: {
|
||||
InclusiveMaximum: 128,
|
||||
InclusiveMinimum: 8
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
fileUploadLimitInMb: {
|
||||
required: false,
|
||||
serializedName: 'fileUploadLimitInMb',
|
||||
constraints: {
|
||||
InclusiveMaximum: 500,
|
||||
InclusiveMinimum: 0
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
exclusions: {
|
||||
required: false,
|
||||
serializedName: 'exclusions',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationGatewayFirewallExclusionElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationGatewayFirewallExclusion'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationGatewayWebApplicationFirewallConfiguration;
|
|
@ -1,125 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* An application security group in a resource group.
|
||||
*
|
||||
* @extends models['Resource']
|
||||
*/
|
||||
class ApplicationSecurityGroup extends models['Resource'] {
|
||||
/**
|
||||
* Create a ApplicationSecurityGroup.
|
||||
* @property {string} [resourceGuid] The resource GUID property of the
|
||||
* application security group resource. It uniquely identifies a resource,
|
||||
* even if the user changes its name or migrate the resource across
|
||||
* subscriptions or resource groups.
|
||||
* @property {string} [provisioningState] The provisioning state of the
|
||||
* application security group resource. Possible values are: 'Succeeded',
|
||||
* 'Updating', 'Deleting', and 'Failed'.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationSecurityGroup
|
||||
*
|
||||
* @returns {object} metadata of ApplicationSecurityGroup
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationSecurityGroup',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationSecurityGroup',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
required: false,
|
||||
serializedName: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
required: false,
|
||||
serializedName: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
resourceGuid: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.resourceGuid',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationSecurityGroup;
|
|
@ -1,68 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* A list of application security groups.
|
||||
*/
|
||||
class ApplicationSecurityGroupListResult extends Array {
|
||||
/**
|
||||
* Create a ApplicationSecurityGroupListResult.
|
||||
* @property {string} [nextLink] The URL to get the next set of results.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ApplicationSecurityGroupListResult
|
||||
*
|
||||
* @returns {object} metadata of ApplicationSecurityGroupListResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ApplicationSecurityGroupListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationSecurityGroupListResult',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: '',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ApplicationSecurityGroupElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ApplicationSecurityGroup'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
nextLink: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'nextLink',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ApplicationSecurityGroupListResult;
|
|
@ -1,68 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Response for ListAuthorizations API service call retrieves all
|
||||
* authorizations that belongs to an ExpressRouteCircuit.
|
||||
*/
|
||||
class AuthorizationListResult extends Array {
|
||||
/**
|
||||
* Create a AuthorizationListResult.
|
||||
* @property {string} [nextLink] The URL to get the next set of results.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AuthorizationListResult
|
||||
*
|
||||
* @returns {object} metadata of AuthorizationListResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AuthorizationListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AuthorizationListResult',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: '',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ExpressRouteCircuitAuthorizationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ExpressRouteCircuitAuthorization'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
nextLink: {
|
||||
required: false,
|
||||
serializedName: 'nextLink',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AuthorizationListResult;
|
|
@ -1,68 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Availability of the metric.
|
||||
*
|
||||
*/
|
||||
class Availability {
|
||||
/**
|
||||
* Create a Availability.
|
||||
* @property {string} [timeGrain] The time grain of the availability.
|
||||
* @property {string} [retention] The retention of the availability.
|
||||
* @property {string} [blobDuration] Duration of the availability blob.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of Availability
|
||||
*
|
||||
* @returns {object} metadata of Availability
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'Availability',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'Availability',
|
||||
modelProperties: {
|
||||
timeGrain: {
|
||||
required: false,
|
||||
serializedName: 'timeGrain',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
retention: {
|
||||
required: false,
|
||||
serializedName: 'retention',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
blobDuration: {
|
||||
required: false,
|
||||
serializedName: 'blobDuration',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Availability;
|
|
@ -1,94 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* The serviceName of an AvailableDelegation indicates a possible delegation
|
||||
* for a subnet.
|
||||
*
|
||||
*/
|
||||
class AvailableDelegation {
|
||||
/**
|
||||
* Create a AvailableDelegation.
|
||||
* @property {string} [name] The name of the AvailableDelegation resource.
|
||||
* @property {string} [id] A unique identifier of the AvailableDelegation
|
||||
* resource.
|
||||
* @property {string} [type] Resource type.
|
||||
* @property {string} [serviceName] The name of the service and resource
|
||||
* @property {array} [actions] Describes the actions permitted to the service
|
||||
* upon delegation
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AvailableDelegation
|
||||
*
|
||||
* @returns {object} metadata of AvailableDelegation
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AvailableDelegation',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AvailableDelegation',
|
||||
modelProperties: {
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
serviceName: {
|
||||
required: false,
|
||||
serializedName: 'serviceName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
required: false,
|
||||
serializedName: 'actions',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AvailableDelegation;
|
|
@ -1,68 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* An array of available delegations.
|
||||
*/
|
||||
class AvailableDelegationsResult extends Array {
|
||||
/**
|
||||
* Create a AvailableDelegationsResult.
|
||||
* @property {string} [nextLink] The URL to get the next set of results.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AvailableDelegationsResult
|
||||
*
|
||||
* @returns {object} metadata of AvailableDelegationsResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AvailableDelegationsResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AvailableDelegationsResult',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: '',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AvailableDelegationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AvailableDelegation'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
nextLink: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'nextLink',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AvailableDelegationsResult;
|
|
@ -1,60 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* List of available countries with details.
|
||||
*
|
||||
*/
|
||||
class AvailableProvidersList {
|
||||
/**
|
||||
* Create a AvailableProvidersList.
|
||||
* @property {array} countries List of available countries.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AvailableProvidersList
|
||||
*
|
||||
* @returns {object} metadata of AvailableProvidersList
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AvailableProvidersList',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AvailableProvidersList',
|
||||
modelProperties: {
|
||||
countries: {
|
||||
required: true,
|
||||
serializedName: 'countries',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AvailableProvidersListCountryElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AvailableProvidersListCountry'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AvailableProvidersList;
|
|
@ -1,67 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* City or town details.
|
||||
*
|
||||
*/
|
||||
class AvailableProvidersListCity {
|
||||
/**
|
||||
* Create a AvailableProvidersListCity.
|
||||
* @property {string} [cityName] The city or town name.
|
||||
* @property {array} [providers] A list of Internet service providers.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AvailableProvidersListCity
|
||||
*
|
||||
* @returns {object} metadata of AvailableProvidersListCity
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AvailableProvidersListCity',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AvailableProvidersListCity',
|
||||
modelProperties: {
|
||||
cityName: {
|
||||
required: false,
|
||||
serializedName: 'cityName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
providers: {
|
||||
required: false,
|
||||
serializedName: 'providers',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AvailableProvidersListCity;
|
|
@ -1,83 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Country details.
|
||||
*
|
||||
*/
|
||||
class AvailableProvidersListCountry {
|
||||
/**
|
||||
* Create a AvailableProvidersListCountry.
|
||||
* @property {string} [countryName] The country name.
|
||||
* @property {array} [providers] A list of Internet service providers.
|
||||
* @property {array} [states] List of available states in the country.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AvailableProvidersListCountry
|
||||
*
|
||||
* @returns {object} metadata of AvailableProvidersListCountry
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AvailableProvidersListCountry',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AvailableProvidersListCountry',
|
||||
modelProperties: {
|
||||
countryName: {
|
||||
required: false,
|
||||
serializedName: 'countryName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
providers: {
|
||||
required: false,
|
||||
serializedName: 'providers',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
states: {
|
||||
required: false,
|
||||
serializedName: 'states',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AvailableProvidersListStateElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AvailableProvidersListState'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AvailableProvidersListCountry;
|
|
@ -1,83 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Constraints that determine the list of available Internet service providers.
|
||||
*
|
||||
*/
|
||||
class AvailableProvidersListParameters {
|
||||
/**
|
||||
* Create a AvailableProvidersListParameters.
|
||||
* @property {array} [azureLocations] A list of Azure regions.
|
||||
* @property {string} [country] The country for available providers list.
|
||||
* @property {string} [state] The state for available providers list.
|
||||
* @property {string} [city] The city or town for available providers list.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AvailableProvidersListParameters
|
||||
*
|
||||
* @returns {object} metadata of AvailableProvidersListParameters
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AvailableProvidersListParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AvailableProvidersListParameters',
|
||||
modelProperties: {
|
||||
azureLocations: {
|
||||
required: false,
|
||||
serializedName: 'azureLocations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
country: {
|
||||
required: false,
|
||||
serializedName: 'country',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
state: {
|
||||
required: false,
|
||||
serializedName: 'state',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
city: {
|
||||
required: false,
|
||||
serializedName: 'city',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AvailableProvidersListParameters;
|
|
@ -1,83 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* State details.
|
||||
*
|
||||
*/
|
||||
class AvailableProvidersListState {
|
||||
/**
|
||||
* Create a AvailableProvidersListState.
|
||||
* @property {string} [stateName] The state name.
|
||||
* @property {array} [providers] A list of Internet service providers.
|
||||
* @property {array} [cities] List of available cities or towns in the state.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AvailableProvidersListState
|
||||
*
|
||||
* @returns {object} metadata of AvailableProvidersListState
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AvailableProvidersListState',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AvailableProvidersListState',
|
||||
modelProperties: {
|
||||
stateName: {
|
||||
required: false,
|
||||
serializedName: 'stateName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
providers: {
|
||||
required: false,
|
||||
serializedName: 'providers',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
cities: {
|
||||
required: false,
|
||||
serializedName: 'cities',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AvailableProvidersListCityElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AvailableProvidersListCity'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AvailableProvidersListState;
|
|
@ -1,75 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* 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 operation
|
||||
* succeeded, the response body includes the HTTP status code for the
|
||||
* successful request. If the asynchronous operation failed, the response body
|
||||
* includes the HTTP status code for the failed request and error information
|
||||
* regarding the failure.
|
||||
*
|
||||
*/
|
||||
class AzureAsyncOperationResult {
|
||||
/**
|
||||
* Create a AzureAsyncOperationResult.
|
||||
* @property {string} [status] Status of the Azure async operation. Possible
|
||||
* values are: 'InProgress', 'Succeeded', and 'Failed'. Possible values
|
||||
* include: 'InProgress', 'Succeeded', 'Failed'
|
||||
* @property {object} [error]
|
||||
* @property {string} [error.code]
|
||||
* @property {string} [error.message]
|
||||
* @property {string} [error.target]
|
||||
* @property {array} [error.details]
|
||||
* @property {string} [error.innerError]
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureAsyncOperationResult
|
||||
*
|
||||
* @returns {object} metadata of AzureAsyncOperationResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureAsyncOperationResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureAsyncOperationResult',
|
||||
modelProperties: {
|
||||
status: {
|
||||
required: false,
|
||||
serializedName: 'status',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
error: {
|
||||
required: false,
|
||||
serializedName: 'error',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ErrorModel'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureAsyncOperationResult;
|
|
@ -1,180 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Azure Firewall resource
|
||||
*
|
||||
* @extends models['Resource']
|
||||
*/
|
||||
class AzureFirewall extends models['Resource'] {
|
||||
/**
|
||||
* Create a AzureFirewall.
|
||||
* @property {array} [applicationRuleCollections] Collection of application
|
||||
* rule collections used by Azure Firewall.
|
||||
* @property {array} [natRuleCollections] Collection of NAT rule collections
|
||||
* used by Azure Firewall.
|
||||
* @property {array} [networkRuleCollections] Collection of network rule
|
||||
* collections used by Azure Firewall.
|
||||
* @property {array} [ipConfigurations] IP configuration of the Azure
|
||||
* Firewall resource.
|
||||
* @property {string} [provisioningState] The provisioning state of the
|
||||
* resource. Possible values include: 'Succeeded', 'Updating', 'Deleting',
|
||||
* 'Failed'
|
||||
* @property {string} [etag] Gets a unique read-only string that changes
|
||||
* whenever the resource is updated.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewall
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewall
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewall',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewall',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
required: false,
|
||||
serializedName: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
required: false,
|
||||
serializedName: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
applicationRuleCollections: {
|
||||
required: false,
|
||||
serializedName: 'properties.applicationRuleCollections',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallApplicationRuleCollectionElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallApplicationRuleCollection'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
natRuleCollections: {
|
||||
required: false,
|
||||
serializedName: 'properties.natRuleCollections',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallNatRuleCollectionElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallNatRuleCollection'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
networkRuleCollections: {
|
||||
required: false,
|
||||
serializedName: 'properties.networkRuleCollections',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallNetworkRuleCollectionElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallNetworkRuleCollection'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
ipConfigurations: {
|
||||
required: false,
|
||||
serializedName: 'properties.ipConfigurations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallIPConfigurationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallIPConfiguration'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewall;
|
|
@ -1,122 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Properties of an application rule.
|
||||
*
|
||||
*/
|
||||
class AzureFirewallApplicationRule {
|
||||
/**
|
||||
* Create a AzureFirewallApplicationRule.
|
||||
* @property {string} [name] Name of the application rule.
|
||||
* @property {string} [description] Description of the rule.
|
||||
* @property {array} [sourceAddresses] List of source IP addresses for this
|
||||
* rule.
|
||||
* @property {array} [protocols] Array of ApplicationRuleProtocols.
|
||||
* @property {array} [targetFqdns] List of FQDNs for this rule.
|
||||
* @property {array} [fqdnTags] List of FQDN Tags for this rule.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallApplicationRule
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallApplicationRule
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallApplicationRule',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallApplicationRule',
|
||||
modelProperties: {
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
description: {
|
||||
required: false,
|
||||
serializedName: 'description',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
sourceAddresses: {
|
||||
required: false,
|
||||
serializedName: 'sourceAddresses',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
protocols: {
|
||||
required: false,
|
||||
serializedName: 'protocols',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallApplicationRuleProtocolElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallApplicationRuleProtocol'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
targetFqdns: {
|
||||
required: false,
|
||||
serializedName: 'targetFqdns',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
fqdnTags: {
|
||||
required: false,
|
||||
serializedName: 'fqdnTags',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallApplicationRule;
|
|
@ -1,125 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Application rule collection resource
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class AzureFirewallApplicationRuleCollection extends models['SubResource'] {
|
||||
/**
|
||||
* Create a AzureFirewallApplicationRuleCollection.
|
||||
* @property {number} [priority] Priority of the application rule collection
|
||||
* resource.
|
||||
* @property {object} [action] The action type of a rule collection
|
||||
* @property {string} [action.type] The type of action. Possible values
|
||||
* include: 'Allow', 'Deny'
|
||||
* @property {array} [rules] Collection of rules used by a application rule
|
||||
* collection.
|
||||
* @property {string} [provisioningState] The provisioning state of the
|
||||
* resource. Possible values include: 'Succeeded', 'Updating', 'Deleting',
|
||||
* 'Failed'
|
||||
* @property {string} [name] Gets name of the resource that is unique within
|
||||
* a resource group. This name can be used to access the resource.
|
||||
* @property {string} [etag] Gets a unique read-only string that changes
|
||||
* whenever the resource is updated.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallApplicationRuleCollection
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallApplicationRuleCollection
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallApplicationRuleCollection',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallApplicationRuleCollection',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
priority: {
|
||||
required: false,
|
||||
serializedName: 'properties.priority',
|
||||
constraints: {
|
||||
InclusiveMaximum: 65000,
|
||||
InclusiveMinimum: 100
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
action: {
|
||||
required: false,
|
||||
serializedName: 'properties.action',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallRCAction'
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
required: false,
|
||||
serializedName: 'properties.rules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallApplicationRuleElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallApplicationRule'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallApplicationRuleCollection;
|
|
@ -1,66 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Properties of the application rule protocol.
|
||||
*
|
||||
*/
|
||||
class AzureFirewallApplicationRuleProtocol {
|
||||
/**
|
||||
* Create a AzureFirewallApplicationRuleProtocol.
|
||||
* @property {string} [protocolType] Protocol type. Possible values include:
|
||||
* 'Http', 'Https'
|
||||
* @property {number} [port] Port number for the protocol, cannot be greater
|
||||
* than 64000. This field is optional.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallApplicationRuleProtocol
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallApplicationRuleProtocol
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallApplicationRuleProtocol',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallApplicationRuleProtocol',
|
||||
modelProperties: {
|
||||
protocolType: {
|
||||
required: false,
|
||||
serializedName: 'protocolType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
port: {
|
||||
required: false,
|
||||
serializedName: 'port',
|
||||
constraints: {
|
||||
InclusiveMaximum: 64000,
|
||||
InclusiveMinimum: 0
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallApplicationRuleProtocol;
|
|
@ -1,121 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Azure Firewall FQDN Tag Resource
|
||||
*
|
||||
* @extends models['Resource']
|
||||
*/
|
||||
class AzureFirewallFqdnTag extends models['Resource'] {
|
||||
/**
|
||||
* Create a AzureFirewallFqdnTag.
|
||||
* @property {string} [provisioningState] The provisioning state of the
|
||||
* resource.
|
||||
* @property {string} [fqdnTagName] The name of this FQDN Tag.
|
||||
* @property {string} [etag] Gets a unique read-only string that changes
|
||||
* whenever the resource is updated.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallFqdnTag
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallFqdnTag
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallFqdnTag',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallFqdnTag',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
required: false,
|
||||
serializedName: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
required: false,
|
||||
serializedName: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
fqdnTagName: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.fqdnTagName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallFqdnTag;
|
|
@ -1,67 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Response for ListAzureFirewallFqdnTags API service call.
|
||||
*/
|
||||
class AzureFirewallFqdnTagListResult extends Array {
|
||||
/**
|
||||
* Create a AzureFirewallFqdnTagListResult.
|
||||
* @property {string} [nextLink] URL to get the next set of results.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallFqdnTagListResult
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallFqdnTagListResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallFqdnTagListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallFqdnTagListResult',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: '',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallFqdnTagElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallFqdnTag'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
nextLink: {
|
||||
required: false,
|
||||
serializedName: 'nextLink',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallFqdnTagListResult;
|
|
@ -1,116 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* IP configuration of an Azure Firewall.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class AzureFirewallIPConfiguration extends models['SubResource'] {
|
||||
/**
|
||||
* Create a AzureFirewallIPConfiguration.
|
||||
* @property {string} [privateIPAddress] The Firewall Internal Load Balancer
|
||||
* IP to be used as the next hop in User Defined Routes.
|
||||
* @property {object} [subnet] Reference of the subnet resource. This
|
||||
* resource must be named 'AzureFirewallSubnet'.
|
||||
* @property {string} [subnet.id] Resource ID.
|
||||
* @property {object} [publicIPAddress] Reference of the PublicIP resource.
|
||||
* This field is a mandatory input if subnet is not null.
|
||||
* @property {string} [publicIPAddress.id] Resource ID.
|
||||
* @property {string} [provisioningState] The provisioning state of the
|
||||
* resource. Possible values include: 'Succeeded', 'Updating', 'Deleting',
|
||||
* 'Failed'
|
||||
* @property {string} [name] Name of the resource that is unique within a
|
||||
* resource group. This name can be used to access the resource.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallIPConfiguration
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallIPConfiguration
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallIPConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallIPConfiguration',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
privateIPAddress: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.privateIPAddress',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
subnet: {
|
||||
required: false,
|
||||
serializedName: 'properties.subnet',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
publicIPAddress: {
|
||||
required: false,
|
||||
serializedName: 'properties.publicIPAddress',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallIPConfiguration;
|
|
@ -1,67 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Response for ListAzureFirewalls API service call.
|
||||
*/
|
||||
class AzureFirewallListResult extends Array {
|
||||
/**
|
||||
* Create a AzureFirewallListResult.
|
||||
* @property {string} [nextLink] URL to get the next set of results.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallListResult
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallListResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallListResult',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: '',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewall'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
nextLink: {
|
||||
required: false,
|
||||
serializedName: 'nextLink',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallListResult;
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* AzureFirewall NAT Rule Collection Action.
|
||||
*
|
||||
*/
|
||||
class AzureFirewallNatRCAction {
|
||||
/**
|
||||
* Create a AzureFirewallNatRCAction.
|
||||
* @property {string} [type] The type of action. Possible values include:
|
||||
* 'Snat', 'Dnat'
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallNatRCAction
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallNatRCAction
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallNatRCAction',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallNatRCAction',
|
||||
modelProperties: {
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallNatRCAction;
|
|
@ -1,140 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Properties of a NAT rule.
|
||||
*
|
||||
*/
|
||||
class AzureFirewallNatRule {
|
||||
/**
|
||||
* Create a AzureFirewallNatRule.
|
||||
* @property {string} [name] Name of the NAT rule.
|
||||
* @property {string} [description] Description of the rule.
|
||||
* @property {array} [sourceAddresses] List of source IP addresses for this
|
||||
* rule.
|
||||
* @property {array} [destinationAddresses] List of destination IP addresses
|
||||
* for this rule.
|
||||
* @property {array} [destinationPorts] List of destination ports.
|
||||
* @property {array} [protocols] Array of AzureFirewallNetworkRuleProtocols
|
||||
* applicable to this NAT rule.
|
||||
* @property {string} [translatedAddress] The translated address for this NAT
|
||||
* rule.
|
||||
* @property {string} [translatedPort] The translated port for this NAT rule.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallNatRule
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallNatRule
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallNatRule',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallNatRule',
|
||||
modelProperties: {
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
description: {
|
||||
required: false,
|
||||
serializedName: 'description',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
sourceAddresses: {
|
||||
required: false,
|
||||
serializedName: 'sourceAddresses',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
destinationAddresses: {
|
||||
required: false,
|
||||
serializedName: 'destinationAddresses',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
destinationPorts: {
|
||||
required: false,
|
||||
serializedName: 'destinationPorts',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
protocols: {
|
||||
required: false,
|
||||
serializedName: 'protocols',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallNetworkRuleProtocolElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
translatedAddress: {
|
||||
required: false,
|
||||
serializedName: 'translatedAddress',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
translatedPort: {
|
||||
required: false,
|
||||
serializedName: 'translatedPort',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallNatRule;
|
|
@ -1,125 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* NAT rule collection resource
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class AzureFirewallNatRuleCollection extends models['SubResource'] {
|
||||
/**
|
||||
* Create a AzureFirewallNatRuleCollection.
|
||||
* @property {number} [priority] Priority of the NAT rule collection
|
||||
* resource.
|
||||
* @property {object} [action] The action type of a NAT rule collection
|
||||
* @property {string} [action.type] The type of action. Possible values
|
||||
* include: 'Snat', 'Dnat'
|
||||
* @property {array} [rules] Collection of rules used by a NAT rule
|
||||
* collection.
|
||||
* @property {string} [provisioningState] The provisioning state of the
|
||||
* resource. Possible values include: 'Succeeded', 'Updating', 'Deleting',
|
||||
* 'Failed'
|
||||
* @property {string} [name] Gets name of the resource that is unique within
|
||||
* a resource group. This name can be used to access the resource.
|
||||
* @property {string} [etag] Gets a unique read-only string that changes
|
||||
* whenever the resource is updated.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallNatRuleCollection
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallNatRuleCollection
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallNatRuleCollection',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallNatRuleCollection',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
priority: {
|
||||
required: false,
|
||||
serializedName: 'properties.priority',
|
||||
constraints: {
|
||||
InclusiveMaximum: 65000,
|
||||
InclusiveMinimum: 100
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
action: {
|
||||
required: false,
|
||||
serializedName: 'properties.action',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallNatRCAction'
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
required: false,
|
||||
serializedName: 'properties.rules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallNatRuleElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallNatRule'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallNatRuleCollection;
|
|
@ -1,121 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Properties of the network rule.
|
||||
*
|
||||
*/
|
||||
class AzureFirewallNetworkRule {
|
||||
/**
|
||||
* Create a AzureFirewallNetworkRule.
|
||||
* @property {string} [name] Name of the network rule.
|
||||
* @property {string} [description] Description of the rule.
|
||||
* @property {array} [protocols] Array of AzureFirewallNetworkRuleProtocols.
|
||||
* @property {array} [sourceAddresses] List of source IP addresses for this
|
||||
* rule.
|
||||
* @property {array} [destinationAddresses] List of destination IP addresses.
|
||||
* @property {array} [destinationPorts] List of destination ports.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallNetworkRule
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallNetworkRule
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallNetworkRule',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallNetworkRule',
|
||||
modelProperties: {
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
description: {
|
||||
required: false,
|
||||
serializedName: 'description',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
protocols: {
|
||||
required: false,
|
||||
serializedName: 'protocols',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallNetworkRuleProtocolElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
sourceAddresses: {
|
||||
required: false,
|
||||
serializedName: 'sourceAddresses',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
destinationAddresses: {
|
||||
required: false,
|
||||
serializedName: 'destinationAddresses',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
destinationPorts: {
|
||||
required: false,
|
||||
serializedName: 'destinationPorts',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallNetworkRule;
|
|
@ -1,125 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Network rule collection resource
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class AzureFirewallNetworkRuleCollection extends models['SubResource'] {
|
||||
/**
|
||||
* Create a AzureFirewallNetworkRuleCollection.
|
||||
* @property {number} [priority] Priority of the network rule collection
|
||||
* resource.
|
||||
* @property {object} [action] The action type of a rule collection
|
||||
* @property {string} [action.type] The type of action. Possible values
|
||||
* include: 'Allow', 'Deny'
|
||||
* @property {array} [rules] Collection of rules used by a network rule
|
||||
* collection.
|
||||
* @property {string} [provisioningState] The provisioning state of the
|
||||
* resource. Possible values include: 'Succeeded', 'Updating', 'Deleting',
|
||||
* 'Failed'
|
||||
* @property {string} [name] Gets name of the resource that is unique within
|
||||
* a resource group. This name can be used to access the resource.
|
||||
* @property {string} [etag] Gets a unique read-only string that changes
|
||||
* whenever the resource is updated.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallNetworkRuleCollection
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallNetworkRuleCollection
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallNetworkRuleCollection',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallNetworkRuleCollection',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
priority: {
|
||||
required: false,
|
||||
serializedName: 'properties.priority',
|
||||
constraints: {
|
||||
InclusiveMaximum: 65000,
|
||||
InclusiveMinimum: 100
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
action: {
|
||||
required: false,
|
||||
serializedName: 'properties.action',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallRCAction'
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
required: false,
|
||||
serializedName: 'properties.rules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallNetworkRuleElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallNetworkRule'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallNetworkRuleCollection;
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Properties of the AzureFirewallRCAction.
|
||||
*
|
||||
*/
|
||||
class AzureFirewallRCAction {
|
||||
/**
|
||||
* Create a AzureFirewallRCAction.
|
||||
* @property {string} [type] The type of action. Possible values include:
|
||||
* 'Allow', 'Deny'
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureFirewallRCAction
|
||||
*
|
||||
* @returns {object} metadata of AzureFirewallRCAction
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureFirewallRCAction',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureFirewallRCAction',
|
||||
modelProperties: {
|
||||
type: {
|
||||
required: false,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureFirewallRCAction;
|
|
@ -1,82 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Azure reachability report details.
|
||||
*
|
||||
*/
|
||||
class AzureReachabilityReport {
|
||||
/**
|
||||
* Create a AzureReachabilityReport.
|
||||
* @property {string} aggregationLevel The aggregation level of Azure
|
||||
* reachability report. Can be Country, State or City.
|
||||
* @property {object} providerLocation
|
||||
* @property {string} [providerLocation.country] The name of the country.
|
||||
* @property {string} [providerLocation.state] The name of the state.
|
||||
* @property {string} [providerLocation.city] The name of the city or town.
|
||||
* @property {array} reachabilityReport List of Azure reachability report
|
||||
* items.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureReachabilityReport
|
||||
*
|
||||
* @returns {object} metadata of AzureReachabilityReport
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureReachabilityReport',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureReachabilityReport',
|
||||
modelProperties: {
|
||||
aggregationLevel: {
|
||||
required: true,
|
||||
serializedName: 'aggregationLevel',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
providerLocation: {
|
||||
required: true,
|
||||
serializedName: 'providerLocation',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureReachabilityReportLocation'
|
||||
}
|
||||
},
|
||||
reachabilityReport: {
|
||||
required: true,
|
||||
serializedName: 'reachabilityReport',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureReachabilityReportItemElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureReachabilityReportItem'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureReachabilityReport;
|
|
@ -1,77 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Azure reachability report details for a given provider location.
|
||||
*
|
||||
*/
|
||||
class AzureReachabilityReportItem {
|
||||
/**
|
||||
* Create a AzureReachabilityReportItem.
|
||||
* @property {string} [provider] The Internet service provider.
|
||||
* @property {string} [azureLocation] The Azure region.
|
||||
* @property {array} [latencies] List of latency details for each of the time
|
||||
* series.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureReachabilityReportItem
|
||||
*
|
||||
* @returns {object} metadata of AzureReachabilityReportItem
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureReachabilityReportItem',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureReachabilityReportItem',
|
||||
modelProperties: {
|
||||
provider: {
|
||||
required: false,
|
||||
serializedName: 'provider',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
azureLocation: {
|
||||
required: false,
|
||||
serializedName: 'azureLocation',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
latencies: {
|
||||
required: false,
|
||||
serializedName: 'latencies',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'AzureReachabilityReportLatencyInfoElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureReachabilityReportLatencyInfo'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureReachabilityReportItem;
|
|
@ -1,65 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Details on latency for a time series.
|
||||
*
|
||||
*/
|
||||
class AzureReachabilityReportLatencyInfo {
|
||||
/**
|
||||
* Create a AzureReachabilityReportLatencyInfo.
|
||||
* @property {date} [timeStamp] The time stamp.
|
||||
* @property {number} [score] The relative latency score between 1 and 100,
|
||||
* higher values indicating a faster connection.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureReachabilityReportLatencyInfo
|
||||
*
|
||||
* @returns {object} metadata of AzureReachabilityReportLatencyInfo
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureReachabilityReportLatencyInfo',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureReachabilityReportLatencyInfo',
|
||||
modelProperties: {
|
||||
timeStamp: {
|
||||
required: false,
|
||||
serializedName: 'timeStamp',
|
||||
type: {
|
||||
name: 'DateTime'
|
||||
}
|
||||
},
|
||||
score: {
|
||||
required: false,
|
||||
serializedName: 'score',
|
||||
constraints: {
|
||||
InclusiveMaximum: 100,
|
||||
InclusiveMinimum: 1
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureReachabilityReportLatencyInfo;
|
|
@ -1,68 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Parameters that define a geographic location.
|
||||
*
|
||||
*/
|
||||
class AzureReachabilityReportLocation {
|
||||
/**
|
||||
* Create a AzureReachabilityReportLocation.
|
||||
* @property {string} country The name of the country.
|
||||
* @property {string} [state] The name of the state.
|
||||
* @property {string} [city] The name of the city or town.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureReachabilityReportLocation
|
||||
*
|
||||
* @returns {object} metadata of AzureReachabilityReportLocation
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureReachabilityReportLocation',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureReachabilityReportLocation',
|
||||
modelProperties: {
|
||||
country: {
|
||||
required: true,
|
||||
serializedName: 'country',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
state: {
|
||||
required: false,
|
||||
serializedName: 'state',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
city: {
|
||||
required: false,
|
||||
serializedName: 'city',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureReachabilityReportLocation;
|
|
@ -1,104 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Geographic and time constraints for Azure reachability report.
|
||||
*
|
||||
*/
|
||||
class AzureReachabilityReportParameters {
|
||||
/**
|
||||
* Create a AzureReachabilityReportParameters.
|
||||
* @property {object} providerLocation
|
||||
* @property {string} [providerLocation.country] The name of the country.
|
||||
* @property {string} [providerLocation.state] The name of the state.
|
||||
* @property {string} [providerLocation.city] The name of the city or town.
|
||||
* @property {array} [providers] List of Internet service providers.
|
||||
* @property {array} [azureLocations] Optional Azure regions to scope the
|
||||
* query to.
|
||||
* @property {date} startTime The start time for the Azure reachability
|
||||
* report.
|
||||
* @property {date} endTime The end time for the Azure reachability report.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of AzureReachabilityReportParameters
|
||||
*
|
||||
* @returns {object} metadata of AzureReachabilityReportParameters
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'AzureReachabilityReportParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureReachabilityReportParameters',
|
||||
modelProperties: {
|
||||
providerLocation: {
|
||||
required: true,
|
||||
serializedName: 'providerLocation',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'AzureReachabilityReportLocation'
|
||||
}
|
||||
},
|
||||
providers: {
|
||||
required: false,
|
||||
serializedName: 'providers',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
azureLocations: {
|
||||
required: false,
|
||||
serializedName: 'azureLocations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
startTime: {
|
||||
required: true,
|
||||
serializedName: 'startTime',
|
||||
type: {
|
||||
name: 'DateTime'
|
||||
}
|
||||
},
|
||||
endTime: {
|
||||
required: true,
|
||||
serializedName: 'endTime',
|
||||
type: {
|
||||
name: 'DateTime'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = AzureReachabilityReportParameters;
|
|
@ -1,106 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Contains bgp community information offered in Service Community resources.
|
||||
*
|
||||
*/
|
||||
class BGPCommunity {
|
||||
/**
|
||||
* Create a BGPCommunity.
|
||||
* @property {string} [serviceSupportedRegion] The region which the service
|
||||
* support. e.g. For O365, region is Global.
|
||||
* @property {string} [communityName] The name of the bgp community. e.g.
|
||||
* Skype.
|
||||
* @property {string} [communityValue] The value of the bgp community. For
|
||||
* more information:
|
||||
* https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.
|
||||
* @property {array} [communityPrefixes] The prefixes that the bgp community
|
||||
* contains.
|
||||
* @property {boolean} [isAuthorizedToUse] Customer is authorized to use bgp
|
||||
* community or not.
|
||||
* @property {string} [serviceGroup] The service group of the bgp community
|
||||
* contains.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of BGPCommunity
|
||||
*
|
||||
* @returns {object} metadata of BGPCommunity
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'BGPCommunity',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BGPCommunity',
|
||||
modelProperties: {
|
||||
serviceSupportedRegion: {
|
||||
required: false,
|
||||
serializedName: 'serviceSupportedRegion',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
communityName: {
|
||||
required: false,
|
||||
serializedName: 'communityName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
communityValue: {
|
||||
required: false,
|
||||
serializedName: 'communityValue',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
communityPrefixes: {
|
||||
required: false,
|
||||
serializedName: 'communityPrefixes',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
isAuthorizedToUse: {
|
||||
required: false,
|
||||
serializedName: 'isAuthorizedToUse',
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
serviceGroup: {
|
||||
required: false,
|
||||
serializedName: 'serviceGroup',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = BGPCommunity;
|
|
@ -1,131 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Pool of backend IP addresses.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class BackendAddressPool extends models['SubResource'] {
|
||||
/**
|
||||
* Create a BackendAddressPool.
|
||||
* @property {array} [backendIPConfigurations] Gets collection of references
|
||||
* to IP addresses defined in network interfaces.
|
||||
* @property {array} [loadBalancingRules] Gets load balancing rules that use
|
||||
* this backend address pool.
|
||||
* @property {object} [outboundRule] Gets outbound rules that use this
|
||||
* backend address pool.
|
||||
* @property {string} [outboundRule.id] Resource ID.
|
||||
* @property {string} [provisioningState] Get provisioning state of the
|
||||
* public IP resource. Possible values are: 'Updating', 'Deleting', and
|
||||
* 'Failed'.
|
||||
* @property {string} [name] Gets name of the resource that is unique within
|
||||
* a resource group. This name can be used to access the resource.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of BackendAddressPool
|
||||
*
|
||||
* @returns {object} metadata of BackendAddressPool
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'BackendAddressPool',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BackendAddressPool',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
backendIPConfigurations: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.backendIPConfigurations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'NetworkInterfaceIPConfigurationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'NetworkInterfaceIPConfiguration'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
loadBalancingRules: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.loadBalancingRules',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'SubResourceElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
outboundRule: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.outboundRule',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = BackendAddressPool;
|
|
@ -1,121 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* BGP peer status details
|
||||
*
|
||||
*/
|
||||
class BgpPeerStatus {
|
||||
/**
|
||||
* Create a BgpPeerStatus.
|
||||
* @property {string} [localAddress] The virtual network gateway's local
|
||||
* address
|
||||
* @property {string} [neighbor] The remote BGP peer
|
||||
* @property {number} [asn] The autonomous system number of the remote BGP
|
||||
* peer
|
||||
* @property {string} [state] The BGP peer state. Possible values include:
|
||||
* 'Unknown', 'Stopped', 'Idle', 'Connecting', 'Connected'
|
||||
* @property {string} [connectedDuration] For how long the peering has been
|
||||
* up
|
||||
* @property {number} [routesReceived] The number of routes learned from this
|
||||
* peer
|
||||
* @property {number} [messagesSent] The number of BGP messages sent
|
||||
* @property {number} [messagesReceived] The number of BGP messages received
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of BgpPeerStatus
|
||||
*
|
||||
* @returns {object} metadata of BgpPeerStatus
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'BgpPeerStatus',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BgpPeerStatus',
|
||||
modelProperties: {
|
||||
localAddress: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'localAddress',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
neighbor: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'neighbor',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
asn: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'asn',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
state: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'state',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
connectedDuration: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'connectedDuration',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
routesReceived: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'routesReceived',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
messagesSent: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'messagesSent',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
messagesReceived: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'messagesReceived',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = BgpPeerStatus;
|
|
@ -1,60 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Response for list BGP peer status API service call
|
||||
*
|
||||
*/
|
||||
class BgpPeerStatusListResult {
|
||||
/**
|
||||
* Create a BgpPeerStatusListResult.
|
||||
* @property {array} [value] List of BGP peers
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of BgpPeerStatusListResult
|
||||
*
|
||||
* @returns {object} metadata of BgpPeerStatusListResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'BgpPeerStatusListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BgpPeerStatusListResult',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'value',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'BgpPeerStatusElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BgpPeerStatus'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = BgpPeerStatusListResult;
|
|
@ -1,117 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Service Community Properties.
|
||||
*
|
||||
* @extends models['Resource']
|
||||
*/
|
||||
class BgpServiceCommunity extends models['Resource'] {
|
||||
/**
|
||||
* Create a BgpServiceCommunity.
|
||||
* @property {string} [serviceName] The name of the bgp community. e.g.
|
||||
* Skype.
|
||||
* @property {array} [bgpCommunities] Get a list of bgp communities.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of BgpServiceCommunity
|
||||
*
|
||||
* @returns {object} metadata of BgpServiceCommunity
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'BgpServiceCommunity',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BgpServiceCommunity',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
required: false,
|
||||
serializedName: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
required: false,
|
||||
serializedName: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
serviceName: {
|
||||
required: false,
|
||||
serializedName: 'properties.serviceName',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
bgpCommunities: {
|
||||
required: false,
|
||||
serializedName: 'properties.bgpCommunities',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'BGPCommunityElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BGPCommunity'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = BgpServiceCommunity;
|
|
@ -1,67 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Response for the ListServiceCommunity API service call.
|
||||
*/
|
||||
class BgpServiceCommunityListResult extends Array {
|
||||
/**
|
||||
* Create a BgpServiceCommunityListResult.
|
||||
* @property {string} [nextLink] The URL to get the next set of results.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of BgpServiceCommunityListResult
|
||||
*
|
||||
* @returns {object} metadata of BgpServiceCommunityListResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'BgpServiceCommunityListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BgpServiceCommunityListResult',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: '',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'BgpServiceCommunityElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BgpServiceCommunity'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
nextLink: {
|
||||
required: false,
|
||||
serializedName: 'nextLink',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = BgpServiceCommunityListResult;
|
|
@ -1,70 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* BGP settings details
|
||||
*
|
||||
*/
|
||||
class BgpSettings {
|
||||
/**
|
||||
* Create a BgpSettings.
|
||||
* @property {number} [asn] The BGP speaker's ASN.
|
||||
* @property {string} [bgpPeeringAddress] The BGP peering address and BGP
|
||||
* identifier of this BGP speaker.
|
||||
* @property {number} [peerWeight] The weight added to routes learned from
|
||||
* this BGP speaker.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of BgpSettings
|
||||
*
|
||||
* @returns {object} metadata of BgpSettings
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'BgpSettings',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BgpSettings',
|
||||
modelProperties: {
|
||||
asn: {
|
||||
required: false,
|
||||
serializedName: 'asn',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
bgpPeeringAddress: {
|
||||
required: false,
|
||||
serializedName: 'bgpPeeringAddress',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
peerWeight: {
|
||||
required: false,
|
||||
serializedName: 'peerWeight',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = BgpSettings;
|
|
@ -1,115 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Parameters that define the operation to create a connection monitor.
|
||||
*
|
||||
*/
|
||||
class ConnectionMonitor {
|
||||
/**
|
||||
* Create a ConnectionMonitor.
|
||||
* @property {string} [location] Connection monitor location.
|
||||
* @property {object} [tags] Connection monitor tags.
|
||||
* @property {object} source
|
||||
* @property {string} [source.resourceId] The ID of the resource used as the
|
||||
* source by connection monitor.
|
||||
* @property {number} [source.port] The source port used by connection
|
||||
* monitor.
|
||||
* @property {object} destination
|
||||
* @property {string} [destination.resourceId] The ID of the resource used as
|
||||
* the destination by connection monitor.
|
||||
* @property {string} [destination.address] Address of the connection monitor
|
||||
* destination (IP or domain name).
|
||||
* @property {number} [destination.port] The destination port used by
|
||||
* connection monitor.
|
||||
* @property {boolean} [autoStart] Determines if the connection monitor will
|
||||
* start automatically once created. Default value: true .
|
||||
* @property {number} [monitoringIntervalInSeconds] Monitoring interval in
|
||||
* seconds. Default value: 60 .
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectionMonitor
|
||||
*
|
||||
* @returns {object} metadata of ConnectionMonitor
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectionMonitor',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitor',
|
||||
modelProperties: {
|
||||
location: {
|
||||
required: false,
|
||||
serializedName: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
required: false,
|
||||
serializedName: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
source: {
|
||||
required: true,
|
||||
serializedName: 'properties.source',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorSource'
|
||||
}
|
||||
},
|
||||
destination: {
|
||||
required: true,
|
||||
serializedName: 'properties.destination',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorDestination'
|
||||
}
|
||||
},
|
||||
autoStart: {
|
||||
required: false,
|
||||
serializedName: 'properties.autoStart',
|
||||
defaultValue: true,
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
monitoringIntervalInSeconds: {
|
||||
required: false,
|
||||
serializedName: 'properties.monitoringIntervalInSeconds',
|
||||
defaultValue: 60,
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectionMonitor;
|
|
@ -1,70 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Describes the destination of connection monitor.
|
||||
*
|
||||
*/
|
||||
class ConnectionMonitorDestination {
|
||||
/**
|
||||
* Create a ConnectionMonitorDestination.
|
||||
* @property {string} [resourceId] The ID of the resource used as the
|
||||
* destination by connection monitor.
|
||||
* @property {string} [address] Address of the connection monitor destination
|
||||
* (IP or domain name).
|
||||
* @property {number} [port] The destination port used by connection monitor.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectionMonitorDestination
|
||||
*
|
||||
* @returns {object} metadata of ConnectionMonitorDestination
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectionMonitorDestination',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorDestination',
|
||||
modelProperties: {
|
||||
resourceId: {
|
||||
required: false,
|
||||
serializedName: 'resourceId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
address: {
|
||||
required: false,
|
||||
serializedName: 'address',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
port: {
|
||||
required: false,
|
||||
serializedName: 'port',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectionMonitorDestination;
|
|
@ -1,59 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* List of connection monitors.
|
||||
*/
|
||||
class ConnectionMonitorListResult extends Array {
|
||||
/**
|
||||
* Create a ConnectionMonitorListResult.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectionMonitorListResult
|
||||
*
|
||||
* @returns {object} metadata of ConnectionMonitorListResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectionMonitorListResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorListResult',
|
||||
modelProperties: {
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: '',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ConnectionMonitorResultElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorResult'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectionMonitorListResult;
|
|
@ -1,92 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Parameters that define the operation to create a connection monitor.
|
||||
*
|
||||
*/
|
||||
class ConnectionMonitorParameters {
|
||||
/**
|
||||
* Create a ConnectionMonitorParameters.
|
||||
* @property {object} source
|
||||
* @property {string} [source.resourceId] The ID of the resource used as the
|
||||
* source by connection monitor.
|
||||
* @property {number} [source.port] The source port used by connection
|
||||
* monitor.
|
||||
* @property {object} destination
|
||||
* @property {string} [destination.resourceId] The ID of the resource used as
|
||||
* the destination by connection monitor.
|
||||
* @property {string} [destination.address] Address of the connection monitor
|
||||
* destination (IP or domain name).
|
||||
* @property {number} [destination.port] The destination port used by
|
||||
* connection monitor.
|
||||
* @property {boolean} [autoStart] Determines if the connection monitor will
|
||||
* start automatically once created. Default value: true .
|
||||
* @property {number} [monitoringIntervalInSeconds] Monitoring interval in
|
||||
* seconds. Default value: 60 .
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectionMonitorParameters
|
||||
*
|
||||
* @returns {object} metadata of ConnectionMonitorParameters
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectionMonitorParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorParameters',
|
||||
modelProperties: {
|
||||
source: {
|
||||
required: true,
|
||||
serializedName: 'source',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorSource'
|
||||
}
|
||||
},
|
||||
destination: {
|
||||
required: true,
|
||||
serializedName: 'destination',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorDestination'
|
||||
}
|
||||
},
|
||||
autoStart: {
|
||||
required: false,
|
||||
serializedName: 'autoStart',
|
||||
defaultValue: true,
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
monitoringIntervalInSeconds: {
|
||||
required: false,
|
||||
serializedName: 'monitoringIntervalInSeconds',
|
||||
defaultValue: 60,
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectionMonitorParameters;
|
|
@ -1,69 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* List of connection states snaphots.
|
||||
*
|
||||
*/
|
||||
class ConnectionMonitorQueryResult {
|
||||
/**
|
||||
* Create a ConnectionMonitorQueryResult.
|
||||
* @property {string} [sourceStatus] Status of connection monitor source.
|
||||
* Possible values include: 'Uknown', 'Active', 'Inactive'
|
||||
* @property {array} [states] Information about connection states.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectionMonitorQueryResult
|
||||
*
|
||||
* @returns {object} metadata of ConnectionMonitorQueryResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectionMonitorQueryResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorQueryResult',
|
||||
modelProperties: {
|
||||
sourceStatus: {
|
||||
required: false,
|
||||
serializedName: 'sourceStatus',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
states: {
|
||||
required: false,
|
||||
serializedName: 'states',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ConnectionStateSnapshotElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionStateSnapshot'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectionMonitorQueryResult;
|
|
@ -1,184 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Information about the connection monitor.
|
||||
*
|
||||
* @extends models['BaseResource']
|
||||
*/
|
||||
class ConnectionMonitorResult extends models['BaseResource'] {
|
||||
/**
|
||||
* Create a ConnectionMonitorResult.
|
||||
* @property {string} [name] Name of the connection monitor.
|
||||
* @property {string} [id] ID of the connection monitor.
|
||||
* @property {string} [etag] Default value: 'A unique read-only string that
|
||||
* changes whenever the resource is updated.' .
|
||||
* @property {string} [type] Connection monitor type.
|
||||
* @property {string} [location] Connection monitor location.
|
||||
* @property {object} [tags] Connection monitor tags.
|
||||
* @property {object} source
|
||||
* @property {string} [source.resourceId] The ID of the resource used as the
|
||||
* source by connection monitor.
|
||||
* @property {number} [source.port] The source port used by connection
|
||||
* monitor.
|
||||
* @property {object} destination
|
||||
* @property {string} [destination.resourceId] The ID of the resource used as
|
||||
* the destination by connection monitor.
|
||||
* @property {string} [destination.address] Address of the connection monitor
|
||||
* destination (IP or domain name).
|
||||
* @property {number} [destination.port] The destination port used by
|
||||
* connection monitor.
|
||||
* @property {boolean} [autoStart] Determines if the connection monitor will
|
||||
* start automatically once created. Default value: true .
|
||||
* @property {number} [monitoringIntervalInSeconds] Monitoring interval in
|
||||
* seconds. Default value: 60 .
|
||||
* @property {string} [provisioningState] The provisioning state of the
|
||||
* connection monitor. Possible values include: 'Succeeded', 'Updating',
|
||||
* 'Deleting', 'Failed'
|
||||
* @property {date} [startTime] The date and time when the connection monitor
|
||||
* was started.
|
||||
* @property {string} [monitoringStatus] The monitoring status of the
|
||||
* connection monitor.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectionMonitorResult
|
||||
*
|
||||
* @returns {object} metadata of ConnectionMonitorResult
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectionMonitorResult',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorResult',
|
||||
modelProperties: {
|
||||
name: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
id: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
defaultValue: 'A unique read-only string that changes whenever the resource is updated.',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
location: {
|
||||
required: false,
|
||||
serializedName: 'location',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tags: {
|
||||
required: false,
|
||||
serializedName: 'tags',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
source: {
|
||||
required: true,
|
||||
serializedName: 'properties.source',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorSource'
|
||||
}
|
||||
},
|
||||
destination: {
|
||||
required: true,
|
||||
serializedName: 'properties.destination',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorDestination'
|
||||
}
|
||||
},
|
||||
autoStart: {
|
||||
required: false,
|
||||
serializedName: 'properties.autoStart',
|
||||
defaultValue: true,
|
||||
type: {
|
||||
name: 'Boolean'
|
||||
}
|
||||
},
|
||||
monitoringIntervalInSeconds: {
|
||||
required: false,
|
||||
serializedName: 'properties.monitoringIntervalInSeconds',
|
||||
defaultValue: 60,
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
startTime: {
|
||||
required: false,
|
||||
serializedName: 'properties.startTime',
|
||||
type: {
|
||||
name: 'DateTime'
|
||||
}
|
||||
},
|
||||
monitoringStatus: {
|
||||
required: false,
|
||||
serializedName: 'properties.monitoringStatus',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectionMonitorResult;
|
|
@ -1,61 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Describes the source of connection monitor.
|
||||
*
|
||||
*/
|
||||
class ConnectionMonitorSource {
|
||||
/**
|
||||
* Create a ConnectionMonitorSource.
|
||||
* @property {string} resourceId The ID of the resource used as the source by
|
||||
* connection monitor.
|
||||
* @property {number} [port] The source port used by connection monitor.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectionMonitorSource
|
||||
*
|
||||
* @returns {object} metadata of ConnectionMonitorSource
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectionMonitorSource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionMonitorSource',
|
||||
modelProperties: {
|
||||
resourceId: {
|
||||
required: true,
|
||||
serializedName: 'resourceId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
port: {
|
||||
required: false,
|
||||
serializedName: 'port',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectionMonitorSource;
|
|
@ -1,57 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* The virtual network connection reset shared key
|
||||
*
|
||||
*/
|
||||
class ConnectionResetSharedKey {
|
||||
/**
|
||||
* Create a ConnectionResetSharedKey.
|
||||
* @property {number} keyLength The virtual network connection reset shared
|
||||
* key length, should between 1 and 128.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectionResetSharedKey
|
||||
*
|
||||
* @returns {object} metadata of ConnectionResetSharedKey
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectionResetSharedKey',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionResetSharedKey',
|
||||
modelProperties: {
|
||||
keyLength: {
|
||||
required: true,
|
||||
serializedName: 'keyLength',
|
||||
constraints: {
|
||||
InclusiveMaximum: 128,
|
||||
InclusiveMinimum: 1
|
||||
},
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectionResetSharedKey;
|
|
@ -1,63 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Response for GetConnectionSharedKey API service call
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ConnectionSharedKey extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ConnectionSharedKey.
|
||||
* @property {string} value The virtual network connection shared key value.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectionSharedKey
|
||||
*
|
||||
* @returns {object} metadata of ConnectionSharedKey
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectionSharedKey',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionSharedKey',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
value: {
|
||||
required: true,
|
||||
serializedName: 'value',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectionSharedKey;
|
|
@ -1,136 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Connection state snapshot.
|
||||
*
|
||||
*/
|
||||
class ConnectionStateSnapshot {
|
||||
/**
|
||||
* Create a ConnectionStateSnapshot.
|
||||
* @property {string} [connectionState] The connection state. Possible values
|
||||
* include: 'Reachable', 'Unreachable', 'Unknown'
|
||||
* @property {date} [startTime] The start time of the connection snapshot.
|
||||
* @property {date} [endTime] The end time of the connection snapshot.
|
||||
* @property {string} [evaluationState] Connectivity analysis evaluation
|
||||
* state. Possible values include: 'NotStarted', 'InProgress', 'Completed'
|
||||
* @property {number} [avgLatencyInMs] Average latency in ms.
|
||||
* @property {number} [minLatencyInMs] Minimum latency in ms.
|
||||
* @property {number} [maxLatencyInMs] Maximum latency in ms.
|
||||
* @property {number} [probesSent] The number of sent probes.
|
||||
* @property {number} [probesFailed] The number of failed probes.
|
||||
* @property {array} [hops] List of hops between the source and the
|
||||
* destination.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectionStateSnapshot
|
||||
*
|
||||
* @returns {object} metadata of ConnectionStateSnapshot
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectionStateSnapshot',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectionStateSnapshot',
|
||||
modelProperties: {
|
||||
connectionState: {
|
||||
required: false,
|
||||
serializedName: 'connectionState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
startTime: {
|
||||
required: false,
|
||||
serializedName: 'startTime',
|
||||
type: {
|
||||
name: 'DateTime'
|
||||
}
|
||||
},
|
||||
endTime: {
|
||||
required: false,
|
||||
serializedName: 'endTime',
|
||||
type: {
|
||||
name: 'DateTime'
|
||||
}
|
||||
},
|
||||
evaluationState: {
|
||||
required: false,
|
||||
serializedName: 'evaluationState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
avgLatencyInMs: {
|
||||
required: false,
|
||||
serializedName: 'avgLatencyInMs',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
minLatencyInMs: {
|
||||
required: false,
|
||||
serializedName: 'minLatencyInMs',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
maxLatencyInMs: {
|
||||
required: false,
|
||||
serializedName: 'maxLatencyInMs',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
probesSent: {
|
||||
required: false,
|
||||
serializedName: 'probesSent',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
probesFailed: {
|
||||
required: false,
|
||||
serializedName: 'probesFailed',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
hops: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'hops',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ConnectivityHopElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectivityHop'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectionStateSnapshot;
|
|
@ -1,71 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Parameters that define destination of connection.
|
||||
*
|
||||
*/
|
||||
class ConnectivityDestination {
|
||||
/**
|
||||
* Create a ConnectivityDestination.
|
||||
* @property {string} [resourceId] The ID of the resource to which a
|
||||
* connection attempt will be made.
|
||||
* @property {string} [address] The IP address or URI the resource to which a
|
||||
* connection attempt will be made.
|
||||
* @property {number} [port] Port on which check connectivity will be
|
||||
* performed.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectivityDestination
|
||||
*
|
||||
* @returns {object} metadata of ConnectivityDestination
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectivityDestination',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectivityDestination',
|
||||
modelProperties: {
|
||||
resourceId: {
|
||||
required: false,
|
||||
serializedName: 'resourceId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
address: {
|
||||
required: false,
|
||||
serializedName: 'address',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
port: {
|
||||
required: false,
|
||||
serializedName: 'port',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectivityDestination;
|
|
@ -1,114 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Information about a hop between the source and the destination.
|
||||
*
|
||||
*/
|
||||
class ConnectivityHop {
|
||||
/**
|
||||
* Create a ConnectivityHop.
|
||||
* @property {string} [type] The type of the hop.
|
||||
* @property {string} [id] The ID of the hop.
|
||||
* @property {string} [address] The IP address of the hop.
|
||||
* @property {string} [resourceId] The ID of the resource corresponding to
|
||||
* this hop.
|
||||
* @property {array} [nextHopIds] List of next hop identifiers.
|
||||
* @property {array} [issues] List of issues.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectivityHop
|
||||
*
|
||||
* @returns {object} metadata of ConnectivityHop
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectivityHop',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectivityHop',
|
||||
modelProperties: {
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
id: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
address: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'address',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
resourceId: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'resourceId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
nextHopIds: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'nextHopIds',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
issues: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'issues',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ConnectivityIssueElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectivityIssue'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectivityHop;
|
|
@ -1,117 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Information on the connectivity status.
|
||||
*
|
||||
*/
|
||||
class ConnectivityInformation {
|
||||
/**
|
||||
* Create a ConnectivityInformation.
|
||||
* @property {array} [hops] List of hops between the source and the
|
||||
* destination.
|
||||
* @property {string} [connectionStatus] The connection status. Possible
|
||||
* values include: 'Unknown', 'Connected', 'Disconnected', 'Degraded'
|
||||
* @property {number} [avgLatencyInMs] Average latency in milliseconds.
|
||||
* @property {number} [minLatencyInMs] Minimum latency in milliseconds.
|
||||
* @property {number} [maxLatencyInMs] Maximum latency in milliseconds.
|
||||
* @property {number} [probesSent] Total number of probes sent.
|
||||
* @property {number} [probesFailed] Number of failed probes.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectivityInformation
|
||||
*
|
||||
* @returns {object} metadata of ConnectivityInformation
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectivityInformation',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectivityInformation',
|
||||
modelProperties: {
|
||||
hops: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'hops',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ConnectivityHopElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectivityHop'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
connectionStatus: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'connectionStatus',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
avgLatencyInMs: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'avgLatencyInMs',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
minLatencyInMs: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'minLatencyInMs',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
maxLatencyInMs: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'maxLatencyInMs',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
probesSent: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'probesSent',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
probesFailed: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'probesFailed',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectivityInformation;
|
|
@ -1,99 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Information about an issue encountered in the process of checking for
|
||||
* connectivity.
|
||||
*
|
||||
*/
|
||||
class ConnectivityIssue {
|
||||
/**
|
||||
* Create a ConnectivityIssue.
|
||||
* @property {string} [origin] The origin of the issue. Possible values
|
||||
* include: 'Local', 'Inbound', 'Outbound'
|
||||
* @property {string} [severity] The severity of the issue. Possible values
|
||||
* include: 'Error', 'Warning'
|
||||
* @property {string} [type] The type of issue. Possible values include:
|
||||
* 'Unknown', 'AgentStopped', 'GuestFirewall', 'DnsResolution', 'SocketBind',
|
||||
* 'NetworkSecurityRule', 'UserDefinedRoute', 'PortThrottled', 'Platform'
|
||||
* @property {array} [context] Provides additional context on the issue.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectivityIssue
|
||||
*
|
||||
* @returns {object} metadata of ConnectivityIssue
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectivityIssue',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectivityIssue',
|
||||
modelProperties: {
|
||||
origin: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'origin',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
severity: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'severity',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
context: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'context',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ObjectElementType',
|
||||
type: {
|
||||
name: 'Dictionary',
|
||||
value: {
|
||||
required: false,
|
||||
serializedName: 'StringElementType',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectivityIssue;
|
|
@ -1,98 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Parameters that determine how the connectivity check will be performed.
|
||||
*
|
||||
*/
|
||||
class ConnectivityParameters {
|
||||
/**
|
||||
* Create a ConnectivityParameters.
|
||||
* @property {object} source
|
||||
* @property {string} [source.resourceId] The ID of the resource from which a
|
||||
* connectivity check will be initiated.
|
||||
* @property {number} [source.port] The source port from which a connectivity
|
||||
* check will be performed.
|
||||
* @property {object} destination
|
||||
* @property {string} [destination.resourceId] The ID of the resource to
|
||||
* which a connection attempt will be made.
|
||||
* @property {string} [destination.address] The IP address or URI the
|
||||
* resource to which a connection attempt will be made.
|
||||
* @property {number} [destination.port] Port on which check connectivity
|
||||
* will be performed.
|
||||
* @property {string} [protocol] Network protocol. Possible values include:
|
||||
* 'Tcp', 'Http', 'Https', 'Icmp'
|
||||
* @property {object} [protocolConfiguration]
|
||||
* @property {object} [protocolConfiguration.hTTPConfiguration]
|
||||
* @property {string} [protocolConfiguration.hTTPConfiguration.method] HTTP
|
||||
* method. Possible values include: 'Get'
|
||||
* @property {array} [protocolConfiguration.hTTPConfiguration.headers] List
|
||||
* of HTTP headers.
|
||||
* @property {array}
|
||||
* [protocolConfiguration.hTTPConfiguration.validStatusCodes] Valid status
|
||||
* codes.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectivityParameters
|
||||
*
|
||||
* @returns {object} metadata of ConnectivityParameters
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectivityParameters',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectivityParameters',
|
||||
modelProperties: {
|
||||
source: {
|
||||
required: true,
|
||||
serializedName: 'source',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectivitySource'
|
||||
}
|
||||
},
|
||||
destination: {
|
||||
required: true,
|
||||
serializedName: 'destination',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectivityDestination'
|
||||
}
|
||||
},
|
||||
protocol: {
|
||||
required: false,
|
||||
serializedName: 'protocol',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
protocolConfiguration: {
|
||||
required: false,
|
||||
serializedName: 'protocolConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ProtocolConfiguration'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectivityParameters;
|
|
@ -1,62 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Parameters that define the source of the connection.
|
||||
*
|
||||
*/
|
||||
class ConnectivitySource {
|
||||
/**
|
||||
* Create a ConnectivitySource.
|
||||
* @property {string} resourceId The ID of the resource from which a
|
||||
* connectivity check will be initiated.
|
||||
* @property {number} [port] The source port from which a connectivity check
|
||||
* will be performed.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ConnectivitySource
|
||||
*
|
||||
* @returns {object} metadata of ConnectivitySource
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ConnectivitySource',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ConnectivitySource',
|
||||
modelProperties: {
|
||||
resourceId: {
|
||||
required: true,
|
||||
serializedName: 'resourceId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
port: {
|
||||
required: false,
|
||||
serializedName: 'port',
|
||||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ConnectivitySource;
|
|
@ -1,55 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Reference to container resource in remote resource provider.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class Container extends models['SubResource'] {
|
||||
/**
|
||||
* Create a Container.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of Container
|
||||
*
|
||||
* @returns {object} metadata of Container
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'Container',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'Container',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Container;
|
|
@ -1,146 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Container network interface child resource.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ContainerNetworkInterface extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ContainerNetworkInterface.
|
||||
* @property {object} [containerNetworkInterfaceConfiguration] Container
|
||||
* network interface configuration from which this container network
|
||||
* interface is created.
|
||||
* @property {array}
|
||||
* [containerNetworkInterfaceConfiguration.ipConfigurations] A list of ip
|
||||
* configurations of the container network interface configuration.
|
||||
* @property {array}
|
||||
* [containerNetworkInterfaceConfiguration.containerNetworkInterfaces] A list
|
||||
* of container network interfaces created from this container network
|
||||
* interface configuration.
|
||||
* @property {string}
|
||||
* [containerNetworkInterfaceConfiguration.provisioningState] The
|
||||
* provisioning state of the resource.
|
||||
* @property {string} [containerNetworkInterfaceConfiguration.name] The name
|
||||
* of the resource. This name can be used to access the resource.
|
||||
* @property {string} [containerNetworkInterfaceConfiguration.type] Sub
|
||||
* Resource type.
|
||||
* @property {string} [containerNetworkInterfaceConfiguration.etag] A unique
|
||||
* read-only string that changes whenever the resource is updated.
|
||||
* @property {object} [container] Reference to the conatinaer to which this
|
||||
* container network interface is attached.
|
||||
* @property {array} [ipConfigurations] Reference to the ip configuration on
|
||||
* this container nic.
|
||||
* @property {string} [provisioningState] The provisioning state of the
|
||||
* resource.
|
||||
* @property {string} [name] The name of the resource. This name can be used
|
||||
* to access the resource.
|
||||
* @property {string} [type] Sub Resource type.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ContainerNetworkInterface
|
||||
*
|
||||
* @returns {object} metadata of ContainerNetworkInterface
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ContainerNetworkInterface',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ContainerNetworkInterface',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
containerNetworkInterfaceConfiguration: {
|
||||
required: false,
|
||||
serializedName: 'properties.containerNetworkInterfaceConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ContainerNetworkInterfaceConfiguration'
|
||||
}
|
||||
},
|
||||
container: {
|
||||
required: false,
|
||||
serializedName: 'properties.container',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'Container'
|
||||
}
|
||||
},
|
||||
ipConfigurations: {
|
||||
required: false,
|
||||
serializedName: 'properties.ipConfigurations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'ContainerNetworkInterfaceIpConfigurationElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ContainerNetworkInterfaceIpConfiguration'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ContainerNetworkInterface;
|
|
@ -1,126 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
const models = require('./index');
|
||||
|
||||
/**
|
||||
* Container network interface configruation child resource.
|
||||
*
|
||||
* @extends models['SubResource']
|
||||
*/
|
||||
class ContainerNetworkInterfaceConfiguration extends models['SubResource'] {
|
||||
/**
|
||||
* Create a ContainerNetworkInterfaceConfiguration.
|
||||
* @property {array} [ipConfigurations] A list of ip configurations of the
|
||||
* container network interface configuration.
|
||||
* @property {array} [containerNetworkInterfaces] A list of container network
|
||||
* interfaces created from this container network interface configuration.
|
||||
* @property {string} [provisioningState] The provisioning state of the
|
||||
* resource.
|
||||
* @property {string} [name] The name of the resource. This name can be used
|
||||
* to access the resource.
|
||||
* @property {string} [type] Sub Resource type.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ContainerNetworkInterfaceConfiguration
|
||||
*
|
||||
* @returns {object} metadata of ContainerNetworkInterfaceConfiguration
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ContainerNetworkInterfaceConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ContainerNetworkInterfaceConfiguration',
|
||||
modelProperties: {
|
||||
id: {
|
||||
required: false,
|
||||
serializedName: 'id',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
ipConfigurations: {
|
||||
required: false,
|
||||
serializedName: 'properties.ipConfigurations',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'IPConfigurationProfileElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'IPConfigurationProfile'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
containerNetworkInterfaces: {
|
||||
required: false,
|
||||
serializedName: 'properties.containerNetworkInterfaces',
|
||||
type: {
|
||||
name: 'Sequence',
|
||||
element: {
|
||||
required: false,
|
||||
serializedName: 'SubResourceElementType',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'SubResource'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
provisioningState: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ContainerNetworkInterfaceConfiguration;
|
|
@ -1,81 +0,0 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* The ip configuration for a container network interface.
|
||||
*
|
||||
*/
|
||||
class ContainerNetworkInterfaceIpConfiguration {
|
||||
/**
|
||||
* Create a ContainerNetworkInterfaceIpConfiguration.
|
||||
* @property {string} [provisioningState] The provisioning state of the
|
||||
* resource.
|
||||
* @property {string} [name] The name of the resource. This name can be used
|
||||
* to access the resource.
|
||||
* @property {string} [type] Sub Resource type.
|
||||
* @property {string} [etag] A unique read-only string that changes whenever
|
||||
* the resource is updated.
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of ContainerNetworkInterfaceIpConfiguration
|
||||
*
|
||||
* @returns {object} metadata of ContainerNetworkInterfaceIpConfiguration
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'ContainerNetworkInterfaceIpConfiguration',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'ContainerNetworkInterfaceIpConfiguration',
|
||||
modelProperties: {
|
||||
provisioningState: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'properties.provisioningState',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
name: {
|
||||
required: false,
|
||||
serializedName: 'name',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
etag: {
|
||||
required: false,
|
||||
serializedName: 'etag',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = ContainerNetworkInterfaceIpConfiguration;
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче