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.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.networksecurity/v1beta1.getGatewaySecurityPolicy

Explore with Pulumi AI

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 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>
Copy
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]
Copy
func LookupGatewaySecurityPolicy(ctx *Context, args *LookupGatewaySecurityPolicyArgs, opts ...InvokeOption) (*LookupGatewaySecurityPolicyResult, error)
func LookupGatewaySecurityPolicyOutput(ctx *Context, args *LookupGatewaySecurityPolicyOutputArgs, opts ...InvokeOption) LookupGatewaySecurityPolicyResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetGatewaySecurityPolicyResult> getGatewaySecurityPolicy(GetGatewaySecurityPolicyArgs args, InvokeOptions options)
public static Output<GetGatewaySecurityPolicyResult> getGatewaySecurityPolicy(GetGatewaySecurityPolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:networksecurity/v1beta1:getGatewaySecurityPolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

GatewaySecurityPolicyId This property is required. string
Location This property is required. string
Project string
GatewaySecurityPolicyId This property is required. string
Location This property is required. string
Project string
gatewaySecurityPolicyId This property is required. String
location This property is required. String
project String
gatewaySecurityPolicyId This property is required. string
location This property is required. string
project string
gateway_security_policy_id This property is required. str
location This property is required. str
project str
gatewaySecurityPolicyId This property is required. String
location This property is required. String
project String

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 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