incapsula.MtlsClientToImpervaCaCertificate
Explore with Pulumi AI
Import
Your Incapsula Mutual TLS Imperva to Origin Certificate can be imported using account_id
and certificate_id
:
$ pulumi import incapsula:index/mtlsClientToImpervaCaCertificate:MtlsClientToImpervaCaCertificate client_ca_certificate_1 account_id/certificate_id
Create MtlsClientToImpervaCaCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MtlsClientToImpervaCaCertificate(name: string, args: MtlsClientToImpervaCaCertificateArgs, opts?: CustomResourceOptions);
@overload
def MtlsClientToImpervaCaCertificate(resource_name: str,
args: MtlsClientToImpervaCaCertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MtlsClientToImpervaCaCertificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
certificate: Optional[str] = None,
certificate_name: Optional[str] = None,
mtls_client_to_imperva_ca_certificate_id: Optional[str] = None)
func NewMtlsClientToImpervaCaCertificate(ctx *Context, name string, args MtlsClientToImpervaCaCertificateArgs, opts ...ResourceOption) (*MtlsClientToImpervaCaCertificate, error)
public MtlsClientToImpervaCaCertificate(string name, MtlsClientToImpervaCaCertificateArgs args, CustomResourceOptions? opts = null)
public MtlsClientToImpervaCaCertificate(String name, MtlsClientToImpervaCaCertificateArgs args)
public MtlsClientToImpervaCaCertificate(String name, MtlsClientToImpervaCaCertificateArgs args, CustomResourceOptions options)
type: incapsula:MtlsClientToImpervaCaCertificate
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 MtlsClientToImpervaCaCertificateArgs
- 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 MtlsClientToImpervaCaCertificateArgs
- 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 MtlsClientToImpervaCaCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MtlsClientToImpervaCaCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MtlsClientToImpervaCaCertificateArgs
- 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 mtlsClientToImpervaCaCertificateResource = new Incapsula.MtlsClientToImpervaCaCertificate("mtlsClientToImpervaCaCertificateResource", new()
{
AccountId = "string",
Certificate = "string",
CertificateName = "string",
MtlsClientToImpervaCaCertificateId = "string",
});
example, err := incapsula.NewMtlsClientToImpervaCaCertificate(ctx, "mtlsClientToImpervaCaCertificateResource", &incapsula.MtlsClientToImpervaCaCertificateArgs{
AccountId: pulumi.String("string"),
Certificate: pulumi.String("string"),
CertificateName: pulumi.String("string"),
MtlsClientToImpervaCaCertificateId: pulumi.String("string"),
})
var mtlsClientToImpervaCaCertificateResource = new MtlsClientToImpervaCaCertificate("mtlsClientToImpervaCaCertificateResource", MtlsClientToImpervaCaCertificateArgs.builder()
.accountId("string")
.certificate("string")
.certificateName("string")
.mtlsClientToImpervaCaCertificateId("string")
.build());
mtls_client_to_imperva_ca_certificate_resource = incapsula.MtlsClientToImpervaCaCertificate("mtlsClientToImpervaCaCertificateResource",
account_id="string",
certificate="string",
certificate_name="string",
mtls_client_to_imperva_ca_certificate_id="string")
const mtlsClientToImpervaCaCertificateResource = new incapsula.MtlsClientToImpervaCaCertificate("mtlsClientToImpervaCaCertificateResource", {
accountId: "string",
certificate: "string",
certificateName: "string",
mtlsClientToImpervaCaCertificateId: "string",
});
type: incapsula:MtlsClientToImpervaCaCertificate
properties:
accountId: string
certificate: string
certificateName: string
mtlsClientToImpervaCaCertificateId: string
MtlsClientToImpervaCaCertificate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MtlsClientToImpervaCaCertificate resource accepts the following input properties:
- Account
Id string - Numeric identifier of the account to operate on.
- Certificate string
- The certificate file in base64 format.
- Certificate
Name string - A descriptive name for your mTLS Client Certificate.
- Mtls
Client stringTo Imperva Ca Certificate Id - Unique identifier of the Mutual TLS Imperva to Origin Certificate.
- Account
Id string - Numeric identifier of the account to operate on.
- Certificate string
- The certificate file in base64 format.
- Certificate
Name string - A descriptive name for your mTLS Client Certificate.
- Mtls
Client stringTo Imperva Ca Certificate Id - Unique identifier of the Mutual TLS Imperva to Origin Certificate.
- account
Id String - Numeric identifier of the account to operate on.
- certificate String
- The certificate file in base64 format.
- certificate
Name String - A descriptive name for your mTLS Client Certificate.
- mtls
Client StringTo Imperva Ca Certificate Id - Unique identifier of the Mutual TLS Imperva to Origin Certificate.
- account
Id string - Numeric identifier of the account to operate on.
- certificate string
- The certificate file in base64 format.
- certificate
Name string - A descriptive name for your mTLS Client Certificate.
- mtls
Client stringTo Imperva Ca Certificate Id - Unique identifier of the Mutual TLS Imperva to Origin Certificate.
- account_
id str - Numeric identifier of the account to operate on.
- certificate str
- The certificate file in base64 format.
- certificate_
name str - A descriptive name for your mTLS Client Certificate.
- mtls_
client_ strto_ imperva_ ca_ certificate_ id - Unique identifier of the Mutual TLS Imperva to Origin Certificate.
- account
Id String - Numeric identifier of the account to operate on.
- certificate String
- The certificate file in base64 format.
- certificate
Name String - A descriptive name for your mTLS Client Certificate.
- mtls
Client StringTo Imperva Ca Certificate Id - Unique identifier of the Mutual TLS Imperva to Origin Certificate.
Outputs
All input properties are implicitly available as output properties. Additionally, the MtlsClientToImpervaCaCertificate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MtlsClientToImpervaCaCertificate Resource
Get an existing MtlsClientToImpervaCaCertificate 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?: MtlsClientToImpervaCaCertificateState, opts?: CustomResourceOptions): MtlsClientToImpervaCaCertificate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
certificate: Optional[str] = None,
certificate_name: Optional[str] = None,
mtls_client_to_imperva_ca_certificate_id: Optional[str] = None) -> MtlsClientToImpervaCaCertificate
func GetMtlsClientToImpervaCaCertificate(ctx *Context, name string, id IDInput, state *MtlsClientToImpervaCaCertificateState, opts ...ResourceOption) (*MtlsClientToImpervaCaCertificate, error)
public static MtlsClientToImpervaCaCertificate Get(string name, Input<string> id, MtlsClientToImpervaCaCertificateState? state, CustomResourceOptions? opts = null)
public static MtlsClientToImpervaCaCertificate get(String name, Output<String> id, MtlsClientToImpervaCaCertificateState state, CustomResourceOptions options)
resources: _: type: incapsula:MtlsClientToImpervaCaCertificate get: id: ${id}
- 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.
- Account
Id string - Numeric identifier of the account to operate on.
- Certificate string
- The certificate file in base64 format.
- Certificate
Name string - A descriptive name for your mTLS Client Certificate.
- Mtls
Client stringTo Imperva Ca Certificate Id - Unique identifier of the Mutual TLS Imperva to Origin Certificate.
- Account
Id string - Numeric identifier of the account to operate on.
- Certificate string
- The certificate file in base64 format.
- Certificate
Name string - A descriptive name for your mTLS Client Certificate.
- Mtls
Client stringTo Imperva Ca Certificate Id - Unique identifier of the Mutual TLS Imperva to Origin Certificate.
- account
Id String - Numeric identifier of the account to operate on.
- certificate String
- The certificate file in base64 format.
- certificate
Name String - A descriptive name for your mTLS Client Certificate.
- mtls
Client StringTo Imperva Ca Certificate Id - Unique identifier of the Mutual TLS Imperva to Origin Certificate.
- account
Id string - Numeric identifier of the account to operate on.
- certificate string
- The certificate file in base64 format.
- certificate
Name string - A descriptive name for your mTLS Client Certificate.
- mtls
Client stringTo Imperva Ca Certificate Id - Unique identifier of the Mutual TLS Imperva to Origin Certificate.
- account_
id str - Numeric identifier of the account to operate on.
- certificate str
- The certificate file in base64 format.
- certificate_
name str - A descriptive name for your mTLS Client Certificate.
- mtls_
client_ strto_ imperva_ ca_ certificate_ id - Unique identifier of the Mutual TLS Imperva to Origin Certificate.
- account
Id String - Numeric identifier of the account to operate on.
- certificate String
- The certificate file in base64 format.
- certificate
Name String - A descriptive name for your mTLS Client Certificate.
- mtls
Client StringTo Imperva Ca Certificate Id - Unique identifier of the Mutual TLS Imperva to Origin Certificate.
Package Details
- Repository
- incapsula imperva/terraform-provider-incapsula
- License
- Notes
- This Pulumi package is based on the
incapsula
Terraform Provider.