1. Packages
  2. Google Cloud Native
  3. API Docs
  4. networksecurity
  5. networksecurity/v1beta1
  6. getRule

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.networksecurity/v1beta1.getRule

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Gets details of a single GatewaySecurityPolicyRule.

    Using getRule

    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 getRule(args: GetRuleArgs, opts?: InvokeOptions): Promise<GetRuleResult>
    function getRuleOutput(args: GetRuleOutputArgs, opts?: InvokeOptions): Output<GetRuleResult>
    def get_rule(gateway_security_policy_id: Optional[str] = None,
                 location: Optional[str] = None,
                 project: Optional[str] = None,
                 rule_id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetRuleResult
    def get_rule_output(gateway_security_policy_id: Optional[pulumi.Input[str]] = None,
                 location: Optional[pulumi.Input[str]] = None,
                 project: Optional[pulumi.Input[str]] = None,
                 rule_id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetRuleResult]
    func LookupRule(ctx *Context, args *LookupRuleArgs, opts ...InvokeOption) (*LookupRuleResult, error)
    func LookupRuleOutput(ctx *Context, args *LookupRuleOutputArgs, opts ...InvokeOption) LookupRuleResultOutput

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

    public static class GetRule 
    {
        public static Task<GetRuleResult> InvokeAsync(GetRuleArgs args, InvokeOptions? opts = null)
        public static Output<GetRuleResult> Invoke(GetRuleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRuleResult> getRule(GetRuleArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:networksecurity/v1beta1:getRule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getRule Result

    The following output properties are available:

    ApplicationMatcher string
    Optional. CEL expression for matching on L7/application level criteria.
    BasicProfile string
    Profile which tells what the primitive action should be.
    CreateTime string
    Time when the rule was created.
    Description string
    Optional. Free-text description of the resource.
    Enabled bool
    Whether the rule is enforced.
    Name string
    Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^a-z?$).
    Priority int
    Priority of the rule. Lower number corresponds to higher precedence.
    SessionMatcher string
    CEL expression for matching on session criteria.
    TlsInspectionEnabled bool
    Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.
    UpdateTime string
    Time when the rule was updated.
    ApplicationMatcher string
    Optional. CEL expression for matching on L7/application level criteria.
    BasicProfile string
    Profile which tells what the primitive action should be.
    CreateTime string
    Time when the rule was created.
    Description string
    Optional. Free-text description of the resource.
    Enabled bool
    Whether the rule is enforced.
    Name string
    Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^a-z?$).
    Priority int
    Priority of the rule. Lower number corresponds to higher precedence.
    SessionMatcher string
    CEL expression for matching on session criteria.
    TlsInspectionEnabled bool
    Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.
    UpdateTime string
    Time when the rule was updated.
    applicationMatcher String
    Optional. CEL expression for matching on L7/application level criteria.
    basicProfile String
    Profile which tells what the primitive action should be.
    createTime String
    Time when the rule was created.
    description String
    Optional. Free-text description of the resource.
    enabled Boolean
    Whether the rule is enforced.
    name String
    Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^a-z?$).
    priority Integer
    Priority of the rule. Lower number corresponds to higher precedence.
    sessionMatcher String
    CEL expression for matching on session criteria.
    tlsInspectionEnabled Boolean
    Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.
    updateTime String
    Time when the rule was updated.
    applicationMatcher string
    Optional. CEL expression for matching on L7/application level criteria.
    basicProfile string
    Profile which tells what the primitive action should be.
    createTime string
    Time when the rule was created.
    description string
    Optional. Free-text description of the resource.
    enabled boolean
    Whether the rule is enforced.
    name string
    Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^a-z?$).
    priority number
    Priority of the rule. Lower number corresponds to higher precedence.
    sessionMatcher string
    CEL expression for matching on session criteria.
    tlsInspectionEnabled boolean
    Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.
    updateTime string
    Time when the rule was updated.
    application_matcher str
    Optional. CEL expression for matching on L7/application level criteria.
    basic_profile str
    Profile which tells what the primitive action should be.
    create_time str
    Time when the rule was created.
    description str
    Optional. Free-text description of the resource.
    enabled bool
    Whether the rule is enforced.
    name str
    Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^a-z?$).
    priority int
    Priority of the rule. Lower number corresponds to higher precedence.
    session_matcher str
    CEL expression for matching on session criteria.
    tls_inspection_enabled bool
    Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.
    update_time str
    Time when the rule was updated.
    applicationMatcher String
    Optional. CEL expression for matching on L7/application level criteria.
    basicProfile String
    Profile which tells what the primitive action should be.
    createTime String
    Time when the rule was created.
    description String
    Optional. Free-text description of the resource.
    enabled Boolean
    Whether the rule is enforced.
    name String
    Immutable. Name of the resource. ame is the full resource name so projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy}/rules/{rule} rule should match the pattern: (^a-z?$).
    priority Number
    Priority of the rule. Lower number corresponds to higher precedence.
    sessionMatcher String
    CEL expression for matching on session criteria.
    tlsInspectionEnabled Boolean
    Optional. Flag to enable TLS inspection of traffic matching on , can only be true if the parent GatewaySecurityPolicy references a TLSInspectionConfig.
    updateTime String
    Time when the rule was updated.

    Package Details

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

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi