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/v1.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>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)
public static Output<GetGatewaySecurityPolicyResult> getGatewaySecurityPolicy(GetGatewaySecurityPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:networksecurity/v1:getGatewaySecurityPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- GatewaySecurity stringPolicy Id 
- Location string
- Project string
- GatewaySecurity stringPolicy Id 
- Location string
- Project string
- gatewaySecurity StringPolicy Id 
- location String
- project String
- gatewaySecurity stringPolicy Id 
- location string
- project string
- gateway_security_ strpolicy_ id 
- location str
- project str
- gatewaySecurity StringPolicy Id 
- location 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?$).
- TlsInspection stringPolicy 
- 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?$).
- TlsInspection stringPolicy 
- 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?$).
- tlsInspection StringPolicy 
- 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?$).
- tlsInspection stringPolicy 
- 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_ strpolicy 
- 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?$).
- tlsInspection StringPolicy 
- 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