Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Range ¶
type Range struct { SubNetMask *int32 `json:"subnetMask,omitempty"` // The subnet mask of the IP address range. Valid values range from 0 to 128. Address string `json:"address"` // The IP address to be mapped. \n\nFor an IP address range, this is the **from** address. ToAddress *string `json:"addressTo,omitempty"` // The **to** address of the IP address range. }
Range The IP address or the IP address range to be mapped to the location
func (*Range) MarshalHCL ¶
func (me *Range) MarshalHCL(properties hcl.Properties) error
type Ranges ¶
type Ranges []*Range
func (Ranges) MarshalHCL ¶
func (me Ranges) MarshalHCL(properties hcl.Properties) error
type RestrictionSettings ¶
type RestrictionSettings struct { Mode restriction.Mode `json:"mode"` // The mode of the list of ip address restrictions. Possible values area `EXCLUDE` and `INCLUDE`. Restrictions Ranges `json:"ipAddressRestrictions,omitempty"` // The IP addresses or the IP address ranges to be mapped to the location }
RestrictionSettings Settings for restricting certain ip addresses and for introducing subnet mask. It also restricts the mode
func (*RestrictionSettings) MarshalHCL ¶
func (me *RestrictionSettings) MarshalHCL(properties hcl.Properties) error
func (*RestrictionSettings) Schema ¶
func (me *RestrictionSettings) Schema() map[string]*schema.Schema
func (*RestrictionSettings) UnmarshalHCL ¶
func (me *RestrictionSettings) UnmarshalHCL(decoder hcl.Decoder) error
Click to show internal directories.
Click to hide internal directories.