View a markdown version of this page

CreateAppliance - AWS Backup

CreateAppliance

Creates an appliance with the specified network configuration and returns its activation information.

Request Syntax

POST /appliances/appliance HTTP/1.1 Content-type: application/json { "ApplianceIamRoleArn": "string", "ApplianceName": "string", "ClientToken": "string", "EnvironmentType": "string", "NetworkConfiguration": { "DnsServers": [ "string" ], "DomainName": "string", "NtpServers": [ "string" ], "SearchDomains": [ "string" ], "SubnetGateway": "string", "SubnetMask": "string" }, "NodeFaultTolerance": number, "Tags": { "string" : "string" } }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

ApplianceIamRoleArn

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used by the appliance.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Pattern: arn:aws[a-z0-9-]{0,30}:iam::[0-9]{12}:role/[a-zA-Z0-9+=,.@_/-]+

Required: Yes

ApplianceName

The name of the appliance.

Type: String

Required: Yes

ClientToken

A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [!-~]+

Required: No

EnvironmentType

The environment in which the appliance runs.

Type: String

Valid Values: EC2 | VMWARE

Required: Yes

NetworkConfiguration

The network configuration of the appliance.

Type: ApplianceNetworkConfigurationForCreate object

Required: Yes

NodeFaultTolerance

The number of node failures that the appliance can tolerate.

Type: Integer

Required: Yes

Tags

The tags to associate with the appliance.

Type: String to string map

Map Entries: Minimum number of 0 items. Maximum number of 200 items.

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Key Pattern: [\p{L}\p{Z}\p{N}_.:/=+\-@]*

Value Length Constraints: Minimum length of 0. Maximum length of 256.

Value Pattern: [\p{L}\p{Z}\p{N}_.:/=+\-@]*

Required: No

Response Syntax

HTTP/1.1 201 Content-type: application/json { "ActivationToken": "string", "ActivationTokenExpiresAt": number, "ApplianceArn": "string", "AwsOvaImageRootCertificateDownloadUrl": "string", "CreatedAt": number, "Image": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 201 response.

The following data is returned in JSON format by the service.

ActivationToken

The token used to activate the appliance.

Type: String

ActivationTokenExpiresAt

The date and time that the activation token expires.

Type: Timestamp

ApplianceArn

The Amazon Resource Name (ARN) of the appliance.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Pattern: arn:aws[a-z0-9-]{0,30}:backup-external:[a-z0-9-]{1,30}:[0-9]{12}:appliance:[a-zA-Z0-9-]{36}

AwsOvaImageRootCertificateDownloadUrl

The URL to download the root certificate for the appliance's Open Virtual Appliance (OVA) image.

Type: String

CreatedAt

The date and time that the appliance was created.

Type: Timestamp

Image

The appliance image to deploy: the Amazon Machine Image (AMI) ID for an EC2 appliance, or the URL to download the Open Virtual Appliance (OVA) image for a VMWARE appliance.

Type: String

Errors

For information about the errors that are common to all actions, see Common Error Types.

AccessDeniedException

The request was denied because you do not have permission to perform the requested operation.

HTTP Status Code: 403

ConflictException

The request conflicts with the current state of the specified resource.

HTTP Status Code: 409

InternalServerException

The request failed because of an internal server error.

HTTP Status Code: 500

ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404

ServiceQuotaExceededException

The request would exceed a service quota.

HTTP Status Code: 402

ThrottlingException

The request was denied because the request rate is too high.

HTTP Status Code: 429

ValidationException

The request contains invalid parameters.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: