docs: def create_container_instance_group(access_token, subscription_id, resource_group,
                                      container_group_name, container_list, location,
                                      ostype='Linux', port=80, iptype='public'):
      '''Create a new container group with a list of containers specifified by container_list.
  
      Args:
          access_token (str): A valid Azure authentication token.
          subscription_id (str): Azure subscription id.
          resource_group (str): Azure resource group name.
          container_group_name (str): Name of container instance group.
          container_list (list): A list of container properties. Use create_container_definition to
          create each container property set.
          location (str): Azure data center location. E.g. westus.
          ostype (str): Container operating system type. Linux or Windows.
          port (int): TCP port number. E.g. 8080.
          iptype (str): Type of IP address. E.g. public.
  
      Returns:
          HTTP response with JSON body of container group.
      '''
      endpoint = ''.join([get_rm_endpoint(),
                          '/subscriptions/', subscription_id,
                          '/resourcegroups/', resource_group,
                          '/providers/Microsoft.ContainerInstance/ContainerGroups/',
                          container_group_name,
                          '?api-version=', CONTAINER_API])
      container_group_body = {'location': location}
      properties = {'osType': ostype}
      properties['containers'] = container_list
      ipport = {'protocol': 'TCP'}
      ipport['port'] = port
      ipaddress = {'ports': [ipport]}
      ipaddress['type'] = iptype
      properties['ipAddress'] = ipaddress
      container_group_body['properties'] = properties
      body = json.dumps(container_group_body)
      return do_put(endpoint, body, access_token)