Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | The name of the resource. | [optional] |
Protocol | string | The protocol for the rule. Property cannot be modified after it is created (disallowed in update requests). | |
SourceMac | Pointer to NullableString | Only traffic originating from the respective MAC address is allowed. Valid format: aa:bb:cc:dd:ee:ff. Value null allows traffic from any MAC address. | [optional] |
SourceIp | Pointer to NullableString | Only traffic originating from the respective IPv4 address is allowed. Value null allows traffic from any IP address. | [optional] |
TargetIp | Pointer to NullableString | If the target NIC has multiple IP addresses, only the traffic directed to the respective IP address of the NIC is allowed. Value null Value null allows traffic to any target IP address. | [optional] |
IcmpCode | Pointer to NullableInt32 | Defines the allowed code (from 0 to 254) if protocol ICMP is chosen. Value null allows all codes. | [optional] |
IcmpType | Pointer to NullableInt32 | Defines the allowed type (from 0 to 254) if the protocol ICMP is chosen. Value null allows all types. | [optional] |
PortRangeStart | Pointer to int32 | Defines the start range of the allowed port (from 1 to 65534) if protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd value null to allow all ports. | [optional] |
PortRangeEnd | Pointer to int32 | Defines the end range of the allowed port (from 1 to 65534) if the protocol TCP or UDP is chosen. Leave portRangeStart and portRangeEnd null to allow all ports. | [optional] |
Type | Pointer to string | The type of the firewall rule. If not specified, the default INGRESS value is used. | [optional] |
func NewFirewallruleProperties(protocol string, ) *FirewallruleProperties
NewFirewallruleProperties instantiates a new FirewallruleProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFirewallrulePropertiesWithDefaults() *FirewallruleProperties
NewFirewallrulePropertiesWithDefaults instantiates a new FirewallruleProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *FirewallruleProperties) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *FirewallruleProperties) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FirewallruleProperties) SetName(v string)
SetName sets Name field to given value.
func (o *FirewallruleProperties) HasName() bool
HasName returns a boolean if a field has been set.
func (o *FirewallruleProperties) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *FirewallruleProperties) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FirewallruleProperties) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *FirewallruleProperties) GetSourceMac() string
GetSourceMac returns the SourceMac field if non-nil, zero value otherwise.
func (o *FirewallruleProperties) GetSourceMacOk() (*string, bool)
GetSourceMacOk returns a tuple with the SourceMac field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FirewallruleProperties) SetSourceMac(v string)
SetSourceMac sets SourceMac field to given value.
func (o *FirewallruleProperties) HasSourceMac() bool
HasSourceMac returns a boolean if a field has been set.
func (o *FirewallruleProperties) SetSourceMacNil(b bool)
SetSourceMacNil sets the value for SourceMac to be an explicit nil
func (o *FirewallruleProperties) UnsetSourceMac()
UnsetSourceMac ensures that no value is present for SourceMac, not even an explicit nil
func (o *FirewallruleProperties) GetSourceIp() string
GetSourceIp returns the SourceIp field if non-nil, zero value otherwise.
func (o *FirewallruleProperties) GetSourceIpOk() (*string, bool)
GetSourceIpOk returns a tuple with the SourceIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FirewallruleProperties) SetSourceIp(v string)
SetSourceIp sets SourceIp field to given value.
func (o *FirewallruleProperties) HasSourceIp() bool
HasSourceIp returns a boolean if a field has been set.
func (o *FirewallruleProperties) SetSourceIpNil(b bool)
SetSourceIpNil sets the value for SourceIp to be an explicit nil
func (o *FirewallruleProperties) UnsetSourceIp()
UnsetSourceIp ensures that no value is present for SourceIp, not even an explicit nil
func (o *FirewallruleProperties) GetTargetIp() string
GetTargetIp returns the TargetIp field if non-nil, zero value otherwise.
func (o *FirewallruleProperties) GetTargetIpOk() (*string, bool)
GetTargetIpOk returns a tuple with the TargetIp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FirewallruleProperties) SetTargetIp(v string)
SetTargetIp sets TargetIp field to given value.
func (o *FirewallruleProperties) HasTargetIp() bool
HasTargetIp returns a boolean if a field has been set.
func (o *FirewallruleProperties) SetTargetIpNil(b bool)
SetTargetIpNil sets the value for TargetIp to be an explicit nil
func (o *FirewallruleProperties) UnsetTargetIp()
UnsetTargetIp ensures that no value is present for TargetIp, not even an explicit nil
func (o *FirewallruleProperties) GetIcmpCode() int32
GetIcmpCode returns the IcmpCode field if non-nil, zero value otherwise.
func (o *FirewallruleProperties) GetIcmpCodeOk() (*int32, bool)
GetIcmpCodeOk returns a tuple with the IcmpCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FirewallruleProperties) SetIcmpCode(v int32)
SetIcmpCode sets IcmpCode field to given value.
func (o *FirewallruleProperties) HasIcmpCode() bool
HasIcmpCode returns a boolean if a field has been set.
func (o *FirewallruleProperties) SetIcmpCodeNil(b bool)
SetIcmpCodeNil sets the value for IcmpCode to be an explicit nil
func (o *FirewallruleProperties) UnsetIcmpCode()
UnsetIcmpCode ensures that no value is present for IcmpCode, not even an explicit nil
func (o *FirewallruleProperties) GetIcmpType() int32
GetIcmpType returns the IcmpType field if non-nil, zero value otherwise.
func (o *FirewallruleProperties) GetIcmpTypeOk() (*int32, bool)
GetIcmpTypeOk returns a tuple with the IcmpType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FirewallruleProperties) SetIcmpType(v int32)
SetIcmpType sets IcmpType field to given value.
func (o *FirewallruleProperties) HasIcmpType() bool
HasIcmpType returns a boolean if a field has been set.
func (o *FirewallruleProperties) SetIcmpTypeNil(b bool)
SetIcmpTypeNil sets the value for IcmpType to be an explicit nil
func (o *FirewallruleProperties) UnsetIcmpType()
UnsetIcmpType ensures that no value is present for IcmpType, not even an explicit nil
func (o *FirewallruleProperties) GetPortRangeStart() int32
GetPortRangeStart returns the PortRangeStart field if non-nil, zero value otherwise.
func (o *FirewallruleProperties) GetPortRangeStartOk() (*int32, bool)
GetPortRangeStartOk returns a tuple with the PortRangeStart field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FirewallruleProperties) SetPortRangeStart(v int32)
SetPortRangeStart sets PortRangeStart field to given value.
func (o *FirewallruleProperties) HasPortRangeStart() bool
HasPortRangeStart returns a boolean if a field has been set.
func (o *FirewallruleProperties) GetPortRangeEnd() int32
GetPortRangeEnd returns the PortRangeEnd field if non-nil, zero value otherwise.
func (o *FirewallruleProperties) GetPortRangeEndOk() (*int32, bool)
GetPortRangeEndOk returns a tuple with the PortRangeEnd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FirewallruleProperties) SetPortRangeEnd(v int32)
SetPortRangeEnd sets PortRangeEnd field to given value.
func (o *FirewallruleProperties) HasPortRangeEnd() bool
HasPortRangeEnd returns a boolean if a field has been set.
func (o *FirewallruleProperties) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *FirewallruleProperties) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FirewallruleProperties) SetType(v string)
SetType sets Type field to given value.
func (o *FirewallruleProperties) HasType() bool
HasType returns a boolean if a field has been set.