1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/beta
  6. getRegionSslPolicy

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-native logo

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 string
    SslPolicy string
    Project string
    Region string
    SslPolicy string
    Project string
    region String
    sslPolicy String
    project String
    region string
    sslPolicy string
    project string
    region String
    sslPolicy String
    project String

    getRegionSslPolicy Result

    The following output properties are available:

    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    CustomFeatures 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.
    EnabledFeatures 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.
    MinTlsVersion string
    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.
    SelfLink string
    Server-defined URL for the resource.
    Warnings List<Pulumi.GoogleNative.Compute.Beta.Outputs.RegionSslPolicyWarningsItemResponse>
    If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    CustomFeatures []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.
    EnabledFeatures []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.
    MinTlsVersion string
    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.
    SelfLink string
    Server-defined URL for the resource.
    Warnings []RegionSslPolicyWarningsItemResponse
    If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    customFeatures 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.
    enabledFeatures 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.
    minTlsVersion String
    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.
    selfLink String
    Server-defined URL for the resource.
    warnings List<RegionSslPolicyWarningsItemResponse>
    If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
    creationTimestamp string
    Creation timestamp in RFC3339 text format.
    customFeatures 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.
    enabledFeatures 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.
    minTlsVersion string
    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.
    selfLink string
    Server-defined URL for the resource.
    warnings RegionSslPolicyWarningsItemResponse[]
    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_version str
    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[RegionSslPolicyWarningsItemResponse]
    If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    customFeatures 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.
    enabledFeatures 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.
    minTlsVersion String
    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.
    selfLink 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.GoogleNative.Compute.Beta.Inputs.RegionSslPolicyWarningsItemDataItemResponse>
    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 []RegionSslPolicyWarningsItemDataItemResponse
    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<RegionSslPolicyWarningsItemDataItemResponse>
    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 RegionSslPolicyWarningsItemDataItemResponse[]
    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[RegionSslPolicyWarningsItemDataItemResponse]
    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-native logo

    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