Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.compute/beta.getRegionSslPolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Lists all of the ordered rules present in a single specified policy.
Using getRegionSslPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRegionSslPolicy(args: GetRegionSslPolicyArgs, opts?: InvokeOptions): Promise<GetRegionSslPolicyResult>
function getRegionSslPolicyOutput(args: GetRegionSslPolicyOutputArgs, opts?: InvokeOptions): Output<GetRegionSslPolicyResult>
def get_region_ssl_policy(project: Optional[str] = None,
region: Optional[str] = None,
ssl_policy: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegionSslPolicyResult
def get_region_ssl_policy_output(project: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
ssl_policy: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegionSslPolicyResult]
func LookupRegionSslPolicy(ctx *Context, args *LookupRegionSslPolicyArgs, opts ...InvokeOption) (*LookupRegionSslPolicyResult, error)
func LookupRegionSslPolicyOutput(ctx *Context, args *LookupRegionSslPolicyOutputArgs, opts ...InvokeOption) LookupRegionSslPolicyResultOutput
> Note: This function is named LookupRegionSslPolicy
in the Go SDK.
public static class GetRegionSslPolicy
{
public static Task<GetRegionSslPolicyResult> InvokeAsync(GetRegionSslPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetRegionSslPolicyResult> Invoke(GetRegionSslPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRegionSslPolicyResult> getRegionSslPolicy(GetRegionSslPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:compute/beta:getRegionSslPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- region str
- ssl_
policy str - project str
getRegionSslPolicy Result
The following output properties are available:
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Custom
Features List<string> - A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Enabled
Features List<string> - The list of features enabled in the SSL policy.
- Fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
- Kind string
- [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
- Min
Tls stringVersion - The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
- Name string
- Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Profile string
- Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
- Region string
- URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
- Self
Link string - Server-defined URL for the resource.
- Warnings
List<Pulumi.
Google Native. Compute. Beta. Outputs. Region Ssl Policy Warnings Item Response> - If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Custom
Features []string - A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Enabled
Features []string - The list of features enabled in the SSL policy.
- Fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
- Kind string
- [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
- Min
Tls stringVersion - The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
- Name string
- Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Profile string
- Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
- Region string
- URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
- Self
Link string - Server-defined URL for the resource.
- Warnings
[]Region
Ssl Policy Warnings Item Response - If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- custom
Features List<String> - A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- enabled
Features List<String> - The list of features enabled in the SSL policy.
- fingerprint String
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
- kind String
- [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
- min
Tls StringVersion - The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
- name String
- Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - profile String
- Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
- region String
- URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
- self
Link String - Server-defined URL for the resource.
- warnings
List<Region
Ssl Policy Warnings Item Response> - If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- custom
Features string[] - A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- enabled
Features string[] - The list of features enabled in the SSL policy.
- fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
- kind string
- [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
- min
Tls stringVersion - The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
- name string
- Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - profile string
- Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
- region string
- URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
- self
Link string - Server-defined URL for the resource.
- warnings
Region
Ssl Policy Warnings Item Response[] - If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- custom_
features Sequence[str] - A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
- description str
- An optional description of this resource. Provide this property when you create the resource.
- enabled_
features Sequence[str] - The list of features enabled in the SSL policy.
- fingerprint str
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
- kind str
- [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
- min_
tls_ strversion - The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
- name str
- Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - profile str
- Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
- region str
- URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
- self_
link str - Server-defined URL for the resource.
- warnings
Sequence[Region
Ssl Policy Warnings Item Response] - If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- custom
Features List<String> - A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- enabled
Features List<String> - The list of features enabled in the SSL policy.
- fingerprint String
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
- kind String
- [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
- min
Tls StringVersion - The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
- name String
- Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - profile String
- Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
- region String
- URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
- self
Link String - Server-defined URL for the resource.
- warnings List<Property Map>
- If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
Supporting Types
RegionSslPolicyWarningsItemDataItemResponse
- Key string
- A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
- Value string
- A warning data value corresponding to the key.
- Key string
- A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
- Value string
- A warning data value corresponding to the key.
- key String
- A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
- value String
- A warning data value corresponding to the key.
- key string
- A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
- value string
- A warning data value corresponding to the key.
- key str
- A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
- value str
- A warning data value corresponding to the key.
- key String
- A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
- value String
- A warning data value corresponding to the key.
RegionSslPolicyWarningsItemResponse
- Code string
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- Data
List<Pulumi.
Google Native. Compute. Beta. Inputs. Region Ssl Policy Warnings Item Data Item Response> - Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
- Message string
- A human-readable description of the warning code.
- Code string
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- Data
[]Region
Ssl Policy Warnings Item Data Item Response - Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
- Message string
- A human-readable description of the warning code.
- code String
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- data
List<Region
Ssl Policy Warnings Item Data Item Response> - Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
- message String
- A human-readable description of the warning code.
- code string
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- data
Region
Ssl Policy Warnings Item Data Item Response[] - Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
- message string
- A human-readable description of the warning code.
- code str
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- data
Sequence[Region
Ssl Policy Warnings Item Data Item Response] - Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
- message str
- A human-readable description of the warning code.
- code String
- A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
- data List<Property Map>
- Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" }
- message String
- A human-readable description of the warning code.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi