AccountRegionSelector

The AccountRegionSelector section in your template allows the users to select the cloud, region and data center (zone) for launching server(s) in a stack from a blueprint. The AccountRegionSelector secton will generate a multi-input control that will appear on the Launch Blueprint page where input from the Dell Cloud Manager console user can be requested such as:

  • The cloud to launch the stack in.
  • The region in the cloud to launch the stack in.
  • The data center in the cloud region to launch the stack in.

The AccountRegionSelector selector is defined with a section name, a type and properties.

section name

Example: account_region_zone_selector:

type

type: dcm.inputs.AccountRegionSelector

properties

  • regions: - one or more cloud, region(s), data center(s) section(s)
  • cloud - one or more clouds, each which contains:
  • region - one or more regions, each contains:
  • data center(s) - an array of zero or more data centers (Zones) in the cloud region.

    You can specify an empty array [ ] which will result in Dell Cloud Manager populating all data centers for the selected region. Or you can restrict the list of data centers by specifying the list (e.g. [“us-east-1a”, “us-east-1c”]).

Note

Refer to Determine Cloud Name values for details on how to determine what cloud name values to specify.
Refer to Determine Cloud Region values for details on how to determine what cloud region values to specify.
Refer to Determining Cloud Region Data Center values for details on how to determine what cloud region data center values to specify.
Refer to Determine Cloud Region server product values for details on how to determine what cloud region server product values to specify.

Example

  ################################################################################################################################################
  # This defines the AccountRegionSelector which allows the user to select the Cloud, Region and Datacenter
  ################################################################################################################################################
  account_region_zone_selector:                                     # Define the section for the Cloud, Region and Datacenter selection boxes
    type: dcm.inputs.AccountRegionSelector                          # Input type is dcm.inputs.accountRegionSelector 
    properties:
      regions:                                                      # Define the Cloud and Regions
        "Amazon":                                                   # Amazon
          "us-east-1": [ ]                                          # All data centers for the us-east-1 region
          "us-west-1": ["us-west-1a", "us-west-1c"]
          "us-west-2": ["us-west-2a", "us-west-2b", "us-west-2c"]
          "eu-west-1": ["eu-west-1a", "eu-west-1c"]
        "Azure":                                                    # Azure
          "East US": ["East US"]
        "DigitalOcean":                                             # Digital Ocean 
          "nyc1": ["nyc1"]
        "Google":                                                   # Google
          "us-east1": ["us-east1-b"]
          "us-central1": ["us-central1-a"]
        "Joyent":                                                   # Joyent 
          "us-east-1": ["us-east-1a"]

Launch Blueprint page

../../../_images/launch_stack_inputs2.png