diff --git a/lib/services/resourceManagement/lib/resource/operations/index.d.ts b/lib/services/resourceManagement/lib/resource/operations/index.d.ts index 735a29ab74..14cdef5799 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. @@ -5702,7 +5770,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 +5794,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..cefdb22969 100644 --- a/lib/services/resourceManagement/lib/resource/operations/resourceGroups.js +++ b/lib/services/resourceManagement/lib/resource/operations/resourceGroups.js @@ -946,7 +946,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. @@ -1975,7 +1978,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 +2014,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.