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

CDN Endpoint Delivery Rules #6163

Merged
merged 100 commits into from
Apr 16, 2020
Merged
Changes from 1 commit
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
4217465
bump CDN api version
r0bnet Mar 1, 2020
50f3a5d
add delivery policy rule name validation function
r0bnet Mar 1, 2020
f6ad207
add endpoint delivery policy, rule, request schema condition and url …
r0bnet Mar 1, 2020
90f2f4e
allow max 5 rules per delivery policy
r0bnet Mar 1, 2020
ca528fa
rename delivery_rule to rule; allow max 4 rules (leave one spot for g…
r0bnet Mar 1, 2020
2806d1e
implement rad & update for delivery_policy
r0bnet Mar 1, 2020
a3651be
Merge branch 'master' into cdn-endpoint-delivery-rules
r0bnet Mar 2, 2020
e26f039
move actions and condition into own dir; add flatten functions for ur…
r0bnet Mar 8, 2020
81ae83b
fix basic issues in order to run `terraform plan`
r0bnet Mar 8, 2020
f4cb920
Merge branch 'master' into cdn-endpoint-delivery-rules
r0bnet Mar 8, 2020
97e2267
fix problems in order to apply correctly
r0bnet Mar 8, 2020
bff24d2
fix rename of match_values to match_value; rename endpoint_delivery_p…
r0bnet Mar 8, 2020
a87c141
add method to test cache expiration duration
r0bnet Mar 8, 2020
f4aab97
shorten names of conditions and actions
r0bnet Mar 8, 2020
9fe50e7
add cache expiration action
r0bnet Mar 8, 2020
1082b3c
add cache expiration action to delivery_rule
r0bnet Mar 8, 2020
dd4b132
fix not working build
r0bnet Mar 8, 2020
da8e280
disable adding of duration when using BypassCache behavior
r0bnet Mar 8, 2020
c2349ed
remove obsolete policy layer; make removing of rules working as well
r0bnet Mar 9, 2020
bb9580c
Updated virtual_hub.html.markdown (#6033)
antigithubcrap Mar 9, 2020
dd60c15
wip: adding a scaffolder for resources/data sources
tombuildsstuff Feb 20, 2020
0476806
New Tool: website-scaffolder
tombuildsstuff Feb 24, 2020
9a7b519
d|r/resource_group: generating updated documentation
tombuildsstuff Feb 24, 2020
6ca5c8d
tooling: adding the scaffold-website tool to the makefile
tombuildsstuff Feb 24, 2020
9b4f07c
r/search_service: updating the docs
tombuildsstuff Feb 24, 2020
d431202
tools: fixing an issue when scaffolding the example for a data source
tombuildsstuff Feb 28, 2020
0861b1c
linting
tombuildsstuff Feb 28, 2020
2c6f327
tools/website-scaffold: fixing a typo
tombuildsstuff Feb 28, 2020
e3f683f
r/search_service: the fields `partition_count` and `replica_count` ar…
tombuildsstuff Mar 9, 2020
8a5377b
tests: clarifying the features block is required going forward
tombuildsstuff Mar 9, 2020
5f27bdc
features: removing the unused "two point oh" feature
tombuildsstuff Mar 9, 2020
d72fe54
tidying
tombuildsstuff Mar 9, 2020
d1aaa51
`azurerm_sql_server` - support for the `extended_auditing_polic… (#5036)
yupwei68 Mar 9, 2020
a2cba86
Update CHANGELOG.md to include #5036
katbyte Mar 9, 2020
d9d3558
azurerm_network_watcher_flow_log - support for the`interval_in… (#5851)
magodo Mar 9, 2020
321a4fb
Update CHANGELOG.md to include #5851
katbyte Mar 9, 2020
c63b569
bump CDN api version
r0bnet Mar 1, 2020
6208d24
add delivery policy rule name validation function
r0bnet Mar 1, 2020
ebb683a
add endpoint delivery policy, rule, request schema condition and url …
r0bnet Mar 1, 2020
1354fcf
allow max 5 rules per delivery policy
r0bnet Mar 1, 2020
13f3e95
rename delivery_rule to rule; allow max 4 rules (leave one spot for g…
r0bnet Mar 1, 2020
d344af3
implement rad & update for delivery_policy
r0bnet Mar 1, 2020
dedd4c7
move actions and condition into own dir; add flatten functions for ur…
r0bnet Mar 8, 2020
3c46538
fix basic issues in order to run `terraform plan`
r0bnet Mar 8, 2020
1543dc9
fix problems in order to apply correctly
r0bnet Mar 8, 2020
ca3b6fb
fix rename of match_values to match_value; rename endpoint_delivery_p…
r0bnet Mar 8, 2020
f5c7d1f
add method to test cache expiration duration
r0bnet Mar 8, 2020
8bea9b0
shorten names of conditions and actions
r0bnet Mar 8, 2020
8660b2c
add cache expiration action
r0bnet Mar 8, 2020
1a0ab9f
add cache expiration action to delivery_rule
r0bnet Mar 8, 2020
9fce0fc
fix not working build
r0bnet Mar 8, 2020
808ee7c
disable adding of duration when using BypassCache behavior
r0bnet Mar 8, 2020
91a7763
remove obsolete policy layer; make removing of rules working as well
r0bnet Mar 9, 2020
75a23dd
rename packages without underscores
r0bnet Mar 11, 2020
7ffd32e
add cache key query string action
r0bnet Mar 11, 2020
a0ce1b3
Merge remote-tracking branch 'fork/cdn-endpoint-delivery-rules' into …
r0bnet Mar 11, 2020
fe21aa5
remove obsolete files
r0bnet Mar 11, 2020
000bd25
add modify request header action
r0bnet Mar 11, 2020
1820029
add modify response header action
r0bnet Mar 11, 2020
3cf2cec
extract delivery rule actions and conditions into own function
r0bnet Mar 11, 2020
dd5e681
add URL Rewrite action
r0bnet Mar 12, 2020
8f91a96
Merge branch 'master' into cdn-endpoint-delivery-rules
r0bnet Mar 14, 2020
d0989bf
refactor/shorten ExpandArmCdnEndpointConditionRequestScheme function
r0bnet Mar 15, 2020
7b77d6b
add cookies condition
r0bnet Mar 15, 2020
4371be8
add HTTP version condition
r0bnet Mar 15, 2020
ff613b4
allow multiple values for cookies condition
r0bnet Mar 15, 2020
ff83fb5
allow multiple values for request scheme
r0bnet Mar 15, 2020
fc43917
add device condition
r0bnet Mar 15, 2020
6a3798d
allow transforms to be a list instead of single value
r0bnet Mar 15, 2020
8e07d56
add post arg condition
r0bnet Mar 16, 2020
b68da86
convert operator to string
r0bnet Mar 16, 2020
6374f98
add query string condition
r0bnet Mar 16, 2020
c0ace33
add remote address condition
r0bnet Mar 16, 2020
a978dcc
add request body condition
r0bnet Mar 16, 2020
5d5cbbd
add request header condition
r0bnet Mar 17, 2020
50c2c08
add request method condition
r0bnet Mar 17, 2020
683899b
add request uri condition
r0bnet Mar 17, 2020
5fbfcea
add url file extension condition
r0bnet Mar 17, 2020
af905f9
add url file name condition
r0bnet Mar 17, 2020
4ba4409
ad url path condition
r0bnet Mar 17, 2020
8ad070e
Merge branch 'master' into cdn-endpoint-delivery-rules
r0bnet Mar 17, 2020
2f629eb
add global delivery rule
r0bnet Mar 17, 2020
ab89626
add documentation for delivery rule and global delivery rule; fix min…
r0bnet Mar 18, 2020
ea4f77f
adjust documentation
r0bnet Mar 18, 2020
4ba005f
prevent user from using delivery_rule oder global_delivery_rule in co…
r0bnet Mar 18, 2020
1a28090
fix profile sku naming in error message
r0bnet Mar 18, 2020
b5fd573
add test for global_delivery_rule
r0bnet Mar 18, 2020
e989463
add test for delivery_rule
r0bnet Mar 18, 2020
8bff413
Merge branch 'master' into cdn-endpoint-delivery-rules
r0bnet Mar 18, 2020
6007326
fix linter problems
r0bnet Mar 18, 2020
65d11d6
fix tflinter problems
r0bnet Mar 18, 2020
681b1b9
Merge branch 'master' into cdn-endpoint-delivery-rules
r0bnet Mar 19, 2020
1e2756e
cdn: removing the profile
tombuildsstuff Apr 14, 2020
e8a2016
r/cdn_endpoint: reusing the same ctx
tombuildsstuff Apr 15, 2020
80194a9
refactoring from PR / ensuring fields are always set
tombuildsstuff Apr 15, 2020
dac90af
r/cdn_endpoint: ensuring the nested blocks are always set
tombuildsstuff Apr 15, 2020
759f199
r/cdn_endpoint: making the schema internal
tombuildsstuff Apr 15, 2020
4a7d1ce
r/cdn_endpoint: fixing up the docs
tombuildsstuff Apr 15, 2020
07d5cb7
Merge branch 'master' into cdn-endpoint-delivery-rules
tombuildsstuff Apr 15, 2020
94a8759
fix lintrest problems
r0bnet Apr 15, 2020
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
Prev Previous commit
Next Next commit
d|r/resource_group: generating updated documentation
tombuildsstuff authored and r0bnet committed Mar 9, 2020
commit 9a7b5194773110895dc4218c6df99abf35533cae
27 changes: 13 additions & 14 deletions website/docs/d/resource_group.html.markdown
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
subcategory: "Base"
layout: "azurerm"
page_title: "Azure Resource Manager: azurerm_resource_group"
page_title: "Azure Resource Manager: Data Source: azurerm_resource_group"
description: |-
Gets information about an existing Resource Group.
---
@@ -14,30 +14,29 @@ Use this data source to access information about an existing Resource Group.

```hcl
data "azurerm_resource_group" "example" {
name = "dsrg_test"
name = "existing"
}

resource "azurerm_managed_disk" "example" {
name = "managed_disk_name"
location = data.azurerm_resource_group.example.location
resource_group_name = data.azurerm_resource_group.example.name
storage_account_type = "Standard_LRS"
create_option = "Empty"
disk_size_gb = "1"
output "id" {
value = data.azurerm_resource_group.example.id"
}
```

## Argument Reference
## Arguments Reference

* `name` - Specifies the name of the resource group.
The following arguments are supported:

~> **Note:** If the specified location doesn't match the actual resource group location, an error message with the actual location value will be shown.
* `name` - (Required) The Name of this Resource Group.

## Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

* `id` - The ID of the Resource Group.
* `location` - The location of the resource group.
* `tags` - A mapping of tags assigned to the resource group.

* `location` - The Azure Region where the Resource Group exists.

* `tags` - A mapping of tags assigned to the Resource Group.

## Timeouts

35 changes: 15 additions & 20 deletions website/docs/r/resource_group.html.markdown
Original file line number Diff line number Diff line change
@@ -3,58 +3,53 @@ subcategory: "Base"
layout: "azurerm"
page_title: "Azure Resource Manager: azurerm_resource_group"
description: |-
Manages a resource group on Azure.
Manages a Resource Group.
---

# azurerm_resource_group

Manages a resource group on Azure.
Manages a Resource Group.

## Example Usage

```hcl
resource "azurerm_resource_group" "example" {
name = "testResourceGroup1"
location = "West US"

tags = {
environment = "Production"
}
name = "example"
location = "West Europe"
}
```

## Argument Reference
## Arguments Reference

The following arguments are supported:

* `name` - (Required) The name of the resource group. Must be unique on your
Azure subscription.
* `location` - (Required) The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.

* `name` - (Required) The Name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.

* `location` - (Required) The location where the resource group should be created.
For a list of all Azure locations, please consult [this link](http://azure.microsoft.com/en-us/regions/) or run `az account list-locations --output table`.
---

* `tags` - (Optional) A mapping of tags to assign to the resource.
* `tags` - (Optional) A mapping of tags which should be assigned to the Resource Group.

## Attributes Reference

In addition to the arguments above, the following attributes are exported:
In addition to the Arguments listed above - the following Attributes are exported:

* `id` - The ID of the Resource Group.


## Timeouts

The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration/resources.html#timeouts) for certain actions:

* `create` - (Defaults to 90 minutes) Used when creating the Resource Group.
* `update` - (Defaults to 90 minutes) Used when updating the Resource Group.
* `create` - (Defaults to 1 hour and 30 minutes) Used when creating the Resource Group.
* `read` - (Defaults to 5 minutes) Used when retrieving the Resource Group.
* `delete` - (Defaults to 90 minutes) Used when deleting the Resource Group.
* `update` - (Defaults to 1 hour and 30 minutes) Used when updating the Resource Group.
* `delete` - (Defaults to 1 hour and 30 minutes) Used when deleting the Resource Group.

## Import

Resource Groups can be imported using the `resource id`, e.g.

```shell
terraform import azurerm_resource_group.mygroup /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup
terraform import azurerm_resource_group.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1
```