acme.Registration
Explore with Pulumi AI
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:
- emailAddress String
- accountKey StringAlgorithm 
- accountKey StringEcdsa Curve 
- accountKey StringPem 
- accountKey IntegerRsa Bits 
- externalAccount RegistrationBinding External Account Binding 
- emailAddress string
- accountKey stringAlgorithm 
- accountKey stringEcdsa Curve 
- accountKey stringPem 
- accountKey numberRsa Bits 
- externalAccount RegistrationBinding External Account Binding 
- emailAddress String
- accountKey StringAlgorithm 
- accountKey StringEcdsa Curve 
- accountKey StringPem 
- accountKey NumberRsa Bits 
- externalAccount Property MapBinding 
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) -> Registrationfunc 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)resources:  _:    type: acme:Registration    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.
- AccountKey stringAlgorithm 
- AccountKey stringEcdsa Curve 
- AccountKey stringPem 
- AccountKey intRsa Bits 
- EmailAddress string
- ExternalAccount RegistrationBinding External Account Binding Args 
- RegistrationUrl string
- accountKey StringAlgorithm 
- accountKey StringEcdsa Curve 
- accountKey StringPem 
- accountKey IntegerRsa Bits 
- emailAddress String
- externalAccount RegistrationBinding External Account Binding 
- registrationUrl String
- accountKey stringAlgorithm 
- accountKey stringEcdsa Curve 
- accountKey stringPem 
- accountKey numberRsa Bits 
- emailAddress string
- externalAccount RegistrationBinding External Account Binding 
- registrationUrl string
- accountKey StringAlgorithm 
- accountKey StringEcdsa Curve 
- accountKey StringPem 
- accountKey NumberRsa Bits 
- emailAddress String
- externalAccount Property MapBinding 
- registrationUrl String
Supporting Types
RegistrationExternalAccountBinding, RegistrationExternalAccountBindingArgs        
- HmacBase64 string
- KeyId string
- HmacBase64 string
- KeyId string
- hmacBase64 String
- keyId String
- hmacBase64 string
- keyId string
- hmac_base64 str
- key_id str
- hmacBase64 String
- keyId String
Package Details
- Repository
- acme pulumiverse/pulumi-acme
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the acmeTerraform Provider.