Rubrique précédente: IsResourceGroupExistsInResourceVersion

Rubrique suivante: UpdateResourceGroupByMap

SearchResourceGroups

Description

This method searches resource groups that are committed as effective in the given date.

Syntax

SearchResourceGroups (EffectiveDate, ResourceGroupNamePattern)

Parameters

Name

Type

Description

EffectiveDate

string

Represents date in the script’s time zone. It can contain hours, minutes, and seconds.

ResourceGroupNamePattern

string

Can use wildcards.

Return Value

A map of resource groups, where the key and the value of each entry are both ResourceGroupName.

Remarks

This method fails if the resource group does not exist.

Parameters are optional.

The default is an empty string, which means to ignore the parameter.

If the effective date is empty, every resource group that is committed is returned as effective at some point in time.