def get_container_instance_logs(access_token, subscription_id, resource_group, container_group_name,<EOL>container_name=None):
if container_name is None:<EOL><INDENT>container_name = container_group_name<EOL><DEDENT>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_name, '<STR_LIT>', CONTAINER_API])<EOL>return do_get(endpoint, access_token)<EOL>
Get the container logs for containers in a container group.

    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_name (str): Optional name of a container in the group.

    Returns:
        HTTP response. Container logs.