Class: Ansible::Ruby::Modules::Azure_rm_sqlfirewallrule

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

Overview

Create, update and delete instance of Firewall Rule.

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

#end_ip_addressString?

Returns The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value C(0.0.0.0) to represe nt all Azure-internal IP addresses.

Returns:

  • (String, nil)

    The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value C(0.0.0.0) to represe nt all Azure-internal IP addresses.



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

attribute :end_ip_address

#nameString

Returns The name of the firewall rule.

Returns:

  • (String)

    The name of the firewall rule.



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

attribute :name

#resource_groupString

Returns The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

Returns:

  • (String)

    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.



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

attribute :resource_group

#server_nameString

Returns The name of the server.

Returns:

  • (String)

    The name of the server.



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

attribute :server_name

#start_ip_addressString?

Returns The start IP address of the firewall rule. Must be IPv4 format. Use value C(0.0.0.0) to represent all Azure-internal IP addresses.

Returns:

  • (String, nil)

    The start IP address of the firewall rule. Must be IPv4 format. Use value C(0.0.0.0) to represent all Azure-internal IP addresses.



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

attribute :start_ip_address

#state:absent, ...

Returns Assert the state of the SQL Database. Use ‘present’ to create or update an SQL Database and ‘absent’ to delete it.

Returns:

  • (:absent, :present, nil)

    Assert the state of the SQL Database. Use ‘present’ to create or update an SQL Database and ‘absent’ to delete it.



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

attribute :state