1. Packages
  2. Vcd Provider
  3. API Docs
  4. LibraryCertificate
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.LibraryCertificate

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    Create LibraryCertificate Resource

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

    Constructor syntax

    new LibraryCertificate(name: string, args: LibraryCertificateArgs, opts?: CustomResourceOptions);
    @overload
    def LibraryCertificate(resource_name: str,
                           args: LibraryCertificateArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def LibraryCertificate(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           alias: Optional[str] = None,
                           certificate: Optional[str] = None,
                           description: Optional[str] = None,
                           library_certificate_id: Optional[str] = None,
                           org: Optional[str] = None,
                           private_key: Optional[str] = None,
                           private_key_passphrase: Optional[str] = None)
    func NewLibraryCertificate(ctx *Context, name string, args LibraryCertificateArgs, opts ...ResourceOption) (*LibraryCertificate, error)
    public LibraryCertificate(string name, LibraryCertificateArgs args, CustomResourceOptions? opts = null)
    public LibraryCertificate(String name, LibraryCertificateArgs args)
    public LibraryCertificate(String name, LibraryCertificateArgs args, CustomResourceOptions options)
    
    type: vcd:LibraryCertificate
    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 LibraryCertificateArgs
    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 LibraryCertificateArgs
    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 LibraryCertificateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LibraryCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LibraryCertificateArgs
    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 libraryCertificateResource = new Vcd.LibraryCertificate("libraryCertificateResource", new()
    {
        Alias = "string",
        Certificate = "string",
        Description = "string",
        LibraryCertificateId = "string",
        Org = "string",
        PrivateKey = "string",
        PrivateKeyPassphrase = "string",
    });
    
    example, err := vcd.NewLibraryCertificate(ctx, "libraryCertificateResource", &vcd.LibraryCertificateArgs{
    	Alias:                pulumi.String("string"),
    	Certificate:          pulumi.String("string"),
    	Description:          pulumi.String("string"),
    	LibraryCertificateId: pulumi.String("string"),
    	Org:                  pulumi.String("string"),
    	PrivateKey:           pulumi.String("string"),
    	PrivateKeyPassphrase: pulumi.String("string"),
    })
    
    var libraryCertificateResource = new LibraryCertificate("libraryCertificateResource", LibraryCertificateArgs.builder()
        .alias("string")
        .certificate("string")
        .description("string")
        .libraryCertificateId("string")
        .org("string")
        .privateKey("string")
        .privateKeyPassphrase("string")
        .build());
    
    library_certificate_resource = vcd.LibraryCertificate("libraryCertificateResource",
        alias="string",
        certificate="string",
        description="string",
        library_certificate_id="string",
        org="string",
        private_key="string",
        private_key_passphrase="string")
    
    const libraryCertificateResource = new vcd.LibraryCertificate("libraryCertificateResource", {
        alias: "string",
        certificate: "string",
        description: "string",
        libraryCertificateId: "string",
        org: "string",
        privateKey: "string",
        privateKeyPassphrase: "string",
    });
    
    type: vcd:LibraryCertificate
    properties:
        alias: string
        certificate: string
        description: string
        libraryCertificateId: string
        org: string
        privateKey: string
        privateKeyPassphrase: string
    

    LibraryCertificate 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 LibraryCertificate resource accepts the following input properties:

    Alias string
    Alias of certificate
    Certificate string
    Certificate content
    Description string
    Certificate description
    LibraryCertificateId string
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
    PrivateKey string
    Certificate private key
    PrivateKeyPassphrase string
    Certificate private pass phrase
    Alias string
    Alias of certificate
    Certificate string
    Certificate content
    Description string
    Certificate description
    LibraryCertificateId string
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
    PrivateKey string
    Certificate private key
    PrivateKeyPassphrase string
    Certificate private pass phrase
    alias String
    Alias of certificate
    certificate String
    Certificate content
    description String
    Certificate description
    libraryCertificateId String
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
    privateKey String
    Certificate private key
    privateKeyPassphrase String
    Certificate private pass phrase
    alias string
    Alias of certificate
    certificate string
    Certificate content
    description string
    Certificate description
    libraryCertificateId string
    org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
    privateKey string
    Certificate private key
    privateKeyPassphrase string
    Certificate private pass phrase
    alias str
    Alias of certificate
    certificate str
    Certificate content
    description str
    Certificate description
    library_certificate_id str
    org str
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
    private_key str
    Certificate private key
    private_key_passphrase str
    Certificate private pass phrase
    alias String
    Alias of certificate
    certificate String
    Certificate content
    description String
    Certificate description
    libraryCertificateId String
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
    privateKey String
    Certificate private key
    privateKeyPassphrase String
    Certificate private pass phrase

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LibraryCertificate 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 LibraryCertificate Resource

    Get an existing LibraryCertificate 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?: LibraryCertificateState, opts?: CustomResourceOptions): LibraryCertificate
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alias: Optional[str] = None,
            certificate: Optional[str] = None,
            description: Optional[str] = None,
            library_certificate_id: Optional[str] = None,
            org: Optional[str] = None,
            private_key: Optional[str] = None,
            private_key_passphrase: Optional[str] = None) -> LibraryCertificate
    func GetLibraryCertificate(ctx *Context, name string, id IDInput, state *LibraryCertificateState, opts ...ResourceOption) (*LibraryCertificate, error)
    public static LibraryCertificate Get(string name, Input<string> id, LibraryCertificateState? state, CustomResourceOptions? opts = null)
    public static LibraryCertificate get(String name, Output<String> id, LibraryCertificateState state, CustomResourceOptions options)
    resources:  _:    type: vcd:LibraryCertificate    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.
    The following state arguments are supported:
    Alias string
    Alias of certificate
    Certificate string
    Certificate content
    Description string
    Certificate description
    LibraryCertificateId string
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
    PrivateKey string
    Certificate private key
    PrivateKeyPassphrase string
    Certificate private pass phrase
    Alias string
    Alias of certificate
    Certificate string
    Certificate content
    Description string
    Certificate description
    LibraryCertificateId string
    Org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
    PrivateKey string
    Certificate private key
    PrivateKeyPassphrase string
    Certificate private pass phrase
    alias String
    Alias of certificate
    certificate String
    Certificate content
    description String
    Certificate description
    libraryCertificateId String
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
    privateKey String
    Certificate private key
    privateKeyPassphrase String
    Certificate private pass phrase
    alias string
    Alias of certificate
    certificate string
    Certificate content
    description string
    Certificate description
    libraryCertificateId string
    org string
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
    privateKey string
    Certificate private key
    privateKeyPassphrase string
    Certificate private pass phrase
    alias str
    Alias of certificate
    certificate str
    Certificate content
    description str
    Certificate description
    library_certificate_id str
    org str
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
    private_key str
    Certificate private key
    private_key_passphrase str
    Certificate private pass phrase
    alias String
    Alias of certificate
    certificate String
    Certificate content
    description String
    Certificate description
    libraryCertificateId String
    org String
    The name of organization to use, optional if defined at provider level. Useful when connected as sysadmin working across different organizations
    privateKey String
    Certificate private key
    privateKeyPassphrase String
    Certificate private pass phrase

    Package Details

    Repository
    vcd vmware/terraform-provider-vcd
    License
    Notes
    This Pulumi package is based on the vcd Terraform Provider.
    vcd logo
    vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware