public Observable<DenyAssignmentInner> getByIdAsync(String denyAssignmentId) {
        return getByIdWithServiceResponseAsync(denyAssignmentId).map(new Func1<ServiceResponse<DenyAssignmentInner>, DenyAssignmentInner>() {
            @Override
            public DenyAssignmentInner call(ServiceResponse<DenyAssignmentInner> response) {
                return response.body();
            }
        });
    }
public Observable < DenyAssignmentInner > getByIdAsync ( String denyAssignmentId ) { return getByIdWithServiceResponseAsync ( denyAssignmentId ) . map ( new Func1 < ServiceResponse < DenyAssignmentInner > , DenyAssignmentInner > ( ) { @ Override public DenyAssignmentInner call ( ServiceResponse < DenyAssignmentInner > response ) { return response . body ( ) ; } } ) ; }
Gets a deny assignment by ID.

@param denyAssignmentId The fully qualified deny assignment ID. For example, use the format, /subscriptions/{guid}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for subscription level deny assignments, or /providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId} for tenant level deny assignments.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the DenyAssignmentInner object