def create_container_instance_group(access_token, subscription_id, resource_group,<EOL>container_group_name, container_list, location,<EOL>ostype='<STR_LIT>', port=<NUM_LIT>, iptype='<STR_LIT>'):
endpoint = '<STR_LIT>'.join([get_rm_endpoint(),<EOL>'<STR_LIT>', subscription_id,<EOL>'<STR_LIT>', resource_group,<EOL>'<STR_LIT>',<EOL>container_group_name,<EOL>'<STR_LIT>', CONTAINER_API])<EOL>container_group_body = {'<STR_LIT:location>': location}<EOL>properties = {'<STR_LIT>': ostype}<EOL>properties['<STR_LIT>'] = container_list<EOL>ipport = {'<STR_LIT>': '<STR_LIT>'}<EOL>ipport['<STR_LIT:port>'] = port<EOL>ipaddress = {'<STR_LIT>': [ipport]}<EOL>ipaddress['<STR_LIT:type>'] = iptype<EOL>properties['<STR_LIT>'] = ipaddress<EOL>container_group_body['<STR_LIT>'] = properties<EOL>body = json.dumps(container_group_body)<EOL>return do_put(endpoint, body, access_token)<EOL>
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.