Class: Com::Vmware::Appliance::Techpreview::Networking::Firewall::Addr::Inbound::DeleteFirewallRule
- Inherits:
-
VAPI::Bindings::VapiStruct
- Object
- VAPI::Bindings::VapiStruct
- Com::Vmware::Appliance::Techpreview::Networking::Firewall::Addr::Inbound::DeleteFirewallRule
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking/firewall/addr.rb
Overview
``Com::Vmware::Appliance::Techpreview::Networking::Firewall::Addr::Inbound::DeleteFirewallRule`` class Structure that defines networking.firewall.addr.inbound.delete api input argument
Instance Attribute Summary (collapse)
-
- (Boolean) all
Delete all firewall rules.
-
- (Fixnum) position
Position before which to insert the rule (zero-based).
Class Method Summary (collapse)
-
+ (VAPI::Bindings::StructType) binding_type
Holds (gets or creates) the binding type metadata for this structure type.
Instance Method Summary (collapse)
-
- (DeleteFirewallRule) initialize(ruby_values = nil, struct_value = nil)
constructor
Constructs a new instance.
Constructor Details
- (DeleteFirewallRule) initialize(ruby_values = nil, struct_value = nil)
Constructs a new instance.
237 238 239 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking/firewall/addr.rb', line 237 def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end |
Instance Attribute Details
- (Boolean) all
Delete all firewall rules. Set all argument to “true” to delete all rules or set the all argument to “false” to delete a single rule.
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking/firewall/addr.rb', line 212 class DeleteFirewallRule < VAPI::Bindings::VapiStruct class << self # Holds (gets or creates) the binding type metadata for this structure type. # @scope class # @return [VAPI::Bindings::StructType] the binding type def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.appliance.techpreview.networking.firewall.addr.inbound.delete_firewall_rule', { 'position' => VAPI::Bindings::IntegerType.instance, 'all' => VAPI::Bindings::BooleanType.instance, }, DeleteFirewallRule, false, nil) end end attr_accessor :position, :all # Constructs a new instance. # @param ruby_values [Hash] a map of initial property values (optional) # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional) def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end end |
- (Fixnum) position
Position before which to insert the rule (zero-based). If you try to insert the rule in a position whose number is greater than the number of rules, the firewall rule is inserted at the end of the list.
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking/firewall/addr.rb', line 212 class DeleteFirewallRule < VAPI::Bindings::VapiStruct class << self # Holds (gets or creates) the binding type metadata for this structure type. # @scope class # @return [VAPI::Bindings::StructType] the binding type def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.appliance.techpreview.networking.firewall.addr.inbound.delete_firewall_rule', { 'position' => VAPI::Bindings::IntegerType.instance, 'all' => VAPI::Bindings::BooleanType.instance, }, DeleteFirewallRule, false, nil) end end attr_accessor :position, :all # Constructs a new instance. # @param ruby_values [Hash] a map of initial property values (optional) # @param struct_value [VAPI::Data::StructValue] a raw StructValue from the wire (optional) def initialize(ruby_values=nil, struct_value=nil) super(self.class.binding_type, ruby_values, struct_value) end end |
Class Method Details
+ (VAPI::Bindings::StructType) binding_type
Holds (gets or creates) the binding type metadata for this structure type.
218 219 220 221 222 223 224 225 226 227 228 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance/techpreview/networking/firewall/addr.rb', line 218 def binding_type @binding_type ||= VAPI::Bindings::StructType.new( 'com.vmware.appliance.techpreview.networking.firewall.addr.inbound.delete_firewall_rule', { 'position' => VAPI::Bindings::IntegerType.instance, 'all' => VAPI::Bindings::BooleanType.instance, }, DeleteFirewallRule, false, nil) end |