Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4516 from Azure/restapi_auto_network/resource-man…
Browse files Browse the repository at this point in the history
…ager

[AutoPR] network/resource-manager
  • Loading branch information
kpajdzik authored Jan 16, 2019
2 parents 20d3d4f + 4393f01 commit 9cd8b94
Show file tree
Hide file tree
Showing 90 changed files with 4,918 additions and 345 deletions.
2 changes: 1 addition & 1 deletion lib/services/networkManagement2/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* 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 ApplicationGatewayAvailableRequestHeaders API service call.
*
*/
class ApplicationGatewayAvailableRequestHeadersResult {
/**
* Create a ApplicationGatewayAvailableRequestHeadersResult.
* @property {array} [value] The list of supported request headers in
* application gateway.
*/
constructor() {
}

/**
* Defines the metadata of ApplicationGatewayAvailableRequestHeadersResult
*
* @returns {object} metadata of ApplicationGatewayAvailableRequestHeadersResult
*
*/
mapper() {
return {
required: false,
serializedName: 'ApplicationGatewayAvailableRequestHeadersResult',
type: {
name: 'Composite',
className: 'ApplicationGatewayAvailableRequestHeadersResult',
modelProperties: {
value: {
required: false,
serializedName: 'value',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
};
}
}

module.exports = ApplicationGatewayAvailableRequestHeadersResult;
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* 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 ApplicationGatewayAvailableResponeHeaders API service call.
*
*/
class ApplicationGatewayAvailableResponseHeadersResult {
/**
* Create a ApplicationGatewayAvailableResponseHeadersResult.
* @property {array} [value] The list of supported response header in
* application gateway.
*/
constructor() {
}

/**
* Defines the metadata of ApplicationGatewayAvailableResponseHeadersResult
*
* @returns {object} metadata of ApplicationGatewayAvailableResponseHeadersResult
*
*/
mapper() {
return {
required: false,
serializedName: 'ApplicationGatewayAvailableResponseHeadersResult',
type: {
name: 'Composite',
className: 'ApplicationGatewayAvailableResponseHeadersResult',
modelProperties: {
value: {
required: false,
serializedName: 'value',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
};
}
}

module.exports = ApplicationGatewayAvailableResponseHeadersResult;
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* 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 ApplicationGatewayAvailableServerVariables API service call.
*
*/
class ApplicationGatewayAvailableServerVariablesResult {
/**
* Create a ApplicationGatewayAvailableServerVariablesResult.
* @property {array} [value] The list of supported server variables in
* application gateway.
*/
constructor() {
}

/**
* Defines the metadata of ApplicationGatewayAvailableServerVariablesResult
*
* @returns {object} metadata of ApplicationGatewayAvailableServerVariablesResult
*
*/
mapper() {
return {
required: false,
serializedName: 'ApplicationGatewayAvailableServerVariablesResult',
type: {
name: 'Composite',
className: 'ApplicationGatewayAvailableServerVariablesResult',
modelProperties: {
value: {
required: false,
serializedName: 'value',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
};
}
}

module.exports = ApplicationGatewayAvailableServerVariablesResult;
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,19 @@ class ApplicationGatewayBackendHealthServer {
* 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 {object} [ipConfiguration.publicIPAddress.ddosSettings] The DDoS
* protection custom policy associated with the public IP address.
* @property {object}
* [ipConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy] The DDoS
* custom policy associated with the public IP.
* @property {string}
* [ipConfiguration.publicIPAddress.ddosSettings.ddosCustomPolicy.id]
* Resource ID.
* @property {string}
* [ipConfiguration.publicIPAddress.ddosSettings.protectionCoverage] The DDoS
* protection policy customizability of the public IP. Only standard coverage
* will have the ability to be customized. Possible values include: 'Basic',
* 'Standard'
* @property {array} [ipConfiguration.publicIPAddress.ipTags] The list of
* tags associated with the public IP address.
* @property {string} [ipConfiguration.publicIPAddress.ipAddress] The IP
Expand Down
160 changes: 160 additions & 0 deletions lib/services/networkManagement2/lib/models/ddosCustomPolicy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
/*
* 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 DDoS custom policy in a resource group.
*
* @extends models['Resource']
*/
class DdosCustomPolicy extends models['Resource'] {
/**
* Create a DdosCustomPolicy.
* @property {string} [resourceGuid] The resource GUID property of the DDoS
* custom policy resource. It uniquely identifies the resource, even if the
* user changes its name or migrate the resource across subscriptions or
* resource groups.
* @property {string} [provisioningState] The provisioning state of the DDoS
* custom policy resource. Possible values are: 'Succeeded', 'Updating',
* 'Deleting', and 'Failed'.
* @property {array} [publicIPAddresses] The list of public IPs associated
* with the DDoS custom policy resource. This list is read-only.
* @property {array} [protocolCustomSettings] The protocol-specific DDoS
* policy customization parameters.
* @property {string} [etag] A unique read-only string that changes whenever
* the resource is updated.
*/
constructor() {
super();
}

/**
* Defines the metadata of DdosCustomPolicy
*
* @returns {object} metadata of DdosCustomPolicy
*
*/
mapper() {
return {
required: false,
serializedName: 'DdosCustomPolicy',
type: {
name: 'Composite',
className: 'DdosCustomPolicy',
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'
}
},
publicIPAddresses: {
required: false,
readOnly: true,
serializedName: 'properties.publicIPAddresses',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'SubResourceElementType',
type: {
name: 'Composite',
className: 'SubResource'
}
}
}
},
protocolCustomSettings: {
required: false,
serializedName: 'properties.protocolCustomSettings',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ProtocolCustomSettingsFormatElementType',
type: {
name: 'Composite',
className: 'ProtocolCustomSettingsFormat'
}
}
}
},
etag: {
required: false,
readOnly: true,
serializedName: 'etag',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = DdosCustomPolicy;
Loading

0 comments on commit 9cd8b94

Please sign in to comment.