1. Packages
  2. ACME
  3. API Docs
  4. Registration
ACME v0.6.0 published on Wednesday, Nov 13, 2024 by Pulumiverse

acme.Registration

Explore with Pulumi AI

acme logo
ACME v0.6.0 published on Wednesday, Nov 13, 2024 by Pulumiverse

    Create Registration Resource

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

    Constructor syntax

    new Registration(name: string, args: RegistrationArgs, opts?: CustomResourceOptions);
    @overload
    def Registration(resource_name: str,
                     args: RegistrationArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def Registration(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     email_address: Optional[str] = None,
                     account_key_algorithm: Optional[str] = None,
                     account_key_ecdsa_curve: Optional[str] = None,
                     account_key_pem: Optional[str] = None,
                     account_key_rsa_bits: Optional[int] = None,
                     external_account_binding: Optional[RegistrationExternalAccountBindingArgs] = None)
    func NewRegistration(ctx *Context, name string, args RegistrationArgs, opts ...ResourceOption) (*Registration, error)
    public Registration(string name, RegistrationArgs args, CustomResourceOptions? opts = null)
    public Registration(String name, RegistrationArgs args)
    public Registration(String name, RegistrationArgs args, CustomResourceOptions options)
    
    type: acme:Registration
    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 RegistrationArgs
    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 RegistrationArgs
    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 RegistrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RegistrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RegistrationArgs
    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 registrationResource = new Acme.Registration("registrationResource", new()
    {
        EmailAddress = "string",
        AccountKeyAlgorithm = "string",
        AccountKeyEcdsaCurve = "string",
        AccountKeyPem = "string",
        AccountKeyRsaBits = 0,
        ExternalAccountBinding = new Acme.Inputs.RegistrationExternalAccountBindingArgs
        {
            HmacBase64 = "string",
            KeyId = "string",
        },
    });
    
    example, err := acme.NewRegistration(ctx, "registrationResource", &acme.RegistrationArgs{
    	EmailAddress:         pulumi.String("string"),
    	AccountKeyAlgorithm:  pulumi.String("string"),
    	AccountKeyEcdsaCurve: pulumi.String("string"),
    	AccountKeyPem:        pulumi.String("string"),
    	AccountKeyRsaBits:    pulumi.Int(0),
    	ExternalAccountBinding: &acme.RegistrationExternalAccountBindingArgs{
    		HmacBase64: pulumi.String("string"),
    		KeyId:      pulumi.String("string"),
    	},
    })
    
    var registrationResource = new Registration("registrationResource", RegistrationArgs.builder()
        .emailAddress("string")
        .accountKeyAlgorithm("string")
        .accountKeyEcdsaCurve("string")
        .accountKeyPem("string")
        .accountKeyRsaBits(0)
        .externalAccountBinding(RegistrationExternalAccountBindingArgs.builder()
            .hmacBase64("string")
            .keyId("string")
            .build())
        .build());
    
    registration_resource = acme.Registration("registrationResource",
        email_address="string",
        account_key_algorithm="string",
        account_key_ecdsa_curve="string",
        account_key_pem="string",
        account_key_rsa_bits=0,
        external_account_binding={
            "hmac_base64": "string",
            "key_id": "string",
        })
    
    const registrationResource = new acme.Registration("registrationResource", {
        emailAddress: "string",
        accountKeyAlgorithm: "string",
        accountKeyEcdsaCurve: "string",
        accountKeyPem: "string",
        accountKeyRsaBits: 0,
        externalAccountBinding: {
            hmacBase64: "string",
            keyId: "string",
        },
    });
    
    type: acme:Registration
    properties:
        accountKeyAlgorithm: string
        accountKeyEcdsaCurve: string
        accountKeyPem: string
        accountKeyRsaBits: 0
        emailAddress: string
        externalAccountBinding:
            hmacBase64: string
            keyId: string
    

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

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    RegistrationUrl string
    Id string
    The provider-assigned unique ID for this managed resource.
    RegistrationUrl string
    id String
    The provider-assigned unique ID for this managed resource.
    registrationUrl String
    id string
    The provider-assigned unique ID for this managed resource.
    registrationUrl string
    id str
    The provider-assigned unique ID for this managed resource.
    registration_url str
    id String
    The provider-assigned unique ID for this managed resource.
    registrationUrl String

    Look up Existing Registration Resource

    Get an existing Registration 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?: RegistrationState, opts?: CustomResourceOptions): Registration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_key_algorithm: Optional[str] = None,
            account_key_ecdsa_curve: Optional[str] = None,
            account_key_pem: Optional[str] = None,
            account_key_rsa_bits: Optional[int] = None,
            email_address: Optional[str] = None,
            external_account_binding: Optional[RegistrationExternalAccountBindingArgs] = None,
            registration_url: Optional[str] = None) -> Registration
    func GetRegistration(ctx *Context, name string, id IDInput, state *RegistrationState, opts ...ResourceOption) (*Registration, error)
    public static Registration Get(string name, Input<string> id, RegistrationState? state, CustomResourceOptions? opts = null)
    public static Registration get(String name, Output<String> id, RegistrationState 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:

    Supporting Types

    RegistrationExternalAccountBinding, RegistrationExternalAccountBindingArgs

    HmacBase64 string
    KeyId string
    HmacBase64 string
    KeyId string
    hmacBase64 String
    keyId String
    hmacBase64 string
    keyId string
    hmacBase64 String
    keyId String

    Package Details

    Repository
    acme pulumiverse/pulumi-acme
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the acme Terraform Provider.
    acme logo
    ACME v0.6.0 published on Wednesday, Nov 13, 2024 by Pulumiverse