Class: Ansible::Ruby::Modules::Azure_rm_securitygroup

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

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

Constructor Details

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

Instance Method Details

#default_rulesObject?

Returns The set of default rules automatically added to a security group at creation. In general default rules will not be modified. Modify rules to shape the flow of traffic to or from a subnet or NIC. See rules below for the makeup of a rule dict.

Returns:

  • (Object, nil)

    The set of default rules automatically added to a security group at creation. In general default rules will not be modified. Modify rules to shape the flow of traffic to or from a subnet or NIC. See rules below for the makeup of a rule dict.



10
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 10

attribute :default_rules

#locationString?

Returns Valid azure location. Defaults to location of the resource group.

Returns:

  • (String, nil)

    Valid azure location. Defaults to location of the resource group.



13
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 13

attribute :location

#nameString?

Returns Name of the security group to operate on.

Returns:

  • (String, nil)

    Name of the security group to operate on.



17
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 17

attribute :name

#purge_default_rulesBoolean?

Returns Remove any existing rules not matching those defined in the default_rules parameter.

Returns:

  • (Boolean, nil)

    Remove any existing rules not matching those defined in the default_rules parameter.



21
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 21

attribute :purge_default_rules

#purge_rulesBoolean?

Returns Remove any existing rules not matching those defined in the rules parameters.

Returns:

  • (Boolean, nil)

    Remove any existing rules not matching those defined in the rules parameters.



25
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 25

attribute :purge_rules

#resource_groupString

Returns Name of the resource group the security group belongs to.

Returns:

  • (String)

    Name of the resource group the security group belongs to.



29
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 29

attribute :resource_group

#rulesArray<Hash>, ...

Returns Set of rules shaping traffic flow to or from a subnet or NIC. Each rule is a dictionary.

Returns:

  • (Array<Hash>, Hash, nil)

    Set of rules shaping traffic flow to or from a subnet or NIC. Each rule is a dictionary.



33
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 33

attribute :rules

#state:absent, ...

Returns Assert the state of the security group. Set to ‘present’ to create or update a security group. Set to ‘absent’ to remove a security group.

Returns:

  • (:absent, :present, nil)

    Assert the state of the security group. Set to ‘present’ to create or update a security group. Set to ‘absent’ to remove a security group.



37
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 37

attribute :state