Class: Ansible::Ruby::Modules::Azure_rm_securitygroup
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_securitygroup
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb
Instance Method Summary collapse
-
#default_rules ⇒ Object?
The set of default rules automatically added to a security group at creation.
-
#location ⇒ String?
Valid azure location.
-
#name ⇒ String?
Name of the security group to operate on.
-
#purge_default_rules ⇒ Boolean?
Remove any existing rules not matching those defined in the default_rules parameter.
-
#purge_rules ⇒ Boolean?
Remove any existing rules not matching those defined in the rules parameters.
-
#resource_group ⇒ String
Name of the resource group the security group belongs to.
-
#rules ⇒ Array<Hash>, ...
Set of rules shaping traffic flow to or from a subnet or NIC.
-
#state ⇒ :absent, ...
Assert the state of the security group.
Methods inherited from Base
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_rules ⇒ Object?
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.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 10 attribute :default_rules |
#location ⇒ String?
Returns 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 |
#name ⇒ String?
Returns 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_rules ⇒ Boolean?
Returns 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_rules ⇒ Boolean?
Returns 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_group ⇒ String
Returns 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 |
#rules ⇒ Array<Hash>, ...
Returns 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.
37 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 37 attribute :state |