Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_cdn_endpoint - delivery_rule condition optional match_values #8850

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func Cookies() *schema.Resource {

"match_values": {
Type: schema.TypeSet,
Required: true,
Optional: true,
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func PostArg() *schema.Resource {

"match_values": {
Type: schema.TypeSet,
Required: true,
Optional: true,
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func QueryString() *schema.Resource {

"match_values": {
Type: schema.TypeSet,
Required: true,
Optional: true,
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func RemoteAddress() *schema.Resource {

"match_values": {
Type: schema.TypeSet,
Required: true,
Optional: true,
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func RequestBody() *schema.Resource {

"match_values": {
Type: schema.TypeSet,
Required: true,
Optional: true,
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func RequestHeader() *schema.Resource {

"match_values": {
Type: schema.TypeSet,
Required: true,
Optional: true,
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func RequestURI() *schema.Resource {

"match_values": {
Type: schema.TypeSet,
Required: true,
Optional: true,
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func URLFileExtension() *schema.Resource {

"match_values": {
Type: schema.TypeSet,
Required: true,
Optional: true,
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func URLFileName() *schema.Resource {

"match_values": {
Type: schema.TypeSet,
Required: true,
Optional: true,
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func URLPath() *schema.Resource {

"match_values": {
Type: schema.TypeSet,
Required: true,
Optional: true,
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
Expand Down
20 changes: 10 additions & 10 deletions website/docs/r/cdn_endpoint.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ A `cookies_condition` block supports the following:

* `negate_condition` - (Optional) Defaults to `false`.

* `match_values` - (Required) List of values for the cookie.
* `match_values` - (Optional) List of values for the cookie.

* `transforms` - (Optional) Valid values are `Lowercase` and `Uppercase`.

Expand Down Expand Up @@ -268,7 +268,7 @@ A `post_arg_condition` block supports the following:

* `negate_condition` - (Optional) Defaults to `false`.

* `match_values` - (Required) List of string values.
* `match_values` - (Optional) List of string values.

* `transforms` - (Optional) Valid values are `Lowercase` and `Uppercase`.

Expand All @@ -280,7 +280,7 @@ A `query_string_condition` block supports the following:

* `negate_condition` - (Optional) Defaults to `false`.

* `match_values` - (Required) List of string values.
* `match_values` - (Optional) List of string values.

* `transforms` - (Optional) Valid values are `Lowercase` and `Uppercase`.

Expand All @@ -292,7 +292,7 @@ A `remote_address_condition` block supports the following:

* `negate_condition` - (Optional) Defaults to `false`.

* `match_values` - (Required) List of string values. For `GeoMatch` `operator` this should be a list of country codes (e.g. `US` or `DE`). List of IP address if `operator` equals to `IPMatch`.
* `match_values` - (Optional) List of string values. For `GeoMatch` `operator` this should be a list of country codes (e.g. `US` or `DE`). List of IP address if `operator` equals to `IPMatch`.

---

Expand All @@ -302,7 +302,7 @@ A `request_body_condition` block supports the following:

* `negate_condition` - (Optional) Defaults to `false`.

* `match_values` - (Required) List of string values.
* `match_values` - (Optional) List of string values.

* `transforms` - (Optional) Valid values are `Lowercase` and `Uppercase`.

Expand All @@ -316,7 +316,7 @@ A `request_header_condition` block supports the following:

* `negate_condition` - (Optional) Defaults to `false`.

* `match_values` - (Required) List of header values.
* `match_values` - (Optional) List of header values.

* `transforms` - (Optional) Valid values are `Lowercase` and `Uppercase`.

Expand Down Expand Up @@ -348,7 +348,7 @@ A `request_uri_condition` block supports the following:

* `negate_condition` - (Optional) Defaults to `false`.

* `match_values` - (Required) List of string values.
* `match_values` - (Optional) List of string values.

* `transforms` - (Optional) Valid values are `Lowercase` and `Uppercase`.

Expand All @@ -360,7 +360,7 @@ A `url_file_extension_condition` block supports the following:

* `negate_condition` - (Optional) Defaults to `false`.

* `match_values` - (Required) List of string values.
* `match_values` - (Optional) List of string values.

* `transforms` - (Optional) Valid values are `Lowercase` and `Uppercase`.

Expand All @@ -372,7 +372,7 @@ A `url_file_name_condition` block supports the following:

* `negate_condition` - (Optional) Defaults to `false`.

* `match_values` - (Required) List of string values.
* `match_values` - (Optional) List of string values.

* `transforms` - (Optional) Valid values are `Lowercase` and `Uppercase`.

Expand All @@ -384,7 +384,7 @@ A `url_path_condition` block supports the following:

* `negate_condition` - (Optional) Defaults to `false`.

* `match_values` - (Required) List of string values.
* `match_values` - (Optional) List of string values.

* `transforms` - (Optional) Valid values are `Lowercase` and `Uppercase`.

Expand Down