body
stringlengths
26
98.2k
body_hash
int64
-9,222,864,604,528,158,000
9,221,803,474B
docstring
stringlengths
1
16.8k
path
stringlengths
5
230
name
stringlengths
1
96
repository_name
stringlengths
7
89
lang
stringclasses
1 value
body_without_docstring
stringlengths
20
98.2k
@property @pulumi.getter(name='provisioningModel') def provisioning_model(self) -> Optional[pulumi.Input['SchedulingProvisioningModel']]: '\n Specifies the provisioning model of the instance.\n ' return pulumi.get(self, 'provisioning_model')
8,782,129,549,018,174,000
Specifies the provisioning model of the instance.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
provisioning_model
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='provisioningModel') def provisioning_model(self) -> Optional[pulumi.Input['SchedulingProvisioningModel']]: '\n \n ' return pulumi.get(self, 'provisioning_model')
@property @pulumi.getter(name='terminationTime') def termination_time(self) -> Optional[pulumi.Input[str]]: '\n Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.\n ' return pulumi.get(self, 'termination_time')
-205,024,198,630,847,230
Specifies the timestamp, when the instance will be terminated, in RFC3339 text format. If specified, the instance termination action will be performed at the termination time.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
termination_time
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='terminationTime') def termination_time(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'termination_time')
def __init__(__self__, *, grpc_service_config: Optional[pulumi.Input['GrpcServiceConfigArgs']]=None): "\n [Deprecated] The configuration to access the SDS server. The configuration to access the SDS server.\n :param pulumi.Input['GrpcServiceConfigArgs'] grpc_service_config: The configuration to access the SDS server over GRPC.\n " if (grpc_service_config is not None): pulumi.set(__self__, 'grpc_service_config', grpc_service_config)
134,338,351,121,966,510
[Deprecated] The configuration to access the SDS server. The configuration to access the SDS server. :param pulumi.Input['GrpcServiceConfigArgs'] grpc_service_config: The configuration to access the SDS server over GRPC.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, grpc_service_config: Optional[pulumi.Input['GrpcServiceConfigArgs']]=None): "\n [Deprecated] The configuration to access the SDS server. The configuration to access the SDS server.\n :param pulumi.Input['GrpcServiceConfigArgs'] grpc_service_config: The configuration to access the SDS server over GRPC.\n " if (grpc_service_config is not None): pulumi.set(__self__, 'grpc_service_config', grpc_service_config)
@property @pulumi.getter(name='grpcServiceConfig') def grpc_service_config(self) -> Optional[pulumi.Input['GrpcServiceConfigArgs']]: '\n The configuration to access the SDS server over GRPC.\n ' return pulumi.get(self, 'grpc_service_config')
1,043,648,724,812,308,900
The configuration to access the SDS server over GRPC.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
grpc_service_config
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='grpcServiceConfig') def grpc_service_config(self) -> Optional[pulumi.Input['GrpcServiceConfigArgs']]: '\n \n ' return pulumi.get(self, 'grpc_service_config')
def __init__(__self__, *, enable: Optional[pulumi.Input[bool]]=None, rule_visibility: Optional[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility']]=None): "\n Configuration options for L7 DDoS detection.\n :param pulumi.Input[bool] enable: If set to true, enables CAAP for L7 DDoS detection.\n :param pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility'] rule_visibility: Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.\n " if (enable is not None): pulumi.set(__self__, 'enable', enable) if (rule_visibility is not None): pulumi.set(__self__, 'rule_visibility', rule_visibility)
7,476,895,652,943,845,000
Configuration options for L7 DDoS detection. :param pulumi.Input[bool] enable: If set to true, enables CAAP for L7 DDoS detection. :param pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility'] rule_visibility: Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, enable: Optional[pulumi.Input[bool]]=None, rule_visibility: Optional[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility']]=None): "\n Configuration options for L7 DDoS detection.\n :param pulumi.Input[bool] enable: If set to true, enables CAAP for L7 DDoS detection.\n :param pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility'] rule_visibility: Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.\n " if (enable is not None): pulumi.set(__self__, 'enable', enable) if (rule_visibility is not None): pulumi.set(__self__, 'rule_visibility', rule_visibility)
@property @pulumi.getter def enable(self) -> Optional[pulumi.Input[bool]]: '\n If set to true, enables CAAP for L7 DDoS detection.\n ' return pulumi.get(self, 'enable')
-4,784,629,825,269,923,000
If set to true, enables CAAP for L7 DDoS detection.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
enable
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def enable(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'enable')
@property @pulumi.getter(name='ruleVisibility') def rule_visibility(self) -> Optional[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility']]: '\n Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.\n ' return pulumi.get(self, 'rule_visibility')
-7,719,184,269,343,884,000
Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
rule_visibility
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='ruleVisibility') def rule_visibility(self) -> Optional[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigRuleVisibility']]: '\n \n ' return pulumi.get(self, 'rule_visibility')
def __init__(__self__, *, layer7_ddos_defense_config: Optional[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs']]=None): "\n Configuration options for Cloud Armor Adaptive Protection (CAAP).\n :param pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs'] layer7_ddos_defense_config: If set to true, enables Cloud Armor Machine Learning.\n " if (layer7_ddos_defense_config is not None): pulumi.set(__self__, 'layer7_ddos_defense_config', layer7_ddos_defense_config)
-126,973,375,730,975,950
Configuration options for Cloud Armor Adaptive Protection (CAAP). :param pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs'] layer7_ddos_defense_config: If set to true, enables Cloud Armor Machine Learning.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, layer7_ddos_defense_config: Optional[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs']]=None): "\n Configuration options for Cloud Armor Adaptive Protection (CAAP).\n :param pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs'] layer7_ddos_defense_config: If set to true, enables Cloud Armor Machine Learning.\n " if (layer7_ddos_defense_config is not None): pulumi.set(__self__, 'layer7_ddos_defense_config', layer7_ddos_defense_config)
@property @pulumi.getter(name='layer7DdosDefenseConfig') def layer7_ddos_defense_config(self) -> Optional[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs']]: '\n If set to true, enables Cloud Armor Machine Learning.\n ' return pulumi.get(self, 'layer7_ddos_defense_config')
-6,237,527,022,633,772,000
If set to true, enables Cloud Armor Machine Learning.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
layer7_ddos_defense_config
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='layer7DdosDefenseConfig') def layer7_ddos_defense_config(self) -> Optional[pulumi.Input['SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigArgs']]: '\n \n ' return pulumi.get(self, 'layer7_ddos_defense_config')
def __init__(__self__, *, attachment_id: Optional[pulumi.Input[str]]=None, name: Optional[pulumi.Input[str]]=None): '\n :param pulumi.Input[str] attachment_id: The resource that the security policy is attached to.\n :param pulumi.Input[str] name: The name for an association.\n ' if (attachment_id is not None): pulumi.set(__self__, 'attachment_id', attachment_id) if (name is not None): pulumi.set(__self__, 'name', name)
177,668,665,112,788,200
:param pulumi.Input[str] attachment_id: The resource that the security policy is attached to. :param pulumi.Input[str] name: The name for an association.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, attachment_id: Optional[pulumi.Input[str]]=None, name: Optional[pulumi.Input[str]]=None): '\n :param pulumi.Input[str] attachment_id: The resource that the security policy is attached to.\n :param pulumi.Input[str] name: The name for an association.\n ' if (attachment_id is not None): pulumi.set(__self__, 'attachment_id', attachment_id) if (name is not None): pulumi.set(__self__, 'name', name)
@property @pulumi.getter(name='attachmentId') def attachment_id(self) -> Optional[pulumi.Input[str]]: '\n The resource that the security policy is attached to.\n ' return pulumi.get(self, 'attachment_id')
7,042,796,890,086,547,000
The resource that the security policy is attached to.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
attachment_id
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='attachmentId') def attachment_id(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'attachment_id')
@property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: '\n The name for an association.\n ' return pulumi.get(self, 'name')
5,365,925,020,439,932,000
The name for an association.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
name
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'name')
def __init__(__self__, *, enable_ml: Optional[pulumi.Input[bool]]=None): '\n Configuration options for Cloud Armor.\n :param pulumi.Input[bool] enable_ml: If set to true, enables Cloud Armor Machine Learning.\n ' if (enable_ml is not None): pulumi.set(__self__, 'enable_ml', enable_ml)
-303,116,417,654,134,140
Configuration options for Cloud Armor. :param pulumi.Input[bool] enable_ml: If set to true, enables Cloud Armor Machine Learning.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, enable_ml: Optional[pulumi.Input[bool]]=None): '\n Configuration options for Cloud Armor.\n :param pulumi.Input[bool] enable_ml: If set to true, enables Cloud Armor Machine Learning.\n ' if (enable_ml is not None): pulumi.set(__self__, 'enable_ml', enable_ml)
@property @pulumi.getter(name='enableMl') def enable_ml(self) -> Optional[pulumi.Input[bool]]: '\n If set to true, enables Cloud Armor Machine Learning.\n ' return pulumi.get(self, 'enable_ml')
-7,880,364,357,854,149,000
If set to true, enables Cloud Armor Machine Learning.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
enable_ml
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='enableMl') def enable_ml(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'enable_ml')
def __init__(__self__, *, redirect_site_key: Optional[pulumi.Input[str]]=None): '\n :param pulumi.Input[str] redirect_site_key: An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.\n ' if (redirect_site_key is not None): pulumi.set(__self__, 'redirect_site_key', redirect_site_key)
-2,654,881,289,687,311,000
:param pulumi.Input[str] redirect_site_key: An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, redirect_site_key: Optional[pulumi.Input[str]]=None): '\n \n ' if (redirect_site_key is not None): pulumi.set(__self__, 'redirect_site_key', redirect_site_key)
@property @pulumi.getter(name='redirectSiteKey') def redirect_site_key(self) -> Optional[pulumi.Input[str]]: '\n An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.\n ' return pulumi.get(self, 'redirect_site_key')
165,990,762,481,529,340
An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
redirect_site_key
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='redirectSiteKey') def redirect_site_key(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'redirect_site_key')
def __init__(__self__, *, header_name: Optional[pulumi.Input[str]]=None, header_value: Optional[pulumi.Input[str]]=None): '\n :param pulumi.Input[str] header_name: The name of the header to set.\n :param pulumi.Input[str] header_value: The value to set the named header to.\n ' if (header_name is not None): pulumi.set(__self__, 'header_name', header_name) if (header_value is not None): pulumi.set(__self__, 'header_value', header_value)
-811,191,533,439,791,400
:param pulumi.Input[str] header_name: The name of the header to set. :param pulumi.Input[str] header_value: The value to set the named header to.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, header_name: Optional[pulumi.Input[str]]=None, header_value: Optional[pulumi.Input[str]]=None): '\n :param pulumi.Input[str] header_name: The name of the header to set.\n :param pulumi.Input[str] header_value: The value to set the named header to.\n ' if (header_name is not None): pulumi.set(__self__, 'header_name', header_name) if (header_value is not None): pulumi.set(__self__, 'header_value', header_value)
@property @pulumi.getter(name='headerName') def header_name(self) -> Optional[pulumi.Input[str]]: '\n The name of the header to set.\n ' return pulumi.get(self, 'header_name')
3,884,284,631,895,124,000
The name of the header to set.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
header_name
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='headerName') def header_name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'header_name')
@property @pulumi.getter(name='headerValue') def header_value(self) -> Optional[pulumi.Input[str]]: '\n The value to set the named header to.\n ' return pulumi.get(self, 'header_value')
-943,444,236,197,121,500
The value to set the named header to.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
header_value
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='headerValue') def header_value(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'header_value')
def __init__(__self__, *, request_headers_to_adds: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs']]]]=None): "\n :param pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs']]] request_headers_to_adds: The list of request headers to add or overwrite if they're already present.\n " if (request_headers_to_adds is not None): pulumi.set(__self__, 'request_headers_to_adds', request_headers_to_adds)
8,057,080,071,665,284,000
:param pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs']]] request_headers_to_adds: The list of request headers to add or overwrite if they're already present.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, request_headers_to_adds: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs']]]]=None): "\n \n " if (request_headers_to_adds is not None): pulumi.set(__self__, 'request_headers_to_adds', request_headers_to_adds)
@property @pulumi.getter(name='requestHeadersToAdds') def request_headers_to_adds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs']]]]: "\n The list of request headers to add or overwrite if they're already present.\n " return pulumi.get(self, 'request_headers_to_adds')
6,117,220,614,938,045,000
The list of request headers to add or overwrite if they're already present.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
request_headers_to_adds
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='requestHeadersToAdds') def request_headers_to_adds(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleHttpHeaderActionHttpHeaderOptionArgs']]]]: "\n \n " return pulumi.get(self, 'request_headers_to_adds')
def __init__(__self__, *, ip_protocol: Optional[pulumi.Input[str]]=None, ports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): '\n :param pulumi.Input[str] ip_protocol: The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] ports: An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.\n ' if (ip_protocol is not None): pulumi.set(__self__, 'ip_protocol', ip_protocol) if (ports is not None): pulumi.set(__self__, 'ports', ports)
-7,603,843,117,719,696,000
:param pulumi.Input[str] ip_protocol: The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. :param pulumi.Input[Sequence[pulumi.Input[str]]] ports: An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, ip_protocol: Optional[pulumi.Input[str]]=None, ports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): '\n :param pulumi.Input[str] ip_protocol: The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] ports: An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.\n ' if (ip_protocol is not None): pulumi.set(__self__, 'ip_protocol', ip_protocol) if (ports is not None): pulumi.set(__self__, 'ports', ports)
@property @pulumi.getter(name='ipProtocol') def ip_protocol(self) -> Optional[pulumi.Input[str]]: '\n The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.\n ' return pulumi.get(self, 'ip_protocol')
-5,789,114,959,479,875,000
The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
ip_protocol
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='ipProtocol') def ip_protocol(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'ip_protocol')
@property @pulumi.getter def ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.\n ' return pulumi.get(self, 'ports')
-2,534,376,941,572,887,600
An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
ports
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'ports')
def __init__(__self__, *, ip_protocol: Optional[pulumi.Input[str]]=None, ports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): '\n :param pulumi.Input[str] ip_protocol: The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] ports: An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.\n ' if (ip_protocol is not None): pulumi.set(__self__, 'ip_protocol', ip_protocol) if (ports is not None): pulumi.set(__self__, 'ports', ports)
-7,603,843,117,719,696,000
:param pulumi.Input[str] ip_protocol: The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. :param pulumi.Input[Sequence[pulumi.Input[str]]] ports: An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, ip_protocol: Optional[pulumi.Input[str]]=None, ports: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): '\n :param pulumi.Input[str] ip_protocol: The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] ports: An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.\n ' if (ip_protocol is not None): pulumi.set(__self__, 'ip_protocol', ip_protocol) if (ports is not None): pulumi.set(__self__, 'ports', ports)
@property @pulumi.getter(name='ipProtocol') def ip_protocol(self) -> Optional[pulumi.Input[str]]: '\n The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.\n ' return pulumi.get(self, 'ip_protocol')
-5,789,114,959,479,875,000
The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
ip_protocol
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='ipProtocol') def ip_protocol(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'ip_protocol')
@property @pulumi.getter def ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.\n ' return pulumi.get(self, 'ports')
-2,534,376,941,572,887,600
An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. This field may only be specified when versioned_expr is set to FIREWALL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
ports
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'ports')
def __init__(__self__, *, dest_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, dest_ports: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigDestinationPortArgs']]]]=None, layer4_configs: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigLayer4ConfigArgs']]]]=None, src_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): "\n :param pulumi.Input[Sequence[pulumi.Input[str]]] dest_ip_ranges: CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.\n :param pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigDestinationPortArgs']]] dest_ports: Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.\n :param pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigLayer4ConfigArgs']]] layer4_configs: Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] src_ip_ranges: CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.\n " if (dest_ip_ranges is not None): pulumi.set(__self__, 'dest_ip_ranges', dest_ip_ranges) if (dest_ports is not None): pulumi.set(__self__, 'dest_ports', dest_ports) if (layer4_configs is not None): pulumi.set(__self__, 'layer4_configs', layer4_configs) if (src_ip_ranges is not None): pulumi.set(__self__, 'src_ip_ranges', src_ip_ranges)
-5,326,750,392,191,445,000
:param pulumi.Input[Sequence[pulumi.Input[str]]] dest_ip_ranges: CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL. :param pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigDestinationPortArgs']]] dest_ports: Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL. :param pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigLayer4ConfigArgs']]] layer4_configs: Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL. :param pulumi.Input[Sequence[pulumi.Input[str]]] src_ip_ranges: CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, dest_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, dest_ports: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigDestinationPortArgs']]]]=None, layer4_configs: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigLayer4ConfigArgs']]]]=None, src_ip_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): "\n :param pulumi.Input[Sequence[pulumi.Input[str]]] dest_ip_ranges: CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.\n :param pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigDestinationPortArgs']]] dest_ports: Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.\n :param pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigLayer4ConfigArgs']]] layer4_configs: Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] src_ip_ranges: CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.\n " if (dest_ip_ranges is not None): pulumi.set(__self__, 'dest_ip_ranges', dest_ip_ranges) if (dest_ports is not None): pulumi.set(__self__, 'dest_ports', dest_ports) if (layer4_configs is not None): pulumi.set(__self__, 'layer4_configs', layer4_configs) if (src_ip_ranges is not None): pulumi.set(__self__, 'src_ip_ranges', src_ip_ranges)
@property @pulumi.getter(name='destIpRanges') def dest_ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.\n ' return pulumi.get(self, 'dest_ip_ranges')
-1,053,021,801,355,758,300
CIDR IP address range. This field may only be specified when versioned_expr is set to FIREWALL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
dest_ip_ranges
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='destIpRanges') def dest_ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'dest_ip_ranges')
@property @pulumi.getter(name='destPorts') def dest_ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigDestinationPortArgs']]]]: '\n Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.\n ' return pulumi.get(self, 'dest_ports')
6,591,235,846,483,781,000
Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
dest_ports
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='destPorts') def dest_ports(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigDestinationPortArgs']]]]: '\n \n ' return pulumi.get(self, 'dest_ports')
@property @pulumi.getter(name='layer4Configs') def layer4_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigLayer4ConfigArgs']]]]: '\n Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.\n ' return pulumi.get(self, 'layer4_configs')
3,630,389,684,630,714,400
Pairs of IP protocols and ports that the rule should match. This field may only be specified when versioned_expr is set to FIREWALL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
layer4_configs
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='layer4Configs') def layer4_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SecurityPolicyRuleMatcherConfigLayer4ConfigArgs']]]]: '\n \n ' return pulumi.get(self, 'layer4_configs')
@property @pulumi.getter(name='srcIpRanges') def src_ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.\n ' return pulumi.get(self, 'src_ip_ranges')
-4,640,525,940,113,410,000
CIDR IP address range. Maximum number of src_ip_ranges allowed is 10.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
src_ip_ranges
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='srcIpRanges') def src_ip_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'src_ip_ranges')
def __init__(__self__, *, config: Optional[pulumi.Input['SecurityPolicyRuleMatcherConfigArgs']]=None, expr: Optional[pulumi.Input['ExprArgs']]=None, versioned_expr: Optional[pulumi.Input['SecurityPolicyRuleMatcherVersionedExpr']]=None): "\n Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.\n :param pulumi.Input['SecurityPolicyRuleMatcherConfigArgs'] config: The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.\n :param pulumi.Input['ExprArgs'] expr: User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.\n :param pulumi.Input['SecurityPolicyRuleMatcherVersionedExpr'] versioned_expr: Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.\n " if (config is not None): pulumi.set(__self__, 'config', config) if (expr is not None): pulumi.set(__self__, 'expr', expr) if (versioned_expr is not None): pulumi.set(__self__, 'versioned_expr', versioned_expr)
5,389,031,756,114,420,000
Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified. :param pulumi.Input['SecurityPolicyRuleMatcherConfigArgs'] config: The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. :param pulumi.Input['ExprArgs'] expr: User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. :param pulumi.Input['SecurityPolicyRuleMatcherVersionedExpr'] versioned_expr: Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, config: Optional[pulumi.Input['SecurityPolicyRuleMatcherConfigArgs']]=None, expr: Optional[pulumi.Input['ExprArgs']]=None, versioned_expr: Optional[pulumi.Input['SecurityPolicyRuleMatcherVersionedExpr']]=None): "\n Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified.\n :param pulumi.Input['SecurityPolicyRuleMatcherConfigArgs'] config: The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.\n :param pulumi.Input['ExprArgs'] expr: User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.\n :param pulumi.Input['SecurityPolicyRuleMatcherVersionedExpr'] versioned_expr: Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.\n " if (config is not None): pulumi.set(__self__, 'config', config) if (expr is not None): pulumi.set(__self__, 'expr', expr) if (versioned_expr is not None): pulumi.set(__self__, 'versioned_expr', versioned_expr)
@property @pulumi.getter def config(self) -> Optional[pulumi.Input['SecurityPolicyRuleMatcherConfigArgs']]: '\n The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.\n ' return pulumi.get(self, 'config')
7,621,379,937,041,194,000
The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
config
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def config(self) -> Optional[pulumi.Input['SecurityPolicyRuleMatcherConfigArgs']]: '\n \n ' return pulumi.get(self, 'config')
@property @pulumi.getter def expr(self) -> Optional[pulumi.Input['ExprArgs']]: '\n User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.\n ' return pulumi.get(self, 'expr')
-413,085,301,194,280,260
User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
expr
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def expr(self) -> Optional[pulumi.Input['ExprArgs']]: '\n \n ' return pulumi.get(self, 'expr')
@property @pulumi.getter(name='versionedExpr') def versioned_expr(self) -> Optional[pulumi.Input['SecurityPolicyRuleMatcherVersionedExpr']]: '\n Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.\n ' return pulumi.get(self, 'versioned_expr')
3,056,696,316,160,713,000
Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
versioned_expr
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='versionedExpr') def versioned_expr(self) -> Optional[pulumi.Input['SecurityPolicyRuleMatcherVersionedExpr']]: '\n \n ' return pulumi.get(self, 'versioned_expr')
def __init__(__self__, *, count: Optional[pulumi.Input[int]]=None, interval_sec: Optional[pulumi.Input[int]]=None): '\n :param pulumi.Input[int] count: Number of HTTP(S) requests for calculating the threshold.\n :param pulumi.Input[int] interval_sec: Interval over which the threshold is computed.\n ' if (count is not None): pulumi.set(__self__, 'count', count) if (interval_sec is not None): pulumi.set(__self__, 'interval_sec', interval_sec)
-2,949,175,326,861,129,000
:param pulumi.Input[int] count: Number of HTTP(S) requests for calculating the threshold. :param pulumi.Input[int] interval_sec: Interval over which the threshold is computed.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, count: Optional[pulumi.Input[int]]=None, interval_sec: Optional[pulumi.Input[int]]=None): '\n :param pulumi.Input[int] count: Number of HTTP(S) requests for calculating the threshold.\n :param pulumi.Input[int] interval_sec: Interval over which the threshold is computed.\n ' if (count is not None): pulumi.set(__self__, 'count', count) if (interval_sec is not None): pulumi.set(__self__, 'interval_sec', interval_sec)
@property @pulumi.getter def count(self) -> Optional[pulumi.Input[int]]: '\n Number of HTTP(S) requests for calculating the threshold.\n ' return pulumi.get(self, 'count')
3,971,978,157,569,942,500
Number of HTTP(S) requests for calculating the threshold.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
count
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def count(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'count')
@property @pulumi.getter(name='intervalSec') def interval_sec(self) -> Optional[pulumi.Input[int]]: '\n Interval over which the threshold is computed.\n ' return pulumi.get(self, 'interval_sec')
-3,437,367,504,523,707,400
Interval over which the threshold is computed.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
interval_sec
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='intervalSec') def interval_sec(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'interval_sec')
def __init__(__self__, *, ban_duration_sec: Optional[pulumi.Input[int]]=None, ban_threshold: Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsThresholdArgs']]=None, conform_action: Optional[pulumi.Input[str]]=None, enforce_on_key: Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsEnforceOnKey']]=None, enforce_on_key_name: Optional[pulumi.Input[str]]=None, exceed_action: Optional[pulumi.Input[str]]=None, exceed_redirect_options: Optional[pulumi.Input['SecurityPolicyRuleRedirectOptionsArgs']]=None, rate_limit_threshold: Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsThresholdArgs']]=None): '\n :param pulumi.Input[int] ban_duration_sec: Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.\n :param pulumi.Input[\'SecurityPolicyRuleRateLimitOptionsThresholdArgs\'] ban_threshold: Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured \'ban_duration_sec\' when the number of requests that exceed the \'rate_limit_threshold\' also exceed this \'ban_threshold\'.\n :param pulumi.Input[str] conform_action: Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.\n :param pulumi.Input[\'SecurityPolicyRuleRateLimitOptionsEnforceOnKey\'] enforce_on_key: Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field \'enforce_on_key\' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. \n :param pulumi.Input[str] enforce_on_key_name: Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.\n :param pulumi.Input[str] exceed_action: Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.\n :param pulumi.Input[\'SecurityPolicyRuleRedirectOptionsArgs\'] exceed_redirect_options: Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.\n :param pulumi.Input[\'SecurityPolicyRuleRateLimitOptionsThresholdArgs\'] rate_limit_threshold: Threshold at which to begin ratelimiting.\n ' if (ban_duration_sec is not None): pulumi.set(__self__, 'ban_duration_sec', ban_duration_sec) if (ban_threshold is not None): pulumi.set(__self__, 'ban_threshold', ban_threshold) if (conform_action is not None): pulumi.set(__self__, 'conform_action', conform_action) if (enforce_on_key is not None): pulumi.set(__self__, 'enforce_on_key', enforce_on_key) if (enforce_on_key_name is not None): pulumi.set(__self__, 'enforce_on_key_name', enforce_on_key_name) if (exceed_action is not None): pulumi.set(__self__, 'exceed_action', exceed_action) if (exceed_redirect_options is not None): pulumi.set(__self__, 'exceed_redirect_options', exceed_redirect_options) if (rate_limit_threshold is not None): pulumi.set(__self__, 'rate_limit_threshold', rate_limit_threshold)
-661,255,139,231,926,800
:param pulumi.Input[int] ban_duration_sec: Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold. :param pulumi.Input['SecurityPolicyRuleRateLimitOptionsThresholdArgs'] ban_threshold: Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'. :param pulumi.Input[str] conform_action: Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only. :param pulumi.Input['SecurityPolicyRuleRateLimitOptionsEnforceOnKey'] enforce_on_key: Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. :param pulumi.Input[str] enforce_on_key_name: Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value. :param pulumi.Input[str] exceed_action: Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below. :param pulumi.Input['SecurityPolicyRuleRedirectOptionsArgs'] exceed_redirect_options: Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. :param pulumi.Input['SecurityPolicyRuleRateLimitOptionsThresholdArgs'] rate_limit_threshold: Threshold at which to begin ratelimiting.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, ban_duration_sec: Optional[pulumi.Input[int]]=None, ban_threshold: Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsThresholdArgs']]=None, conform_action: Optional[pulumi.Input[str]]=None, enforce_on_key: Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsEnforceOnKey']]=None, enforce_on_key_name: Optional[pulumi.Input[str]]=None, exceed_action: Optional[pulumi.Input[str]]=None, exceed_redirect_options: Optional[pulumi.Input['SecurityPolicyRuleRedirectOptionsArgs']]=None, rate_limit_threshold: Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsThresholdArgs']]=None): '\n :param pulumi.Input[int] ban_duration_sec: Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.\n :param pulumi.Input[\'SecurityPolicyRuleRateLimitOptionsThresholdArgs\'] ban_threshold: Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured \'ban_duration_sec\' when the number of requests that exceed the \'rate_limit_threshold\' also exceed this \'ban_threshold\'.\n :param pulumi.Input[str] conform_action: Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.\n :param pulumi.Input[\'SecurityPolicyRuleRateLimitOptionsEnforceOnKey\'] enforce_on_key: Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field \'enforce_on_key\' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. \n :param pulumi.Input[str] enforce_on_key_name: Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.\n :param pulumi.Input[str] exceed_action: Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.\n :param pulumi.Input[\'SecurityPolicyRuleRedirectOptionsArgs\'] exceed_redirect_options: Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.\n :param pulumi.Input[\'SecurityPolicyRuleRateLimitOptionsThresholdArgs\'] rate_limit_threshold: Threshold at which to begin ratelimiting.\n ' if (ban_duration_sec is not None): pulumi.set(__self__, 'ban_duration_sec', ban_duration_sec) if (ban_threshold is not None): pulumi.set(__self__, 'ban_threshold', ban_threshold) if (conform_action is not None): pulumi.set(__self__, 'conform_action', conform_action) if (enforce_on_key is not None): pulumi.set(__self__, 'enforce_on_key', enforce_on_key) if (enforce_on_key_name is not None): pulumi.set(__self__, 'enforce_on_key_name', enforce_on_key_name) if (exceed_action is not None): pulumi.set(__self__, 'exceed_action', exceed_action) if (exceed_redirect_options is not None): pulumi.set(__self__, 'exceed_redirect_options', exceed_redirect_options) if (rate_limit_threshold is not None): pulumi.set(__self__, 'rate_limit_threshold', rate_limit_threshold)
@property @pulumi.getter(name='banDurationSec') def ban_duration_sec(self) -> Optional[pulumi.Input[int]]: '\n Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.\n ' return pulumi.get(self, 'ban_duration_sec')
-1,433,084,698,359,724,000
Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
ban_duration_sec
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='banDurationSec') def ban_duration_sec(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'ban_duration_sec')
@property @pulumi.getter(name='banThreshold') def ban_threshold(self) -> Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsThresholdArgs']]: '\n Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured \'ban_duration_sec\' when the number of requests that exceed the \'rate_limit_threshold\' also exceed this \'ban_threshold\'.\n ' return pulumi.get(self, 'ban_threshold')
896,382,702,822,765,600
Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
ban_threshold
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='banThreshold') def ban_threshold(self) -> Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsThresholdArgs']]: '\n Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured \'ban_duration_sec\' when the number of requests that exceed the \'rate_limit_threshold\' also exceed this \'ban_threshold\'.\n ' return pulumi.get(self, 'ban_threshold')
@property @pulumi.getter(name='conformAction') def conform_action(self) -> Optional[pulumi.Input[str]]: '\n Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.\n ' return pulumi.get(self, 'conform_action')
3,746,652,675,350,005,000
Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
conform_action
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='conformAction') def conform_action(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'conform_action')
@property @pulumi.getter(name='enforceOnKey') def enforce_on_key(self) -> Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsEnforceOnKey']]: '\n Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field \'enforce_on_key\' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. \n ' return pulumi.get(self, 'enforce_on_key')
-3,298,815,044,749,395,000
Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
enforce_on_key
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='enforceOnKey') def enforce_on_key(self) -> Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsEnforceOnKey']]: '\n Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field \'enforce_on_key\' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. \n ' return pulumi.get(self, 'enforce_on_key')
@property @pulumi.getter(name='enforceOnKeyName') def enforce_on_key_name(self) -> Optional[pulumi.Input[str]]: '\n Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.\n ' return pulumi.get(self, 'enforce_on_key_name')
4,045,953,058,102,551,000
Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
enforce_on_key_name
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='enforceOnKeyName') def enforce_on_key_name(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'enforce_on_key_name')
@property @pulumi.getter(name='exceedAction') def exceed_action(self) -> Optional[pulumi.Input[str]]: '\n Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.\n ' return pulumi.get(self, 'exceed_action')
5,063,594,001,142,764,000
Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
exceed_action
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='exceedAction') def exceed_action(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'exceed_action')
@property @pulumi.getter(name='exceedRedirectOptions') def exceed_redirect_options(self) -> Optional[pulumi.Input['SecurityPolicyRuleRedirectOptionsArgs']]: '\n Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.\n ' return pulumi.get(self, 'exceed_redirect_options')
-8,139,207,850,517,617,000
Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
exceed_redirect_options
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='exceedRedirectOptions') def exceed_redirect_options(self) -> Optional[pulumi.Input['SecurityPolicyRuleRedirectOptionsArgs']]: '\n \n ' return pulumi.get(self, 'exceed_redirect_options')
@property @pulumi.getter(name='rateLimitThreshold') def rate_limit_threshold(self) -> Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsThresholdArgs']]: '\n Threshold at which to begin ratelimiting.\n ' return pulumi.get(self, 'rate_limit_threshold')
669,377,833,299,033,900
Threshold at which to begin ratelimiting.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
rate_limit_threshold
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='rateLimitThreshold') def rate_limit_threshold(self) -> Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsThresholdArgs']]: '\n \n ' return pulumi.get(self, 'rate_limit_threshold')
def __init__(__self__, *, target: Optional[pulumi.Input[str]]=None, type: Optional[pulumi.Input['SecurityPolicyRuleRedirectOptionsType']]=None): "\n :param pulumi.Input[str] target: Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.\n :param pulumi.Input['SecurityPolicyRuleRedirectOptionsType'] type: Type of the redirect action.\n " if (target is not None): pulumi.set(__self__, 'target', target) if (type is not None): pulumi.set(__self__, 'type', type)
3,287,075,008,892,870,700
:param pulumi.Input[str] target: Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. :param pulumi.Input['SecurityPolicyRuleRedirectOptionsType'] type: Type of the redirect action.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, target: Optional[pulumi.Input[str]]=None, type: Optional[pulumi.Input['SecurityPolicyRuleRedirectOptionsType']]=None): "\n :param pulumi.Input[str] target: Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.\n :param pulumi.Input['SecurityPolicyRuleRedirectOptionsType'] type: Type of the redirect action.\n " if (target is not None): pulumi.set(__self__, 'target', target) if (type is not None): pulumi.set(__self__, 'type', type)
@property @pulumi.getter def target(self) -> Optional[pulumi.Input[str]]: '\n Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.\n ' return pulumi.get(self, 'target')
-7,360,264,869,386,302,000
Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
target
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def target(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'target')
@property @pulumi.getter def type(self) -> Optional[pulumi.Input['SecurityPolicyRuleRedirectOptionsType']]: '\n Type of the redirect action.\n ' return pulumi.get(self, 'type')
2,964,479,014,691,954,000
Type of the redirect action.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
type
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def type(self) -> Optional[pulumi.Input['SecurityPolicyRuleRedirectOptionsType']]: '\n \n ' return pulumi.get(self, 'type')
def __init__(__self__, *, action: Optional[pulumi.Input[str]]=None, description: Optional[pulumi.Input[str]]=None, direction: Optional[pulumi.Input['SecurityPolicyRuleDirection']]=None, enable_logging: Optional[pulumi.Input[bool]]=None, header_action: Optional[pulumi.Input['SecurityPolicyRuleHttpHeaderActionArgs']]=None, match: Optional[pulumi.Input['SecurityPolicyRuleMatcherArgs']]=None, preview: Optional[pulumi.Input[bool]]=None, priority: Optional[pulumi.Input[int]]=None, rate_limit_options: Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs']]=None, redirect_options: Optional[pulumi.Input['SecurityPolicyRuleRedirectOptionsArgs']]=None, redirect_target: Optional[pulumi.Input[str]]=None, rule_number: Optional[pulumi.Input[str]]=None, target_resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, target_service_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): '\n Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).\n :param pulumi.Input[str] action: The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. \n :param pulumi.Input[str] description: An optional description of this resource. Provide this property when you create the resource.\n :param pulumi.Input[\'SecurityPolicyRuleDirection\'] direction: The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.\n :param pulumi.Input[bool] enable_logging: Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.\n :param pulumi.Input[\'SecurityPolicyRuleHttpHeaderActionArgs\'] header_action: Optional, additional actions that are performed on headers.\n :param pulumi.Input[\'SecurityPolicyRuleMatcherArgs\'] match: A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding \'action\' is enforced.\n :param pulumi.Input[bool] preview: If set to true, the specified action is not enforced.\n :param pulumi.Input[int] priority: An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.\n :param pulumi.Input[\'SecurityPolicyRuleRateLimitOptionsArgs\'] rate_limit_options: Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.\n :param pulumi.Input[\'SecurityPolicyRuleRedirectOptionsArgs\'] redirect_options: Parameters defining the redirect action. Cannot be specified for any other actions.\n :param pulumi.Input[str] redirect_target: This must be specified for redirect actions. Cannot be specified for any other actions.\n :param pulumi.Input[str] rule_number: Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] target_resources: A list of network resource URLs to which this rule applies. This field allows you to control which network\'s VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] target_service_accounts: A list of service accounts indicating the sets of instances that are applied with this rule.\n ' if (action is not None): pulumi.set(__self__, 'action', action) if (description is not None): pulumi.set(__self__, 'description', description) if (direction is not None): pulumi.set(__self__, 'direction', direction) if (enable_logging is not None): pulumi.set(__self__, 'enable_logging', enable_logging) if (header_action is not None): pulumi.set(__self__, 'header_action', header_action) if (match is not None): pulumi.set(__self__, 'match', match) if (preview is not None): pulumi.set(__self__, 'preview', preview) if (priority is not None): pulumi.set(__self__, 'priority', priority) if (rate_limit_options is not None): pulumi.set(__self__, 'rate_limit_options', rate_limit_options) if (redirect_options is not None): pulumi.set(__self__, 'redirect_options', redirect_options) if (redirect_target is not None): pulumi.set(__self__, 'redirect_target', redirect_target) if (rule_number is not None): pulumi.set(__self__, 'rule_number', rule_number) if (target_resources is not None): pulumi.set(__self__, 'target_resources', target_resources) if (target_service_accounts is not None): pulumi.set(__self__, 'target_service_accounts', target_service_accounts)
7,951,273,888,784,293,000
Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny). :param pulumi.Input[str] action: The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. :param pulumi.Input[str] description: An optional description of this resource. Provide this property when you create the resource. :param pulumi.Input['SecurityPolicyRuleDirection'] direction: The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL. :param pulumi.Input[bool] enable_logging: Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL. :param pulumi.Input['SecurityPolicyRuleHttpHeaderActionArgs'] header_action: Optional, additional actions that are performed on headers. :param pulumi.Input['SecurityPolicyRuleMatcherArgs'] match: A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. :param pulumi.Input[bool] preview: If set to true, the specified action is not enforced. :param pulumi.Input[int] priority: An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority. :param pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs'] rate_limit_options: Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions. :param pulumi.Input['SecurityPolicyRuleRedirectOptionsArgs'] redirect_options: Parameters defining the redirect action. Cannot be specified for any other actions. :param pulumi.Input[str] redirect_target: This must be specified for redirect actions. Cannot be specified for any other actions. :param pulumi.Input[str] rule_number: Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server. :param pulumi.Input[Sequence[pulumi.Input[str]]] target_resources: A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL. :param pulumi.Input[Sequence[pulumi.Input[str]]] target_service_accounts: A list of service accounts indicating the sets of instances that are applied with this rule.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, action: Optional[pulumi.Input[str]]=None, description: Optional[pulumi.Input[str]]=None, direction: Optional[pulumi.Input['SecurityPolicyRuleDirection']]=None, enable_logging: Optional[pulumi.Input[bool]]=None, header_action: Optional[pulumi.Input['SecurityPolicyRuleHttpHeaderActionArgs']]=None, match: Optional[pulumi.Input['SecurityPolicyRuleMatcherArgs']]=None, preview: Optional[pulumi.Input[bool]]=None, priority: Optional[pulumi.Input[int]]=None, rate_limit_options: Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs']]=None, redirect_options: Optional[pulumi.Input['SecurityPolicyRuleRedirectOptionsArgs']]=None, redirect_target: Optional[pulumi.Input[str]]=None, rule_number: Optional[pulumi.Input[str]]=None, target_resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, target_service_accounts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): '\n Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny).\n :param pulumi.Input[str] action: The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. \n :param pulumi.Input[str] description: An optional description of this resource. Provide this property when you create the resource.\n :param pulumi.Input[\'SecurityPolicyRuleDirection\'] direction: The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.\n :param pulumi.Input[bool] enable_logging: Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.\n :param pulumi.Input[\'SecurityPolicyRuleHttpHeaderActionArgs\'] header_action: Optional, additional actions that are performed on headers.\n :param pulumi.Input[\'SecurityPolicyRuleMatcherArgs\'] match: A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding \'action\' is enforced.\n :param pulumi.Input[bool] preview: If set to true, the specified action is not enforced.\n :param pulumi.Input[int] priority: An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.\n :param pulumi.Input[\'SecurityPolicyRuleRateLimitOptionsArgs\'] rate_limit_options: Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.\n :param pulumi.Input[\'SecurityPolicyRuleRedirectOptionsArgs\'] redirect_options: Parameters defining the redirect action. Cannot be specified for any other actions.\n :param pulumi.Input[str] redirect_target: This must be specified for redirect actions. Cannot be specified for any other actions.\n :param pulumi.Input[str] rule_number: Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] target_resources: A list of network resource URLs to which this rule applies. This field allows you to control which network\'s VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] target_service_accounts: A list of service accounts indicating the sets of instances that are applied with this rule.\n ' if (action is not None): pulumi.set(__self__, 'action', action) if (description is not None): pulumi.set(__self__, 'description', description) if (direction is not None): pulumi.set(__self__, 'direction', direction) if (enable_logging is not None): pulumi.set(__self__, 'enable_logging', enable_logging) if (header_action is not None): pulumi.set(__self__, 'header_action', header_action) if (match is not None): pulumi.set(__self__, 'match', match) if (preview is not None): pulumi.set(__self__, 'preview', preview) if (priority is not None): pulumi.set(__self__, 'priority', priority) if (rate_limit_options is not None): pulumi.set(__self__, 'rate_limit_options', rate_limit_options) if (redirect_options is not None): pulumi.set(__self__, 'redirect_options', redirect_options) if (redirect_target is not None): pulumi.set(__self__, 'redirect_target', redirect_target) if (rule_number is not None): pulumi.set(__self__, 'rule_number', rule_number) if (target_resources is not None): pulumi.set(__self__, 'target_resources', target_resources) if (target_service_accounts is not None): pulumi.set(__self__, 'target_service_accounts', target_service_accounts)
@property @pulumi.getter def action(self) -> Optional[pulumi.Input[str]]: '\n The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. \n ' return pulumi.get(self, 'action')
2,328,674,917,847,854,600
The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
action
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def action(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'action')
@property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: '\n An optional description of this resource. Provide this property when you create the resource.\n ' return pulumi.get(self, 'description')
-2,529,796,803,738,034,700
An optional description of this resource. Provide this property when you create the resource.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
description
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'description')
@property @pulumi.getter def direction(self) -> Optional[pulumi.Input['SecurityPolicyRuleDirection']]: '\n The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.\n ' return pulumi.get(self, 'direction')
1,843,334,782,064,577,500
The direction in which this rule applies. This field may only be specified when versioned_expr is set to FIREWALL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
direction
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def direction(self) -> Optional[pulumi.Input['SecurityPolicyRuleDirection']]: '\n \n ' return pulumi.get(self, 'direction')
@property @pulumi.getter(name='enableLogging') def enable_logging(self) -> Optional[pulumi.Input[bool]]: '\n Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.\n ' return pulumi.get(self, 'enable_logging')
5,423,040,752,482,692,000
Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. This field may only be specified when the versioned_expr is set to FIREWALL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
enable_logging
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='enableLogging') def enable_logging(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'enable_logging')
@property @pulumi.getter(name='headerAction') def header_action(self) -> Optional[pulumi.Input['SecurityPolicyRuleHttpHeaderActionArgs']]: '\n Optional, additional actions that are performed on headers.\n ' return pulumi.get(self, 'header_action')
-3,197,297,422,581,503,000
Optional, additional actions that are performed on headers.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
header_action
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='headerAction') def header_action(self) -> Optional[pulumi.Input['SecurityPolicyRuleHttpHeaderActionArgs']]: '\n \n ' return pulumi.get(self, 'header_action')
@property @pulumi.getter def match(self) -> Optional[pulumi.Input['SecurityPolicyRuleMatcherArgs']]: "\n A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.\n " return pulumi.get(self, 'match')
-7,523,290,301,230,612,000
A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
match
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def match(self) -> Optional[pulumi.Input['SecurityPolicyRuleMatcherArgs']]: "\n \n " return pulumi.get(self, 'match')
@property @pulumi.getter def preview(self) -> Optional[pulumi.Input[bool]]: '\n If set to true, the specified action is not enforced.\n ' return pulumi.get(self, 'preview')
-841,768,892,937,665,000
If set to true, the specified action is not enforced.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
preview
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def preview(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'preview')
@property @pulumi.getter def priority(self) -> Optional[pulumi.Input[int]]: '\n An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.\n ' return pulumi.get(self, 'priority')
-1,360,483,004,386,936,300
An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
priority
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def priority(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'priority')
@property @pulumi.getter(name='rateLimitOptions') def rate_limit_options(self) -> Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs']]: '\n Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.\n ' return pulumi.get(self, 'rate_limit_options')
-7,757,942,786,367,581,000
Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
rate_limit_options
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='rateLimitOptions') def rate_limit_options(self) -> Optional[pulumi.Input['SecurityPolicyRuleRateLimitOptionsArgs']]: '\n \n ' return pulumi.get(self, 'rate_limit_options')
@property @pulumi.getter(name='redirectOptions') def redirect_options(self) -> Optional[pulumi.Input['SecurityPolicyRuleRedirectOptionsArgs']]: '\n Parameters defining the redirect action. Cannot be specified for any other actions.\n ' return pulumi.get(self, 'redirect_options')
-5,571,851,461,808,973,000
Parameters defining the redirect action. Cannot be specified for any other actions.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
redirect_options
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='redirectOptions') def redirect_options(self) -> Optional[pulumi.Input['SecurityPolicyRuleRedirectOptionsArgs']]: '\n \n ' return pulumi.get(self, 'redirect_options')
@property @pulumi.getter(name='redirectTarget') def redirect_target(self) -> Optional[pulumi.Input[str]]: '\n This must be specified for redirect actions. Cannot be specified for any other actions.\n ' return pulumi.get(self, 'redirect_target')
-8,499,449,768,235,806,000
This must be specified for redirect actions. Cannot be specified for any other actions.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
redirect_target
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='redirectTarget') def redirect_target(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'redirect_target')
@property @pulumi.getter(name='ruleNumber') def rule_number(self) -> Optional[pulumi.Input[str]]: '\n Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.\n ' return pulumi.get(self, 'rule_number')
-2,222,190,339,105,156,400
Identifier for the rule. This is only unique within the given security policy. This can only be set during rule creation, if rule number is not specified it will be generated by the server.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
rule_number
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='ruleNumber') def rule_number(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'rule_number')
@property @pulumi.getter(name='targetResources') def target_resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: "\n A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.\n " return pulumi.get(self, 'target_resources')
-5,172,474,804,694,959,000
A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. This field may only be specified when versioned_expr is set to FIREWALL.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
target_resources
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='targetResources') def target_resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: "\n \n " return pulumi.get(self, 'target_resources')
@property @pulumi.getter(name='targetServiceAccounts') def target_service_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n A list of service accounts indicating the sets of instances that are applied with this rule.\n ' return pulumi.get(self, 'target_service_accounts')
2,685,169,013,125,680,000
A list of service accounts indicating the sets of instances that are applied with this rule.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
target_service_accounts
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='targetServiceAccounts') def target_service_accounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'target_service_accounts')
def __init__(__self__, *, client_tls_policy: Optional[pulumi.Input[str]]=None, subject_alt_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): "\n The authentication and authorization settings for a BackendService.\n :param pulumi.Input[str] client_tls_policy: Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] subject_alt_names: Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has no impact.\n " if (client_tls_policy is not None): pulumi.set(__self__, 'client_tls_policy', client_tls_policy) if (subject_alt_names is not None): pulumi.set(__self__, 'subject_alt_names', subject_alt_names)
8,131,700,759,930,391,000
The authentication and authorization settings for a BackendService. :param pulumi.Input[str] client_tls_policy: Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact. :param pulumi.Input[Sequence[pulumi.Input[str]]] subject_alt_names: Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has no impact.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, client_tls_policy: Optional[pulumi.Input[str]]=None, subject_alt_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): "\n The authentication and authorization settings for a BackendService.\n :param pulumi.Input[str] client_tls_policy: Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] subject_alt_names: Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has no impact.\n " if (client_tls_policy is not None): pulumi.set(__self__, 'client_tls_policy', client_tls_policy) if (subject_alt_names is not None): pulumi.set(__self__, 'subject_alt_names', subject_alt_names)
@property @pulumi.getter(name='clientTlsPolicy') def client_tls_policy(self) -> Optional[pulumi.Input[str]]: "\n Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.\n " return pulumi.get(self, 'client_tls_policy')
449,255,998,578,424,500
Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
client_tls_policy
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='clientTlsPolicy') def client_tls_policy(self) -> Optional[pulumi.Input[str]]: "\n \n " return pulumi.get(self, 'client_tls_policy')
@property @pulumi.getter(name='subjectAltNames') def subject_alt_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: "\n Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has no impact.\n " return pulumi.get(self, 'subject_alt_names')
3,890,902,447,953,678,300
Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has no impact.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
subject_alt_names
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='subjectAltNames') def subject_alt_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: "\n \n " return pulumi.get(self, 'subject_alt_names')
def __init__(__self__, *, proxy_tls_context: Optional[pulumi.Input['TlsContextArgs']]=None, subject_alt_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, tls_mode: Optional[pulumi.Input['ServerTlsSettingsTlsMode']]=None): "\n The TLS settings for the server.\n :param pulumi.Input['TlsContextArgs'] proxy_tls_context: Configures the mechanism to obtain security certificates and identity information.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] subject_alt_names: A list of alternate names to verify the subject identity in the certificate presented by the client.\n :param pulumi.Input['ServerTlsSettingsTlsMode'] tls_mode: Indicates whether connections should be secured using TLS. The value of this field determines how TLS is enforced. This field can be set to one of the following: - SIMPLE Secure connections with standard TLS semantics. - MUTUAL Secure connections to the backends using mutual TLS by presenting client certificates for authentication. \n " if (proxy_tls_context is not None): pulumi.set(__self__, 'proxy_tls_context', proxy_tls_context) if (subject_alt_names is not None): pulumi.set(__self__, 'subject_alt_names', subject_alt_names) if (tls_mode is not None): pulumi.set(__self__, 'tls_mode', tls_mode)
473,620,416,076,710,300
The TLS settings for the server. :param pulumi.Input['TlsContextArgs'] proxy_tls_context: Configures the mechanism to obtain security certificates and identity information. :param pulumi.Input[Sequence[pulumi.Input[str]]] subject_alt_names: A list of alternate names to verify the subject identity in the certificate presented by the client. :param pulumi.Input['ServerTlsSettingsTlsMode'] tls_mode: Indicates whether connections should be secured using TLS. The value of this field determines how TLS is enforced. This field can be set to one of the following: - SIMPLE Secure connections with standard TLS semantics. - MUTUAL Secure connections to the backends using mutual TLS by presenting client certificates for authentication.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, proxy_tls_context: Optional[pulumi.Input['TlsContextArgs']]=None, subject_alt_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, tls_mode: Optional[pulumi.Input['ServerTlsSettingsTlsMode']]=None): "\n The TLS settings for the server.\n :param pulumi.Input['TlsContextArgs'] proxy_tls_context: Configures the mechanism to obtain security certificates and identity information.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] subject_alt_names: A list of alternate names to verify the subject identity in the certificate presented by the client.\n :param pulumi.Input['ServerTlsSettingsTlsMode'] tls_mode: Indicates whether connections should be secured using TLS. The value of this field determines how TLS is enforced. This field can be set to one of the following: - SIMPLE Secure connections with standard TLS semantics. - MUTUAL Secure connections to the backends using mutual TLS by presenting client certificates for authentication. \n " if (proxy_tls_context is not None): pulumi.set(__self__, 'proxy_tls_context', proxy_tls_context) if (subject_alt_names is not None): pulumi.set(__self__, 'subject_alt_names', subject_alt_names) if (tls_mode is not None): pulumi.set(__self__, 'tls_mode', tls_mode)
@property @pulumi.getter(name='proxyTlsContext') def proxy_tls_context(self) -> Optional[pulumi.Input['TlsContextArgs']]: '\n Configures the mechanism to obtain security certificates and identity information.\n ' return pulumi.get(self, 'proxy_tls_context')
-76,482,678,383,474,400
Configures the mechanism to obtain security certificates and identity information.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
proxy_tls_context
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='proxyTlsContext') def proxy_tls_context(self) -> Optional[pulumi.Input['TlsContextArgs']]: '\n \n ' return pulumi.get(self, 'proxy_tls_context')
@property @pulumi.getter(name='subjectAltNames') def subject_alt_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n A list of alternate names to verify the subject identity in the certificate presented by the client.\n ' return pulumi.get(self, 'subject_alt_names')
-2,808,815,553,959,260,700
A list of alternate names to verify the subject identity in the certificate presented by the client.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
subject_alt_names
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='subjectAltNames') def subject_alt_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'subject_alt_names')
@property @pulumi.getter(name='tlsMode') def tls_mode(self) -> Optional[pulumi.Input['ServerTlsSettingsTlsMode']]: '\n Indicates whether connections should be secured using TLS. The value of this field determines how TLS is enforced. This field can be set to one of the following: - SIMPLE Secure connections with standard TLS semantics. - MUTUAL Secure connections to the backends using mutual TLS by presenting client certificates for authentication. \n ' return pulumi.get(self, 'tls_mode')
-8,778,874,767,661,011,000
Indicates whether connections should be secured using TLS. The value of this field determines how TLS is enforced. This field can be set to one of the following: - SIMPLE Secure connections with standard TLS semantics. - MUTUAL Secure connections to the backends using mutual TLS by presenting client certificates for authentication.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
tls_mode
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='tlsMode') def tls_mode(self) -> Optional[pulumi.Input['ServerTlsSettingsTlsMode']]: '\n \n ' return pulumi.get(self, 'tls_mode')
def __init__(__self__, *, email: Optional[pulumi.Input[str]]=None, scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): '\n A service account.\n :param pulumi.Input[str] email: Email address of the service account.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: The list of scopes to be made available for this service account.\n ' if (email is not None): pulumi.set(__self__, 'email', email) if (scopes is not None): pulumi.set(__self__, 'scopes', scopes)
-4,480,772,432,071,688,000
A service account. :param pulumi.Input[str] email: Email address of the service account. :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: The list of scopes to be made available for this service account.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, email: Optional[pulumi.Input[str]]=None, scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None): '\n A service account.\n :param pulumi.Input[str] email: Email address of the service account.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: The list of scopes to be made available for this service account.\n ' if (email is not None): pulumi.set(__self__, 'email', email) if (scopes is not None): pulumi.set(__self__, 'scopes', scopes)
@property @pulumi.getter def email(self) -> Optional[pulumi.Input[str]]: '\n Email address of the service account.\n ' return pulumi.get(self, 'email')
6,491,662,678,222,092,000
Email address of the service account.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
email
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def email(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'email')
@property @pulumi.getter def scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n The list of scopes to be made available for this service account.\n ' return pulumi.get(self, 'scopes')
-2,075,393,962,056,546,300
The list of scopes to be made available for this service account.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
scopes
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: '\n \n ' return pulumi.get(self, 'scopes')
def __init__(__self__, *, connection_limit: Optional[pulumi.Input[int]]=None, project_id_or_num: Optional[pulumi.Input[str]]=None): '\n :param pulumi.Input[int] connection_limit: The value of the limit to set.\n :param pulumi.Input[str] project_id_or_num: The project id or number for the project to set the limit for.\n ' if (connection_limit is not None): pulumi.set(__self__, 'connection_limit', connection_limit) if (project_id_or_num is not None): pulumi.set(__self__, 'project_id_or_num', project_id_or_num)
5,749,826,294,935,907,000
:param pulumi.Input[int] connection_limit: The value of the limit to set. :param pulumi.Input[str] project_id_or_num: The project id or number for the project to set the limit for.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, connection_limit: Optional[pulumi.Input[int]]=None, project_id_or_num: Optional[pulumi.Input[str]]=None): '\n :param pulumi.Input[int] connection_limit: The value of the limit to set.\n :param pulumi.Input[str] project_id_or_num: The project id or number for the project to set the limit for.\n ' if (connection_limit is not None): pulumi.set(__self__, 'connection_limit', connection_limit) if (project_id_or_num is not None): pulumi.set(__self__, 'project_id_or_num', project_id_or_num)
@property @pulumi.getter(name='connectionLimit') def connection_limit(self) -> Optional[pulumi.Input[int]]: '\n The value of the limit to set.\n ' return pulumi.get(self, 'connection_limit')
-346,508,849,685,807,740
The value of the limit to set.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
connection_limit
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='connectionLimit') def connection_limit(self) -> Optional[pulumi.Input[int]]: '\n \n ' return pulumi.get(self, 'connection_limit')
@property @pulumi.getter(name='projectIdOrNum') def project_id_or_num(self) -> Optional[pulumi.Input[str]]: '\n The project id or number for the project to set the limit for.\n ' return pulumi.get(self, 'project_id_or_num')
6,345,511,792,580,332,000
The project id or number for the project to set the limit for.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
project_id_or_num
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='projectIdOrNum') def project_id_or_num(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'project_id_or_num')
def __init__(__self__, *, folder_map: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None, project_map: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None, projects: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, share_type: Optional[pulumi.Input['ShareSettingsShareType']]=None): '\n The share setting for reservations and sole tenancy node groups.\n :param pulumi.Input[Mapping[str, pulumi.Input[str]]] folder_map: A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type\'s value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.\n :param pulumi.Input[Mapping[str, pulumi.Input[str]]] project_map: A map of project id and project config. This is only valid when share_type\'s value is SPECIFIC_PROJECTS.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] projects: A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type\'s value is SPECIFIC_PROJECTS.\n :param pulumi.Input[\'ShareSettingsShareType\'] share_type: Type of sharing for this shared-reservation\n ' if (folder_map is not None): pulumi.set(__self__, 'folder_map', folder_map) if (project_map is not None): pulumi.set(__self__, 'project_map', project_map) if (projects is not None): pulumi.set(__self__, 'projects', projects) if (share_type is not None): pulumi.set(__self__, 'share_type', share_type)
3,271,020,472,783,346,000
The share setting for reservations and sole tenancy node groups. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] folder_map: A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] project_map: A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS. :param pulumi.Input[Sequence[pulumi.Input[str]]] projects: A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS. :param pulumi.Input['ShareSettingsShareType'] share_type: Type of sharing for this shared-reservation
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, folder_map: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None, project_map: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None, projects: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]=None, share_type: Optional[pulumi.Input['ShareSettingsShareType']]=None): '\n The share setting for reservations and sole tenancy node groups.\n :param pulumi.Input[Mapping[str, pulumi.Input[str]]] folder_map: A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type\'s value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.\n :param pulumi.Input[Mapping[str, pulumi.Input[str]]] project_map: A map of project id and project config. This is only valid when share_type\'s value is SPECIFIC_PROJECTS.\n :param pulumi.Input[Sequence[pulumi.Input[str]]] projects: A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type\'s value is SPECIFIC_PROJECTS.\n :param pulumi.Input[\'ShareSettingsShareType\'] share_type: Type of sharing for this shared-reservation\n ' if (folder_map is not None): pulumi.set(__self__, 'folder_map', folder_map) if (project_map is not None): pulumi.set(__self__, 'project_map', project_map) if (projects is not None): pulumi.set(__self__, 'projects', projects) if (share_type is not None): pulumi.set(__self__, 'share_type', share_type)
@property @pulumi.getter(name='folderMap') def folder_map(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: '\n A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type\'s value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.\n ' return pulumi.get(self, 'folder_map')
5,604,639,077,282,888,000
A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type's value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
folder_map
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='folderMap') def folder_map(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: '\n A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type\'s value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without "folders/" prefix.\n ' return pulumi.get(self, 'folder_map')
@property @pulumi.getter(name='projectMap') def project_map(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: "\n A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.\n " return pulumi.get(self, 'project_map')
8,710,475,732,585,296,000
A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
project_map
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='projectMap') def project_map(self) -> Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]: "\n \n " return pulumi.get(self, 'project_map')
@property @pulumi.getter def projects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: "\n A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.\n " return pulumi.get(self, 'projects')
1,547,232,190,718,856,000
A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type's value is SPECIFIC_PROJECTS.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
projects
AaronFriel/pulumi-google-native
python
@property @pulumi.getter def projects(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: "\n \n " return pulumi.get(self, 'projects')
@property @pulumi.getter(name='shareType') def share_type(self) -> Optional[pulumi.Input['ShareSettingsShareType']]: '\n Type of sharing for this shared-reservation\n ' return pulumi.get(self, 'share_type')
-8,072,545,111,939,177,000
Type of sharing for this shared-reservation
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
share_type
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='shareType') def share_type(self) -> Optional[pulumi.Input['ShareSettingsShareType']]: '\n \n ' return pulumi.get(self, 'share_type')
def __init__(__self__, *, enable_integrity_monitoring: Optional[pulumi.Input[bool]]=None, enable_secure_boot: Optional[pulumi.Input[bool]]=None, enable_vtpm: Optional[pulumi.Input[bool]]=None): '\n A set of Shielded Instance options.\n :param pulumi.Input[bool] enable_integrity_monitoring: Defines whether the instance has integrity monitoring enabled. Enabled by default.\n :param pulumi.Input[bool] enable_secure_boot: Defines whether the instance has Secure Boot enabled. Disabled by default.\n :param pulumi.Input[bool] enable_vtpm: Defines whether the instance has the vTPM enabled. Enabled by default.\n ' if (enable_integrity_monitoring is not None): pulumi.set(__self__, 'enable_integrity_monitoring', enable_integrity_monitoring) if (enable_secure_boot is not None): pulumi.set(__self__, 'enable_secure_boot', enable_secure_boot) if (enable_vtpm is not None): pulumi.set(__self__, 'enable_vtpm', enable_vtpm)
-754,318,432,640,257,700
A set of Shielded Instance options. :param pulumi.Input[bool] enable_integrity_monitoring: Defines whether the instance has integrity monitoring enabled. Enabled by default. :param pulumi.Input[bool] enable_secure_boot: Defines whether the instance has Secure Boot enabled. Disabled by default. :param pulumi.Input[bool] enable_vtpm: Defines whether the instance has the vTPM enabled. Enabled by default.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, enable_integrity_monitoring: Optional[pulumi.Input[bool]]=None, enable_secure_boot: Optional[pulumi.Input[bool]]=None, enable_vtpm: Optional[pulumi.Input[bool]]=None): '\n A set of Shielded Instance options.\n :param pulumi.Input[bool] enable_integrity_monitoring: Defines whether the instance has integrity monitoring enabled. Enabled by default.\n :param pulumi.Input[bool] enable_secure_boot: Defines whether the instance has Secure Boot enabled. Disabled by default.\n :param pulumi.Input[bool] enable_vtpm: Defines whether the instance has the vTPM enabled. Enabled by default.\n ' if (enable_integrity_monitoring is not None): pulumi.set(__self__, 'enable_integrity_monitoring', enable_integrity_monitoring) if (enable_secure_boot is not None): pulumi.set(__self__, 'enable_secure_boot', enable_secure_boot) if (enable_vtpm is not None): pulumi.set(__self__, 'enable_vtpm', enable_vtpm)
@property @pulumi.getter(name='enableIntegrityMonitoring') def enable_integrity_monitoring(self) -> Optional[pulumi.Input[bool]]: '\n Defines whether the instance has integrity monitoring enabled. Enabled by default.\n ' return pulumi.get(self, 'enable_integrity_monitoring')
-8,967,024,092,968,231,000
Defines whether the instance has integrity monitoring enabled. Enabled by default.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
enable_integrity_monitoring
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='enableIntegrityMonitoring') def enable_integrity_monitoring(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'enable_integrity_monitoring')
@property @pulumi.getter(name='enableSecureBoot') def enable_secure_boot(self) -> Optional[pulumi.Input[bool]]: '\n Defines whether the instance has Secure Boot enabled. Disabled by default.\n ' return pulumi.get(self, 'enable_secure_boot')
8,206,978,596,167,941,000
Defines whether the instance has Secure Boot enabled. Disabled by default.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
enable_secure_boot
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='enableSecureBoot') def enable_secure_boot(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'enable_secure_boot')
@property @pulumi.getter(name='enableVtpm') def enable_vtpm(self) -> Optional[pulumi.Input[bool]]: '\n Defines whether the instance has the vTPM enabled. Enabled by default.\n ' return pulumi.get(self, 'enable_vtpm')
-5,034,188,230,015,222,000
Defines whether the instance has the vTPM enabled. Enabled by default.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
enable_vtpm
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='enableVtpm') def enable_vtpm(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'enable_vtpm')
def __init__(__self__, *, update_auto_learn_policy: Optional[pulumi.Input[bool]]=None): "\n The policy describes the baseline against which Instance boot integrity is measured.\n :param pulumi.Input[bool] update_auto_learn_policy: Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.\n " if (update_auto_learn_policy is not None): pulumi.set(__self__, 'update_auto_learn_policy', update_auto_learn_policy)
9,021,763,403,910,077,000
The policy describes the baseline against which Instance boot integrity is measured. :param pulumi.Input[bool] update_auto_learn_policy: Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, update_auto_learn_policy: Optional[pulumi.Input[bool]]=None): "\n The policy describes the baseline against which Instance boot integrity is measured.\n :param pulumi.Input[bool] update_auto_learn_policy: Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.\n " if (update_auto_learn_policy is not None): pulumi.set(__self__, 'update_auto_learn_policy', update_auto_learn_policy)
@property @pulumi.getter(name='updateAutoLearnPolicy') def update_auto_learn_policy(self) -> Optional[pulumi.Input[bool]]: "\n Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.\n " return pulumi.get(self, 'update_auto_learn_policy')
-6,361,408,421,202,210,000
Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
update_auto_learn_policy
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='updateAutoLearnPolicy') def update_auto_learn_policy(self) -> Optional[pulumi.Input[bool]]: "\n \n " return pulumi.get(self, 'update_auto_learn_policy')
def __init__(__self__, *, enable_integrity_monitoring: Optional[pulumi.Input[bool]]=None, enable_secure_boot: Optional[pulumi.Input[bool]]=None, enable_vtpm: Optional[pulumi.Input[bool]]=None): '\n A set of Shielded VM options.\n :param pulumi.Input[bool] enable_integrity_monitoring: Defines whether the instance has integrity monitoring enabled.\n :param pulumi.Input[bool] enable_secure_boot: Defines whether the instance has Secure Boot enabled.\n :param pulumi.Input[bool] enable_vtpm: Defines whether the instance has the vTPM enabled.\n ' if (enable_integrity_monitoring is not None): pulumi.set(__self__, 'enable_integrity_monitoring', enable_integrity_monitoring) if (enable_secure_boot is not None): pulumi.set(__self__, 'enable_secure_boot', enable_secure_boot) if (enable_vtpm is not None): pulumi.set(__self__, 'enable_vtpm', enable_vtpm)
-2,961,787,834,791,702,500
A set of Shielded VM options. :param pulumi.Input[bool] enable_integrity_monitoring: Defines whether the instance has integrity monitoring enabled. :param pulumi.Input[bool] enable_secure_boot: Defines whether the instance has Secure Boot enabled. :param pulumi.Input[bool] enable_vtpm: Defines whether the instance has the vTPM enabled.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, enable_integrity_monitoring: Optional[pulumi.Input[bool]]=None, enable_secure_boot: Optional[pulumi.Input[bool]]=None, enable_vtpm: Optional[pulumi.Input[bool]]=None): '\n A set of Shielded VM options.\n :param pulumi.Input[bool] enable_integrity_monitoring: Defines whether the instance has integrity monitoring enabled.\n :param pulumi.Input[bool] enable_secure_boot: Defines whether the instance has Secure Boot enabled.\n :param pulumi.Input[bool] enable_vtpm: Defines whether the instance has the vTPM enabled.\n ' if (enable_integrity_monitoring is not None): pulumi.set(__self__, 'enable_integrity_monitoring', enable_integrity_monitoring) if (enable_secure_boot is not None): pulumi.set(__self__, 'enable_secure_boot', enable_secure_boot) if (enable_vtpm is not None): pulumi.set(__self__, 'enable_vtpm', enable_vtpm)
@property @pulumi.getter(name='enableIntegrityMonitoring') def enable_integrity_monitoring(self) -> Optional[pulumi.Input[bool]]: '\n Defines whether the instance has integrity monitoring enabled.\n ' return pulumi.get(self, 'enable_integrity_monitoring')
-4,240,518,565,213,264,400
Defines whether the instance has integrity monitoring enabled.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
enable_integrity_monitoring
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='enableIntegrityMonitoring') def enable_integrity_monitoring(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'enable_integrity_monitoring')
@property @pulumi.getter(name='enableSecureBoot') def enable_secure_boot(self) -> Optional[pulumi.Input[bool]]: '\n Defines whether the instance has Secure Boot enabled.\n ' return pulumi.get(self, 'enable_secure_boot')
5,687,343,151,868,732,000
Defines whether the instance has Secure Boot enabled.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
enable_secure_boot
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='enableSecureBoot') def enable_secure_boot(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'enable_secure_boot')
@property @pulumi.getter(name='enableVtpm') def enable_vtpm(self) -> Optional[pulumi.Input[bool]]: '\n Defines whether the instance has the vTPM enabled.\n ' return pulumi.get(self, 'enable_vtpm')
2,137,808,132,574,608,000
Defines whether the instance has the vTPM enabled.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
enable_vtpm
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='enableVtpm') def enable_vtpm(self) -> Optional[pulumi.Input[bool]]: '\n \n ' return pulumi.get(self, 'enable_vtpm')
def __init__(__self__, *, update_auto_learn_policy: Optional[pulumi.Input[bool]]=None): "\n The policy describes the baseline against which VM instance boot integrity is measured.\n :param pulumi.Input[bool] update_auto_learn_policy: Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.\n " if (update_auto_learn_policy is not None): pulumi.set(__self__, 'update_auto_learn_policy', update_auto_learn_policy)
-5,228,039,591,378,533,000
The policy describes the baseline against which VM instance boot integrity is measured. :param pulumi.Input[bool] update_auto_learn_policy: Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, update_auto_learn_policy: Optional[pulumi.Input[bool]]=None): "\n The policy describes the baseline against which VM instance boot integrity is measured.\n :param pulumi.Input[bool] update_auto_learn_policy: Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.\n " if (update_auto_learn_policy is not None): pulumi.set(__self__, 'update_auto_learn_policy', update_auto_learn_policy)
@property @pulumi.getter(name='updateAutoLearnPolicy') def update_auto_learn_policy(self) -> Optional[pulumi.Input[bool]]: "\n Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.\n " return pulumi.get(self, 'update_auto_learn_policy')
-6,361,408,421,202,210,000
Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
update_auto_learn_policy
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='updateAutoLearnPolicy') def update_auto_learn_policy(self) -> Optional[pulumi.Input[bool]]: "\n \n " return pulumi.get(self, 'update_auto_learn_policy')
def __init__(__self__, *, disk_encryption_key: Optional[pulumi.Input['CustomerEncryptionKeyArgs']]=None, source_disk: Optional[pulumi.Input[str]]=None): "\n :param pulumi.Input['CustomerEncryptionKeyArgs'] disk_encryption_key: The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.\n :param pulumi.Input[str] source_disk: URL of the disk attached to the source instance. This can be a full or valid partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk \n " if (disk_encryption_key is not None): pulumi.set(__self__, 'disk_encryption_key', disk_encryption_key) if (source_disk is not None): pulumi.set(__self__, 'source_disk', source_disk)
-700,020,588,808,663,000
:param pulumi.Input['CustomerEncryptionKeyArgs'] disk_encryption_key: The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. :param pulumi.Input[str] source_disk: URL of the disk attached to the source instance. This can be a full or valid partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, disk_encryption_key: Optional[pulumi.Input['CustomerEncryptionKeyArgs']]=None, source_disk: Optional[pulumi.Input[str]]=None): "\n :param pulumi.Input['CustomerEncryptionKeyArgs'] disk_encryption_key: The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.\n :param pulumi.Input[str] source_disk: URL of the disk attached to the source instance. This can be a full or valid partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk \n " if (disk_encryption_key is not None): pulumi.set(__self__, 'disk_encryption_key', disk_encryption_key) if (source_disk is not None): pulumi.set(__self__, 'source_disk', source_disk)
@property @pulumi.getter(name='diskEncryptionKey') def disk_encryption_key(self) -> Optional[pulumi.Input['CustomerEncryptionKeyArgs']]: '\n The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.\n ' return pulumi.get(self, 'disk_encryption_key')
-8,389,850,591,195,317,000
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
disk_encryption_key
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='diskEncryptionKey') def disk_encryption_key(self) -> Optional[pulumi.Input['CustomerEncryptionKeyArgs']]: '\n \n ' return pulumi.get(self, 'disk_encryption_key')
@property @pulumi.getter(name='sourceDisk') def source_disk(self) -> Optional[pulumi.Input[str]]: '\n URL of the disk attached to the source instance. This can be a full or valid partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk \n ' return pulumi.get(self, 'source_disk')
6,919,673,312,146,760,000
URL of the disk attached to the source instance. This can be a full or valid partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
source_disk
AaronFriel/pulumi-google-native
python
@property @pulumi.getter(name='sourceDisk') def source_disk(self) -> Optional[pulumi.Input[str]]: '\n \n ' return pulumi.get(self, 'source_disk')
def __init__(__self__, *, disk_configs: Optional[pulumi.Input[Sequence[pulumi.Input['DiskInstantiationConfigArgs']]]]=None): "\n A specification of the parameters to use when creating the instance template from a source instance.\n :param pulumi.Input[Sequence[pulumi.Input['DiskInstantiationConfigArgs']]] disk_configs: Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.\n " if (disk_configs is not None): pulumi.set(__self__, 'disk_configs', disk_configs)
1,774,441,028,132,127,700
A specification of the parameters to use when creating the instance template from a source instance. :param pulumi.Input[Sequence[pulumi.Input['DiskInstantiationConfigArgs']]] disk_configs: Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.
sdk/python/pulumi_google_native/compute/alpha/_inputs.py
__init__
AaronFriel/pulumi-google-native
python
def __init__(__self__, *, disk_configs: Optional[pulumi.Input[Sequence[pulumi.Input['DiskInstantiationConfigArgs']]]]=None): "\n A specification of the parameters to use when creating the instance template from a source instance.\n :param pulumi.Input[Sequence[pulumi.Input['DiskInstantiationConfigArgs']]] disk_configs: Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes.\n " if (disk_configs is not None): pulumi.set(__self__, 'disk_configs', disk_configs)