google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.appengine/v1.getIngressRule

Gets the specified firewall rule.

Using getIngressRule

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 getIngressRule(args: GetIngressRuleArgs, opts?: InvokeOptions): Promise<GetIngressRuleResult>
function getIngressRuleOutput(args: GetIngressRuleOutputArgs, opts?: InvokeOptions): Output<GetIngressRuleResult>
def get_ingress_rule(app_id: Optional[str] = None,
                     ingress_rule_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetIngressRuleResult
def get_ingress_rule_output(app_id: Optional[pulumi.Input[str]] = None,
                     ingress_rule_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetIngressRuleResult]
func LookupIngressRule(ctx *Context, args *LookupIngressRuleArgs, opts ...InvokeOption) (*LookupIngressRuleResult, error)
func LookupIngressRuleOutput(ctx *Context, args *LookupIngressRuleOutputArgs, opts ...InvokeOption) LookupIngressRuleResultOutput

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

public static class GetIngressRule 
{
    public static Task<GetIngressRuleResult> InvokeAsync(GetIngressRuleArgs args, InvokeOptions? opts = null)
    public static Output<GetIngressRuleResult> Invoke(GetIngressRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIngressRuleResult> getIngressRule(GetIngressRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:appengine/v1:getIngressRule
  arguments:
    # arguments dictionary

The following arguments are supported:

AppId string
IngressRuleId string
AppId string
IngressRuleId string
appId String
ingressRuleId String
appId string
ingressRuleId string
appId String
ingressRuleId String

getIngressRule Result

The following output properties are available:

Action string

The action to take on matched requests.

Description string

An optional string description of this rule. This field has a maximum length of 400 characters.

Priority int

A positive integer between 1, Int32.MaxValue-1 that defines the order of rule evaluation. Rules with the lowest priority are evaluated first.A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the user.

SourceRange string

IP address or range, defined using CIDR notation, of requests that this rule applies to. You can use the wildcard character "*" to match all IPs equivalent to "0/0" and "::/0" together. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. Truncation will be silently performed on addresses which are not properly truncated. For example, 1.2.3.4/24 is accepted as the same address as 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 is accepted as the same address as 2001:db8::/32.

Action string

The action to take on matched requests.

Description string

An optional string description of this rule. This field has a maximum length of 400 characters.

Priority int

A positive integer between 1, Int32.MaxValue-1 that defines the order of rule evaluation. Rules with the lowest priority are evaluated first.A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the user.

SourceRange string

IP address or range, defined using CIDR notation, of requests that this rule applies to. You can use the wildcard character "*" to match all IPs equivalent to "0/0" and "::/0" together. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. Truncation will be silently performed on addresses which are not properly truncated. For example, 1.2.3.4/24 is accepted as the same address as 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 is accepted as the same address as 2001:db8::/32.

action String

The action to take on matched requests.

description String

An optional string description of this rule. This field has a maximum length of 400 characters.

priority Integer

A positive integer between 1, Int32.MaxValue-1 that defines the order of rule evaluation. Rules with the lowest priority are evaluated first.A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the user.

sourceRange String

IP address or range, defined using CIDR notation, of requests that this rule applies to. You can use the wildcard character "*" to match all IPs equivalent to "0/0" and "::/0" together. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. Truncation will be silently performed on addresses which are not properly truncated. For example, 1.2.3.4/24 is accepted as the same address as 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 is accepted as the same address as 2001:db8::/32.

action string

The action to take on matched requests.

description string

An optional string description of this rule. This field has a maximum length of 400 characters.

priority number

A positive integer between 1, Int32.MaxValue-1 that defines the order of rule evaluation. Rules with the lowest priority are evaluated first.A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the user.

sourceRange string

IP address or range, defined using CIDR notation, of requests that this rule applies to. You can use the wildcard character "*" to match all IPs equivalent to "0/0" and "::/0" together. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. Truncation will be silently performed on addresses which are not properly truncated. For example, 1.2.3.4/24 is accepted as the same address as 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 is accepted as the same address as 2001:db8::/32.

action str

The action to take on matched requests.

description str

An optional string description of this rule. This field has a maximum length of 400 characters.

priority int

A positive integer between 1, Int32.MaxValue-1 that defines the order of rule evaluation. Rules with the lowest priority are evaluated first.A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the user.

source_range str

IP address or range, defined using CIDR notation, of requests that this rule applies to. You can use the wildcard character "*" to match all IPs equivalent to "0/0" and "::/0" together. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. Truncation will be silently performed on addresses which are not properly truncated. For example, 1.2.3.4/24 is accepted as the same address as 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 is accepted as the same address as 2001:db8::/32.

action String

The action to take on matched requests.

description String

An optional string description of this rule. This field has a maximum length of 400 characters.

priority Number

A positive integer between 1, Int32.MaxValue-1 that defines the order of rule evaluation. Rules with the lowest priority are evaluated first.A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the user.

sourceRange String

IP address or range, defined using CIDR notation, of requests that this rule applies to. You can use the wildcard character "*" to match all IPs equivalent to "0/0" and "::/0" together. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. Truncation will be silently performed on addresses which are not properly truncated. For example, 1.2.3.4/24 is accepted as the same address as 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 is accepted as the same address as 2001:db8::/32.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0