diff --git a/lib/services/resourceManagement/lib/resource/operations/index.d.ts b/lib/services/resourceManagement/lib/resource/operations/index.d.ts index 735a29ab74..7dc8dcb7ed 100644 --- a/lib/services/resourceManagement/lib/resource/operations/index.d.ts +++ b/lib/services/resourceManagement/lib/resource/operations/index.d.ts @@ -2755,9 +2755,26 @@ export interface Resources { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. - * - * @param {string} [options.expand] The $expand query parameter + * @param {string} [options.filter] The filter to apply on the + * operation.

The properties you can use for eq (equals) or ne (not + * equals) are: location, resourceType, name, resourceGroup, identity, + * identity/principalId, plan, plan/publisher, plan/product, plan/name, + * plan/version, and plan/promotionCode.

For example, to filter by a + * resource type, use: $filter=resourceType eq + * 'Microsoft.Network/virtualNetworks'

You can use substringof(value, + * property) in the filter. The properties you can use for substring are: name + * and resourceGroup.

For example, to get all resources with 'demo' + * anywhere in the name, use: $filter=substringof('demo', name)

You can + * link more than one substringof together by adding and/or + * operators.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1'

You can use some properties together when filtering. The + * combinations you can use are: substringof and/or resourceType, plan and + * plan/publisher and plan/name, identity and identity/principalId. + * + * @param {string} [options.expand] The $expand query parameter. You can expand + * createdTime and changedTime. For example, to expand both properties, use + * $expand=changedTime,createdTime * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resources. @@ -2781,9 +2798,26 @@ export interface Resources { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. - * - * @param {string} [options.expand] The $expand query parameter + * @param {string} [options.filter] The filter to apply on the + * operation.

The properties you can use for eq (equals) or ne (not + * equals) are: location, resourceType, name, resourceGroup, identity, + * identity/principalId, plan, plan/publisher, plan/product, plan/name, + * plan/version, and plan/promotionCode.

For example, to filter by a + * resource type, use: $filter=resourceType eq + * 'Microsoft.Network/virtualNetworks'

You can use substringof(value, + * property) in the filter. The properties you can use for substring are: name + * and resourceGroup.

For example, to get all resources with 'demo' + * anywhere in the name, use: $filter=substringof('demo', name)

You can + * link more than one substringof together by adding and/or + * operators.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1'

You can use some properties together when filtering. The + * combinations you can use are: substringof and/or resourceType, plan and + * plan/publisher and plan/name, identity and identity/principalId. + * + * @param {string} [options.expand] The $expand query parameter. You can expand + * createdTime and changedTime. For example, to expand both properties, use + * $expand=changedTime,createdTime * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resources. @@ -2989,9 +3023,26 @@ export interface Resources { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. - * - * @param {string} [options.expand] The $expand query parameter. + * @param {string} [options.filter] The filter to apply on the + * operation.

The properties you can use for eq (equals) or ne (not + * equals) are: location, resourceType, name, resourceGroup, identity, + * identity/principalId, plan, plan/publisher, plan/product, plan/name, + * plan/version, and plan/promotionCode.

For example, to filter by a + * resource type, use: $filter=resourceType eq + * 'Microsoft.Network/virtualNetworks'

You can use substringof(value, + * property) in the filter. The properties you can use for substring are: name + * and resourceGroup.

For example, to get all resources with 'demo' + * anywhere in the name, use: $filter=substringof('demo', name)

You can + * link more than one substringof together by adding and/or + * operators.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1'

You can use some properties together when filtering. The + * combinations you can use are: substringof and/or resourceType, plan and + * plan/publisher and plan/name, identity and identity/principalId. + * + * @param {string} [options.expand] The $expand query parameter. You can expand + * createdTime and changedTime. For example, to expand both properties, use + * $expand=changedTime,createdTime * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resource groups. @@ -3012,9 +3063,26 @@ export interface Resources { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. - * - * @param {string} [options.expand] The $expand query parameter. + * @param {string} [options.filter] The filter to apply on the + * operation.

The properties you can use for eq (equals) or ne (not + * equals) are: location, resourceType, name, resourceGroup, identity, + * identity/principalId, plan, plan/publisher, plan/product, plan/name, + * plan/version, and plan/promotionCode.

For example, to filter by a + * resource type, use: $filter=resourceType eq + * 'Microsoft.Network/virtualNetworks'

You can use substringof(value, + * property) in the filter. The properties you can use for substring are: name + * and resourceGroup.

For example, to get all resources with 'demo' + * anywhere in the name, use: $filter=substringof('demo', name)

You can + * link more than one substringof together by adding and/or + * operators.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1'

You can use some properties together when filtering. The + * combinations you can use are: substringof and/or resourceType, plan and + * plan/publisher and plan/name, identity and identity/principalId. + * + * @param {string} [options.expand] The $expand query parameter. You can expand + * createdTime and changedTime. For example, to expand both properties, use + * $expand=changedTime,createdTime * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resource groups. @@ -5330,7 +5398,8 @@ export interface ResourceGroups { * Creates or updates a resource group. * * @param {string} resourceGroupName The name of the resource group to create - * or update. + * or update. Can include alphanumeric, underscore, parentheses, hyphen, period + * (except at end), and Unicode characters that match the allowed characters. * * @param {object} parameters Parameters supplied to the create or update a * resource group. @@ -5363,7 +5432,8 @@ export interface ResourceGroups { * Creates or updates a resource group. * * @param {string} resourceGroupName The name of the resource group to create - * or update. + * or update. Can include alphanumeric, underscore, parentheses, hyphen, period + * (except at end), and Unicode characters that match the allowed characters. * * @param {object} parameters Parameters supplied to the create or update a * resource group. @@ -5702,7 +5772,10 @@ export interface ResourceGroups { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. + * @param {string} [options.filter] The filter to apply on the + * operation.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1' * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resource groups. @@ -5723,7 +5796,10 @@ export interface ResourceGroups { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. + * @param {string} [options.filter] The filter to apply on the + * operation.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1' * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resource groups. diff --git a/lib/services/resourceManagement/lib/resource/operations/resourceGroups.js b/lib/services/resourceManagement/lib/resource/operations/resourceGroups.js index 9430b89bc6..6c32b4df0e 100644 --- a/lib/services/resourceManagement/lib/resource/operations/resourceGroups.js +++ b/lib/services/resourceManagement/lib/resource/operations/resourceGroups.js @@ -155,7 +155,8 @@ function _checkExistence(resourceGroupName, options, callback) { * Creates or updates a resource group. * * @param {string} resourceGroupName The name of the resource group to create - * or update. + * or update. Can include alphanumeric, underscore, parentheses, hyphen, period + * (except at end), and Unicode characters that match the allowed characters. * * @param {object} parameters Parameters supplied to the create or update a * resource group. @@ -946,7 +947,10 @@ function _exportTemplate(resourceGroupName, parameters, options, callback) { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. + * @param {string} [options.filter] The filter to apply on the + * operation.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1' * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resource groups. @@ -1468,7 +1472,8 @@ class ResourceGroups { * Creates or updates a resource group. * * @param {string} resourceGroupName The name of the resource group to create - * or update. + * or update. Can include alphanumeric, underscore, parentheses, hyphen, period + * (except at end), and Unicode characters that match the allowed characters. * * @param {object} parameters Parameters supplied to the create or update a * resource group. @@ -1513,7 +1518,8 @@ class ResourceGroups { * Creates or updates a resource group. * * @param {string} resourceGroupName The name of the resource group to create - * or update. + * or update. Can include alphanumeric, underscore, parentheses, hyphen, period + * (except at end), and Unicode characters that match the allowed characters. * * @param {object} parameters Parameters supplied to the create or update a * resource group. @@ -1975,7 +1981,10 @@ class ResourceGroups { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. + * @param {string} [options.filter] The filter to apply on the + * operation.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1' * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resource groups. @@ -2008,7 +2017,10 @@ class ResourceGroups { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. + * @param {string} [options.filter] The filter to apply on the + * operation.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1' * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resource groups. diff --git a/lib/services/resourceManagement/lib/resource/operations/resources.js b/lib/services/resourceManagement/lib/resource/operations/resources.js index 6c6d5f2ac0..ba3dd0df9f 100644 --- a/lib/services/resourceManagement/lib/resource/operations/resources.js +++ b/lib/services/resourceManagement/lib/resource/operations/resources.js @@ -22,9 +22,26 @@ const WebResource = msRest.WebResource; * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. - * - * @param {string} [options.expand] The $expand query parameter + * @param {string} [options.filter] The filter to apply on the + * operation.

The properties you can use for eq (equals) or ne (not + * equals) are: location, resourceType, name, resourceGroup, identity, + * identity/principalId, plan, plan/publisher, plan/product, plan/name, + * plan/version, and plan/promotionCode.

For example, to filter by a + * resource type, use: $filter=resourceType eq + * 'Microsoft.Network/virtualNetworks'

You can use substringof(value, + * property) in the filter. The properties you can use for substring are: name + * and resourceGroup.

For example, to get all resources with 'demo' + * anywhere in the name, use: $filter=substringof('demo', name)

You can + * link more than one substringof together by adding and/or + * operators.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1'

You can use some properties together when filtering. The + * combinations you can use are: substringof and/or resourceType, plan and + * plan/publisher and plan/name, identity and identity/principalId. + * + * @param {string} [options.expand] The $expand query parameter. You can expand + * createdTime and changedTime. For example, to expand both properties, use + * $expand=changedTime,createdTime * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resources. @@ -352,9 +369,26 @@ function _validateMoveResources(sourceResourceGroupName, parameters, options, ca * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. - * - * @param {string} [options.expand] The $expand query parameter. + * @param {string} [options.filter] The filter to apply on the + * operation.

The properties you can use for eq (equals) or ne (not + * equals) are: location, resourceType, name, resourceGroup, identity, + * identity/principalId, plan, plan/publisher, plan/product, plan/name, + * plan/version, and plan/promotionCode.

For example, to filter by a + * resource type, use: $filter=resourceType eq + * 'Microsoft.Network/virtualNetworks'

You can use substringof(value, + * property) in the filter. The properties you can use for substring are: name + * and resourceGroup.

For example, to get all resources with 'demo' + * anywhere in the name, use: $filter=substringof('demo', name)

You can + * link more than one substringof together by adding and/or + * operators.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1'

You can use some properties together when filtering. The + * combinations you can use are: substringof and/or resourceType, plan and + * plan/publisher and plan/name, identity and identity/principalId. + * + * @param {string} [options.expand] The $expand query parameter. You can expand + * createdTime and changedTime. For example, to expand both properties, use + * $expand=changedTime,createdTime * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resource groups. @@ -3644,9 +3678,26 @@ class Resources { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. - * - * @param {string} [options.expand] The $expand query parameter + * @param {string} [options.filter] The filter to apply on the + * operation.

The properties you can use for eq (equals) or ne (not + * equals) are: location, resourceType, name, resourceGroup, identity, + * identity/principalId, plan, plan/publisher, plan/product, plan/name, + * plan/version, and plan/promotionCode.

For example, to filter by a + * resource type, use: $filter=resourceType eq + * 'Microsoft.Network/virtualNetworks'

You can use substringof(value, + * property) in the filter. The properties you can use for substring are: name + * and resourceGroup.

For example, to get all resources with 'demo' + * anywhere in the name, use: $filter=substringof('demo', name)

You can + * link more than one substringof together by adding and/or + * operators.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1'

You can use some properties together when filtering. The + * combinations you can use are: substringof and/or resourceType, plan and + * plan/publisher and plan/name, identity and identity/principalId. + * + * @param {string} [options.expand] The $expand query parameter. You can expand + * createdTime and changedTime. For example, to expand both properties, use + * $expand=changedTime,createdTime * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resources. @@ -3682,9 +3733,26 @@ class Resources { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. - * - * @param {string} [options.expand] The $expand query parameter + * @param {string} [options.filter] The filter to apply on the + * operation.

The properties you can use for eq (equals) or ne (not + * equals) are: location, resourceType, name, resourceGroup, identity, + * identity/principalId, plan, plan/publisher, plan/product, plan/name, + * plan/version, and plan/promotionCode.

For example, to filter by a + * resource type, use: $filter=resourceType eq + * 'Microsoft.Network/virtualNetworks'

You can use substringof(value, + * property) in the filter. The properties you can use for substring are: name + * and resourceGroup.

For example, to get all resources with 'demo' + * anywhere in the name, use: $filter=substringof('demo', name)

You can + * link more than one substringof together by adding and/or + * operators.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1'

You can use some properties together when filtering. The + * combinations you can use are: substringof and/or resourceType, plan and + * plan/publisher and plan/name, identity and identity/principalId. + * + * @param {string} [options.expand] The $expand query parameter. You can expand + * createdTime and changedTime. For example, to expand both properties, use + * $expand=changedTime,createdTime * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resources. @@ -3959,9 +4027,26 @@ class Resources { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. - * - * @param {string} [options.expand] The $expand query parameter. + * @param {string} [options.filter] The filter to apply on the + * operation.

The properties you can use for eq (equals) or ne (not + * equals) are: location, resourceType, name, resourceGroup, identity, + * identity/principalId, plan, plan/publisher, plan/product, plan/name, + * plan/version, and plan/promotionCode.

For example, to filter by a + * resource type, use: $filter=resourceType eq + * 'Microsoft.Network/virtualNetworks'

You can use substringof(value, + * property) in the filter. The properties you can use for substring are: name + * and resourceGroup.

For example, to get all resources with 'demo' + * anywhere in the name, use: $filter=substringof('demo', name)

You can + * link more than one substringof together by adding and/or + * operators.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1'

You can use some properties together when filtering. The + * combinations you can use are: substringof and/or resourceType, plan and + * plan/publisher and plan/name, identity and identity/principalId. + * + * @param {string} [options.expand] The $expand query parameter. You can expand + * createdTime and changedTime. For example, to expand both properties, use + * $expand=changedTime,createdTime * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resource groups. @@ -3994,9 +4079,26 @@ class Resources { * * @param {object} [options] Optional Parameters. * - * @param {string} [options.filter] The filter to apply on the operation. - * - * @param {string} [options.expand] The $expand query parameter. + * @param {string} [options.filter] The filter to apply on the + * operation.

The properties you can use for eq (equals) or ne (not + * equals) are: location, resourceType, name, resourceGroup, identity, + * identity/principalId, plan, plan/publisher, plan/product, plan/name, + * plan/version, and plan/promotionCode.

For example, to filter by a + * resource type, use: $filter=resourceType eq + * 'Microsoft.Network/virtualNetworks'

You can use substringof(value, + * property) in the filter. The properties you can use for substring are: name + * and resourceGroup.

For example, to get all resources with 'demo' + * anywhere in the name, use: $filter=substringof('demo', name)

You can + * link more than one substringof together by adding and/or + * operators.

You can filter by tag names and values. For example, to + * filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue + * eq 'Value1'

You can use some properties together when filtering. The + * combinations you can use are: substringof and/or resourceType, plan and + * plan/publisher and plan/name, identity and identity/principalId. + * + * @param {string} [options.expand] The $expand query parameter. You can expand + * createdTime and changedTime. For example, to expand both properties, use + * $expand=changedTime,createdTime * * @param {number} [options.top] The number of results to return. If null is * passed, returns all resource groups. diff --git a/lib/services/resourceManagement/package.json b/lib/services/resourceManagement/package.json index 0cf2d243bc..05cb662041 100644 --- a/lib/services/resourceManagement/package.json +++ b/lib/services/resourceManagement/package.json @@ -6,7 +6,7 @@ "Zavery, Amar ", "Srinivasan, Vivek " ], - "version": "7.0.0", + "version": "7.0.1", "description": "Microsoft Azure Resource Management Client Library for node", "tags": [ "azure",