1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. vpn
  5. SslVpnClientCert
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi

alicloud.vpn.SslVpnClientCert

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi

    Example Usage

    Basic Usage

    Create SslVpnClientCert Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SslVpnClientCert(name: string, args: SslVpnClientCertArgs, opts?: CustomResourceOptions);
    @overload
    def SslVpnClientCert(resource_name: str,
                         args: SslVpnClientCertArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def SslVpnClientCert(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         ssl_vpn_server_id: Optional[str] = None,
                         name: Optional[str] = None)
    func NewSslVpnClientCert(ctx *Context, name string, args SslVpnClientCertArgs, opts ...ResourceOption) (*SslVpnClientCert, error)
    public SslVpnClientCert(string name, SslVpnClientCertArgs args, CustomResourceOptions? opts = null)
    public SslVpnClientCert(String name, SslVpnClientCertArgs args)
    public SslVpnClientCert(String name, SslVpnClientCertArgs args, CustomResourceOptions options)
    
    type: alicloud:vpn:SslVpnClientCert
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SslVpnClientCertArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SslVpnClientCertArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SslVpnClientCertArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SslVpnClientCertArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SslVpnClientCertArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var sslVpnClientCertResource = new AliCloud.Vpn.SslVpnClientCert("sslVpnClientCertResource", new()
    {
        SslVpnServerId = "string",
        Name = "string",
    });
    
    example, err := vpn.NewSslVpnClientCert(ctx, "sslVpnClientCertResource", &vpn.SslVpnClientCertArgs{
    	SslVpnServerId: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    })
    
    var sslVpnClientCertResource = new SslVpnClientCert("sslVpnClientCertResource", SslVpnClientCertArgs.builder()        
        .sslVpnServerId("string")
        .name("string")
        .build());
    
    ssl_vpn_client_cert_resource = alicloud.vpn.SslVpnClientCert("sslVpnClientCertResource",
        ssl_vpn_server_id="string",
        name="string")
    
    const sslVpnClientCertResource = new alicloud.vpn.SslVpnClientCert("sslVpnClientCertResource", {
        sslVpnServerId: "string",
        name: "string",
    });
    
    type: alicloud:vpn:SslVpnClientCert
    properties:
        name: string
        sslVpnServerId: string
    

    SslVpnClientCert Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SslVpnClientCert resource accepts the following input properties:

    SslVpnServerId string
    The ID of the SSL-VPN server.
    Name string
    The name of the client certificate.
    SslVpnServerId string
    The ID of the SSL-VPN server.
    Name string
    The name of the client certificate.
    sslVpnServerId String
    The ID of the SSL-VPN server.
    name String
    The name of the client certificate.
    sslVpnServerId string
    The ID of the SSL-VPN server.
    name string
    The name of the client certificate.
    ssl_vpn_server_id str
    The ID of the SSL-VPN server.
    name str
    The name of the client certificate.
    sslVpnServerId String
    The ID of the SSL-VPN server.
    name String
    The name of the client certificate.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SslVpnClientCert resource produces the following output properties:

    CaCert string
    The client ca cert.
    ClientCert string
    The client cert.
    ClientConfig string
    The vpn client config.
    ClientKey string
    The client key.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the client certificate.
    CaCert string
    The client ca cert.
    ClientCert string
    The client cert.
    ClientConfig string
    The vpn client config.
    ClientKey string
    The client key.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the client certificate.
    caCert String
    The client ca cert.
    clientCert String
    The client cert.
    clientConfig String
    The vpn client config.
    clientKey String
    The client key.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the client certificate.
    caCert string
    The client ca cert.
    clientCert string
    The client cert.
    clientConfig string
    The vpn client config.
    clientKey string
    The client key.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the client certificate.
    ca_cert str
    The client ca cert.
    client_cert str
    The client cert.
    client_config str
    The vpn client config.
    client_key str
    The client key.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the client certificate.
    caCert String
    The client ca cert.
    clientCert String
    The client cert.
    clientConfig String
    The vpn client config.
    clientKey String
    The client key.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the client certificate.

    Look up Existing SslVpnClientCert Resource

    Get an existing SslVpnClientCert resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SslVpnClientCertState, opts?: CustomResourceOptions): SslVpnClientCert
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ca_cert: Optional[str] = None,
            client_cert: Optional[str] = None,
            client_config: Optional[str] = None,
            client_key: Optional[str] = None,
            name: Optional[str] = None,
            ssl_vpn_server_id: Optional[str] = None,
            status: Optional[str] = None) -> SslVpnClientCert
    func GetSslVpnClientCert(ctx *Context, name string, id IDInput, state *SslVpnClientCertState, opts ...ResourceOption) (*SslVpnClientCert, error)
    public static SslVpnClientCert Get(string name, Input<string> id, SslVpnClientCertState? state, CustomResourceOptions? opts = null)
    public static SslVpnClientCert get(String name, Output<String> id, SslVpnClientCertState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CaCert string
    The client ca cert.
    ClientCert string
    The client cert.
    ClientConfig string
    The vpn client config.
    ClientKey string
    The client key.
    Name string
    The name of the client certificate.
    SslVpnServerId string
    The ID of the SSL-VPN server.
    Status string
    The status of the client certificate.
    CaCert string
    The client ca cert.
    ClientCert string
    The client cert.
    ClientConfig string
    The vpn client config.
    ClientKey string
    The client key.
    Name string
    The name of the client certificate.
    SslVpnServerId string
    The ID of the SSL-VPN server.
    Status string
    The status of the client certificate.
    caCert String
    The client ca cert.
    clientCert String
    The client cert.
    clientConfig String
    The vpn client config.
    clientKey String
    The client key.
    name String
    The name of the client certificate.
    sslVpnServerId String
    The ID of the SSL-VPN server.
    status String
    The status of the client certificate.
    caCert string
    The client ca cert.
    clientCert string
    The client cert.
    clientConfig string
    The vpn client config.
    clientKey string
    The client key.
    name string
    The name of the client certificate.
    sslVpnServerId string
    The ID of the SSL-VPN server.
    status string
    The status of the client certificate.
    ca_cert str
    The client ca cert.
    client_cert str
    The client cert.
    client_config str
    The vpn client config.
    client_key str
    The client key.
    name str
    The name of the client certificate.
    ssl_vpn_server_id str
    The ID of the SSL-VPN server.
    status str
    The status of the client certificate.
    caCert String
    The client ca cert.
    clientCert String
    The client cert.
    clientConfig String
    The vpn client config.
    clientKey String
    The client key.
    name String
    The name of the client certificate.
    sslVpnServerId String
    The ID of the SSL-VPN server.
    status String
    The status of the client certificate.

    Import

    SSL-VPN client certificates can be imported using the id, e.g.

    $ pulumi import alicloud:vpn/sslVpnClientCert:SslVpnClientCert example vsc-abc123456
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi