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.apigee/v1.getSecurityAction
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
Get a SecurityAction by name.
Using getSecurityAction
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 getSecurityAction(args: GetSecurityActionArgs, opts?: InvokeOptions): Promise<GetSecurityActionResult>
function getSecurityActionOutput(args: GetSecurityActionOutputArgs, opts?: InvokeOptions): Output<GetSecurityActionResult>def get_security_action(environment_id: Optional[str] = None,
                        organization_id: Optional[str] = None,
                        security_action_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetSecurityActionResult
def get_security_action_output(environment_id: Optional[pulumi.Input[str]] = None,
                        organization_id: Optional[pulumi.Input[str]] = None,
                        security_action_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetSecurityActionResult]func LookupSecurityAction(ctx *Context, args *LookupSecurityActionArgs, opts ...InvokeOption) (*LookupSecurityActionResult, error)
func LookupSecurityActionOutput(ctx *Context, args *LookupSecurityActionOutputArgs, opts ...InvokeOption) LookupSecurityActionResultOutput> Note: This function is named LookupSecurityAction in the Go SDK.
public static class GetSecurityAction 
{
    public static Task<GetSecurityActionResult> InvokeAsync(GetSecurityActionArgs args, InvokeOptions? opts = null)
    public static Output<GetSecurityActionResult> Invoke(GetSecurityActionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSecurityActionResult> getSecurityAction(GetSecurityActionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:apigee/v1:getSecurityAction
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Environment
Id string - Organization
Id string - Security
Action stringId  
- Environment
Id string - Organization
Id string - Security
Action stringId  
- environment
Id String - organization
Id String - security
Action StringId  
- environment
Id string - organization
Id string - security
Action stringId  
- environment_
id str - organization_
id str - security_
action_ strid  
- environment
Id String - organization
Id String - security
Action StringId  
getSecurityAction Result
The following output properties are available:
- Allow
Pulumi.
Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Security Action Allow Response  - Allow a request through if it matches this SecurityAction.
 - Condition
Config Pulumi.Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Security Action Condition Config Response  - A valid SecurityAction must contain at least one condition.
 - Create
Time string - The create time for this SecurityAction.
 - Deny
Pulumi.
Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Security Action Deny Response  - Deny a request through if it matches this SecurityAction.
 - Description string
 - Optional. An optional user provided description of the SecurityAction.
 - Expire
Time string - The expiration for this SecurityAction.
 - Flag
Pulumi.
Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Security Action Flag Response  - Flag a request through if it matches this SecurityAction.
 - Name string
 - Immutable. This field is ignored during creation as per AIP-133. Please set the 
security_action_idfield in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action} - State string
 - Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced.
 - Ttl string
 - Input only. The TTL for this SecurityAction.
 - Update
Time string - The update time for this SecurityAction. This reflects when this SecurityAction changed states.
 
- Allow
Google
Cloud Apigee V1Security Action Allow Response  - Allow a request through if it matches this SecurityAction.
 - Condition
Config GoogleCloud Apigee V1Security Action Condition Config Response  - A valid SecurityAction must contain at least one condition.
 - Create
Time string - The create time for this SecurityAction.
 - Deny
Google
Cloud Apigee V1Security Action Deny Response  - Deny a request through if it matches this SecurityAction.
 - Description string
 - Optional. An optional user provided description of the SecurityAction.
 - Expire
Time string - The expiration for this SecurityAction.
 - Flag
Google
Cloud Apigee V1Security Action Flag Response  - Flag a request through if it matches this SecurityAction.
 - Name string
 - Immutable. This field is ignored during creation as per AIP-133. Please set the 
security_action_idfield in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action} - State string
 - Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced.
 - Ttl string
 - Input only. The TTL for this SecurityAction.
 - Update
Time string - The update time for this SecurityAction. This reflects when this SecurityAction changed states.
 
- allow
Google
Cloud Apigee V1Security Action Allow Response  - Allow a request through if it matches this SecurityAction.
 - condition
Config GoogleCloud Apigee V1Security Action Condition Config Response  - A valid SecurityAction must contain at least one condition.
 - create
Time String - The create time for this SecurityAction.
 - deny
Google
Cloud Apigee V1Security Action Deny Response  - Deny a request through if it matches this SecurityAction.
 - description String
 - Optional. An optional user provided description of the SecurityAction.
 - expire
Time String - The expiration for this SecurityAction.
 - flag
Google
Cloud Apigee V1Security Action Flag Response  - Flag a request through if it matches this SecurityAction.
 - name String
 - Immutable. This field is ignored during creation as per AIP-133. Please set the 
security_action_idfield in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action} - state String
 - Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced.
 - ttl String
 - Input only. The TTL for this SecurityAction.
 - update
Time String - The update time for this SecurityAction. This reflects when this SecurityAction changed states.
 
- allow
Google
Cloud Apigee V1Security Action Allow Response  - Allow a request through if it matches this SecurityAction.
 - condition
Config GoogleCloud Apigee V1Security Action Condition Config Response  - A valid SecurityAction must contain at least one condition.
 - create
Time string - The create time for this SecurityAction.
 - deny
Google
Cloud Apigee V1Security Action Deny Response  - Deny a request through if it matches this SecurityAction.
 - description string
 - Optional. An optional user provided description of the SecurityAction.
 - expire
Time string - The expiration for this SecurityAction.
 - flag
Google
Cloud Apigee V1Security Action Flag Response  - Flag a request through if it matches this SecurityAction.
 - name string
 - Immutable. This field is ignored during creation as per AIP-133. Please set the 
security_action_idfield in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action} - state string
 - Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced.
 - ttl string
 - Input only. The TTL for this SecurityAction.
 - update
Time string - The update time for this SecurityAction. This reflects when this SecurityAction changed states.
 
- allow
Google
Cloud Apigee V1Security Action Allow Response  - Allow a request through if it matches this SecurityAction.
 - condition_
config GoogleCloud Apigee V1Security Action Condition Config Response  - A valid SecurityAction must contain at least one condition.
 - create_
time str - The create time for this SecurityAction.
 - deny
Google
Cloud Apigee V1Security Action Deny Response  - Deny a request through if it matches this SecurityAction.
 - description str
 - Optional. An optional user provided description of the SecurityAction.
 - expire_
time str - The expiration for this SecurityAction.
 - flag
Google
Cloud Apigee V1Security Action Flag Response  - Flag a request through if it matches this SecurityAction.
 - name str
 - Immutable. This field is ignored during creation as per AIP-133. Please set the 
security_action_idfield in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action} - state str
 - Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced.
 - ttl str
 - Input only. The TTL for this SecurityAction.
 - update_
time str - The update time for this SecurityAction. This reflects when this SecurityAction changed states.
 
- allow Property Map
 - Allow a request through if it matches this SecurityAction.
 - condition
Config Property Map - A valid SecurityAction must contain at least one condition.
 - create
Time String - The create time for this SecurityAction.
 - deny Property Map
 - Deny a request through if it matches this SecurityAction.
 - description String
 - Optional. An optional user provided description of the SecurityAction.
 - expire
Time String - The expiration for this SecurityAction.
 - flag Property Map
 - Flag a request through if it matches this SecurityAction.
 - name String
 - Immutable. This field is ignored during creation as per AIP-133. Please set the 
security_action_idfield in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action} - state String
 - Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced.
 - ttl String
 - Input only. The TTL for this SecurityAction.
 - update
Time String - The update time for this SecurityAction. This reflects when this SecurityAction changed states.
 
Supporting Types
GoogleCloudApigeeV1SecurityActionConditionConfigResponse       
- Bot
Reasons List<string> - Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor, Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced Anomaly Detection and Advanced API Scraper.
 - Ip
Address List<string>Ranges  - Optional. A list of IP addresses. This could be either IPv4 or IPv6. Limited to 100 per action.
 
- Bot
Reasons []string - Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor, Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced Anomaly Detection and Advanced API Scraper.
 - Ip
Address []stringRanges  - Optional. A list of IP addresses. This could be either IPv4 or IPv6. Limited to 100 per action.
 
- bot
Reasons List<String> - Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor, Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced Anomaly Detection and Advanced API Scraper.
 - ip
Address List<String>Ranges  - Optional. A list of IP addresses. This could be either IPv4 or IPv6. Limited to 100 per action.
 
- bot
Reasons string[] - Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor, Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced Anomaly Detection and Advanced API Scraper.
 - ip
Address string[]Ranges  - Optional. A list of IP addresses. This could be either IPv4 or IPv6. Limited to 100 per action.
 
- bot_
reasons Sequence[str] - Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor, Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced Anomaly Detection and Advanced API Scraper.
 - ip_
address_ Sequence[str]ranges  - Optional. A list of IP addresses. This could be either IPv4 or IPv6. Limited to 100 per action.
 
- bot
Reasons List<String> - Optional. A list of Bot Reasons. Current options: Flooder, Brute Guessor, Static Content Scraper, OAuth Abuser, Robot Abuser, TorListRule, Advanced Anomaly Detection and Advanced API Scraper.
 - ip
Address List<String>Ranges  - Optional. A list of IP addresses. This could be either IPv4 or IPv6. Limited to 100 per action.
 
GoogleCloudApigeeV1SecurityActionDenyResponse      
- Response
Code int - Optional. The HTTP response code if the Action = DENY.
 
- Response
Code int - Optional. The HTTP response code if the Action = DENY.
 
- response
Code Integer - Optional. The HTTP response code if the Action = DENY.
 
- response
Code number - Optional. The HTTP response code if the Action = DENY.
 
- response_
code int - Optional. The HTTP response code if the Action = DENY.
 
- response
Code Number - Optional. The HTTP response code if the Action = DENY.
 
GoogleCloudApigeeV1SecurityActionFlagResponse      
- Headers
List<Pulumi.
Google Native. Apigee. V1. Inputs. Google Cloud Apigee V1Security Action Http Header Response>  - Optional. A list of HTTP headers to be sent to the target in case of a FLAG SecurityAction. Limit 5 headers per SecurityAction. At least one is mandatory.
 
- Headers
[]Google
Cloud Apigee V1Security Action Http Header Response  - Optional. A list of HTTP headers to be sent to the target in case of a FLAG SecurityAction. Limit 5 headers per SecurityAction. At least one is mandatory.
 
- headers
List<Google
Cloud Apigee V1Security Action Http Header Response>  - Optional. A list of HTTP headers to be sent to the target in case of a FLAG SecurityAction. Limit 5 headers per SecurityAction. At least one is mandatory.
 
- headers
Google
Cloud Apigee V1Security Action Http Header Response[]  - Optional. A list of HTTP headers to be sent to the target in case of a FLAG SecurityAction. Limit 5 headers per SecurityAction. At least one is mandatory.
 
- headers
Sequence[Google
Cloud Apigee V1Security Action Http Header Response]  - Optional. A list of HTTP headers to be sent to the target in case of a FLAG SecurityAction. Limit 5 headers per SecurityAction. At least one is mandatory.
 
- headers List<Property Map>
 - Optional. A list of HTTP headers to be sent to the target in case of a FLAG SecurityAction. Limit 5 headers per SecurityAction. At least one is mandatory.
 
GoogleCloudApigeeV1SecurityActionHttpHeaderResponse       
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