mirror of https://github.com/status-im/consul.git
update example for tag_name (#9226)
* update example for tag_name In the example for azure the "tag_name" field is wrong cause say "tag_key" and not "tag_name" * change tag_key by tag_name in the description of azure
This commit is contained in:
parent
1f7ad3bcf5
commit
abb3b443c9
|
@ -85,7 +85,7 @@ endpoint](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-identity-d
|
||||||
### Microsoft Azure
|
### Microsoft Azure
|
||||||
|
|
||||||
This returns the first private IP address of all servers in the given region
|
This returns the first private IP address of all servers in the given region
|
||||||
which have the given `tag_key` and `tag_value` applied to their virtual NIC in the tenant and subscription, or in
|
which have the given `tag_name` and `tag_value` applied to their virtual NIC in the tenant and subscription, or in
|
||||||
the given `resource_group` of a `vm_scale_set` for Virtual Machine Scale Sets.
|
the given `resource_group` of a `vm_scale_set` for Virtual Machine Scale Sets.
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
|
@ -95,7 +95,7 @@ $ consul agent -retry-join "provider=azure tag_key=... tag_value=... tenant_id=.
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"retry_join": [
|
"retry_join": [
|
||||||
"provider=azure tag_key=... tag_value=... tenant_id=... client_id=... subscription_id=... secret_access_key=..."
|
"provider=azure tag_name=... tag_value=... tenant_id=... client_id=... subscription_id=... secret_access_key=..."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue