Vorheriges Thema: IsResourceExistsInResourceVersion

Nächstes Thema: UpdateResourcesCustomAttribute

SearchResources

Description

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

Syntax

SearchResources (EffectiveDate, ResourceNamePattern)

Parameters

Name

Type

Description

EffectiveDate

string

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

ResourceNamePattern

string

Can use wildcards.

Return Value

A map of resources, where the key and the value of each entry is the resource name.

Remarks

All the 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.