Matching statement for a deployment policy
The format of matching statement is important when you do not use the builder.
Matching statements have the following format.
address/domain/resource[?Name=resource-name&Property=property-name&Value=property-value]
address
- Specifies the IP address or host alias. The value
*
matches all IP addresses. domain
- Specifies the name of the application domain. The value
*
matches all domains. resource
- Specifies the resource type. The value
*
matches all resource types. Name=resource-name
- Specifies a name match for a resource. This property limits the match statement to resources of
the specified name. Use a PCRE to select groups of resources. For example,
foo.*
would match all resources with names that start withfoo
. Property=property-name
- Specifies the name of the property. This property limits the match statement to resources with the specified property. When you change a value, set property-name to a null string.
Value=property-value
- Specifies the value for the property. This property limits the match statement to resources with the specified value.