def METHOD_NAME(scope: Optional[str] = None,
                         scope_assignment_name: Optional[str] = None,
                         opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScopeAssignmentResult:
    """
    Get the specified scope assignment.
    Azure REST API version: 2019-06-01-preview.
    :param str scope: The base resource of the scope assignment.
    :param str scope_assignment_name: The name of the scope assignment to get.
    """
    __args__ = dict()
    __args__['scope'] = scope
    __args__['scopeAssignmentName'] = scope_assignment_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:managednetwork:getScopeAssignment', __args__, opts=opts, typ=GetScopeAssignmentResult).value
    return AwaitableGetScopeAssignmentResult(
        assigned_managed_network=pulumi.get(__ret__, 'assigned_managed_network'),
        etag=pulumi.get(__ret__, 'etag'),
        id=pulumi.get(__ret__, 'id'),
        location=pulumi.get(__ret__, 'location'),
        name=pulumi.get(__ret__, 'name'),
        provisioning_state=pulumi.get(__ret__, 'provisioning_state'),
        type=pulumi.get(__ret__, 'type'))