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
Overview
Create, update or delete a network security group. A security group contains Access Control List (ACL) rules that allow or deny network traffic to subnets or individual network interfaces. A security group is created with a set of default security rules and an empty set of security rules. Shape traffic flow by adding rules to the empty set of security rules.
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, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#default_rules ⇒ Object?
11 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 11 attribute :default_rules |
#location ⇒ String?
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 14 attribute :location |
#name ⇒ String?
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 18 attribute :name |
#purge_default_rules ⇒ Boolean?
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 22 attribute :purge_default_rules |
#purge_rules ⇒ Boolean?
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 26 attribute :purge_rules |
#resource_group ⇒ String
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 30 attribute :resource_group |
#rules ⇒ Array<Hash>, ...
34 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 34 attribute :rules |
#state ⇒ :absent, ...
38 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure_rm_securitygroup.rb', line 38 attribute :state |