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

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

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

    Using getSecurityProfile

    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 getSecurityProfile(args: GetSecurityProfileArgs, opts?: InvokeOptions): Promise<GetSecurityProfileResult>
    function getSecurityProfileOutput(args: GetSecurityProfileOutputArgs, opts?: InvokeOptions): Output<GetSecurityProfileResult>
    def get_security_profile(location: Optional[str] = None,
                             organization_id: Optional[str] = None,
                             security_profile_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetSecurityProfileResult
    def get_security_profile_output(location: Optional[pulumi.Input[str]] = None,
                             organization_id: Optional[pulumi.Input[str]] = None,
                             security_profile_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetSecurityProfileResult]
    func LookupSecurityProfile(ctx *Context, args *LookupSecurityProfileArgs, opts ...InvokeOption) (*LookupSecurityProfileResult, error)
    func LookupSecurityProfileOutput(ctx *Context, args *LookupSecurityProfileOutputArgs, opts ...InvokeOption) LookupSecurityProfileResultOutput

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

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

    The following arguments are supported:

    getSecurityProfile Result

    The following output properties are available:

    CreateTime string
    Resource creation timestamp.
    Description string
    Optional. An optional description of the profile. Max length 512 characters.
    Etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    Labels Dictionary<string, string>
    Optional. Labels as key value pairs.
    Name string
    Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
    ThreatPreventionProfile Pulumi.GoogleNative.NetworkSecurity.V1Beta1.Outputs.ThreatPreventionProfileResponse
    The threat prevention configuration for the SecurityProfile.
    Type string
    Immutable. The single ProfileType that the SecurityProfile resource configures.
    UpdateTime string
    Last resource update timestamp.
    CreateTime string
    Resource creation timestamp.
    Description string
    Optional. An optional description of the profile. Max length 512 characters.
    Etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    Labels map[string]string
    Optional. Labels as key value pairs.
    Name string
    Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
    ThreatPreventionProfile ThreatPreventionProfileResponse
    The threat prevention configuration for the SecurityProfile.
    Type string
    Immutable. The single ProfileType that the SecurityProfile resource configures.
    UpdateTime string
    Last resource update timestamp.
    createTime String
    Resource creation timestamp.
    description String
    Optional. An optional description of the profile. Max length 512 characters.
    etag String
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels Map<String,String>
    Optional. Labels as key value pairs.
    name String
    Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
    threatPreventionProfile ThreatPreventionProfileResponse
    The threat prevention configuration for the SecurityProfile.
    type String
    Immutable. The single ProfileType that the SecurityProfile resource configures.
    updateTime String
    Last resource update timestamp.
    createTime string
    Resource creation timestamp.
    description string
    Optional. An optional description of the profile. Max length 512 characters.
    etag string
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels {[key: string]: string}
    Optional. Labels as key value pairs.
    name string
    Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
    threatPreventionProfile ThreatPreventionProfileResponse
    The threat prevention configuration for the SecurityProfile.
    type string
    Immutable. The single ProfileType that the SecurityProfile resource configures.
    updateTime string
    Last resource update timestamp.
    create_time str
    Resource creation timestamp.
    description str
    Optional. An optional description of the profile. Max length 512 characters.
    etag str
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels Mapping[str, str]
    Optional. Labels as key value pairs.
    name str
    Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
    threat_prevention_profile ThreatPreventionProfileResponse
    The threat prevention configuration for the SecurityProfile.
    type str
    Immutable. The single ProfileType that the SecurityProfile resource configures.
    update_time str
    Last resource update timestamp.
    createTime String
    Resource creation timestamp.
    description String
    Optional. An optional description of the profile. Max length 512 characters.
    etag String
    This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
    labels Map<String>
    Optional. Labels as key value pairs.
    name String
    Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
    threatPreventionProfile Property Map
    The threat prevention configuration for the SecurityProfile.
    type String
    Immutable. The single ProfileType that the SecurityProfile resource configures.
    updateTime String
    Last resource update timestamp.

    Supporting Types

    SeverityOverrideResponse

    Action string
    Threat action override.
    Severity string
    Severity level to match.
    Action string
    Threat action override.
    Severity string
    Severity level to match.
    action String
    Threat action override.
    severity String
    Severity level to match.
    action string
    Threat action override.
    severity string
    Severity level to match.
    action str
    Threat action override.
    severity str
    Severity level to match.
    action String
    Threat action override.
    severity String
    Severity level to match.

    ThreatOverrideResponse

    Action string
    Threat action override. For some threat types, only a subset of actions applies.
    ThreatId string
    Vendor-specific ID of a threat to override.
    Type string
    Type of the threat (read only).
    Action string
    Threat action override. For some threat types, only a subset of actions applies.
    ThreatId string
    Vendor-specific ID of a threat to override.
    Type string
    Type of the threat (read only).
    action String
    Threat action override. For some threat types, only a subset of actions applies.
    threatId String
    Vendor-specific ID of a threat to override.
    type String
    Type of the threat (read only).
    action string
    Threat action override. For some threat types, only a subset of actions applies.
    threatId string
    Vendor-specific ID of a threat to override.
    type string
    Type of the threat (read only).
    action str
    Threat action override. For some threat types, only a subset of actions applies.
    threat_id str
    Vendor-specific ID of a threat to override.
    type str
    Type of the threat (read only).
    action String
    Threat action override. For some threat types, only a subset of actions applies.
    threatId String
    Vendor-specific ID of a threat to override.
    type String
    Type of the threat (read only).

    ThreatPreventionProfileResponse

    SeverityOverrides List<Pulumi.GoogleNative.NetworkSecurity.V1Beta1.Inputs.SeverityOverrideResponse>
    Optional. Configuration for overriding threats actions by severity match.
    ThreatOverrides List<Pulumi.GoogleNative.NetworkSecurity.V1Beta1.Inputs.ThreatOverrideResponse>
    Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
    SeverityOverrides []SeverityOverrideResponse
    Optional. Configuration for overriding threats actions by severity match.
    ThreatOverrides []ThreatOverrideResponse
    Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
    severityOverrides List<SeverityOverrideResponse>
    Optional. Configuration for overriding threats actions by severity match.
    threatOverrides List<ThreatOverrideResponse>
    Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
    severityOverrides SeverityOverrideResponse[]
    Optional. Configuration for overriding threats actions by severity match.
    threatOverrides ThreatOverrideResponse[]
    Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
    severity_overrides Sequence[SeverityOverrideResponse]
    Optional. Configuration for overriding threats actions by severity match.
    threat_overrides Sequence[ThreatOverrideResponse]
    Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
    severityOverrides List<Property Map>
    Optional. Configuration for overriding threats actions by severity match.
    threatOverrides List<Property Map>
    Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.

    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