Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.networksecurity/v1beta1.getGatewaySecurityPolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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:
- Gateway
Security stringPolicy Id - Location string
- Project string
- Gateway
Security stringPolicy Id - Location string
- Project string
- gateway
Security StringPolicy Id - location String
- project String
- gateway
Security stringPolicy Id - location string
- project string
- gateway_
security_ strpolicy_ id - location str
- project str
- gateway
Security StringPolicy Id - location String
- project String
getGatewaySecurityPolicy Result
The following output properties are available:
- Create
Time 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?$).
- Tls
Inspection stringPolicy 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 string The timestamp when the resource was updated.
- Create
Time 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?$).
- Tls
Inspection stringPolicy 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 string The timestamp when the resource was updated.
- create
Time 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?$).
- tls
Inspection StringPolicy 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 String The timestamp when the resource was updated.
- create
Time 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?$).
- tls
Inspection stringPolicy 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 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.
- create
Time 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?$).
- tls
Inspection StringPolicy 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 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.