def METHOD_NAME(management_association_name: Optional[str] = None,
                               provider_name: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               resource_name: Optional[str] = None,
                               resource_type: Optional[str] = None,
                               opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagementAssociationResult:
    """
    Retrieves the user ManagementAssociation.
    :param str management_association_name: User ManagementAssociation Name.
    :param str provider_name: Provider name for the parent resource.
    :param str resource_group_name: The name of the resource group to get. The name is case insensitive.
    :param str resource_name: Parent resource name.
    :param str resource_type: Resource type for the parent resource
    """
    __args__ = dict()
    __args__['managementAssociationName'] = management_association_name
    __args__['providerName'] = provider_name
    __args__['resourceGroupName'] = resource_group_name
    __args__['resourceName'] = resource_name
    __args__['resourceType'] = resource_type
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:operationsmanagement/v20151101preview:getManagementAssociation', __args__, opts=opts, typ=GetManagementAssociationResult).value
    return AwaitableGetManagementAssociationResult(
        id=pulumi.get(__ret__, 'id'),
        location=pulumi.get(__ret__, 'location'),
        name=pulumi.get(__ret__, 'name'),
        properties=pulumi.get(__ret__, 'properties'),
        type=pulumi.get(__ret__, 'type'))