1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/v1
  6. getSslPolicy

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/v1.getSslPolicy

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 getSslPolicy

    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 getSslPolicy(args: GetSslPolicyArgs, opts?: InvokeOptions): Promise<GetSslPolicyResult>
    function getSslPolicyOutput(args: GetSslPolicyOutputArgs, opts?: InvokeOptions): Output<GetSslPolicyResult>
    def get_ssl_policy(project: Optional[str] = None,
                       ssl_policy: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetSslPolicyResult
    def get_ssl_policy_output(project: Optional[pulumi.Input[str]] = None,
                       ssl_policy: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetSslPolicyResult]
    func LookupSslPolicy(ctx *Context, args *LookupSslPolicyArgs, opts ...InvokeOption) (*LookupSslPolicyResult, error)
    func LookupSslPolicyOutput(ctx *Context, args *LookupSslPolicyOutputArgs, opts ...InvokeOption) LookupSslPolicyResultOutput

    > Note: This function is named LookupSslPolicy in the Go SDK.

    public static class GetSslPolicy 
    {
        public static Task<GetSslPolicyResult> InvokeAsync(GetSslPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetSslPolicyResult> Invoke(GetSslPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSslPolicyResult> getSslPolicy(GetSslPolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:compute/v1:getSslPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SslPolicy string
    Project string
    SslPolicy string
    Project string
    sslPolicy String
    project String
    sslPolicy string
    project string
    sslPolicy String
    project String

    getSslPolicy 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.V1.Outputs.SslPolicyWarningsItemResponse>
    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 []SslPolicyWarningsItemResponse
    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<SslPolicyWarningsItemResponse>
    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 SslPolicyWarningsItemResponse[]
    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[SslPolicyWarningsItemResponse]
    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

    SslPolicyWarningsItemDataItemResponse

    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.

    SslPolicyWarningsItemResponse

    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.V1.Inputs.SslPolicyWarningsItemDataItemResponse>
    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 []SslPolicyWarningsItemDataItemResponse
    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<SslPolicyWarningsItemDataItemResponse>
    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 SslPolicyWarningsItemDataItemResponse[]
    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[SslPolicyWarningsItemDataItemResponse]
    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