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>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)
public static Output<GetSecurityProfileResult> getSecurityProfile(GetSecurityProfileArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:networksecurity/v1beta1:getSecurityProfile
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Location string
- OrganizationId string
- SecurityProfile stringId 
- Location string
- OrganizationId string
- SecurityProfile stringId 
- location String
- organizationId String
- securityProfile StringId 
- location string
- organizationId string
- securityProfile stringId 
- location str
- organization_id str
- security_profile_ strid 
- location String
- organizationId String
- securityProfile StringId 
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}.
- ThreatPrevention Pulumi.Profile Google Native. Network Security. V1Beta1. Outputs. Threat Prevention Profile Response 
- 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}.
- ThreatPrevention ThreatProfile Prevention Profile Response 
- 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}.
- threatPrevention ThreatProfile Prevention Profile Response 
- 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}.
- threatPrevention ThreatProfile Prevention Profile Response 
- 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_ Threatprofile Prevention Profile Response 
- 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}.
- threatPrevention Property MapProfile 
- 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  
ThreatOverrideResponse  
ThreatPreventionProfileResponse   
- SeverityOverrides List<Pulumi.Google Native. Network Security. V1Beta1. Inputs. Severity Override Response> 
- Optional. Configuration for overriding threats actions by severity match.
- ThreatOverrides List<Pulumi.Google Native. Network Security. V1Beta1. Inputs. Threat Override Response> 
- 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 []SeverityOverride Response 
- Optional. Configuration for overriding threats actions by severity match.
- ThreatOverrides []ThreatOverride Response 
- 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<SeverityOverride Response> 
- Optional. Configuration for overriding threats actions by severity match.
- threatOverrides List<ThreatOverride Response> 
- 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 SeverityOverride Response[] 
- Optional. Configuration for overriding threats actions by severity match.
- threatOverrides ThreatOverride Response[] 
- 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[SeverityOverride Response] 
- Optional. Configuration for overriding threats actions by severity match.
- threat_overrides Sequence[ThreatOverride Response] 
- 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 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