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:
- email
Address String - account
Key StringAlgorithm - account
Key StringEcdsa Curve - account
Key StringPem - account
Key IntegerRsa Bits - external
Account RegistrationBinding External Account Binding
- email
Address string - account
Key stringAlgorithm - account
Key stringEcdsa Curve - account
Key stringPem - account
Key numberRsa Bits - external
Account RegistrationBinding External Account Binding
- email
Address String - account
Key StringAlgorithm - account
Key StringEcdsa Curve - account
Key StringPem - account
Key NumberRsa Bits - external
Account 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.
- Registration
Url string
- Id string
- The provider-assigned unique ID for this managed resource.
- Registration
Url string
- id String
- The provider-assigned unique ID for this managed resource.
- registration
Url String
- id string
- The provider-assigned unique ID for this managed resource.
- registration
Url 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.
- registration
Url 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.
- Account
Key stringAlgorithm - Account
Key stringEcdsa Curve - Account
Key stringPem - Account
Key intRsa Bits - Email
Address string - External
Account RegistrationBinding External Account Binding Args - Registration
Url string
- account
Key StringAlgorithm - account
Key StringEcdsa Curve - account
Key StringPem - account
Key IntegerRsa Bits - email
Address String - external
Account RegistrationBinding External Account Binding - registration
Url String
- account
Key stringAlgorithm - account
Key stringEcdsa Curve - account
Key stringPem - account
Key numberRsa Bits - email
Address string - external
Account RegistrationBinding External Account Binding - registration
Url string
- account
Key StringAlgorithm - account
Key StringEcdsa Curve - account
Key StringPem - account
Key NumberRsa Bits - email
Address String - external
Account Property MapBinding - registration
Url String
Supporting Types
RegistrationExternalAccountBinding, RegistrationExternalAccountBindingArgs
- Hmac
Base64 string - Key
Id string
- Hmac
Base64 string - Key
Id string
- hmac
Base64 String - key
Id String
- hmac
Base64 string - key
Id string
- hmac_
base64 str - key_
id str
- hmac
Base64 String - key
Id String
Package Details
- Repository
- acme pulumiverse/pulumi-acme
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
acme
Terraform Provider.