alicloud.vpn.SslVpnClientCert
Explore with Pulumi AI
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.
Constructor 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:
- Ssl
Vpn stringServer Id - The ID of the SSL-VPN server.
- Name string
- The name of the client certificate.
- Ssl
Vpn stringServer Id - The ID of the SSL-VPN server.
- Name string
- The name of the client certificate.
- ssl
Vpn StringServer Id - The ID of the SSL-VPN server.
- name String
- The name of the client certificate.
- ssl
Vpn stringServer Id - The ID of the SSL-VPN server.
- name string
- The name of the client certificate.
- ssl_
vpn_ strserver_ id - The ID of the SSL-VPN server.
- name str
- The name of the client certificate.
- ssl
Vpn StringServer Id - 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:
- Ca
Cert string - The client ca cert.
- Client
Cert string - The client cert.
- Client
Config string - The vpn client config.
- Client
Key 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 string - The client ca cert.
- Client
Cert string - The client cert.
- Client
Config string - The vpn client config.
- Client
Key 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 String - The client ca cert.
- client
Cert String - The client cert.
- client
Config String - The vpn client config.
- client
Key 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 string - The client ca cert.
- client
Cert string - The client cert.
- client
Config string - The vpn client config.
- client
Key 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.
- ca
Cert String - The client ca cert.
- client
Cert String - The client cert.
- client
Config String - The vpn client config.
- client
Key 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.
- Ca
Cert string - The client ca cert.
- Client
Cert string - The client cert.
- Client
Config string - The vpn client config.
- Client
Key string - The client key.
- Name string
- The name of the client certificate.
- Ssl
Vpn stringServer Id - The ID of the SSL-VPN server.
- Status string
- The status of the client certificate.
- Ca
Cert string - The client ca cert.
- Client
Cert string - The client cert.
- Client
Config string - The vpn client config.
- Client
Key string - The client key.
- Name string
- The name of the client certificate.
- Ssl
Vpn stringServer Id - The ID of the SSL-VPN server.
- Status string
- The status of the client certificate.
- ca
Cert String - The client ca cert.
- client
Cert String - The client cert.
- client
Config String - The vpn client config.
- client
Key String - The client key.
- name String
- The name of the client certificate.
- ssl
Vpn StringServer Id - The ID of the SSL-VPN server.
- status String
- The status of the client certificate.
- ca
Cert string - The client ca cert.
- client
Cert string - The client cert.
- client
Config string - The vpn client config.
- client
Key string - The client key.
- name string
- The name of the client certificate.
- ssl
Vpn stringServer Id - 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_ strserver_ id - The ID of the SSL-VPN server.
- status str
- The status of the client certificate.
- ca
Cert String - The client ca cert.
- client
Cert String - The client cert.
- client
Config String - The vpn client config.
- client
Key String - The client key.
- name String
- The name of the client certificate.
- ssl
Vpn StringServer Id - 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.