BackupExternal / Client / create_appliance

create_appliance

BackupExternal.Client.create_appliance(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response = client.create_appliance(
    ApplianceName='string',
    EnvironmentType='EC2'|'VMWARE',
    ApplianceIamRoleArn='string',
    NodeFaultTolerance=123,
    NetworkConfiguration={
        'SubnetGateway': 'string',
        'SubnetMask': 'string',
        'DnsServers': [
            'string',
        ],
        'NtpServers': [
            'string',
        ],
        'DomainName': 'string',
        'SearchDomains': [
            'string',
        ]
    },
    ClientToken='string',
    Tags={
        'string': 'string'
    }
)
Parameters:
  • ApplianceName (string) –

    [REQUIRED]

    The name of the appliance.

  • EnvironmentType (string) –

    [REQUIRED]

    The environment in which the appliance runs.

  • ApplianceIamRoleArn (string) –

    [REQUIRED]

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

  • NodeFaultTolerance (integer) –

    [REQUIRED]

    The number of node failures that the appliance can tolerate.

  • NetworkConfiguration (dict) –

    [REQUIRED]

    The network configuration of the appliance.

    • SubnetGateway (string) – [REQUIRED]

      The subnet gateway for the appliance.

    • SubnetMask (string) – [REQUIRED]

      The subnet mask for the appliance.

    • DnsServers (list) – [REQUIRED]

      The Domain Name System (DNS) servers for the appliance.

      • (string) –

    • NtpServers (list) – [REQUIRED]

      The Network Time Protocol (NTP) servers for the appliance.

      • (string) –

    • DomainName (string) –

      The domain name for the appliance.

    • SearchDomains (list) –

      The domain search list for the appliance.

      • (string) –

  • ClientToken (string) –

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

    This field is autopopulated if not provided.

  • Tags (dict) –

    The tags to associate with the appliance.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'ApplianceArn': 'string',
    'CreatedAt': datetime(2015, 1, 1),
    'Image': 'string',
    'AwsOvaImageRootCertificateDownloadUrl': 'string',
    'ActivationToken': 'string',
    'ActivationTokenExpiresAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • ApplianceArn (string) –

      The Amazon Resource Name (ARN) of the appliance.

    • CreatedAt (datetime) –

      The date and time that the appliance was created.

    • Image (string) –

      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.

    • AwsOvaImageRootCertificateDownloadUrl (string) –

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

    • ActivationToken (string) –

      The token used to activate the appliance.

    • ActivationTokenExpiresAt (datetime) –

      The date and time that the activation token expires.

Exceptions

  • BackupExternal.Client.exceptions.ThrottlingException

  • BackupExternal.Client.exceptions.AccessDeniedException

  • BackupExternal.Client.exceptions.ResourceNotFoundException

  • BackupExternal.Client.exceptions.ServiceQuotaExceededException

  • BackupExternal.Client.exceptions.ConflictException

  • BackupExternal.Client.exceptions.ValidationException

  • BackupExternal.Client.exceptions.InternalServerException