Class: Ansible::Ruby::Modules::Azure_rm_route

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_route.rb

Overview

Create, update or delete a route.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#address_prefixString?

Returns The destination CIDR to which the route applies.

Returns:

  • (String, nil)

    The destination CIDR to which the route applies.



24
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_route.rb', line 24

attribute :address_prefix

#nameString

Returns name of the route.

Returns:

  • (String)

    name of the route.



16
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_route.rb', line 16

attribute :name

#next_hop_ip_addressObject?

Returns The IP address packets should be forwarded to.,Next hop values are only allowed in routes where the next hop type is VirtualAppliance.

Returns:

  • (Object, nil)

    The IP address packets should be forwarded to.,Next hop values are only allowed in routes where the next hop type is VirtualAppliance.



32
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_route.rb', line 32

attribute :next_hop_ip_address

#next_hop_type:virtual_network_gateway, ...

Returns The type of Azure hop the packet should be sent to.

Returns:

  • (:virtual_network_gateway, :vnet_local, :internet, :virtual_appliance, :none, nil)

    The type of Azure hop the packet should be sent to.



28
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_route.rb', line 28

attribute :next_hop_type

#resource_groupString

Returns name of resource group.

Returns:

  • (String)

    name of resource group.



12
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_route.rb', line 12

attribute :resource_group

#route_table_nameString

Returns The name of the route table.

Returns:

  • (String)

    The name of the route table.



35
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_route.rb', line 35

attribute :route_table_name

#state:absent, ...

Returns Assert the state of the route. Use ‘present’ to create or update and ‘absent’ to delete.

Returns:

  • (:absent, :present, nil)

    Assert the state of the route. Use ‘present’ to create or update and ‘absent’ to delete.



20
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_route.rb', line 20

attribute :state