VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::appliance::networking::firewall::InboundStub Class Reference

Remote stub implementation of the Inbound API service. More...

Inherits vmware::appliance::networking::firewall::Inbound.

List of all members.

Public Member Functions

 InboundStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 InboundStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
void Set (global::System.Collections.Generic.List< vmware.appliance.networking.firewall.InboundTypes.Rule > rules)
 Set the ordered list of firewall rules to allow or deny traffic from one or more incoming IP addresses.
void Set (global::System.Collections.Generic.List< vmware.appliance.networking.firewall.InboundTypes.Rule > rules, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Set the ordered list of firewall rules to allow or deny traffic from one or more incoming IP addresses.
global::System.Threading.Tasks.Task SetAsync (global::System.Collections.Generic.List< vmware.appliance.networking.firewall.InboundTypes.Rule > rules)
 Set the ordered list of firewall rules to allow or deny traffic from one or more incoming IP addresses.
global::System.Threading.Tasks.Task SetAsync (global::System.Collections.Generic.List< vmware.appliance.networking.firewall.InboundTypes.Rule > rules, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Set the ordered list of firewall rules to allow or deny traffic from one or more incoming IP addresses.
global::System.Collections.Generic.List
< vmware.appliance.networking.firewall.InboundTypes.Rule
Get ()
 Get the ordered list of firewall rules.
global::System.Collections.Generic.List
< vmware.appliance.networking.firewall.InboundTypes.Rule
Get (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get the ordered list of firewall rules.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.appliance.networking.firewall.InboundTypes.Rule > > 
GetAsync ()
 Get the ordered list of firewall rules.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.appliance.networking.firewall.InboundTypes.Rule > > 
GetAsync (global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Get the ordered list of firewall rules.

Detailed Description

Remote stub implementation of the Inbound API service.


Constructor & Destructor Documentation

vmware::appliance::networking::firewall::InboundStub::InboundStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::appliance::networking::firewall::InboundStub::InboundStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

global::System.Collections.Generic.List<vmware.appliance.networking.firewall.InboundTypes.Rule> vmware::appliance::networking::firewall::InboundStub::Get ( ) [inline]

Get the ordered list of firewall rules.

Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. When a connection matches a firewall rule, further processing for the connection stops, and the appliance ignores any additional firewall rules you have set. This method was added in vSphere API 6.7.1.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
List of address-based firewall rules.

Implements vmware::appliance::networking::firewall::Inbound.

global::System.Collections.Generic.List<vmware.appliance.networking.firewall.InboundTypes.Rule> vmware::appliance::networking::firewall::InboundStub::Get ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Get the ordered list of firewall rules.

Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. When a connection matches a firewall rule, further processing for the connection stops, and the appliance ignores any additional firewall rules you have set. This method was added in vSphere API 6.7.1.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
List of address-based firewall rules.

Implements vmware::appliance::networking::firewall::Inbound.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.appliance.networking.firewall.InboundTypes.Rule> > vmware::appliance::networking::firewall::InboundStub::GetAsync ( global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Get the ordered list of firewall rules.

Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. When a connection matches a firewall rule, further processing for the connection stops, and the appliance ignores any additional firewall rules you have set. This method was added in vSphere API 6.7.1.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
List of address-based firewall rules.

Implements vmware::appliance::networking::firewall::Inbound.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.appliance.networking.firewall.InboundTypes.Rule> > vmware::appliance::networking::firewall::InboundStub::GetAsync ( ) [inline]

Get the ordered list of firewall rules.

Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. When a connection matches a firewall rule, further processing for the connection stops, and the appliance ignores any additional firewall rules you have set. This method was added in vSphere API 6.7.1.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Returns:
List of address-based firewall rules.

Implements vmware::appliance::networking::firewall::Inbound.

void vmware::appliance::networking::firewall::InboundStub::Set ( global::System.Collections.Generic.List< vmware.appliance.networking.firewall.InboundTypes.Rule rules,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Set the ordered list of firewall rules to allow or deny traffic from one or more incoming IP addresses.

This overwrites the existing firewall rules and creates a new rule list. Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. For example, the list of rules can be as follows:

AddressPrefixInterface NamePolicy
10.112.0.10*REJECT
10.112.0.10nic0ACCEPT

In the above example, the first rule drops all packets originating from 10.112.0.1 and the second rule accepts all packets originating from 10.112.0.1 only on nic0. In effect, the second rule is always ignored which is not desired, hence the order has to be swapped. When a connection matches a firewall rule, further processing for the connection stops, and the appliance ignores any additional firewall rules you have set. This method was added in vSphere API 6.7.1.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
rulesList of address-based firewall rules.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::networking::firewall::Inbound.

void vmware::appliance::networking::firewall::InboundStub::Set ( global::System.Collections.Generic.List< vmware.appliance.networking.firewall.InboundTypes.Rule rules) [inline]

Set the ordered list of firewall rules to allow or deny traffic from one or more incoming IP addresses.

This overwrites the existing firewall rules and creates a new rule list. Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. For example, the list of rules can be as follows:

AddressPrefixInterface NamePolicy
10.112.0.10*REJECT
10.112.0.10nic0ACCEPT

In the above example, the first rule drops all packets originating from 10.112.0.1 and the second rule accepts all packets originating from 10.112.0.1 only on nic0. In effect, the second rule is always ignored which is not desired, hence the order has to be swapped. When a connection matches a firewall rule, further processing for the connection stops, and the appliance ignores any additional firewall rules you have set. This method was added in vSphere API 6.7.1.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
rulesList of address-based firewall rules.

Implements vmware::appliance::networking::firewall::Inbound.

global::System.Threading.Tasks.Task vmware::appliance::networking::firewall::InboundStub::SetAsync ( global::System.Collections.Generic.List< vmware.appliance.networking.firewall.InboundTypes.Rule rules) [inline]

Set the ordered list of firewall rules to allow or deny traffic from one or more incoming IP addresses.

This overwrites the existing firewall rules and creates a new rule list. Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. For example, the list of rules can be as follows:

AddressPrefixInterface NamePolicy
10.112.0.10*REJECT
10.112.0.10nic0ACCEPT

In the above example, the first rule drops all packets originating from 10.112.0.1 and the second rule accepts all packets originating from 10.112.0.1 only on nic0. In effect, the second rule is always ignored which is not desired, hence the order has to be swapped. When a connection matches a firewall rule, further processing for the connection stops, and the appliance ignores any additional firewall rules you have set. This method was added in vSphere API 6.7.1.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
rulesList of address-based firewall rules.

Implements vmware::appliance::networking::firewall::Inbound.

global::System.Threading.Tasks.Task vmware::appliance::networking::firewall::InboundStub::SetAsync ( global::System.Collections.Generic.List< vmware.appliance.networking.firewall.InboundTypes.Rule rules,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Set the ordered list of firewall rules to allow or deny traffic from one or more incoming IP addresses.

This overwrites the existing firewall rules and creates a new rule list. Within the list of traffic rules, rules are processed in order of appearance, from top to bottom. For example, the list of rules can be as follows:

AddressPrefixInterface NamePolicy
10.112.0.10*REJECT
10.112.0.10nic0ACCEPT

In the above example, the first rule drops all packets originating from 10.112.0.1 and the second rule accepts all packets originating from 10.112.0.1 only on nic0. In effect, the second rule is always ignored which is not desired, hence the order has to be swapped. When a connection matches a firewall rule, further processing for the connection stops, and the appliance ignores any additional firewall rules you have set. This method was added in vSphere API 6.7.1.

Exceptions:
vmware.vapi.std.errors.ErrorGeneric error
Parameters:
rulesList of address-based firewall rules.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation

Implements vmware::appliance::networking::firewall::Inbound.


The documentation for this class was generated from the following file: