Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi
gcp.compute.getSSLPolicy
Explore with Pulumi AI
Gets an SSL Policy within GCE from its name, for use with Target HTTPS and Target SSL Proxies. For more information see the official documentation.
Example Usage
data "google_compute_ssl_policy" "my-ssl-policy" {
name = "production-ssl-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(name: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSSLPolicyResult
def get_ssl_policy_output(name: Optional[pulumi.Input[str]] = None,
project: 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: gcp:compute/getSSLPolicy:getSSLPolicy
arguments:
# arguments dictionary
The following arguments are supported:
getSSLPolicy Result
The following output properties are available:
- Creation
Timestamp string - Custom
Features List<string> - If the
profile
isCUSTOM
, these are the custom encryption ciphers supported by the profile. If theprofile
is notCUSTOM
, this attribute will be empty. - Description string
- Description of this SSL Policy.
- Enabled
Features List<string> - The set of enabled encryption ciphers as a result of the policy config
- Fingerprint string
- Fingerprint of this resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Min
Tls stringVersion - The minimum supported TLS version of this policy.
- Name string
- Profile string
- The Google-curated or custom profile used by this policy.
- Self
Link string - The URI of the created resource.
- Project string
- Creation
Timestamp string - Custom
Features []string - If the
profile
isCUSTOM
, these are the custom encryption ciphers supported by the profile. If theprofile
is notCUSTOM
, this attribute will be empty. - Description string
- Description of this SSL Policy.
- Enabled
Features []string - The set of enabled encryption ciphers as a result of the policy config
- Fingerprint string
- Fingerprint of this resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Min
Tls stringVersion - The minimum supported TLS version of this policy.
- Name string
- Profile string
- The Google-curated or custom profile used by this policy.
- Self
Link string - The URI of the created resource.
- Project string
- creation
Timestamp String - custom
Features List<String> - If the
profile
isCUSTOM
, these are the custom encryption ciphers supported by the profile. If theprofile
is notCUSTOM
, this attribute will be empty. - description String
- Description of this SSL Policy.
- enabled
Features List<String> - The set of enabled encryption ciphers as a result of the policy config
- fingerprint String
- Fingerprint of this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- min
Tls StringVersion - The minimum supported TLS version of this policy.
- name String
- profile String
- The Google-curated or custom profile used by this policy.
- self
Link String - The URI of the created resource.
- project String
- creation
Timestamp string - custom
Features string[] - If the
profile
isCUSTOM
, these are the custom encryption ciphers supported by the profile. If theprofile
is notCUSTOM
, this attribute will be empty. - description string
- Description of this SSL Policy.
- enabled
Features string[] - The set of enabled encryption ciphers as a result of the policy config
- fingerprint string
- Fingerprint of this resource.
- id string
- The provider-assigned unique ID for this managed resource.
- min
Tls stringVersion - The minimum supported TLS version of this policy.
- name string
- profile string
- The Google-curated or custom profile used by this policy.
- self
Link string - The URI of the created resource.
- project string
- creation_
timestamp str - custom_
features Sequence[str] - If the
profile
isCUSTOM
, these are the custom encryption ciphers supported by the profile. If theprofile
is notCUSTOM
, this attribute will be empty. - description str
- Description of this SSL Policy.
- enabled_
features Sequence[str] - The set of enabled encryption ciphers as a result of the policy config
- fingerprint str
- Fingerprint of this resource.
- id str
- The provider-assigned unique ID for this managed resource.
- min_
tls_ strversion - The minimum supported TLS version of this policy.
- name str
- profile str
- The Google-curated or custom profile used by this policy.
- self_
link str - The URI of the created resource.
- project str
- creation
Timestamp String - custom
Features List<String> - If the
profile
isCUSTOM
, these are the custom encryption ciphers supported by the profile. If theprofile
is notCUSTOM
, this attribute will be empty. - description String
- Description of this SSL Policy.
- enabled
Features List<String> - The set of enabled encryption ciphers as a result of the policy config
- fingerprint String
- Fingerprint of this resource.
- id String
- The provider-assigned unique ID for this managed resource.
- min
Tls StringVersion - The minimum supported TLS version of this policy.
- name String
- profile String
- The Google-curated or custom profile used by this policy.
- self
Link String - The URI of the created resource.
- project String
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.