diff --git a/lib/services/networkManagement2/lib/models/azureFirewall.js b/lib/services/networkManagement2/lib/models/azureFirewall.js index fd69283902..23c63a0bed 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewall.js +++ b/lib/services/networkManagement2/lib/models/azureFirewall.js @@ -31,6 +31,8 @@ class AzureFirewall extends models['Resource'] { * @property {string} [provisioningState] The provisioning state of the * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' + * @property {string} [threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' * @property {string} [etag] Gets a unique read-only string that changes * whenever the resource is updated. */ @@ -163,6 +165,13 @@ class AzureFirewall extends models['Resource'] { name: 'String' } }, + threatIntelMode: { + required: false, + serializedName: 'properties.threatIntelMode', + type: { + name: 'String' + } + }, etag: { required: false, readOnly: true, diff --git a/lib/services/networkManagement2/lib/models/azureFirewallApplicationRuleCollection.js b/lib/services/networkManagement2/lib/models/azureFirewallApplicationRuleCollection.js index 5701abe73a..1c45bcac3f 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewallApplicationRuleCollection.js +++ b/lib/services/networkManagement2/lib/models/azureFirewallApplicationRuleCollection.js @@ -24,7 +24,7 @@ class AzureFirewallApplicationRuleCollection extends models['SubResource'] { * resource. * @property {object} [action] The action type of a rule collection * @property {string} [action.type] The type of action. Possible values - * include: 'Allow', 'Deny' + * include: 'Allow', 'Deny', 'Alert' * @property {array} [rules] Collection of rules used by a application rule * collection. * @property {string} [provisioningState] The provisioning state of the diff --git a/lib/services/networkManagement2/lib/models/azureFirewallNetworkRuleCollection.js b/lib/services/networkManagement2/lib/models/azureFirewallNetworkRuleCollection.js index 56d3d62f40..a421875a57 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewallNetworkRuleCollection.js +++ b/lib/services/networkManagement2/lib/models/azureFirewallNetworkRuleCollection.js @@ -24,7 +24,7 @@ class AzureFirewallNetworkRuleCollection extends models['SubResource'] { * resource. * @property {object} [action] The action type of a rule collection * @property {string} [action.type] The type of action. Possible values - * include: 'Allow', 'Deny' + * include: 'Allow', 'Deny', 'Alert' * @property {array} [rules] Collection of rules used by a network rule * collection. * @property {string} [provisioningState] The provisioning state of the diff --git a/lib/services/networkManagement2/lib/models/azureFirewallRCAction.js b/lib/services/networkManagement2/lib/models/azureFirewallRCAction.js index ab9dfbe700..1815e244bd 100644 --- a/lib/services/networkManagement2/lib/models/azureFirewallRCAction.js +++ b/lib/services/networkManagement2/lib/models/azureFirewallRCAction.js @@ -18,7 +18,7 @@ class AzureFirewallRCAction { /** * Create a AzureFirewallRCAction. * @property {string} [type] The type of action. Possible values include: - * 'Allow', 'Deny' + * 'Allow', 'Deny', 'Alert' */ constructor() { } diff --git a/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js b/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js index 5bc4876daf..74ebaed025 100644 --- a/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js +++ b/lib/services/networkManagement2/lib/models/connectionMonitorQueryResult.js @@ -18,7 +18,7 @@ class ConnectionMonitorQueryResult { /** * Create a ConnectionMonitorQueryResult. * @property {string} [sourceStatus] Status of connection monitor source. - * Possible values include: 'Uknown', 'Active', 'Inactive' + * Possible values include: 'Unknown', 'Active', 'Inactive' * @property {array} [states] Information about connection states. */ constructor() { diff --git a/lib/services/networkManagement2/lib/models/index.d.ts b/lib/services/networkManagement2/lib/models/index.d.ts index 7a2535bed3..e17b129513 100644 --- a/lib/services/networkManagement2/lib/models/index.d.ts +++ b/lib/services/networkManagement2/lib/models/index.d.ts @@ -2232,36 +2232,6 @@ export interface ApplicationGateway extends Resource { identity?: ManagedServiceIdentity; } -/** - * Response for ApplicationGatewayAvailableServerVariables API service call. -*/ -export interface ApplicationGatewayAvailableServerVariablesResult { - /** - * The list of supported server variables in application gateway. - */ - value?: string[]; -} - -/** - * Response for ApplicationGatewayAvailableRequestHeaders API service call. -*/ -export interface ApplicationGatewayAvailableRequestHeadersResult { - /** - * The list of supported request headers in application gateway. - */ - value?: string[]; -} - -/** - * Response for ApplicationGatewayAvailableResponeHeaders API service call. -*/ -export interface ApplicationGatewayAvailableResponseHeadersResult { - /** - * The list of supported response header in application gateway. - */ - value?: string[]; -} - /** * A web application firewall rule. */ @@ -2455,7 +2425,7 @@ export interface AzureFirewallIPConfiguration extends SubResource { */ export interface AzureFirewallRCAction { /** - * The type of action. Possible values include: 'Allow', 'Deny' + * The type of action. Possible values include: 'Allow', 'Deny', 'Alert' */ type?: string; } @@ -2704,6 +2674,10 @@ export interface AzureFirewall extends Resource { * 'Deleting', 'Failed' */ provisioningState?: string; + /** + * The operation mode for Threat Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + */ + threatIntelMode?: string; /** * Gets a unique read-only string that changes whenever the resource is updated. */ @@ -5635,7 +5609,7 @@ export interface ConnectionStateSnapshot { */ export interface ConnectionMonitorQueryResult { /** - * Status of connection monitor source. Possible values include: 'Uknown', 'Active', 'Inactive' + * Status of connection monitor source. Possible values include: 'Unknown', 'Active', 'Inactive' */ sourceStatus?: string; /** diff --git a/lib/services/networkManagement2/lib/models/index.js b/lib/services/networkManagement2/lib/models/index.js index 23ceba7ee2..796a019f0d 100644 --- a/lib/services/networkManagement2/lib/models/index.js +++ b/lib/services/networkManagement2/lib/models/index.js @@ -85,9 +85,6 @@ exports.ApplicationGatewayAutoscaleConfiguration = require('./applicationGateway exports.ManagedServiceIdentityUserAssignedIdentitiesValue = require('./managedServiceIdentityUserAssignedIdentitiesValue'); exports.ManagedServiceIdentity = require('./managedServiceIdentity'); exports.ApplicationGateway = require('./applicationGateway'); -exports.ApplicationGatewayAvailableServerVariablesResult = require('./applicationGatewayAvailableServerVariablesResult'); -exports.ApplicationGatewayAvailableRequestHeadersResult = require('./applicationGatewayAvailableRequestHeadersResult'); -exports.ApplicationGatewayAvailableResponseHeadersResult = require('./applicationGatewayAvailableResponseHeadersResult'); exports.ApplicationGatewayFirewallRule = require('./applicationGatewayFirewallRule'); exports.ApplicationGatewayFirewallRuleGroup = require('./applicationGatewayFirewallRuleGroup'); exports.ApplicationGatewayFirewallRuleSet = require('./applicationGatewayFirewallRuleSet'); diff --git a/lib/services/networkManagement2/lib/operations/applicationGateways.js b/lib/services/networkManagement2/lib/operations/applicationGateways.js index ee4760f9a0..38a12efd12 100644 --- a/lib/services/networkManagement2/lib/operations/applicationGateways.js +++ b/lib/services/networkManagement2/lib/operations/applicationGateways.js @@ -1043,10 +1043,7 @@ function _backendHealth(resourceGroupName, applicationGatewayName, options, call * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableServerVariablesResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -1148,7 +1145,20 @@ function _listAvailableServerVariables(options, callback) { parsedResponse = JSON.parse(responseBody); result = JSON.parse(responseBody); if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayAvailableServerVariablesResult']().mapper(); + let resultMapper = { + required: false, + serializedName: 'parsedResponse', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }; result = client.deserialize(resultMapper, parsedResponse, 'result'); } } catch (error) { @@ -1177,10 +1187,7 @@ function _listAvailableServerVariables(options, callback) { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableRequestHeadersResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -1282,7 +1289,20 @@ function _listAvailableRequestHeaders(options, callback) { parsedResponse = JSON.parse(responseBody); result = JSON.parse(responseBody); if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayAvailableRequestHeadersResult']().mapper(); + let resultMapper = { + required: false, + serializedName: 'parsedResponse', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }; result = client.deserialize(resultMapper, parsedResponse, 'result'); } } catch (error) { @@ -1311,10 +1331,7 @@ function _listAvailableRequestHeaders(options, callback) { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableResponseHeadersResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -1416,7 +1433,20 @@ function _listAvailableResponseHeaders(options, callback) { parsedResponse = JSON.parse(responseBody); result = JSON.parse(responseBody); if (parsedResponse !== null && parsedResponse !== undefined) { - let resultMapper = new client.models['ApplicationGatewayAvailableResponseHeadersResult']().mapper(); + let resultMapper = { + required: false, + serializedName: 'parsedResponse', + type: { + name: 'Sequence', + element: { + required: false, + serializedName: 'StringElementType', + type: { + name: 'String' + } + } + } + }; result = client.deserialize(resultMapper, parsedResponse, 'result'); } } catch (error) { @@ -4556,7 +4586,7 @@ class ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error} - The error object. */ @@ -4589,7 +4619,7 @@ class ApplicationGateways { * * {Promise} A promise is returned * - * @resolve {ApplicationGatewayAvailableServerVariablesResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error} - The error object. * @@ -4597,10 +4627,7 @@ class ApplicationGateways { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableServerVariablesResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -4636,7 +4663,7 @@ class ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error} - The error object. */ @@ -4669,7 +4696,7 @@ class ApplicationGateways { * * {Promise} A promise is returned * - * @resolve {ApplicationGatewayAvailableRequestHeadersResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error} - The error object. * @@ -4677,10 +4704,7 @@ class ApplicationGateways { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableRequestHeadersResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * @@ -4716,7 +4740,7 @@ class ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error} - The error object. */ @@ -4749,7 +4773,7 @@ class ApplicationGateways { * * {Promise} A promise is returned * - * @resolve {ApplicationGatewayAvailableResponseHeadersResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error} - The error object. * @@ -4757,10 +4781,7 @@ class ApplicationGateways { * * {Error} err - The Error object if an error occurred, null otherwise. * - * {object} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableResponseHeadersResult} for - * more information. + * {array} [result] - The deserialized result object if an error did not occur. * * {object} [request] - The HTTP Request object if an error did not occur. * diff --git a/lib/services/networkManagement2/lib/operations/azureFirewalls.js b/lib/services/networkManagement2/lib/operations/azureFirewalls.js index fec346524d..6d027cdb6f 100644 --- a/lib/services/networkManagement2/lib/operations/azureFirewalls.js +++ b/lib/services/networkManagement2/lib/operations/azureFirewalls.js @@ -247,6 +247,9 @@ function _get(resourceGroupName, azureFirewallName, options, callback) { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -744,6 +747,9 @@ function _beginDeleteMethod(resourceGroupName, azureFirewallName, options, callb * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -1392,6 +1398,9 @@ class AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -1449,6 +1458,9 @@ class AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -1775,6 +1787,9 @@ class AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -1832,6 +1847,9 @@ class AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. diff --git a/lib/services/networkManagement2/lib/operations/index.d.ts b/lib/services/networkManagement2/lib/operations/index.d.ts index 57419492ed..b8489d7498 100644 --- a/lib/services/networkManagement2/lib/operations/index.d.ts +++ b/lib/services/networkManagement2/lib/operations/index.d.ts @@ -906,11 +906,11 @@ export interface ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. */ - listAvailableServerVariablesWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + listAvailableServerVariablesWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** * Lists all available server variables. @@ -927,7 +927,7 @@ export interface ApplicationGateways { * * {Promise} A promise is returned. * - * @resolve {ApplicationGatewayAvailableServerVariablesResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. * @@ -935,18 +935,15 @@ export interface ApplicationGateways { * * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. * - * {ApplicationGatewayAvailableServerVariablesResult} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableServerVariablesResult} for - * more information. + * {Array} [result] - The deserialized result object if an error did not occur. * * {WebResource} [request] - The HTTP Request object if an error did not occur. * * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. */ - listAvailableServerVariables(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - listAvailableServerVariables(callback: ServiceCallback): void; - listAvailableServerVariables(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + listAvailableServerVariables(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + listAvailableServerVariables(callback: ServiceCallback): void; + listAvailableServerVariables(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; /** @@ -959,11 +956,11 @@ export interface ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. */ - listAvailableRequestHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + listAvailableRequestHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** * Lists all available request headers. @@ -980,7 +977,7 @@ export interface ApplicationGateways { * * {Promise} A promise is returned. * - * @resolve {ApplicationGatewayAvailableRequestHeadersResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. * @@ -988,18 +985,15 @@ export interface ApplicationGateways { * * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. * - * {ApplicationGatewayAvailableRequestHeadersResult} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableRequestHeadersResult} for - * more information. + * {Array} [result] - The deserialized result object if an error did not occur. * * {WebResource} [request] - The HTTP Request object if an error did not occur. * * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. */ - listAvailableRequestHeaders(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - listAvailableRequestHeaders(callback: ServiceCallback): void; - listAvailableRequestHeaders(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + listAvailableRequestHeaders(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + listAvailableRequestHeaders(callback: ServiceCallback): void; + listAvailableRequestHeaders(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; /** @@ -1012,11 +1006,11 @@ export interface ApplicationGateways { * * @returns {Promise} A promise is returned * - * @resolve {HttpOperationResponse} - The deserialized result object. + * @resolve {HttpOperationResponse} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. */ - listAvailableResponseHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; + listAvailableResponseHeadersWithHttpOperationResponse(options?: { customHeaders? : { [headerName: string]: string; } }): Promise>; /** * Lists all available response headers. @@ -1033,7 +1027,7 @@ export interface ApplicationGateways { * * {Promise} A promise is returned. * - * @resolve {ApplicationGatewayAvailableResponseHeadersResult} - The deserialized result object. + * @resolve {Array} - The deserialized result object. * * @reject {Error|ServiceError} - The error object. * @@ -1041,18 +1035,15 @@ export interface ApplicationGateways { * * {Error|ServiceError} err - The Error object if an error occurred, null otherwise. * - * {ApplicationGatewayAvailableResponseHeadersResult} [result] - The deserialized result object if an error did not occur. - * See {@link - * ApplicationGatewayAvailableResponseHeadersResult} for - * more information. + * {Array} [result] - The deserialized result object if an error did not occur. * * {WebResource} [request] - The HTTP Request object if an error did not occur. * * {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur. */ - listAvailableResponseHeaders(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; - listAvailableResponseHeaders(callback: ServiceCallback): void; - listAvailableResponseHeaders(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; + listAvailableResponseHeaders(options?: { customHeaders? : { [headerName: string]: string; } }): Promise; + listAvailableResponseHeaders(callback: ServiceCallback): void; + listAvailableResponseHeaders(options: { customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback): void; /** @@ -3281,6 +3272,9 @@ export interface AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -3326,6 +3320,9 @@ export interface AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -3556,6 +3553,9 @@ export interface AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location. @@ -3601,6 +3601,9 @@ export interface AzureFirewalls { * resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', * 'Failed' * + * @param {string} [parameters.threatIntelMode] The operation mode for Threat + * Intelligence. Possible values include: 'Alert', 'Deny', 'Off' + * * @param {string} [parameters.id] Resource ID. * * @param {string} [parameters.location] Resource location.