1. Packages
  2. Konnect Provider
  3. API Docs
  4. getGatewayPluginIpRestriction
konnect 2.5.0 published on Tuesday, Apr 15, 2025 by kong

konnect.getGatewayPluginIpRestriction

Explore with Pulumi AI

Using getGatewayPluginIpRestriction

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getGatewayPluginIpRestriction(args: GetGatewayPluginIpRestrictionArgs, opts?: InvokeOptions): Promise<GetGatewayPluginIpRestrictionResult>
function getGatewayPluginIpRestrictionOutput(args: GetGatewayPluginIpRestrictionOutputArgs, opts?: InvokeOptions): Output<GetGatewayPluginIpRestrictionResult>
Copy
def get_gateway_plugin_ip_restriction(control_plane_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetGatewayPluginIpRestrictionResult
def get_gateway_plugin_ip_restriction_output(control_plane_id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetGatewayPluginIpRestrictionResult]
Copy
func LookupGatewayPluginIpRestriction(ctx *Context, args *LookupGatewayPluginIpRestrictionArgs, opts ...InvokeOption) (*LookupGatewayPluginIpRestrictionResult, error)
func LookupGatewayPluginIpRestrictionOutput(ctx *Context, args *LookupGatewayPluginIpRestrictionOutputArgs, opts ...InvokeOption) LookupGatewayPluginIpRestrictionResultOutput
Copy

> Note: This function is named LookupGatewayPluginIpRestriction in the Go SDK.

public static class GetGatewayPluginIpRestriction 
{
    public static Task<GetGatewayPluginIpRestrictionResult> InvokeAsync(GetGatewayPluginIpRestrictionArgs args, InvokeOptions? opts = null)
    public static Output<GetGatewayPluginIpRestrictionResult> Invoke(GetGatewayPluginIpRestrictionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetGatewayPluginIpRestrictionResult> getGatewayPluginIpRestriction(GetGatewayPluginIpRestrictionArgs args, InvokeOptions options)
public static Output<GetGatewayPluginIpRestrictionResult> getGatewayPluginIpRestriction(GetGatewayPluginIpRestrictionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: konnect:index/getGatewayPluginIpRestriction:getGatewayPluginIpRestriction
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ControlPlaneId This property is required. string
ControlPlaneId This property is required. string
controlPlaneId This property is required. String
controlPlaneId This property is required. string
control_plane_id This property is required. str
controlPlaneId This property is required. String

getGatewayPluginIpRestriction Result

The following output properties are available:

Supporting Types

GetGatewayPluginIpRestrictionConfig

Allows This property is required. List<string>
List of IPs or CIDR ranges to allow. One of config.allow or config.deny must be specified.
Denies This property is required. List<string>
List of IPs or CIDR ranges to deny. One of config.allow or config.deny must be specified.
Message This property is required. string
The message to send as a response body to rejected requests.
Status This property is required. double
The HTTP status of the requests that will be rejected by the plugin.
Allows This property is required. []string
List of IPs or CIDR ranges to allow. One of config.allow or config.deny must be specified.
Denies This property is required. []string
List of IPs or CIDR ranges to deny. One of config.allow or config.deny must be specified.
Message This property is required. string
The message to send as a response body to rejected requests.
Status This property is required. float64
The HTTP status of the requests that will be rejected by the plugin.
allows This property is required. List<String>
List of IPs or CIDR ranges to allow. One of config.allow or config.deny must be specified.
denies This property is required. List<String>
List of IPs or CIDR ranges to deny. One of config.allow or config.deny must be specified.
message This property is required. String
The message to send as a response body to rejected requests.
status This property is required. Double
The HTTP status of the requests that will be rejected by the plugin.
allows This property is required. string[]
List of IPs or CIDR ranges to allow. One of config.allow or config.deny must be specified.
denies This property is required. string[]
List of IPs or CIDR ranges to deny. One of config.allow or config.deny must be specified.
message This property is required. string
The message to send as a response body to rejected requests.
status This property is required. number
The HTTP status of the requests that will be rejected by the plugin.
allows This property is required. Sequence[str]
List of IPs or CIDR ranges to allow. One of config.allow or config.deny must be specified.
denies This property is required. Sequence[str]
List of IPs or CIDR ranges to deny. One of config.allow or config.deny must be specified.
message This property is required. str
The message to send as a response body to rejected requests.
status This property is required. float
The HTTP status of the requests that will be rejected by the plugin.
allows This property is required. List<String>
List of IPs or CIDR ranges to allow. One of config.allow or config.deny must be specified.
denies This property is required. List<String>
List of IPs or CIDR ranges to deny. One of config.allow or config.deny must be specified.
message This property is required. String
The message to send as a response body to rejected requests.
status This property is required. Number
The HTTP status of the requests that will be rejected by the plugin.

GetGatewayPluginIpRestrictionConsumer

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

GetGatewayPluginIpRestrictionConsumerGroup

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

GetGatewayPluginIpRestrictionOrdering

after This property is required. Property Map
before This property is required. Property Map

GetGatewayPluginIpRestrictionOrderingAfter

Accesses This property is required. List<string>
Accesses This property is required. []string
accesses This property is required. List<String>
accesses This property is required. string[]
accesses This property is required. Sequence[str]
accesses This property is required. List<String>

GetGatewayPluginIpRestrictionOrderingBefore

Accesses This property is required. List<string>
Accesses This property is required. []string
accesses This property is required. List<String>
accesses This property is required. string[]
accesses This property is required. Sequence[str]
accesses This property is required. List<String>

GetGatewayPluginIpRestrictionRoute

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

GetGatewayPluginIpRestrictionService

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

Package Details

Repository
konnect kong/terraform-provider-konnect
License
Notes
This Pulumi package is based on the konnect Terraform Provider.