mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Replaced old sample in lb (#43591)
This commit is contained in:
parent
3f3101dfe5
commit
9e5e35e64c
1 changed files with 24 additions and 18 deletions
|
@ -306,26 +306,32 @@ author:
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# TODO: this example needs update for 2.5+ module args
|
- name: create load balancer
|
||||||
- name: Create a load balancer
|
azure_rm_loadbalancer:
|
||||||
azure_rm_loadbalancer:
|
resource_group: testrg
|
||||||
name: myloadbalancer
|
name: testloadbalancer1
|
||||||
location: eastus
|
frontend_ip_configurations:
|
||||||
resource_group: my-rg
|
- name: frontendipconf0
|
||||||
public_ip: mypublicip
|
public_ip_address: testpip
|
||||||
probe_protocol: Tcp
|
backend_address_pools:
|
||||||
probe_port: 80
|
- name: backendaddrpool0
|
||||||
probe_interval: 10
|
probes:
|
||||||
probe_fail_count: 3
|
- name: prob0
|
||||||
|
port: 80
|
||||||
|
inbound_nat_pools:
|
||||||
|
- name: inboundnatpool0
|
||||||
|
frontend_ip_configuration_name: frontendipconf0
|
||||||
protocol: Tcp
|
protocol: Tcp
|
||||||
load_distribution: Default
|
frontend_port_range_start: 80
|
||||||
frontend_port: 80
|
frontend_port_range_end: 81
|
||||||
backend_port: 8080
|
backend_port: 8080
|
||||||
idle_timeout: 4
|
load_balancing_rules:
|
||||||
natpool_frontend_port_start: 1030
|
- name: lbrbalancingrule0
|
||||||
natpool_frontend_port_end: 1040
|
frontend_ip_configuration: frontendipconf0
|
||||||
natpool_backend_port: 80
|
backend_address_pool: backendaddrpool0
|
||||||
natpool_protocol: Tcp
|
frontend_port: 80
|
||||||
|
backend_port: 80
|
||||||
|
probe: prob0
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = '''
|
RETURN = '''
|
||||||
|
|
Loading…
Reference in a new issue