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
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 dictionary
The following arguments are supported:
- Location string
- Organization
Id string - Security
Profile stringId
- Location string
- Organization
Id string - Security
Profile stringId
- location String
- organization
Id String - security
Profile StringId
- location string
- organization
Id string - security
Profile stringId
- location str
- organization_
id str - security_
profile_ strid
- location String
- organization
Id String - security
Profile StringId
getSecurityProfile Result
The following output properties are available:
- Create
Time 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}
. - Threat
Prevention 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.
- Update
Time string - Last resource update timestamp.
- Create
Time 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}
. - Threat
Prevention ThreatProfile Prevention Profile Response - The threat prevention configuration for the SecurityProfile.
- Type string
- Immutable. The single ProfileType that the SecurityProfile resource configures.
- Update
Time string - Last resource update timestamp.
- create
Time 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}
. - threat
Prevention ThreatProfile Prevention Profile Response - The threat prevention configuration for the SecurityProfile.
- type String
- Immutable. The single ProfileType that the SecurityProfile resource configures.
- update
Time String - Last resource update timestamp.
- create
Time 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}
. - threat
Prevention ThreatProfile Prevention Profile Response - The threat prevention configuration for the SecurityProfile.
- type string
- Immutable. The single ProfileType that the SecurityProfile resource configures.
- update
Time 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.
- create
Time 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}
. - threat
Prevention Property MapProfile - The threat prevention configuration for the SecurityProfile.
- type String
- Immutable. The single ProfileType that the SecurityProfile resource configures.
- update
Time String - Last resource update timestamp.
Supporting Types
SeverityOverrideResponse
ThreatOverrideResponse
ThreatPreventionProfileResponse
- Severity
Overrides List<Pulumi.Google Native. Network Security. V1Beta1. Inputs. Severity Override Response> - Optional. Configuration for overriding threats actions by severity match.
- Threat
Overrides 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.
- Severity
Overrides []SeverityOverride Response - Optional. Configuration for overriding threats actions by severity match.
- Threat
Overrides []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 List<SeverityOverride Response> - Optional. Configuration for overriding threats actions by severity match.
- threat
Overrides 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.
- severity
Overrides SeverityOverride Response[] - Optional. Configuration for overriding threats actions by severity match.
- threat
Overrides 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.
- severity
Overrides List<Property Map> - Optional. Configuration for overriding threats actions by severity match.
- threat
Overrides 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