def METHOD_NAME(entity_type: Optional[str] = None,
                                         entity_type_name: Optional[str] = None,
                                         hub_name: Optional[str] = None,
                                         relative_path: Optional[str] = None,
                                         resource_group_name: Optional[str] = None,
                                         opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetImageUploadUrlForEntityTypeResult:
    """
    Gets entity type (profile or interaction) image upload URL.
    :param str entity_type: Type of entity. Can be Profile or Interaction.
    :param str entity_type_name: Name of the entity type.
    :param str hub_name: The name of the hub.
    :param str relative_path: Relative path of the image.
    :param str resource_group_name: The name of the resource group.
    """
    __args__ = dict()
    __args__['entityType'] = entity_type
    __args__['entityTypeName'] = entity_type_name
    __args__['hubName'] = hub_name
    __args__['relativePath'] = relative_path
    __args__['resourceGroupName'] = resource_group_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:customerinsights/v20170426:getImageUploadUrlForEntityType', __args__, opts=opts, typ=GetImageUploadUrlForEntityTypeResult).value
    return AwaitableGetImageUploadUrlForEntityTypeResult(
        content_url=pulumi.get(__ret__, 'content_url'),
        image_exists=pulumi.get(__ret__, 'image_exists'),
        relative_path=pulumi.get(__ret__, 'relative_path'))