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

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

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

google-native.networksecurity/v1beta1.getGatewaySecurityPolicy

Explore with Pulumi AI

google-native logo

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

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

    Gets details of a single GatewaySecurityPolicy.

    Using getGatewaySecurityPolicy

    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 getGatewaySecurityPolicy(args: GetGatewaySecurityPolicyArgs, opts?: InvokeOptions): Promise<GetGatewaySecurityPolicyResult>
    function getGatewaySecurityPolicyOutput(args: GetGatewaySecurityPolicyOutputArgs, opts?: InvokeOptions): Output<GetGatewaySecurityPolicyResult>
    def get_gateway_security_policy(gateway_security_policy_id: Optional[str] = None,
                                    location: Optional[str] = None,
                                    project: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetGatewaySecurityPolicyResult
    def get_gateway_security_policy_output(gateway_security_policy_id: Optional[pulumi.Input[str]] = None,
                                    location: Optional[pulumi.Input[str]] = None,
                                    project: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetGatewaySecurityPolicyResult]
    func LookupGatewaySecurityPolicy(ctx *Context, args *LookupGatewaySecurityPolicyArgs, opts ...InvokeOption) (*LookupGatewaySecurityPolicyResult, error)
    func LookupGatewaySecurityPolicyOutput(ctx *Context, args *LookupGatewaySecurityPolicyOutputArgs, opts ...InvokeOption) LookupGatewaySecurityPolicyResultOutput

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

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

    The following arguments are supported:

    getGatewaySecurityPolicy Result

    The following output properties are available:

    CreateTime string

    The timestamp when the resource was created.

    Description string

    Optional. Free-text description of the resource.

    Name string

    Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$).

    TlsInspectionPolicy string

    Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.

    UpdateTime string

    The timestamp when the resource was updated.

    CreateTime string

    The timestamp when the resource was created.

    Description string

    Optional. Free-text description of the resource.

    Name string

    Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$).

    TlsInspectionPolicy string

    Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.

    UpdateTime string

    The timestamp when the resource was updated.

    createTime String

    The timestamp when the resource was created.

    description String

    Optional. Free-text description of the resource.

    name String

    Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$).

    tlsInspectionPolicy String

    Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.

    updateTime String

    The timestamp when the resource was updated.

    createTime string

    The timestamp when the resource was created.

    description string

    Optional. Free-text description of the resource.

    name string

    Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$).

    tlsInspectionPolicy string

    Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.

    updateTime string

    The timestamp when the resource was updated.

    create_time str

    The timestamp when the resource was created.

    description str

    Optional. Free-text description of the resource.

    name str

    Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$).

    tls_inspection_policy str

    Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.

    update_time str

    The timestamp when the resource was updated.

    createTime String

    The timestamp when the resource was created.

    description String

    Optional. Free-text description of the resource.

    name String

    Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^a-z?$).

    tlsInspectionPolicy String

    Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.

    updateTime String

    The timestamp when the resource 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.31.1 published on Thursday, Jul 20, 2023 by Pulumi