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 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>
Copy
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]
Copy
func LookupSecurityProfile(ctx *Context, args *LookupSecurityProfileArgs, opts ...InvokeOption) (*LookupSecurityProfileResult, error)
func LookupSecurityProfileOutput(ctx *Context, args *LookupSecurityProfileOutputArgs, opts ...InvokeOption) LookupSecurityProfileResultOutput
Copy

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

The following arguments are supported:

Location This property is required. string
OrganizationId This property is required. string
SecurityProfileId This property is required. string
Location This property is required. string
OrganizationId This property is required. string
SecurityProfileId This property is required. string
location This property is required. String
organizationId This property is required. String
securityProfileId This property is required. String
location This property is required. string
organizationId This property is required. string
securityProfileId This property is required. string
location This property is required. str
organization_id This property is required. str
security_profile_id This property is required. str
location This property is required. String
organizationId This property is required. String
securityProfileId This property is required. String

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 This property is required. string
Threat action override.
Severity This property is required. string
Severity level to match.
Action This property is required. string
Threat action override.
Severity This property is required. string
Severity level to match.
action This property is required. String
Threat action override.
severity This property is required. String
Severity level to match.
action This property is required. string
Threat action override.
severity This property is required. string
Severity level to match.
action This property is required. str
Threat action override.
severity This property is required. str
Severity level to match.
action This property is required. String
Threat action override.
severity This property is required. String
Severity level to match.

ThreatOverrideResponse

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

ThreatPreventionProfileResponse

SeverityOverrides This property is required. List<Pulumi.GoogleNative.NetworkSecurity.V1Beta1.Inputs.SeverityOverrideResponse>
Optional. Configuration for overriding threats actions by severity match.
ThreatOverrides This property is required. 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 This property is required. []SeverityOverrideResponse
Optional. Configuration for overriding threats actions by severity match.
ThreatOverrides This property is required. []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 This property is required. List<SeverityOverrideResponse>
Optional. Configuration for overriding threats actions by severity match.
threatOverrides This property is required. 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 This property is required. SeverityOverrideResponse[]
Optional. Configuration for overriding threats actions by severity match.
threatOverrides This property is required. 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 This property is required. Sequence[SeverityOverrideResponse]
Optional. Configuration for overriding threats actions by severity match.
threat_overrides This property is required. 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 This property is required. List<Property Map>
Optional. Configuration for overriding threats actions by severity match.
threatOverrides This property is required. 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 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