Class: Ansible::Ruby::Modules::Azure_rm_trafficmanagerprofile

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

Overview

Create, update and delete a Traffic Manager profile.

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

#dns_configHash?

Returns The DNS settings of the Traffic Manager profile.

Returns:

  • (Hash, nil)

    The DNS settings of the Traffic Manager profile.



36
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_trafficmanagerprofile.rb', line 36

attribute :dns_config

#locationString?

Returns Valid azure location. Defaults to ‘global’ because in default public Azure cloud, Traffic Manager profile can only be deployed globally.,Reference docs.microsoft.com/en-us/azure/traffic-manager/quickstart-create-traffic-manager-profile#create-a-traffic-manager-profile.

Returns:



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

attribute :location

#monitor_configArray<String>, ...

Returns The endpoint monitoring settings of the Traffic Manager profile.

Returns:

  • (Array<String>, String, nil)

    The endpoint monitoring settings of the Traffic Manager profile.



40
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_trafficmanagerprofile.rb', line 40

attribute :monitor_config

#nameString

Returns Name of the Traffic Manager profile.

Returns:

  • (String)

    Name of the Traffic Manager profile.



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

attribute :name

#profile_status:enabled, ...

Returns The status of the Traffic Manager profile.

Returns:

  • (:enabled, :disabled, nil)

    The status of the Traffic Manager profile.



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

attribute :profile_status

#resource_groupString

Returns Name of a resource group where the Traffic Manager profile exists or will be created.

Returns:

  • (String)

    Name of a resource group where the Traffic Manager profile exists or will be created.



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

attribute :resource_group

#routing_method:performance, ...

Returns The traffic routing method of the Traffic Manager profile.

Returns:

  • (:performance, :priority, :weighted, :geographic, nil)

    The traffic routing method of the Traffic Manager profile.



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

attribute :routing_method

#state:absent, ...

Returns Assert the state of the Traffic Manager profile. Use C(present) to create or update a Traffic Manager profile and C(absent) to delete it.

Returns:

  • (:absent, :present, nil)

    Assert the state of the Traffic Manager profile. Use C(present) to create or update a Traffic Manager profile and C(absent) to delete it.



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

attribute :state