1. Packages
  2. Hpegl Provider
  3. API Docs
  4. getVmaasLoadBalancerVirtualServerSslCert
hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe

hpegl.getVmaasLoadBalancerVirtualServerSslCert

Explore with Pulumi AI

hpegl logo
hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe

    The hpegl.getVmaasLoadBalancerVirtualServerSslCert data source can be used to discover the ID of a hpegl vmaas network load balancer. This can then be used with resources or data sources

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as hpegl from "@pulumi/hpegl";
    
    const tfSslCert = hpegl.getVmaasLoadBalancerVirtualServerSslCert({
        name: "SSL_CA_certs",
    });
    
    import pulumi
    import pulumi_hpegl as hpegl
    
    tf_ssl_cert = hpegl.get_vmaas_load_balancer_virtual_server_ssl_cert(name="SSL_CA_certs")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/hpegl/hpegl"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hpegl.GetVmaasLoadBalancerVirtualServerSslCert(ctx, &hpegl.GetVmaasLoadBalancerVirtualServerSslCertArgs{
    			Name: "SSL_CA_certs",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Hpegl = Pulumi.Hpegl;
    
    return await Deployment.RunAsync(() => 
    {
        var tfSslCert = Hpegl.GetVmaasLoadBalancerVirtualServerSslCert.Invoke(new()
        {
            Name = "SSL_CA_certs",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.hpegl.HpeglFunctions;
    import com.pulumi.hpegl.inputs.GetVmaasLoadBalancerVirtualServerSslCertArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var tfSslCert = HpeglFunctions.getVmaasLoadBalancerVirtualServerSslCert(GetVmaasLoadBalancerVirtualServerSslCertArgs.builder()
                .name("SSL_CA_certs")
                .build());
    
        }
    }
    
    variables:
      tfSslCert:
        fn::invoke:
          function: hpegl:getVmaasLoadBalancerVirtualServerSslCert
          arguments:
            name: SSL_CA_certs
    

    Using getVmaasLoadBalancerVirtualServerSslCert

    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 getVmaasLoadBalancerVirtualServerSslCert(args: GetVmaasLoadBalancerVirtualServerSslCertArgs, opts?: InvokeOptions): Promise<GetVmaasLoadBalancerVirtualServerSslCertResult>
    function getVmaasLoadBalancerVirtualServerSslCertOutput(args: GetVmaasLoadBalancerVirtualServerSslCertOutputArgs, opts?: InvokeOptions): Output<GetVmaasLoadBalancerVirtualServerSslCertResult>
    def get_vmaas_load_balancer_virtual_server_ssl_cert(name: Optional[str] = None,
                                                        opts: Optional[InvokeOptions] = None) -> GetVmaasLoadBalancerVirtualServerSslCertResult
    def get_vmaas_load_balancer_virtual_server_ssl_cert_output(name: Optional[pulumi.Input[str]] = None,
                                                        opts: Optional[InvokeOptions] = None) -> Output[GetVmaasLoadBalancerVirtualServerSslCertResult]
    func GetVmaasLoadBalancerVirtualServerSslCert(ctx *Context, args *GetVmaasLoadBalancerVirtualServerSslCertArgs, opts ...InvokeOption) (*GetVmaasLoadBalancerVirtualServerSslCertResult, error)
    func GetVmaasLoadBalancerVirtualServerSslCertOutput(ctx *Context, args *GetVmaasLoadBalancerVirtualServerSslCertOutputArgs, opts ...InvokeOption) GetVmaasLoadBalancerVirtualServerSslCertResultOutput

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

    public static class GetVmaasLoadBalancerVirtualServerSslCert 
    {
        public static Task<GetVmaasLoadBalancerVirtualServerSslCertResult> InvokeAsync(GetVmaasLoadBalancerVirtualServerSslCertArgs args, InvokeOptions? opts = null)
        public static Output<GetVmaasLoadBalancerVirtualServerSslCertResult> Invoke(GetVmaasLoadBalancerVirtualServerSslCertInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVmaasLoadBalancerVirtualServerSslCertResult> getVmaasLoadBalancerVirtualServerSslCert(GetVmaasLoadBalancerVirtualServerSslCertArgs args, InvokeOptions options)
    public static Output<GetVmaasLoadBalancerVirtualServerSslCertResult> getVmaasLoadBalancerVirtualServerSslCert(GetVmaasLoadBalancerVirtualServerSslCertArgs args, InvokeOptions options)
    
    fn::invoke:
      function: hpegl:index/getVmaasLoadBalancerVirtualServerSslCert:getVmaasLoadBalancerVirtualServerSslCert
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Name of the LoadBalancer SSLCAcerts as it appears on HPE GreenLake for private cloud dashboard. If there is no LoadBalancer SSLCAcerts with this name, a 'NOT FOUND' error will returned.
    Name string
    Name of the LoadBalancer SSLCAcerts as it appears on HPE GreenLake for private cloud dashboard. If there is no LoadBalancer SSLCAcerts with this name, a 'NOT FOUND' error will returned.
    name String
    Name of the LoadBalancer SSLCAcerts as it appears on HPE GreenLake for private cloud dashboard. If there is no LoadBalancer SSLCAcerts with this name, a 'NOT FOUND' error will returned.
    name string
    Name of the LoadBalancer SSLCAcerts as it appears on HPE GreenLake for private cloud dashboard. If there is no LoadBalancer SSLCAcerts with this name, a 'NOT FOUND' error will returned.
    name str
    Name of the LoadBalancer SSLCAcerts as it appears on HPE GreenLake for private cloud dashboard. If there is no LoadBalancer SSLCAcerts with this name, a 'NOT FOUND' error will returned.
    name String
    Name of the LoadBalancer SSLCAcerts as it appears on HPE GreenLake for private cloud dashboard. If there is no LoadBalancer SSLCAcerts with this name, a 'NOT FOUND' error will returned.

    getVmaasLoadBalancerVirtualServerSslCert Result

    The following output properties are available:

    Id double
    Parent ID, id can be obtained by using LB datasource/resource.
    Name string
    Name of the LoadBalancer SSLCAcerts as it appears on HPE GreenLake for private cloud dashboard. If there is no LoadBalancer SSLCAcerts with this name, a 'NOT FOUND' error will returned.
    Id float64
    Parent ID, id can be obtained by using LB datasource/resource.
    Name string
    Name of the LoadBalancer SSLCAcerts as it appears on HPE GreenLake for private cloud dashboard. If there is no LoadBalancer SSLCAcerts with this name, a 'NOT FOUND' error will returned.
    id Double
    Parent ID, id can be obtained by using LB datasource/resource.
    name String
    Name of the LoadBalancer SSLCAcerts as it appears on HPE GreenLake for private cloud dashboard. If there is no LoadBalancer SSLCAcerts with this name, a 'NOT FOUND' error will returned.
    id number
    Parent ID, id can be obtained by using LB datasource/resource.
    name string
    Name of the LoadBalancer SSLCAcerts as it appears on HPE GreenLake for private cloud dashboard. If there is no LoadBalancer SSLCAcerts with this name, a 'NOT FOUND' error will returned.
    id float
    Parent ID, id can be obtained by using LB datasource/resource.
    name str
    Name of the LoadBalancer SSLCAcerts as it appears on HPE GreenLake for private cloud dashboard. If there is no LoadBalancer SSLCAcerts with this name, a 'NOT FOUND' error will returned.
    id Number
    Parent ID, id can be obtained by using LB datasource/resource.
    name String
    Name of the LoadBalancer SSLCAcerts as it appears on HPE GreenLake for private cloud dashboard. If there is no LoadBalancer SSLCAcerts with this name, a 'NOT FOUND' error will returned.

    Package Details

    Repository
    hpegl hpe/terraform-provider-hpegl
    License
    Notes
    This Pulumi package is based on the hpegl Terraform Provider.
    hpegl logo
    hpegl 0.4.18 published on Friday, Apr 18, 2025 by hpe