def METHOD_NAME(app_location: Optional[str] = None,
                                      database_type: Optional[Union[str, 'SAPDatabaseType']] = None,
                                      location: Optional[str] = None,
                                      sap_product: Optional[Union[str, 'SAPProductType']] = None,
                                      opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSAPAvailabilityZoneDetailsResult:
    """
    Get the recommended SAP Availability Zone Pair Details for your region.
    :param str app_location: The geo-location where the SAP resources will be created.
    :param Union[str, 'SAPDatabaseType'] database_type: The database type. Eg: HANA, DB2, etc
    :param str location: The name of Azure region.
    :param Union[str, 'SAPProductType'] sap_product: Defines the SAP Product type.
    """
    __args__ = dict()
    __args__['appLocation'] = app_location
    __args__['databaseType'] = database_type
    __args__['location'] = location
    __args__['sapProduct'] = sap_product
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:workloads/v20211201preview:getSAPAvailabilityZoneDetails', __args__, opts=opts, typ=GetSAPAvailabilityZoneDetailsResult).value
    return AwaitableGetSAPAvailabilityZoneDetailsResult(
        availability_zone_pairs=pulumi.get(__ret__, 'availability_zone_pairs'))